Skip to content

Instantly share code, notes, and snippets.

@leandrotoledo
Last active December 16, 2015 00:09
Show Gist options
  • Save leandrotoledo/5345517 to your computer and use it in GitHub Desktop.
Save leandrotoledo/5345517 to your computer and use it in GitHub Desktop.
Upgrades old-stable Debian (squeeze) for new stable Debian (wheezy)
If you have a simple installation, in other words, a basic installation without self-compiled programs or a complicated setup, you just need to follow three steps:
1) Change squeeze to wheezy in source.list
# vi /etc/apt/source.list
:%s/squeeze/wheezy/g
:wq!
2) Update new repository
# aptitude update
3) Upgrade packages
# aptitude safe-upgrade
Finally,
# lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 7.0 (wheezy)
Release: 7.0
Codename: wheezy
Easy, hum?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment