question:
/bin/sh: 1: /usr/bin/apt-listchanges: not found
E: Subprocess /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error number (1)
E : Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
solution:
Option 1:
Please try:
sudo apt purge -f apt-listchanges
Then try:
sudo apt install -f apt-listchanges
Option 2:
Please try:
sudo dpkg --remove apt-listchanges
Then try:
sudo apt install -f apt-listchanges
Option 3:
Please try:
sudo mv /etc/apt/apt.conf.d/20listchanges /etc/apt/apt.conf.d/20listchanges.bak
Then try:
sudo apt update && sudo apt upgrade