zeldor.biz

Linux, programming and more

Copyright © 2018 · on Genesis Framework · WordPress · Log in

Upgrade Debian squeeze to wheezy

December 7, 2012 by Igor Drobot Leave a Comment

Attention this tutorial was written for ARM-Based systems in my case it was a Trim-Slice system, without MBR (without grub). It was a plain Debian without Kernel and boot loader

sed -i "s,squeeze,wheezy,g" /etc/apt/sources.list

sed -i "s,squeeze,wheezy,g" /etc/apt/sources.list

cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ wheezy main
deb-src http://ftp.de.debian.org/debian/ wheezy main
 
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
 
# wheezy-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ wheezy-updates main
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main

cat /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ wheezy main deb-src http://ftp.de.debian.org/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main # wheezy-updates, previously known as 'volatile' deb http://ftp.de.debian.org/debian/ wheezy-updates main deb-src http://ftp.de.debian.org/debian/ wheezy-updates main

Dont forget a proxy;)

export http_proxy=http://proxy.debianuser.org:8080/

export http_proxy=http://proxy.debianuser.org:8080/

Update all sources:

apt-get update

apt-get update

Start the minimalistic upgrade

apt-get upgrade

apt-get upgrade

Upgrade udev:

apt-get install udev

apt-get install udev

apt-get dist-upgrade

apt-get dist-upgrade

Thats all =) reboot your ARM-box and enjoy a new version of Debian.

UPDATE: 27.01.2013

This Upgrade step by step lines are tested on production X64-Debian Systems running with Debian-Kernel.

Be sure you your squeeze system is uptodate!

sed -i "s,squeeze,wheezy,g" /etc/apt/sources.list

sed -i "s,squeeze,wheezy,g" /etc/apt/sources.list

apt-get update

apt-get update

apt-get upgrade

apt-get upgrade

dpkg -l | grep linux-image

dpkg -l | grep linux-image

apt-get install linux-image-2.6-amd64

apt-get install linux-image-2.6-amd64

update-grub

update-grub

apt-get install udev

apt-get install udev

System reboot; after reboot continue with

apt-get dist-upgrade

apt-get dist-upgrade

Clean a Kbit:

apt-get autoremove && apt-get clean

apt-get autoremove && apt-get clean

Filed Under: Debian, Kernel, Linux Tagged With: ARM, Debian, Kernel, Trim-Slice, Upgrade debian

Categories

Archives

Tags

apache2 Apple arduino backup bash Cisco Debian Debian squeeze DIY Exim4 Fedora FTP Fun GIT Icinga IMAP Ipv6 Juniper KVM Linux LVM MAC OS X Monitoring Munin MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy qemu RAID raid1 rsync Samba security ssh SSL Ubuntu virtualization Windows Windows 7 Wordpress Xen

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *