LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 930|回复: 3

[求解决方案]用Archlinux一段时间了,今天更新,出现了不能更新的问题,好像是因为x264

[复制链接]
发表于 2009-1-20 19:51:48 | 显示全部楼层 |阅读模式
使用命令:

sudo pacman --sync --refresh --sysupgrade

结果:
looking for inter-conflicts...

Targets (12): x264-20090108-1  ffmpeg-20081220-1  filesystem-2009.01-1  
              groff-1.20.1-1  mkinitcpio-0.5.21-1  kernel26-2.6.28.1-1  
              mdadm-2.6.8-1  pam-1.0.3-1  readline-5.2.013-1  vlc-0.9.8a-4  
              xfsprogs-2.10.2-1  xine-lib-1.1.16.1-1  

Total Download Size:    0.00 MB
Total Installed Size:   166.71 MB

Proceed with installation? [Y/n] Y
checking package integrity...
(12/12) checking for file conflicts                 [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
x264: /usr/lib/libx264.so.65 exists in filesystem
Errors occurred, no packages were upgraded.


我尝试着卸载x264,
采用命令:sudo pacman -Q x264

结果:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: ffmpeg: requires x264>=20080625




备注:x264好像自己编译安装的,现在不知道怎么解决了,请兄弟们帮帮忙把
发表于 2009-1-20 20:02:46 | 显示全部楼层
强制安装x264试试?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-20 20:12:32 | 显示全部楼层
问题在irc反应以后在wind的帮助下已经解决,^_^

结帖了

先强制安装x264 :  pacman -Sdf x264

然后删除 /usr/lib/libx264.so.65
最后正常更新即可
pacman --sync --refresh --sysupgrade
回复 支持 反对

使用道具 举报

发表于 2009-1-21 00:03:08 | 显示全部楼层
其实问题就是那个文件已经存在导致的冲突。直接改名就不用强制安装了。估计是之前手动安装过什么。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表