问题:
/bin/sh: 1: /usr/bin/apt-listchanges: not found
E: 子进程 /usr/bin/apt-listchanges --apt || test $? -lt 10 返回了一个错误号 (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
解决方案:
选项1:
请试试:
sudo apt purge -f apt-listchanges
然后尝试:
sudo apt install -f apt-listchanges
选项2:
请试试:
sudo dpkg --remove apt-listchanges
然后尝试:
sudo apt install -f apt-listchanges
选项3:
请试试:
sudo mv /etc/apt/apt.conf.d/20listchanges /etc/apt/apt.conf.d/20listchanges.bak
然后尝试:
sudo apt update && sudo apt upgrade