亚博直播

UBUNTU APT升级时出现dpkg status database is locked的解决方法

ubuntu-dpkg-error最近在UBUNTU服务器做例行升级的时候出现了一个异常,异常出现在用apt-get upgrade命令升级时,遇到了“dpkg status database is locked by another process”的dpkg错误。

YICHANGXIANGXIXINXIRUXIA:

dpkg error info

“dpkg status database is locked by another process”,ZIMIANYISIJIUSHIdpkgDEZHUANGTAISHUJUKUBEIQITAJINCHENGlockedLE,YEKEYILIJIECHENGBEIQITAJINCHENGZHANYONGLE。CHALEYIXIAWANGSHANGYUANYINSHIBAOGUANLIQIZAIANZHUANGSHENGJIGUOCHENGZHONGYUDAOLEYICHANG,MEIYOUZHENGQUEGUANBI。JIEJUEFANGFAJIUSHIZHONGQIFUWUQIHUOZHEZHONGXINDAKAIZHONGDUAN SHURU:

  1. sudo rm /var/lib/dpkg/lock
  2. sudo dpkg –configure -a

RANHOUZHONGXINANZHUANGBAO。

XUYAOSHUOMINGDESHI,YONGapt-get installANZHUANGRUANJIANBAOSHIYETONGYANGKENENGDAOZHIZHEIYANGDEYICHANG。

>>原创文章,欢迎转载。转载请注明:转载自惠州市卓优互联科技有限亚博直播,谢谢!
>>原文链接地址:UBUNTU APT升级时出现dpkg status database is locked的解决方法


关于作者

留下您的回复