Differences between revisions 1 and 32 (spanning 31 versions)
Revision 1 as of 2008-01-05 18:40:28
Size: 768
Comment:
Revision 32 as of 2020-08-16 01:16:53
Size: 2480
Editor: nodiscc
Comment: edit sources.list befor upgrading. formatting/comments
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[:DebianWiki/EditorGuide#translation:Translation(s)]: none-~||<style="text-align: right;border: 0px hidden"> (!) [:/Discussion:Discussion]|| ||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[pt_BR/DebianUpgrade|Brasileiro]] - English - [[es/DebianUpgrade|Español]] - [[fr/DebianUpgrade|Français]] - [[it/DebianUpgrade|Italiano]]- [[ru/DebianUpgrade|Русский]] - [[sv/DebianUpgrade|Svenska]] -~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]||
Line 4: Line 4:
This article explain how to upgrade your Debian distribution
This page gives directions on how to upgrade your Debian distribution.
Line 9: Line 10:
= How to upgarde your distribution =
 * [:Synaptic#upgrade:Using Synaptic]
 * [:Aptitude#upgrade:Using aptitude]
= How to release upgrade your distribution =
Upgrading from one stable release to the next (e.g. <<DebianCodename(oldstable)>> to <<DebianCodename(stable)>>) is done by following the [[http://www.debian.org/releases/stable/releasenotes|release notes]] for your [[http://www.debian.org/ports/|architecture]]. For most people with 32 bit systems that means the [[http://www.debian.org/releases/stable/i386/release-notes/|Release Notes for Intel x86]]. For most with 64 bit systems that means the [[http://www.debian.org/releases/stable/amd64/release-notes/|Release Notes for AMD64]].
Line 13: Line 13:
= See also =
 * DebianRelease
 * DistUpgradeIssues
 * Sarge2EtchUpgrade
 * ["dist-upgradeOnSmallHardrives"]
----
## You can add other _helpful_ links here.
##See also:
## If this page belongs to an existing Category, add it below.
 QuickPackageManagement
Performing a release upgrade is not without risk. The upgrade may fail, leaving the system in a non-functioning state. USERS SHOULD BACKUP ALL DATA before attempting a release upgrade.

Upgrades are done with [[PackageManagementTools|package management tools]], [[root]] or [[sudo]] access, and generally involve the following steps.

 * Obtain a text shell.
   * On desktop machines, switch to tty via Ctrl+Alt+F3 (your desktop environment could freeze up during post-install/service restarts, leaving the system in a broken state.
 * Run the following:

{{{
# in a text editor, replace the codename of your release with the next release (eg. buster with bullseye) in APT sources
$ sudo nano /etc/apt/sources.list /etc/apt/sources.list.d/*

# clean and update package lists
$ sudo apt clean
$ sudo apt update

# perform regular/minor upgrades
$ sudo apt upgrade
# perform major release upgrade, removing packages if necessary
$ sudo apt dist-upgrade

# remove packages that are not required anymore
$ sudo apt autoremove

# reboot to make changes effective (optional)
$ /sbin/shutdown -r now
}}}

Now check the output of {{{ uname -a }}} and you should see info about the upgraded system.


-----------------------------

CategoryPackageManagement

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

(!) ?Discussion


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

How to release upgrade your distribution

Upgrading from one stable release to the next (e.g. bullseye to bookworm) 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.

Performing a release upgrade is not without risk. The upgrade may fail, leaving the system in a non-functioning state. USERS SHOULD BACKUP ALL DATA before attempting a release upgrade.

Upgrades are done with package management tools, root or sudo access, and generally involve the following steps.

  • Obtain a text shell.
    • On desktop machines, switch to tty via Ctrl+Alt+F3 (your desktop environment could freeze up during post-install/service restarts, leaving the system in a broken state.
  • Run the following:

# in a text editor, replace the codename of your release with the next release (eg. buster with bullseye) in APT sources
$ sudo nano /etc/apt/sources.list /etc/apt/sources.list.d/*

# clean and update package lists
$ sudo apt clean
$ sudo apt update

# perform regular/minor upgrades
$ sudo apt upgrade     
# perform major release upgrade, removing packages if necessary
$ sudo apt dist-upgrade

# remove packages that are not required anymore
$ sudo apt autoremove

# reboot to make changes effective (optional)
$ /sbin/shutdown -r now

Now check the output of  uname -a  and you should see info about the upgraded system.


CategoryPackageManagement