Upgrade Debian Linux to Testing

From Aram's Wiki
Revision as of 17:36, 1 September 2018 by Aram (talk | contribs) (Created page with "See https://wiki.debian.org/DebianTesting. == Upgrade to testing == Basically (as root): su - apt-get update && apt-get upgrade -y cat <<EOF >/etc/apt/sources.list deb...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Upgrade to testing

Basically (as root):

su -
apt-get update && apt-get upgrade -y
cat <<EOF >/etc/apt/sources.list
deb https://deb.debian.org/debian testing main contrib non-free
deb https://deb.debian.org/debian-security testing/updates main contrib non-free
EOF
apt-get update
apt-get dist-upgrade -y
apt autoremove -y

Then answer the questions.

Add support for new (hardware) ports

If you want to add support for new ports (e.g. RISC-V), do this:

apt-get install -y debian-ports-archive-keyring
cat <<EOF >>/etc/apt/sources.list
deb https://deb.debian.org/debian-ports unstable main
deb https://deb.debian.org/debian-ports unreleased main
deb https://deb.debian.org/debian-ports experimental main
EOF
apt-get update