红联Linux门户
Linux帮助

sudo dpkg --configure -a无法解决的问题

发布时间:2017-03-17 09:23:30来源:linux网站作者:CAM&
系统升级及新立得启动时出现的问题,还不能安装软件。
E: dpkg 的操作被中断了, 您必须手动执行 'sudo dpkg --configure -a' 以修复这个问题。
E: _cache->open() failed, please report.
 
按照提示sudo dpkg --configure -a
仍没解决:
sudo dpkg --configure -a Processing triggers for initramfs-tools (0.103ubuntu4.6) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic
Setting up ros-indigo-vision-opencv (1.11.15-0trusty-20170130-041520-0800) ...
Setting up linux-headers-3.
 
使用:
sudo chmod -x /usr/share/initramfs-tools/hooks/watershed
sudo rm /var/lib/apt/lists/lock
sudo apt-get clean && sudo apt-get autoclean
sudo apt-get update
sudo apt-get upgrade
 
本文永久更新地址:http://www.linuxdiyf.com/linux/29233.html