[Voyage-linux] [HowTo] Upgrade voyage linux

Joline P. (spam-protected)
Wed Aug 28 16:29:56 HKT 2013


Hi,

here is a guidance about an upgrade of a running system to a newer
version of voyage:

--------------------- cut -----------------------

Upgrade Voyage (e.g. 0.7 -> 0.9)
--------------

1. Edit and update /etc/apt/sources.list (Generator:
http://debgen.simplylinux.ch/):
	deb http://ftp.de.debian.org/debian stable main contrib non-free
	deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
	deb http://security.debian.org/ wheezy/updates main contrib non-free

2. Edit and update /etc/apt/sources.list.d/voyage.list
	deb http://www.voyage.hk/dists/0.9 ./

3. apt-get clean

4. apt-get update

5. apt-get dist-upgrade
	It could happen that there is not enough space at /var/cache/apt/archives.
	In this case (and if there is enough space at your CF):
		1. rename /var/cache/apt/archives to /var/cache/apt/archives.org
		2. create a new folder at /home/[user]/archives (replace [user] by the
username)
		3. create a symbolic link to the new temporary folder: ln -s
/home/[user]/archives /var/cache/apt/archives
		4. repeat apt-get dist-upgrade

6. Grab a coffee...

7. Update kernel to the latest version
	1. Check at http://www.voyage.hk/dists/0.9/linux what is the latest
version (e.g. 3.8.13)
	2. apt-get install linux-image-3.8.13-voyage

8. Update the content of /etc/motd to the new version

9. Reboot

If the box boots with the new kernel (check with: cat /proc/version) we
can remove the old version:

10. Remove the old kernel
	1. check which versions are installed:
		dpkg -l | grep linux-image
		output e.g.:
			linux-image-2.6.38-voyage          9.0-1                        i386
        Linux kernel binary image for version 2.6.38-voyage
			linux-image-3.8.13-voyage          12.5-1                       i386
        Linux kernel binary image for version 3.8.13-voyage
	2. find the old version and remove with:
		apt-get clean (Just in case there is not enough space)
		apt-get update (Just in case there is not enough space)
		apt-get remove --purge linux-image-2.6.38-voyage
		apt-get autoremove

11. That's it!
--------------------- cut -----------------------

Maybe somebody will find it useful and/or Punkytse will add this to the
readme of voyage.

Joline



More information about the Voyage-linux mailing list