LinuxSir.cn,穿越时空的Linuxsir!

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

pacman error! how to unclock?

[复制链接]
发表于 2009-1-7 21:21:54 | 显示全部楼层 |阅读模式
[root@arch-live ~]# vi /etc/pacman.d/mirrorlist
[root@arch-live ~]# pacman -Syu               
:: Synchronizing package databases...
error: failed to init transaction (unable to lock database)
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck
[root@arch-live ~]#

computer shutdown when i update  system.i want to pacman -Syu.but failed.how to solve this problem?
发表于 2009-1-7 21:38:25 | 显示全部楼层
那就 sudo rm /var/lib/pacman/db.lck 呗
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-7 21:50:11 | 显示全部楼层
thanks
回复 支持 反对

使用道具 举报

发表于 2009-1-8 01:51:38 | 显示全部楼层
:: Synchronizing package databases...
error: failed to init transaction (unable to lock database)
if you're sure a package manager is not already
running, [color="Red"]you can remove /var/lib/pacman/db.lck
回复 支持 反对

使用道具 举报

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

本版积分规则

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