Pacman.conf kinda confused

Hello i am just trying out Arch Linux and just did a fresh install. And i trying to enable the repositories and i seem to keep running into an error
everytime i type pacman or anything related it get this error
error: config file /etc/pacman.conf, line 65: directive 'Add your preferred servers here, they will be used first' not recognized.
I know you have to add your own mirrors and such which i did, but still getting errors here is my etc/pacman.conf and /etc/pacman.d/mirrorlist
here is the pacman.conf
# /etc/pacman.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =
#NoUpgrade   =
#NoExtract   =
# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
# Testing is disabled by default.  To enable, uncomment the following
# two lines.  You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[localmirror]
Server = http://www.pollicina.org/arch/localmirror
core
Add your preferred servers here, they will be used first
Server = http://mirrors.easynews.com/linux/archl … po/os/i686
Include = /etc/pacman.d/core
extra
Add your preferred servers here, they will be used first
Server = http://mirror.pacific.net.au/linux/arch/extra/os/i686
Include = /etc/pacman.d/extra
community
Add your preferred servers here, they will be used first
Server = http://shlunix.org/archlinux/repo/os/i686
Include = /etc/pacman.d/community
# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
Here is the /etc/mirrorlist
# Arch Linux repository mirrorlist
# Generated on 2009-06-16
United States
Server = http://mirror.archlinux.com.ve/$repo/os/i686
Server = http://archlinux.unixheads.org/$repo/os/i686
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = ftp://mirrors.easynews.com/linux/archli … po/os/i686
Server = http://mirrors.easynews.com/linux/archl … po/os/i686
Server = ftp://ftp.archlinux.org/$repo/os/i686
Server = http://mirrors.gigenet.com/archlinux/$repo/os/i686
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/di … po/os/i686
Server = http://www.gtlib.gatech.edu/pub/linux/d … po/os/i686
Server = ftp://mirrors.hosef.org/archlinux/$repo/os/i686
Server = http://mirrors.hosef.org/archlinux/$repo/os/i686
Server = ftp://ibiblio.org/pub/linux/distributio … po/os/i686
Server = http://distro.ibiblio.org/pub/linux/dis … po/os/i686
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
Server = ftp://mirror.rit.edu/archlinux/$repo/os/i686
Server = http://mirror.rit.edu/archlinux/$repo/os/i686
Server = http://schlunix.org/archlinux/$repo/os/i686
Server = http://mirror.sourceshare.org/archlinux/$repo/os/i686
Server = http://archlinux.umflint.edu/$repo/os/i686
Server = http://mirror.umoss.org/archlinux/$repo/os/i686
# Venezuela
#Server = http://mirror2.archlinux.com.ve/$repo/os/i686
# Vietnam
#Server = ftp://202.78.230.5/archlinux/$repo/os/i686
#Server = ftp://ftp.indochinalinux.com/archlinux/$repo/os/i686
#Server = ftp://mirror-fpt-telecom.fpt.net/archli … po/os/i686
#Server = http://mirror-fpt-telecom.fpt.net/archl … po/os/i686
Any help is greatly appreciated.

Thanks for the reply appreciate it.
And i think i understand it alittle bit better here is a link to my changed pacman.conf and mirrorlist
Im still receiving errors about the mirrors
pacman.conf link
http://pastebin.ca/1576914
mirrorlist
http://pastebin.ca/1576916

Similar Messages

  • Pacman.conf NEED tips for totally offline install with DVD repository

    OBJECTIVE: after a base install with ARCHBOOT be able to install from DVD repository which contains repo-add database.
    My DVD contains the folder from /var/cache/pacman/pkg.
    ON the DVD I have the folder 'pkg' at the dvd root level and another folder which has my already built packages fro AUR.
    The database called 'custom.db.tar.gz' created with repo-add exists IN the pkg folder on the DVD.
    The built AUR packages are in a seperate folder called '_built' at the dvd's root level as well and they are not included in the repo-add database.
    I am able to mount the dvd, cd to the pkg folder and use  pacman -Ud to install them though this requires that I type in the full name of the package and I get dependence issues and '*.so' type files not found.
    IF I copy all the files from the DVD to the var/cache/pacman/pkg folder I am able to add my local repository to pacman.conf and MUCH more efficient install. I can use pacman -S xorg for example, and I think it finds dependencies even. Can't recall exactly at the moment.
    SO: do I need to alter pacman.conf  cache location line and the other lines?
    Would I change the 2nd and 3rd lines to get max pacman ability when using DVD repository???
    Pointing them to my DVD folder after mounting the dvd
    #RootDir     = /
    #DBPath      = /var/lib/pacman/
    #CacheDir    = /var/cache/pacman/pkg/
    #LogFile     = /var/log/pacman.log
    I really would like to have as much power and flexibility when using the DVD as the repo.
    Can anyone tell me what I should alter in pacman.conf for this.
    I am fine if I have to alter the cache location line temporarily if it will give me additional pacman ability.
    I have read all the wiki stuff for sure though I'm still a bit in the dark and wanted to ask without typing the many many options.
    One big one for me is I don't yet know how to set the SERVER = in pacman.com to look at the mounted DVD and the pkg folder specifically.
    I do mount /dev/sr0  /mnt/cdrom
    So what would I put as the SERVER for this in pacman.conf
    SERVER = /dev/sr0   ?????   or   /dev/cdrom  ????    or /mnt/cdrom I think ????
    dunno!
    AND I really probably DO have to temporarily alter the pacman.conf  cache location line to get pacman to do dependency installs and let me type short lines instead of the full package name.
    THANKS! this one is BIG for me!!!!! :---)
    Last edited by yvonney (2009-06-18 20:27:14)

    COMMENT WRITTEN LAST: I was about to delete a lot of stuff here though thought to just say sorry for not taking the brain-time to slim it. The bold and white boxed part is the main related quest-ion.
    you might find a few useful tools on my site (in my sig), e.g. pkgd if you want to save bandwidth on a LAN --- pbget if you want to easily get PKGBUILDs etc from the AUR and official repos, etc.
    WOW Xyne !!!! thanks.  pbget etc. sound very cool.
    I used yaourt until very recently. Then went ....hmmmm... should learn about manual building and local repo. Where I'm at now is trying to do as much manually as possible. I think I kinda know what packages I want and there will only be some changes from that in the future. There's maybe 20 packages from AUR for me. [PLUS their dependencies]
    Of course: I am doing the repo-add local repositories thing for speed, learning, and as part of my whole 'best practices' growth. Plus it will come in very handy when helping other decide quickly if a barbones mainly wm/ncurses lightweight system is for them.
    You certainly spark a question or two!
    [AUR and dependencies via yaourt affecting my plans to now go manually]
    As these have all ALREADY been installed via yaourt my BIG concern is that I've never found much of a yaourt/cache folder. You see, as you'd know many many times upon installing vai yaourt there's some dependency that may, or I guess, may not be in the standard repos.
    After installing these packages via yaourt do the dependencies go into /var/cache/pacman.pkg and is pacman aware of it when I do a repo-add for thecustom database. If so, then all if fairly cool for my plans. I bet there's a few idiosyncrasies about AUR and dependencies maybe.
    -AUR dependency resolution-
    Using a custom repo will not really work for general use because you would need to manually populate the database with the dependencies anyway.
    I'm fine with manually doing dependencies - though need to know if my yaourt usage ALREADY put the latest dependencies in the pacman cache for AUR unsupported packages AND is there a way with the whole repo-add, local repositry, pacman and aur concpt I'm planning to fine tune to have the dependencies update when I go back to the online repositries? I don't think so based on my usage with yaourt, though can't quite recall.
    As I will be enjoying makepkg building the group of packages I nee to get from AUR for the forseeable future (that are not in the main 3 repos of course)
    I'm still wondering about the inter-relationships. So: I already have installed and/or built the packages for everything I expect to need mostly.   I never became beyone mediocre with yaourt.  and that fine, though I now have to consider that in a new install I DO have the latest AUR built packages, though will there be the right dependencies ALREADY in my /var/cache/pacman/pkg ?
    There's a few things that I'd love to really understand about this. Even if it ends up that dependencies for the AUR packages is always a bit trickier.
    QUESTION: right now I am uable to try custom repo from flash stick as it's read only. I'll be googling this one out and am really looking forward to having a flash stick with ARCHBOOT and I gues ONE repo pkg folder and database on it.
    NOTE: I will put the custom repo above the stock ones in pacman.conf. I just commented out the others as I was doing all this offline.
    I've dumped the dvd as a repo and have switched to a flash stick.  I've extracted the archboot out to a 4 gig flash stick.
    dd if=/root/Desktop/archlinux-2009.05-2-archboot.iso of=/dev/sdb  Its read-only at the moment and no matter what I've tried it stays that way. Maybe I need to use the HPutil on it. It definitely isn't writeable so I won't ponder or note observations here save to say that 'm stumped as to how to get files copied to it.
    And now what may be the way I'd like to work:    Keep my folder for building packages from aur which is /root/aur. Then after doing the fun makepkg --asroot   or even makepg -i as root to install. Though I'll probably after the build THEN just copy the built packages from my /root/aur to /var/cache/pacman/pkg   and install from there as I DO plan to use the online repos.
    I will ALSO copy the file to my USB stick or maybe just sync to it and do a the repo-add thing in   /var/cache/pacman/pkg   and keep the stick as both backup and 'in the ready' reinstaller.
    Um, now  could spend an hour editing down the above!!!
    wondrous thanks!
    Last edited by yvonney (2009-06-19 07:38:25)

  • [solved] when to update pacman.conf

    I apologise in advance. I'm worried that I've either read the answer to this or asked the question before but, if so, I cannot for the life of me find it.
    What is the best way to check the progress on package signing? and, even, database signing? (I assume the latter is not yet implemented.)
    Currently, I'm using PackageRequired for multilib and core but not community or extra (and not for AUR).
    Is there a sticky, blog or wiki page I can monitor so that I know when to require signing for the remaining packages? And when signatures for the databases themselves are implemented?
    Or will this be announced via a pacman -Syu announcement?
    Last edited by cfr (2012-03-18 03:17:22)

    Thanks. I didn't know about expac... expac + grep "(null)" also works nicely though I admit awk is neater. (I just always find awk kind of alien and have never really got to grips with it.)
    I've updated pacman.conf to "PackageRequired" for extra. Just a few things in Community to go, I guess. I didn't realise the signing was this far along!

  • Edit pacman.conf without editor

    Hi folks,
    I have got a BIG problem. That is what I did:
    I installed a new /etc/pacman.d/mirrorlist
    after that I got an error in pacman, which said that the architecture is unknown or sth
    so I inserted "Architecture = x86_64" into pacman.conf and did some updates
    after a restart some time later xinit failed to initialize "x" ... probably because my window manager can not load (see following text)
    well, now I am left without X and when I try to start vim it says sth like: "error while loading shared libraries gtk-x11-...sth... wrong ELF class ELFCLASS64"
    now I tried to install nano via pacman which was successful, but as soon as I try to start nano it says "/usr/bin/nano file or directory not found" (I also tried to install vi with the same result)
    Now I am really lost since I can not edit any files, especially pacman.conf to change the architecture, since I guess the origin of my problem is that I did not have a x64 system in first place!? Even though I am sure I have ...
    Do you have any idea how to fix my system? I can still use pacman and mount a usb device, if that helps?
    Best,
    Tobias

    Please try to give us some more information:
    Do
    ls -l /usr/bin | grep nano
    and see if nano is actually present. Also check if "/usr" is mounted
    mount
    . If you are unsure, post the output.
    Also please provide your pacman.conf so we can see if there's anything wrong there. To get it do
    cat /etc/pacman.conf
    . Then place it in the file as noted below.
    Note: to provide the output do the following:
    COMMAND > ~/command_output.txt
    . Then you can copy those files to a usb drive via
    cp ~/command_output.txt /path/to/usb
    This could help us figure out the problem.
    You could also look into tools for "editing" a file in the command line. Maybe 'sed' can help there, not so sure myself. Perhaps you can do some kind of
    cat /etc/pacman.conf | *command to replace/remove the Architecture line* > /etc/pacman.conf
    Watch out though, ALWAYS make backups, you don't want to screw things up even more.
    Hope this helps.
    By the way: You change doesn't look so wrong if I am not mistaken. I wonder how this could screw things up this way?
    Oh by the way: If all else fails, boot a live cd, mount your system and edit the files via live cd tools. If you then want to test things you can chroot into your mounted system.

  • Feature request: extra Include directive in default pacman.conf

    Since arch's move to systemd, cluster administration requires less and less use of sed.  In particular, systemctl, timedatectl, /etc/sysctl.d, /etc/modules-load.d, /etc/hostname, /etc/vconsole.conf, etc. make scripting configuration changes both simpler more robust than the old approach of editing multi-purpose files such as /etc/rc.conf.
    An exception to this trend is pacman.conf, which has non-trivial default contents that almost certainly needs to be customized (e.g., to enable multilib and local repositories).  These changes would be much simpler if the default pacman.conf included a line such as:
    Include = /etc/pacman.d/conf/*.conf
    Currently my scripts use sed to insert this line at the end of the [options] section.  (Unfortunately "Include = /etc/pacman.d/*.conf" doesn't work because there's sometimes a gpg.conf file in /etc/pacman.d, but maybe that could be fixed.)
    I don't know if the forum is the right place for feature requests, but I wanted to get people's reactions.  If people think it's a good idea I can add it as a feature request to the bug tracker.
    There are several other pieces of low-hanging fruit where I'd like to see arch decrease the complexity scripting configuration (e.g., an unattended pacman-key --populate and easier customization of mkinitcpio.conf), but I figured I'd start with the simplest and gauge people's reactions.

    aweb wrote:I don't know if the forum is the right place for feature requests, but I wanted to get people's reactions.  If people think it's a good idea I can add it as a feature request to the bug tracker.
    It isn't... best to place the feedback in flyspray so it will be sure to get to the peeps that need to see it.  Welcome to Arch.

  • /etc/pacman.conf question..

    This may have been asked before, but I could not find it...
    <yes, I did use the search on the forums...  >
    I was wondering if the NoUpgrade option in pacman.conf uses shell-like wildcard expansion...
    Does the following work?
    NoUpgrade = etc/host*
    shell expansion should expand this to
    /etc/host.conf
    /etc/hosts
    /etc/hosts.allow
    /ec/hosts.deny
    will pacman do the same?

    No, but it would be nice to have something like that (or perhaps better with regexp)
    BTW, regexp support for targets was already in pacman wishlist.
    I've added noupgrade/ignorepkg options to it.
    To be continued...

  • Pacman looking for pacman.conf in the wrong place?

    When using yaourt, I had been getting an error message to do with pacman.conf not being found. I fixed this by creating my own and saving it in
    /usr/local/etc/pacman.conf
    (it's the only file in /usr/local/etc)
    I then got the error message:
    failed to initialize alpm library (could not find or read directory)
    After some googling and learning about the find command, I found the following files:
    /usr/lib/libalpm.so
    /usr/lib/libalpm.so.8
    /usr/lib/pkgconfig/libalpm.pc
    /usr/lib/libalpm.so.8.0.2
    So I'm guessing that I do have the alpm library, but pacman (or Yaourt?) isn't finding it.
    Further use of 'find' found the following versions of pacman:
    /usr/local/etc/pacman.conf
    /etc/pacman.conf
    Which then lead me to believe that I have the necessary files but they are in the wrong place or there is a config file (or something) that I need to alter.
    Any ideas what I've done wrong and how to correct it?
    Thanks, James

    I've just tried
    pacman -S man-pages
    as a test, and it worked ok.
    So, Bug Wrangler is probably right. Any ideas how I fix it, or is the solution to start again? If I need to start again, is there an easy way to remove yaourt?
    Last edited by james13 (2014-10-05 18:57:00)

  • Pacman.conf file syntax highlighting for nano

    Hi, here is pacman.conf file syntax highlighting for nano. It may be useful for those who edit their pacman.conf regularly.
    Just put this lines in the end of your /etc/nanorc or ~/.nanorc file:
    # syntax highlithing in pacman.conf
    syntax "pacman.conf" "pacman\.conf$"
    color brightwhite start="\[" end="\]"
    color brightyellow ".*="
    color brightred "=.*"
    color white "="
    color brightblue "\[|\]"
    color brightcyan start="/|http|ftp" end=".*"
    color green "#.*"
    In this thread you can find rc.conf file syntax highlighting.

    thank you! i always accidentally open up nano, find out text is practically unreadable with its default colours, close it and then wait the horrific 4 seconds it takes for emacs to spring to life.

  • [Solved]Add kernel26 to IgnorePkg in /etc/pacman.conf. Not ignored.

    Using kdemod4.3(32bit).  I re-installed kernel26-2.6.30.5-1-i686(earliest in pacman  pkg cache) and added kernel26 and kernel-headers to /etc/pacman.conf IgnorePkg but # "pacman -Syu" still asks to upgrade kernel to 2.30.6-1-i686. What do I add to that IgnorePkg to avoid kernel upgrade? Tried kernel, kernel26 and kernel26*. Adding nvidia,nvidia-utils and xorg-server to Ignorepkg give me that thee aren't upgraded(desirred result). Thanx.
    Last edited by lestoil (2009-10-08 18:08:14)

    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir     = /
    #DBPath      = /var/lib/pacman/
    #CacheDir    = /var/cache/pacman/pkg/
    #LogFile     = /var/log/pacman.log
    HoldPkg     = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst   = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl %u > %o
    #CleanMethod = KeepInstalled
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    IgnorePkg   = nvidia nvidia-utils xorg-server 
    #IgnoreGroup =
    #NoUpgrade   =
    #NoExtract   =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # REPOSITORIES
    #   - can be defined here or included from another file
    #   - pacman will search repositories in the order defined here
    #   - local/custom mirrors can be added here or in separate files
    #   - repositories listed first will take precedence when packages
    #     have identical names, regardless of version number
    #   - URLs will have $repo replaced by the name of the current repo
    # Repository entries are of the format:
    #       [repo-name]
    #       Server = ServerName
    #       Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # Testing is disabled by default.  To enable, uncomment the following
    # two lines.  You can add preferred servers immediately after the header,
    # and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    #KDEmod4
    [kdemod-core]
    Server = http://mirror.rit.edu/kdemod/core/i686
    #KDEmod4
    [kdemod-extragear]
    Server = http://mirror.rit.edu/kdemod/extragear/i686
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    #Yaourt
    [archlinuxfr]
    Server = http://repo.archlinux.fr/i686
    # An example of a custom package repository.  See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
      Here is complete /etc/pacman.conf. file without the "kernel" or "kernel26" entry which doesn't work.

  • Has Pacman3 dropped support for the NoUpgrade Lines in pacman.conf?

    I just upgraded to Pacman 3.  When I upgraded I quickly saw some output on my sceen saying it was doing a one time "reset" and I believe it said I could delete the NoUpgrade lines in pacman.conf.
    I noticed that pacman.conf.pacnew does not have any NoUpgrade lines.
    Should I delete all the NoUpgrade lines from my pacman.conf file?
    Is the NoUpgrade line no longer supported in pacman3? 
    If so, how can I protect some of my config files from being overwritten during upgrades?
    Rob

    They're still supported, there just aren't any by default anymore. They were redundant.
    You can/should remove any that are listed in the "backup" list for the packages they come from (pacman -Qii package). Those are all handled as if they were in NoUpgrade anyway.

  • Can't write to pacman.conf -- Read only file

    Hello everybody,
    I'm a complete noob when it comes to installing (arch) linux. I just installed (a part of) arch linux to my old computer, but I'm stuck now.
    I used the Arch Linux beginners guide and now I'm at the part where I need to configure pacman.
    But once I'm trying to adjust something in pacman.conf the computer tells me it's a read only file.
    I also can't udate the system when I use pacman -Syu I get: error: failed to update core/extra/community (unable to lock database)
    Btw I installed syslinux and I'm logged in as root.
    I hope you can help me with this and that i'm not asking a really dumb question.
    Thanks in advance!

    Pimmmo wrote:
    I can only take pictures, because my arch linux is on an other computer.
    here is my fstab (btw it's read only as well)
    And here is my mount output
    That's not even the full /etc/fstab. It's horrible.
    Add a tmpfs like in the fstab wiki entry. It's probably because you used one ">" when using genfstab (my bad, sorry).
    https://wiki.archlinux.org/index.php/Fstab
    PS: Which bootloader do you use? Syslinux? Don't remove "ro" then. Keep it, just like in the examples.
    Last edited by DSpider (2012-09-18 13:22:25)

  • Cannot enable wget in pacman.conf(solved)

    Pacman does not recognize wget in /etc/pacman.conf....
    [root@n6re ~]# pacman -Scc
    error: config file /etc/pacman.conf, line 19: directive 'xferCommand' noted.
    [root@n6re ~]#
    Attempting to eliminate pacman's filling of my /root partition during full system download I attempted to use wget to aid in downloading.  The result is noted above.
    My root partition is filled...used
    pacman -Scc
    once but the problem repeated.  Some users use wget to solve the problem so I tried that .
    Attempted to use:
    pacman -Q |less
    The same error concerning wget occured again and no display of installed packages ensued.
    So for the present cannot state which pacman version I have installed.
    Will restore /etc/pacman.conf to original condition and report further on this problem.
    Last edited by lilsirecho (2009-10-10 06:19:32)

    Thanks for the sharp eye.
    Reset my modem, re-installed pacman and corrected the pacman.conf entry for wget.
    All is well again....

  • Implications of new 'source' in pacman.conf

    I apologize in advance for what seems to be a very basic and FAQ-ish question.
    I've always wanted to know, what are the implications of adding new sources
    to my pacman.conf (or in the case of Ubuntu/Debian, the /etc/apt/sources.list file?)
    Let's say that you put some joker's site in your pacman.conf file, and they put
    a malicious FOO version 2 software in their repository.
    When I run pacman -Syu, does pacman say "Well, software FOO is at version 1 in
    the official Arch repos, but it's at version 2 in Joker's repository, what do you want to do?"
    Sorry for the basic question, but often think that if I was trying to proliferate some keylogger or
    other malware, what I would do is write some good software FOO, or act as a mirror for some good software FOO,
    and then provide updates for software BAR, and have BAR be a new version of some core-software
    that takes data from your keyboard and forwards it to my e-mail account.
    Is my question/concern valid, or am I totally off track?  I recently thought about this when adding
    a repository to my pacman.conf file so that I could get updates for the yaourt application.  I'm not
    accusing the author of yaourt of anything at all, and think the product is great.  But I just want to know if
    the author of yaourt issues an update to "readline", if Arch will accept this update as a valid update the next time
    I run pacman -Syu?
    Thanks very much, and links/RTFMs are appreciated.
    --Nate

    In pacman.conf(8) (man pacman.conf), under "REPOSITORY SECTIONS":
    The order of repositories in the configuration files matters;
    repositories listed first will take precedence over those listed later
    in the file when packages in two repositories have identical names,
    regardless of version number.
    I tested this with a local repo and it appears to work as documented; pacman didn't prompt me to upgrade 'bash' to the newer version I had put in my test repo which was below [core] in pacman.conf.
    Last edited by foutrelis (2009-07-30 08:50:02)

  • Pacman.conf - No Repositories listed [SOLVED]

    My pacman.conf is showing no respositories.
    http://gmjones.org/tv/pacman.conf
    Where can I go to get a current list to insert into this file?
    Thanks.
    Last edited by chome4 (2012-01-16 15:10:09)

    [core]
    Include = /etc/pacman.d/mirrorlist
    Should be rather self explaining, it grabs the mirrors from /etc/pacman.d/mirrorlist.
    And for updating that list, there are two tools linked to on archlinux.org mainpage:
    http://www.archlinux.org/mirrors/status/
    http://www.archlinux.org/mirrorlist/

  • Pacman.conf NoUpgrade Wildcard

    does pacman.conf 's NoUpgrade directive honor Wildcards ?  IE: NoUpgrade = etc/packagename/*
    I'm not willing to test this, as I just lost a large number of config files to a botched upgrade.
    I reiterate, I am NOT WILLING to test this myself, as I don't have time to handle further data loss.
    a simple yes or no answer and how you know is all I can use

    Thank you for the concise response, Allan.  I may just do that, djszapi.  for now I have to finish cleaning up the mess I made

Maybe you are looking for

  • PS/NVision problem since upgrading to PeopleTool 8.53.13

    We are busy upgrading from PeopleTools 8.49.18 to PeopleTools 8.53.13 on HCM 9.0. Since the upgrade the "Run Report" button on the PS/nVision "Define Report Request" page is missing. I have:- 1) Checked security 2) Run a trace and see the instruction

  • Music not playing-protected files?

    Music I have purchased from the iTunes store is not playing on my iTunes or my iPod. I checked, it's in the appropriate folder, but while all the working songs are mp3's and mp4's the non-playing music are m4p, MPEG-4 Audio File (Protected). Is there

  • Write in logs files

    hello I want to use my simple log system in my web application "No log4j" public class AppLoger      public static void writeMessage(String msg)           try {                String _date = (new Date()).toString();                          String pP

  • How to get a Quadro FX 4500 card?

    I have a newly purchased Mac Pro. Here in Mexico, the Quadro FX option seems not to be available, or is only available as a special order with many weeks of waiting time, so I got the machine with the standard graphics card. My problem now is, where

  • Windows XP SP3: Flash Player Error

    Hi, Strange issue was hoping for some assistance. We have a problem where we install Flash Player on our build, it works fine as the user that logs on first. After that any user which logs on it reports a different version of Flash and cycles between