Procedimento Kernel Upgrade
Procedimento Kernel Upgrade
Procedimento Kernel Upgrade
0 (Lenny) To
Debian 6.0 (Squeeze)
Debian 6.0 "Squeeze" has been released and how do I upgrade to Debian GNU/Linux
6.0 from the previous release, Debian GNU/Linux 5.0 ("Lenny") using command
prompt?
Debian 6.0 introduces a dependency based boot system, making system start-up faster
and more robust due to parallel execution of boot scripts and correct dependency
tracking between them. Upgrades to Debian GNU/Linux 6.0 from the previous release,
Debian GNU/Linux 5.0 (codenamed "Lenny"), are automatically handled by the apt-get
package management tool for most configurations.
The main things you'll want to back up are the contents of /etc, /var/lib/dpkg,
/var/lib/apt/extended_states and the output of dpkg --get-selections "*" (the quotes are
important). If you use aptitude to manage packages on your system, you will also want
to back up /var/lib/aptitude/pkgstates.
The following insutctions are tested on 64 bit version only but should work with 32 bit
system. Edit the file called /etc/apt/sources.list, enter:
# vi /etc/apt/sources.list
Find word lenny and replace with squeeze. At the end it should look as follows:
# apt-get update
# apt-get install apt dpkg aptitude
# apt-get dist-upgrade
# reboot
After reboot make sure all required ports are open and all services are running:
# lsb_release -a
# netstat -tulpn
# tail -f /var/log/messages
# tail -f /path/to/log/file