Linux Debian 7 Update
Update Debian 7.0 Wheezy to 8.0 Jessie
Official link : https://www.debian.org/releases/jessie/amd64/release-notes/ch-upgrading.en.html
Contents
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
sources.list
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 http://mirrors.kernel.org/debian/ jessie main deb-src http://mirrors.kernel.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ 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 !
reboot
Results
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
or
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)
- Mounted folder (on oracleVM Virtual box)
apt-get install linux-headers-$(uname -r) apt-get install virtualbox-ose-guest-utils modprobe vboxvfs mount -t vboxsf {mountName} {targetFolder}