E: Sub-process /usr/bin/dpkg returned an error code (1)
xxxxxxxxxx
sudo dpkg -i --force-all /var/cache/apt/archives/package_name
xxxxxxxxxx
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
E: Sub-process /usr/bin/dpkg returned an error code (1)
xxxxxxxxxx
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade