Difference between revisions of "Upgrade Debian Linux to Unstable"

From Aram's Wiki
Jump to: navigation, search
Line 15: Line 15:
  
 
Then answer the questions.
 
Then answer the questions.
 +
 +
Consider limiting the architecture to amd64 (if that's what you use):
 +
 +
cat <<EOF >/etc/apt/sources.list
 +
deb [arch=amd64] http://deb.debian.org/debian unstable main
 +
deb [arch=amd64] http://deb.debian.org/debian-debug unstable-debug main
 +
deb [arch=amd64] http://deb.debian.org/debian-ports unstable main
 +
EOF
 +
apt-get update
 +
apt-get dist-upgrade -y
 +
apt autoremove -y

Revision as of 18:30, 1 September 2018

See https://wiki.debian.org/DebianUnstable.

First, upgrade to testing, then do (as root):

su -
cat <<EOF >/etc/apt/sources.list
deb http://deb.debian.org/debian unstable main
deb http://deb.debian.org/debian-debug unstable-debug main
deb http://deb.debian.org/debian-ports unstable main
EOF
apt-get update
apt-get dist-upgrade -y
apt autoremove -y

Then answer the questions.

Consider limiting the architecture to amd64 (if that's what you use):

cat <<EOF >/etc/apt/sources.list
deb [arch=amd64] http://deb.debian.org/debian unstable main
deb [arch=amd64] http://deb.debian.org/debian-debug unstable-debug main
deb [arch=amd64] http://deb.debian.org/debian-ports unstable main
EOF
apt-get update
apt-get dist-upgrade -y
apt autoremove -y