Difference between revisions of "Upgrade Debian Linux to Unstable"
(Created page with "See https://wiki.debian.org/DebianUnstable. Basically: cat <<EOF >/etc/apt/sources.list deb http://deb.debian.org/debian unstable main deb http://deb.debian.org/debian-de...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Linux]] | ||
+ | |||
See https://wiki.debian.org/DebianUnstable. | See https://wiki.debian.org/DebianUnstable. | ||
− | + | First, [[Upgrade Debian Linux to Testing|upgrade to testing]], then do (as root): | |
+ | |||
+ | su - | ||
cat <<EOF >/etc/apt/sources.list | cat <<EOF >/etc/apt/sources.list | ||
Line 9: | Line 13: | ||
EOF | EOF | ||
apt-get update | apt-get update | ||
− | apt-get -y dist-upgrade | + | 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 |
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