Debian Tutorials

Debian Tutorials


Step by step tutorials showing you how to install and configure various applications and services on Debian based Linux distros.

April 2018
M T W T F S S
« Mar    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories


Upgrade from squeeze to wheezy

Ástþór IPÁstþór IP

Debian just released a stable version of Debian 7.0 (wheezy). If you’re running previous version of Debian, you can easily upgrade.

1. Update all packages currently installed to the latest squeeze versions

apt-get update
apt-get upgrade

2. Replace all occurrences of squeeze with wheezy in the apt sources file (pico /etc/apt/sources.list). Here’s an example of what the file could look like after the change:

deb http://ftp.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free

3. Update apt repository

apt-get update

4. Upgrade apt, dpkg and aptitude packages first

apt-get install apt dpkg aptitude

5. Do a dist-upgrade to upgrade the rest of the system

apt-get dist-upgrade

6. Restart the system

reboot

7. Verify that the system is updated to version 7 / wheezy

cat /etc/debian_version

It should read version 7.0.0 or greater

Comments 0
There are currently no comments.