virtualbox里安装完arch后,pacman -Syu 出现error conflicting files

其他Linux/Unix/BSD/OSX等发行版讨论
回复
gongnaixiao
帖子: 10
注册时间: 2012-07-15 12:22

virtualbox里安装完arch后,pacman -Syu 出现error conflicting files

#1

帖子 gongnaixiao » 2012-07-15 12:33

# pacman -Syu

:: Synchronizing package databases...
core is up to date
extra
community
:: The following packages should be upgraded first:
pacman
:: upgrade these packages now?[Y/n] Y

Targets(15):linux-api-headers-3.4.401 glibc-2.16.0-2 ......
.....

Proceed with installation ?[Y/n]y
......

error: failed to commit transaction (conflicting files)
glibc : /lib exists in filessystem
glibc : /usr/bin/tzselect exists in filessystem
glibc : /usr/sbin/zdump exists in filessystem
glibc : /usr/bin/zic exists in filessystem
Erros occurred, no packages were upgraded
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#2

帖子 cuihao » 2012-07-15 12:57

求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#3

帖子 cuihao » 2012-07-15 12:58

LZ你的系统太旧了吧。
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
gongnaixiao
帖子: 10
注册时间: 2012-07-15 12:22

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#4

帖子 gongnaixiao » 2012-07-15 13:18

没有啊,我装得是archlinux-2011.08.19-core-i686.iso的!pacman -Syu --ignore glibc 我早就试过了

#pacman -Syu --ignore glibc
:: The following packages should be upgraded first: pacman
:: Do you want to cancel the current operation and upgrade theset packages now ?[Y/n] y

warning: ignoring package glibc-2.16.0-2
warning: cannot resolve "glibc>=2.15", a dependency of "pacman"

Do you want to skip the above package for this upgrade?[Y/n]y
looking for inter-conflicts..
there is nothing to do
头像
xjpvictor
帖子: 2837
注册时间: 2007-08-22 15:55
系统: Archlinux
来自: 新加坡
联系:

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#5

帖子 xjpvictor » 2012-07-15 13:36

可以先去 http://schlunix.org/archlinux/core/os/i686/ 下载2.16.0-1的glibc,然后 -Syu --ignore glibc,然后 -Su 升级glibc
Entschuldigung. Ich habe keine ahnung.
Secure with PGP: gpg --recv-keys 0x68b6e3d8
Fingerprint: 5556 517C F52F E402 DDF5 5400 6D30 F13E 68B6 E3D8
Towards A Sustainable Earth: Print Only When Necessary
gongnaixiao
帖子: 10
注册时间: 2012-07-15 12:22

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#6

帖子 gongnaixiao » 2012-07-15 13:51

下载2.16.0-1不是2.16.0-2的?下载完后如何处理?(安装?)
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#7

帖子 cuihao » 2012-07-15 14:05

pacman -U *.xz 安装。

下回用archboot装吧: http://mirrors.163.com/archlinux/iso/archboot/2012.06/
去年8月19号的系统,对于Arch也是太老了。
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
gongnaixiao
帖子: 10
注册时间: 2012-07-15 12:22

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#8

帖子 gongnaixiao » 2012-07-15 14:17

已经装上了,pacman -Syu 正常了
gongnaixiao
帖子: 10
注册时间: 2012-07-15 12:22

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#9

帖子 gongnaixiao » 2012-07-15 14:35

pacman -Syu
error: xxxx: signature from "***<***@gmail.com>" is unknown trust
头像
netphi
帖子: 1051
注册时间: 2008-08-29 21:31

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#10

帖子 netphi » 2012-07-15 14:41

find /lib -exec pacman -Qo -- {} +后发现一大堆信息:
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.*
于是直接删掉/lib/modules就能更新glibc了。
。。。。。。。。。。。。。
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#11

帖子 cuihao » 2012-07-15 14:44

gongnaixiao 写了:pacman -Syu
error: xxxx: signature from "***<***@gmail.com>" is unknown trust

代码: 全选

pacman-key --init
pacman-key --populate archlinux
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
gongnaixiao
帖子: 10
注册时间: 2012-07-15 12:22

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#12

帖子 gongnaixiao » 2012-07-15 14:56

signature 过去了
但是现在
error: failed to commit transaction (conflicting files)

glibc: /lib exists in filesystem
filesystem: /etc/mtab exists in filesystem
filesystem: /etc/run exists in filesystem
initscripts: /etc/profile.d/locale.sh exists in filesystem
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#13

帖子 cuihao » 2012-07-15 15:17

filesystem、initscripts的冲突,用 pacman -S filesystem initscripts --force
glibc的参照:http://bbs.archlinuxcn.org/viewtopic.php?id=1019
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
gongnaixiao
帖子: 10
注册时间: 2012-07-15 12:22

Re: virtualbox里安装完arch后,pacman -Syu 出现error conflicting file

#14

帖子 gongnaixiao » 2012-07-15 15:24

thank you so much! fix it now.谢谢了!!!
回复