报错:Errors were encountered while processing: nvidia-14t-xusb-firmware nvidia-l4t-initrd nvidia-l4t-bootloader E: Sub-process /usr/bin/dpkg returned an error code (1)
一、问题
还是装新机的过程中遇到的问题,这次在更换国内镜像源以后,成功sudo apt-get update
但是在sudo apt-get upgrade对所有库进行更新时报一下错误:
Errors were encountered while processing:
nvidia-14t-xusb-firmware
nvidia-l4t-initrd
nvidia-l4t-bootloader
E: Sub-process /usr/bin/dpkg returned an error code (1)
二、解决办法
sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/
sudo mkdir /var/lib/dpkg/info/
sudo apt-get update
sudo apt-get -f install
sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old/
sudo rm -rf /var/lib/dpkg/info
sudo mv /var/lib/dpkg/info_old/ /var/lib/dpkg/info/