[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upgrade to testing



On 6/16/21 1:56 AM, Gary Dale wrote:
On 2021-06-15 13:26, Wil wrote:
How do I upgrade from Debian stable to Debain testing?

It's not really an upgrade. It's more a switch in priorities. However to answer your question directly, as root do either

     sed -i -s 's/buster/bullseye/g' /etc/apt/sources.list

or

     sed -i -s 's/stable/testing/g' /etc/apt/sources.list

depending on how your source.list file refers to the current stable distribution.

After that, do

     apt update
     apt full-upgrade
     apt autoremove

then reboot.



I like this way, it easier and i don't need to open file and change it manually.

--
Robbi Nespu <robbinespu AT SPAMFREE gmail DOT com>
D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA
https://robbinespu.gitlab.io | https://mstdn.social/@robbinespu


Reply to: