[arch党求助]pacman无法更新。。求助 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
shiweifu
V2EX    Linux

[arch党求助]pacman无法更新。。求助

  •  
  •   shiweifu
    shiweifu 2012-04-20 17:26:34 +08:00 4547 次点击
    这是一个创建于 4926 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天装的archbang,结果悲剧了,装好之后无法升级。。
    mirrorlist 是默认的全打开
    装了好多次arch了,第一次遇到这种情况。。
    不知到哪里配置的不对,请大家看看。


    [root@archbang pacman.d]# pacman -Syu
    :: 正在同步软件包数据库...
    core 已经是最新版本
    extra 已经是最新版本
    community 已经是最新版本
    :: 正在进行全面系统更新...
    今日无事可做
    ---------------
    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
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #UseDelta
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    ILoveCandy
    # PGP signature checking
    # NOTE: None of this will work without running `pacman-key --init` first.
    # The compiled in default is equivalent to the following line. This requires
    # you to locally sign and trust packager keys using `pacman-key` for them to be
    # considered valid.
    #SigLevel = Optional TrustedOnly
    # If you wish to check signatures but avoid local sign and trust issues, use
    # the following line. This will treat any key imported into pacman's keyring as
    # trusted.
    #SigLevel = Optional TrustAll
    # For now, off by default unless you read the above.
    SigLevel = Never
    #
    # 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]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [core]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    #SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [community]
    #SigLevel = PackageOptional
    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
    5 条回复    1970-01-01 08:00:00 +08:00
    daliu
        1
    daliu  
       2012-04-20 17:35:18 +08:00
    今日无事可做
    你式net安装?
    shiweifu
        2
    shiweifu  
    OP
       2012-04-20 17:42:56 +08:00
    @daliu 直接下的完整版,以前都是自己装xorg、xfce啥的,这次图方便装了个基于arch的发行版,archbang,装好进桌面,然后就发现无法升级。。悲剧啊
    shiweifu
        3
    shiweifu  
    OP
       2012-04-0 17:45:45 +08:00
    搞定了,把/var/lib/pacman里面的文件删了就能重新更新了。。
    9hills
        4
    9hills  
       2012-04-20 18:03:11 +08:00
    archbang是去年11月的版本,从去年11月到现在有几次重大升级。。。小心点吧

    ArchBang 安装好进系统后要按照此步骤进行升级,否则各种悲剧。。

    ArchBang 2011.11 Upgrade Guide:
    1. pacman -Syy
    2. pacman -S pacman
    3. mv /etc/pacman.conf.pacnew /etc/pacman.conf
    4. pacman-key --init
    5. pacman -S filesystem --force
    6. rebuild cairo-ubuntu from AUR and install it.
    7. pacman -S librsvg
    8. pacman -Syu

    其中第6步也可以改为
    pacman -S --asdeps freetype2 libxft cairo fontconfig
    因为ubuntu系列补丁基本都merge到主干,不需要再打补丁了
    shiweifu
        5
    shiweifu  
    OP
       2012-04-20 21:18:24 +08:00
    @9hills 谢谢
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     5218 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 23ms UTC 09:13 PVG 17:13 LAX 02:13 JFK 05:13
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86