【解决】ARCHLINUX-请给我一份pacman conf
- wowoto
- 帖子: 3050
- 注册时间: 2009-04-11 12:17
- 系统: windows7
【解决】ARCHLINUX-请给我一份pacman conf
我在安装之后的配置中,由于什么都不懂,把pacman,conf的很多东西修改了,现在没法从网络更新。。麻烦在用arch的同学给一份给我,谢谢。
上次由 wowoto 在 2009-11-14 20:16,总共编辑 2 次。
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
Re: ARCHLINUX-帮忙给我一份pacman conf,我的弄乱了~~不知如何改回去~arch新手
sudo rm /etc/pacman.conf
sudo pacman -S pacman
sudo pacman -S pacman
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
DELL UltraSharp 2209WA
Arch64, Testing repo
- 白鳍豚
- 帖子: 2356
- 注册时间: 2009-01-19 23:03
Re: ARCHLINUX-帮忙给我一份pacman conf,我的弄乱了~~不知如何改回去~arch新手
/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
#CleanMethod = KeepInstalled
# 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
#
# 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
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
[xyne-any]
Server = http://xyne.archlinux.ca/repos/any/
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
- 白鳍豚
- 帖子: 2356
- 注册时间: 2009-01-19 23:03
Re: ARCHLINUX-帮忙给我一份pacman conf,我的弄乱了~~不知如何改回去~arch新手
#[custom]
#Server = file:///home/custompkgs
这地方就是本地的
#Server = file:///home/custompkgs
这地方就是本地的
- tenzu
- 论坛版主
- 帖子: 36924
- 注册时间: 2008-11-21 20:26
Re: ARCHLINUX-帮忙给我一份pacman conf,我的弄乱了~~不知如何改回去~arch新手
powerpill和yaourt都有了。。。
- wowoto
- 帖子: 3050
- 注册时间: 2009-04-11 12:17
- 系统: windows7
Re: ARCHLINUX-帮忙给我一份pacman conf,我的弄乱了~~不知如何改回去~arch新手
白鳍豚 写了:#[custom]
#Server = file:///home/custompkgs
这地方就是本地的
谢谢,也同时谢谢你前几天的帮助~~
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
- wowoto
- 帖子: 3050
- 注册时间: 2009-04-11 12:17
- 系统: windows7
Re: ARCHLINUX-帮忙给我一份pacman conf,我的弄乱了~~不知如何改回去~arch新手
感谢tenzu~~按照你的关键字搜到了~~tenzu 写了:powerpill和yaourt都有了。。。
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.