Differences between revisions 23 and 24
Revision 23 as of 2018-09-12 18:20:12
Size: 2238
Comment: Use the preferred syntax for command substitution.
Revision 24 as of 2019-03-11 16:01:31
Size: 1465
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
This page gives the directions how to upgrade your Debian distribution This page gives the directions on how to upgrade your Debian distribution
Line 13: Line 13:
Minor upgrades are done with the package management tools: Minor upgrades are done with the package management tool apt-get or apt.
Line 15: Line 15:
 * [[Synaptic#upgrade|Using Synaptic]]
 * [[Aptitude#upgrade|Using aptitude]]
 * Switch to tty via Ctrl+Alt+F3
 * Execute the following
Line 18: Line 18:
= Switching from GNOME to Xfce before upgrading =

Optionally, you do not need to upgrade to the resource hungry GNOME 3 with wheezy, and can save bandwidth, by switching to Xfce before doing the actual upgrade:

Remove gnome and its dependencies:
{{{
aptitude purge $(dpkg --get-selections | grep gnome | cut -f 1)
aptitude -f install
aptitude purge $(dpkg --get-selections | grep deinstall | cut -f 1)
aptitude -f install
{{{
$ sudo apt clean
$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo apt autoremove
$ /sbin/shutdown -r now
Line 29: Line 26:


Install Xfce: {{{
apt-get install xfce4
}}}

For useful utilities that come with Xfce: {{{
apt-get install xfce4-goodies
}}}


= See also =
 * DebianRelease
 * DistUpgradeIssues
 * Sarge2EtchUpgrade
 * Etch2LennyUpgrade
 * Lenny2SqueezeUpgrade
 * NewInSqueeze
 * [[dist-upgradeOnSmallHardrives]]
----
## You can add other _helpful_ links here.
##See also:
## If this page belongs to an existing Category, add it below.
 QuickPackageManagement

Translation(s): Brasileiro - English - Español - Français - Italiano- Русский - Svenska

(!) ?Discussion


This page gives the directions on how to upgrade your Debian distribution

How to upgrade your distribution

Upgrading from one stable release to the next (e.g. buster to bullseye) is done by following the release notes for your architecture. For most people with 32 bit systems that means the Release Notes for Intel x86. For most with 64 bit systems that means the Release Notes for AMD64.

Minor upgrades are done with the package management tool apt-get or apt.

  • Switch to tty via Ctrl+Alt+F3
  • Execute the following

$ sudo apt clean
$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo apt autoremove
$ /sbin/shutdown -r now