-
System backup.
-
Check package status: show any packages which have a status of
Half-InstalledorFailed-Config, and those with any error status.$ dpkg --audit
-
Inspect the status of all the packages on your system using
aptitudeGUI ordpkgon the command line.$ dpkg -l | pager $ dpkg --get-selections "*" > curr-pkgs.txt
-
Check packages that are held by
aptitude.$ aptitude search "~ahold"
-
Set those packages held by
aptitudetounholdstate.$ aptitude unhold package_name
-
Check packages that are held by
apt-get.$ dpkg --get-selections | grep 'hold$'
-
Set those packages held by
apt-gettoinstallstate.$ echo package_name install | dpkg --set-selections
-
Remove or comment "proposed-updates" section in
/etc/apt/sources.list. -
Change the version name in
sources.list, then update the package index.$ apt-get update
-
Perform minimal system upgrade.
$ apt-get upgrade
-
Perform full system upgrade.
$ apt-get dist-upgrade