Upgrade Debian Linux to Unstable

From Aram's Wiki
Revision as of 10:27, 22 February 2019 by Aram (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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