Chinaunix首页 | 论坛 | 博客
  • 博客访问: 643697
  • 博文数量: 175
  • 博客积分: 2457
  • 博客等级: 大尉
  • 技术积分: 1488
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-13 20:31
文章分类

全部博文(175)

文章存档

2012年(22)

2011年(153)

分类: LINUX

2012-05-21 20:52:52

pacman: error: failed to commit transaction、
转自%C7%EF%CA%D5%B3%C1%CB%BC/blog/item/5226bcdfd182bdcf76c638ad.html 
# pacman -Syu
后出现上面错误以及类似下面的错误:

error: failed to commit transaction (conflicting files)
glibc: /usr/bin/tzselect exists in filesystem
glibc: /usr/bin/zdump exists in filesystem
glibc: /usr/bin/zic exists in filesystem 
首先检查上面报错的文件是否被其他的包所使用:

# pacman -Qo full_file_path

如果出现:

xxx is owned by xxx

可以报 bug 了;如果没有,可以直接把他们给删除或者强制升级包。

一般是强制重新安装升级出错的包,例如上面就是glibc有问题

I forced the update of glibc and then it went from there. I don't know how safe that was tho, but since I run this on a VM I'm very careless.

Pacman -S glibc --force

remember say "N" to upgrading pacman first when you force the update of glibc

//记得选择NO当它问你是否在强制升级glibc之前升级pacman.

阅读(5226) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~