系统升级及新立得启动时出现的问题,还不能安装软件

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

 

相关文章:

  • 2022-12-23
  • 2021-06-17
  • 2021-07-22
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
  • 2021-10-23
  • 2022-01-19
猜你喜欢
  • 2021-04-29
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2021-06-07
相关资源
相似解决方案