Linux Debian 7 Update

From FroggDev - En
Jump to: navigation, search
Debian Logo

Update Debian 7.0 Wheezy to 8.0 Jessie

Official link :

Before update

you should remove graphical interface to prevent useless trouble

to remove gnome environement:

apt-get remove gnome-core

Packets update

update wheezy to last version

apt-get update
apt-get upgrade


First, prepare sources.list, You can use your favorite text editor, to open /etc/apt/sources.list file.

nano /etc/apt/sources.list

And change wheezy for jessie, it may look like this after the change:

deb jessie main
deb-src jessie main
deb jessie/updates main
deb-src jessie/updates main

if you have other lines, you have to remove them to prevent conflict

Mise à jour du système

Upgrade the system

Update the sources

apt-get update

Minimal upgrade

apt-get upgrade

Final upgrade

Once all these steps have completed, I can now upgrade the distribution so:

apt-get dist-upgrade

clean useless packages

apt-get autoremove

restart linux !



to verify boot logs check in /var/log/boot if nothing has been logged yet or if file is missing, install the package bootlogd:

apt-get install bootlogd

to display log with visibility:

sed 's/\^\[/\E/g;s/\[1G\[/\[27G\[/' /var/log/boot > /var/log/bootFormated


sed 's/\^\[/\E/g' /var/log/boot | less -R > /var/log/bootFormated

then edit /var/log/bootFormated and search for "error" string

  • working stuff after the upgrade:
    • Linux users
    • Linux conf
    • ssh conf (and sftp)
    • Apache conf (with custom .so)
    • PHP conf
    • Mysql server
    • Personnals web site
    • Cgit
    • phpMyAdmpin
    • Wiki
    • and some more tools
  • not working stuff:
    • Mounted folder (on oracleVM Virtual box)
      • requier install new VirtualBox Guest Additions (don't forget to update linux headers)
apt-get install linux-headers-$(uname -r)
apt-get install virtualbox-ose-guest-utils
modprobe vboxvfs
mount -t vboxsf {mountName} {targetFolder}