echo "Sources:\n"This script has the following dependencies:
grep '^deb ' /etc/apt/sources.list
sudo apt-get --fix-missing --list-cleanup update
sudo apt-get dist-upgrade
sudo apt-get -f check
sudo apt-get autoclean
sudo apt-get autoremove
sudo deborphan -Pz
deborphan sudo aptTo install, use:
install -p -m 755 -o root upgrade /sbin/upgradeOccasionally, run this to check for redundant packages:
deborphan --guess-all -PzAnd run this to clean local repository:
apt-get cleanOne finally problem may be reported by gnupg about package authentication keys. To fix this, follow this example. I followed the example described here.
I recently updated this script to include the following:
sudo dpkg --configure -aThis is to complete installation of unpacked but unconfigured packages.
No comments:
Post a Comment