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/

Similar Messages

  • [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.

  • Pacman.conf problem [solved]

    Hi im having a problem with yaourt, and packer and i cant also install any package form Aur for example:
    packer -S opencascade
    grep: /etc/pacman.conf: Permission denied
    error: config file /etc/pacman.conf could not be read: Permission denied
    error: config file /etc/pacman.conf could not be read: Permission denied
    Aur Targets (1): opencascade
    Proceed with installation? [Y/n] y
    Dependencies for `opencascade' are not met, not building..
    i have the same problem with yaourt
    if i try to install from a tarball  for example i get this
    makepkg -s
    ==> Making package: plank-bzr 820-1 (Fri Jun 7 13:06:26 ART 2013)
    ==> Checking runtime dependencies...
    error: config file /etc/pacman.conf could not be read: Permission denied
    ==> ERROR: 'pacman' returned a fatal error (1):
    [dam2@dam1d plank-bzr]$
    i installed arch linux again yesterday and i copy the pacman.conf file that i have in my older arch linux to my new one
    # /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
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    #UseDelta = 0.7
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #Color
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    SigLevel = Required DatabaseOptional
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # 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
    # - URLs will have $arch replaced by the name of the architecture
    # 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.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include 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
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    modedit: added code tags /Xyne
    Last edited by adcdam (2013-06-07 19:28:32)

    grep: /etc/pacman.conf: Permission denied
    error: config file /etc/pacman.conf could not be read: Permission denied
    error: config file /etc/pacman.conf could not be read: Permission denied
    This tells you that you have incorrectly configured permissions when you copied the file. Fix that with
    chmod 644 /etc/pacman.conf
    Also note that I have added code tags ([code]) to your post. Please use them in the future when you post command output or file contents.

  • 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....

  • [SOLVED] pacman.conf simple line error or... ?

    So here's what happened:
    I was trying to enable the [multilib] repository. (As according to https://wiki.archlinux.org/index.php/Multilib).
    Thus, I went ahead and uncommented the following from /etc/pacman.conf:
    [multilib]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    To edit /etc/pacman.conf, I used LibreOffice Writer. I saved the file as a .txt document and made sure that it is properly renamed as pacman.conf.
    Next, I went to update pacman's package list by running pacman with the -Sy switch.
    And then, voila:
    # pacman -Sy
    error: config file /etc/pacman.conf, line 1: All directives must belong to a section.
    However, when looking at pacman.conf I don't see any errors in line 1. Nor do I see any problems with directives.
    Here are the contents of pacman.conf:
    http://pastebin.com/raw.php?i=XWh9eagr
    Is there a simple problem with a line in pacman.conf --- or is it because I used LibreOffice Writer instead of Vi? Or?
    Is the answer to this right in front of my nose?
    Thank ya'll..
    Last edited by adamstjohn (2012-12-08 00:31:28)

    adamstjohn wrote:or is it because I used LibreOffice Writer instead of Vi?.
    LibreOffice Writer is a word processor - it will do odd things to your .conf files. Use a text editor. If you don't want to use vi, then use nano, or gedit or anything other than a word processor.
    Moving to NC: not at all related to pacman...

  • [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!

  • [Solved](Offline) install of packages, pacman.conf?

    Good morning (or what ever time of the day it is for you now )!
    I tried offline installation as this guide http://wiki.archlinux.org/index.php/Off … f_packages instructed plus configured pacman.conf to have Server = file:///var/lib/pacman/sync/approriate_dir lines. When trying pacman -Sp --noconfirm any_package I get ERROR: not found in sync db. Is there something I should know? Is my pacman.conf file made by an ass ?
    Last edited by aCyd (2008-03-24 11:53:22)

    I fixed it. This is how (maybe someone finds this useful):
    the pacman that came with the installation cd was apparently different version than the one used when writing the wiki. It wouldn't look for the core.db.tar.gz and the other files from the /var/lib/pacman/sync/core etc folders (perhaps it would have found them from the /var/lib/pacman/core etc folders there were already, who knows didn't try).
    I made a folder called /mnt/usb
    mkdir /mnt/usb
    mounted the usb stick (it showd as sdb1 for me)
    mount /dev/sdx /mnt/usb
    and added
    Server = file:///mnt/usb/Arch
    to my pacman.conf under [core], [extra] and [community] so pacman found them from my usb stick along with packages. I also made sure that the 'Include /path/to/mirrorlist' was commented. No tar command was needed.
    pacman -Sp --noconfim {package-name} > pkglist
    didn't work for me. I just got the last error line without any package names. Instead I used grep
    pacman -Syu --noconfirm | grep error > pkglist
    and upgraded the whole system.
    I modified the pkglist in emacs with replace-string to remove '' from disk : No such file or directory' after the package name and then again to replace 'error: failed retrieving file '' with the url of my selected mirror. (I know that could have been done more elegantly using sed or something or even a proper regexp in emacs if not with the command) After that I downloaded the packages as instructed, copied them to my usb and mounted it to my Arch system and ran again
    pacman -Syu

  • 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

  • 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)

  • Hi accidentally overwrote new pacman.conf with /etc/pacman.conf.pacnew

    Hi
    I accidentally overwrote etc/pacman.conf with the old /etc/pacman.conf.pacnew.
    Pacman now appears to work but disregards the signing of packages.
    Is there an copy of the pacman.conf from the upgrade around so I can merge
    the two files. perhaps pacman.conf~, but no I think this is overwritten too.
    Regardz
    El Zorro

    Hi Trilby,
                  it may be the mouldy oldy one as there is no reference to "SigLevel = Never"  it does not seem to exist only "Architecture = auto"
    Here is the current /etc/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 -C - -f %u > %o
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    #CheckSpace
    # 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
    # - URLs will have $arch replaced by the name of the architecture
    # 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.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include 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
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    Trilby wrote:
    The pacnew version includes everything for package signing.  All you will have lost is any personal changes you have made.
    The package signing lines are, however, commented out except for the "SigLevel = Never" line.  Just read the instructions within the comments and uncomment the appropriate SigLevel line (and comment the "Never" line).
    Last edited by elzorro (2012-01-21 06:31:50)

  • Pacman not reading /etc/pacman.conf???

    All right, I'm sorta new to linux and VERY new to Arch. Love what I see so far, but I've got a little problem.
    I've uncommented out and added some repositories in /etc/pacman.conf, but when I run pacman -Syu it only sync's up with the core and extra's database. I have uncommented out testing, and added the kdemod repos... What am I doing wrong???
    pacman -Syu
    ::Synchronizing package databases...
    core is up to date
    extra is up to date
    local database is up to date
    Argh!

    Yep, should've done that. Sorry!
    # /etc/pacman.conf
    # See the pacman manpage for option directives
    # GENERAL OPTIONS
    [options]
    LogFile     = /var/log/pacman.log
    HoldPkg     = pacman glibc
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    # 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
    #[testing]
    #Include = /etc/pacman.d/testing
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/core
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/extra
    #[community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/community
    #[unstable]
    # Add your preferred servers here, they will be used first
    #Include = /etc/pacman.d/unstable
    # An example of a custom package repository.  See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    #[kdemod]
    Server = http://kdemod.ath.cx/repo/current/x86_64

  • A perfect /etc/pacman.conf ??

    Hello guys,
    can someone please post a good working /etc/pacman.conf with uptodate servers ??
    I somehow broke mine...:/:/
    Thanks in advance and regards from Berlin
    Chris

    Here's mine with testing,community and unstable uncommented.
    # /etc/pacman.conf
    # NOTE: If you find a mirror that is geographically close to you, please
    # move it to the top of the server list, so pacman will choose it
    # first.
    # To re-sort your mirror lists by ping/traceroute results, use the
    # /usr/bin/sortmirrors script. It requires the "netselect" package.
    # See the pacman manpage for option directives
    # GENERAL OPTIONS
    [options]
    LogFile = /var/log/pacman.log
    NoUpgrade = etc/passwd etc/group etc/shadow etc/sudoers
    NoUpgrade = etc/fstab etc/raidtab etc/ld.so.conf
    NoUpgrade = etc/rc.conf etc/rc.local
    NoUpgrade = etc/modprobe.conf etc/modules.conf
    NoUpgrade = etc/lilo.conf boot/grub/menu.lst
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    # 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
    [testing]
    Server = ftp://ftp.archlinux.org/testing/os/i686
    [current]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/current
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/extra
    [unstable]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/unstable
    [community]
    # Add your preferred servers here, they will be used first
    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

  • 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.

  • 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.

  • 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)

Maybe you are looking for

  • Creating a time tracking graph in Numbers

    I need to make a chart of an employee's time into work.  I tried inputting time format but didn't graph/chart it. How do I do this AND show the expected arrival time (they've been coming in late). Thanks

  • Please help me cancel my Mexico subscription

    Please show or tell me how to cancel my subscription to Mexico

  • Display rows affected data from MySQL statement??

    Hi, Im trying to get the return data from a MySQL database, such as the ROWS AFFECTED into after an INSERT sql command. Could anyone help me? I mean I know its easy in PHP to use the "mysql_affected_rows" command, but how do you do this in Java? Many

  • Trouble loading dvd in Classroom in a Book

    While trying to download lessons from dvd to hard drive in Adobe Photoshop Elements 11 "Classroom in a Book" I received a message "DSC5680 cannot copy.  Access is denied..Make sure disc is not full or write protected or that the file is not currently

  • Default data format (localization)

    It's actually one for the Report Builder forum but I couldn't find that so sorry. I wondered if anyone knew of a way to have the default localization set to en-GB (UK dates, rather than US dates). The scenario is this; I open report builder 3. Set up