|
发表于 2011-3-5 17:36:00
|
显示全部楼层
- $cat /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 %u > %o
- #XferCommand = /usr/bin/aria2c -s 2 -m 2 -d / -o %o %u
- #CleanMethod = KeepInstalled
- # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
- IgnorePkg = hplip
- #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.
- #
- # 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]
- ## Add your preferred servers here, they will be used first
- #Include = /etc/pacman.d/mirrorlist
- [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-testing]
- ## 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
- [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]
- #Server = file:///home/custompkgs
- #add Yaourt
- #[archlinuxfr]
- #Server = http://repo.archlinux.fr/x86_64
- #[kdemod-core]
- #Server = http://mirrors.rit.edu/kdemod/core/x86_64
- #[kdemod-extragear]
- #Server = http://mirrors.rit.edu/kdemod/extragear/x86_64
复制代码
这个文件也要设置,不然你$repo就不晓得了。 |
|