在用命令进行更新的时候出现了一个问题,求大佬帮助
Tofloor
poster avatar
dalao_xu
deepin
2017-03-20 05:51
Author
准备学习linux的菜鸟,想问一下为什么会出现这种情况????

xuzheng@xuzheng-pc:~/Desktop$ sudo apt-get update && sudo apt-get dist-upgrade
命中:1 http://packages.deepin.com/deepin unstable InRelease
正在读取软件包列表... 完成   
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
正在计算更新... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
正在设置 shim-signed (1.23+0.9+1474479173.6c180c6-0ubuntu1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: 处理软件包 shim-signed (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
在处理时有错误发生:
shim-signed
Job for lastore-build-system-info.service failed.
See "systemctl status lastore-build-system-info.service" and "journalctl -xe" for details.
E: Sub-process /usr/bin/dpkg returned an error code (1)


Reply Favorite View the author
All Replies
avatar
dalao_xu
deepin
2017-03-20 05:51
#1
急求解决办法= =
Reply View the author
avatar
山西姚一
deepin
2017-03-20 05:56
#2
sudo apt -f install
sudo apt update
sudo apt upgrade
Reply View the author
avatar
dalao_xu
deepin
2017-03-21 06:19
#3
https://bbs.deepin.org/post/136320
sudo apt -f install
sudo apt update
sudo apt upgrade

还是有错误
xuzheng@xuzheng-pc:~/Desktop$ sudo apt -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
正在设置 shim-signed (1.23+0.9+1474479173.6c180c6-0ubuntu1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: 处理软件包 shim-signed (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
在处理时有错误发生:
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
xuzheng@xuzheng-pc:~/Desktop$ sudo apt update
命中:1 http://packages.deepin.com/deepin unstable InRelease
正在读取软件包列表... 完成           
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
所有软件包均为最新。
xuzheng@xuzheng-pc:~/Desktop$ sudo apt upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
正在计算更新... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
正在设置 shim-signed (1.23+0.9+1474479173.6c180c6-0ubuntu1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: 处理软件包 shim-signed (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
在处理时有错误发生:
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply View the author
avatar
山西姚一
deepin
2017-03-21 07:13
#4
http://blog.csdn.net/amwihihc/article/details/7008573

参考一下这个,有进程占用?
Reply View the author