Debian 6 Squeeze auf Debian 7 Wheezy update

Aus Carl-Christian Sautter - Wiki
Wechseln zu: Navigation, Suche
apt-get update
apt-get upgrade
apt-get dist-upgrade
echo -e "deb http://ftp.de.debian.org/debian/ wheezy main\ndeb-src http://ftp.de.debian.org/debian/ wheezy main\ndeb http://security.debian.org/ wheezy/updates main\ndeb-src http://security.debian.org/ wheezy/updates main\ndeb http://ftp.de.debian.org/debian/ wheezy-updates main\ndeb-src http://ftp.de.debian.org/debian/ wheezy-updates main" > /etc/apt/sources.list

apt-get -y update
apt-get -y install apt aptitude
apt-get -y -f install
apt-get -y upgrade
apt-get -y dist-upgrade
apt-get remove libxml-sax-perl libxml-sax-expat-perl libxml-simple-perl samba
apt-get -y autoremove
aptitude full-upgrade
cat /etc/debian_version

sources.list:

deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free
#Mirror:
deb http://ftp2.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp2.de.debian.org/debian/ wheezy main contrib non-free