Difference between revisions of "Upgrade Debian Linux to Unstable"

From Aram's Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
[[Category:Linux]]
 +
 
See https://wiki.debian.org/DebianUnstable.
 
See https://wiki.debian.org/DebianUnstable.
  
Line 15: Line 17:
  
 
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

Latest revision as of 10:27, 22 February 2019


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