首页 > 计算机 > Archlinux升级问题的解决

Archlinux升级问题的解决

Arch很久没更新了,今天更新出现问题。

# pacman -Syu
:: Synchronizing package databases…
archlinuxfr is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies…
looking for inter-conflicts…
error: failed to prepare transaction (could not satisfy dependencies)
:: package-query: requires pacman<3.6
也就是说,要先升级pacman,但是pacman因为依赖问题不允许升级……

好吧,那就曲线救国:
# pacman -Rs yaourt package-query

再执行:
# pacman -Syu

恩,可以升级了,然后提示:
>>> Run `pacman-key –init` to set up your pacman keyring.

好,照它说的,执行
# pacman-key –init

搞定。

然后再执行
# pacman -Syu
发现……
Total Download Size: 399.53 MiB
Total Installed Size: 1782.69 MiB
是很久没更新了…让它更新去吧~

 

  1. 还没有评论
评论提交中, 请稍候...
说点什么再走吧!0

NOTICE: You should type some Chinese word (like “你好”) in your comment to pass the spam-check, thanks for your patience!
Trackbacks & Pingbacks ( 0 )
  1. 还没有 trackbacks