红联Linux门户
Linux帮助

配置 arch 2010.5 出错

发布时间:2011-07-12 21:45:28来源:红联作者:cliier
error: could not open file /var/lib/pacman/symc/core.db:
error: could not open file /var/lib/pacman/symc/extra.db
error: could not open file /var/lib/pacman/symc/community.db
文章评论

共有 2 条评论

  1. pc9527 于 2011-07-13 11:33:16发表:

    我是新手,完成新手任务,需要现金下载书籍,路过.................

  2. cliier 于 2011-07-13 11:14:19发表:

    第一个错误提示:
    运行 pacman -Syu 时
    :: Retrieving packages from core... warning; failed to retrieve some files from core error: failed to commit transaction (no servers configured for repository) Errors occured, no packages were upgraded.解决办法:用vi打开 /etc/pacman.d/mirrorlist 发现没有选择镜像源,找到china把前面的'#'去掉再运行pacman -Syu没有问题了。 第二个错误提示:运行 pacman -S sudo时error: could not open file /var/lib/pacman/sync/core.db: Failed to open '/var/lib/pacman/sync/core.db'error: could not open file /var/lib/pacman/sync/extra.db: Failed to open '/var/lib/pacman/sync/extra.db'error: could not open file /var/lib/pacman/sync/community-testing.db: Failed to open '/var/lib/pacman/sync/community-testing.db'error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'error: could not open file /var/lib/pacman/sync/multilib.db: Failed to open '/var/lib/pacman/sync/multilib.db'error: could not open file /var/lib/pacman/sync/archlinuxfr.db: Failed to open '/var/lib/pacman/sync/archlinuxfr.db'error: could not open file /var/lib/pacman/sync/unsupported.db: Failed to open '/var/lib/pacman/sync/unsupported.db'error: could not open file /var/lib/pacman/sync/unstable.db: Failed to open '/var/lib/pacman/sync/unstable.db'error: target not found: 解决办法:先在终端运行 pacman -Syy