Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236132 > unrolled thread

upgrade to testing

Started byWil <wil@desanti.co.uk>
First post2021-06-15 19:40 +0200
Last post2021-06-15 21:30 +0200
Articles 16 — 12 participants

Back to article view | Back to linux.debian.user


Contents

  upgrade to testing Wil <wil@desanti.co.uk> - 2021-06-15 19:40 +0200
    Re: upgrade to testing Charles Curley <charlescurley@charlescurley.com> - 2021-06-15 19:50 +0200
    Re: upgrade to testing john doe <johndoe65534@mail.com> - 2021-06-15 20:00 +0200
      Re: upgrade to testing Henning Follmann <hfollmann@itcfollmann.com> - 2021-06-15 20:20 +0200
        Re: upgrade to testing Greg Wooledge <greg@wooledge.org> - 2021-06-15 20:30 +0200
        Re: upgrade to testing john doe <johndoe65534@mail.com> - 2021-06-16 08:30 +0200
    Re: upgrade to testing "Andrew M.A. Cater" <amacater@einval.com> - 2021-06-15 20:10 +0200
      Re: upgrade to testing Francisco M Neto <fmneto@gmail.com> - 2021-06-16 00:10 +0200
        Re: upgrade to testing "Paul M. Foster" <paulf@quillandmouse.com> - 2021-06-16 00:30 +0200
          Re: upgrade to testing Greg Wooledge <greg@wooledge.org> - 2021-06-16 00:30 +0200
      Re: upgrade to testing Wil <wil@desanti.co.uk> - 2021-06-16 06:50 +0200
        Re: upgrade to testing dalios <dalios@eumx.net> - 2021-06-16 15:20 +0200
    Re: upgrade to testing Gary Dale <gary@extremeground.com> - 2021-06-15 21:10 +0200
      Re: upgrade to testing Robbi Nespu <robbinespu@gmail.com> - 2021-06-16 05:50 +0200
        Re: upgrade to testing Greg Wooledge <greg@wooledge.org> - 2021-06-16 13:30 +0200
    Re: upgrade to testing Brian <ad44@cityscape.co.uk> - 2021-06-15 21:30 +0200

#236132 — upgrade to testing

FromWil <wil@desanti.co.uk>
Date2021-06-15 19:40 +0200
Subjectupgrade to testing
Message-ID<CqlcB-nl-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

How do I upgrade from Debian stable to Debain testing?

[toc] | [next] | [standalone]


#236133

FromCharles Curley <charlescurley@charlescurley.com>
Date2021-06-15 19:50 +0200
Message-ID<Cqlmi-qS-3@gated-at.bofh.it>
In reply to#236132

[Multipart message — attachments visible in raw view] — view raw

On Tue, 15 Jun 2021 17:26:29 +0000
Wil <wil@desanti.co.uk> wrote:

> How do I upgrade from Debian stable to Debain testing?

The first thing I'd do is some searching on the Internet.

https://duckduckgo.com/?q=debian+upgrade+stable+testing&t=vivaldi&ia=web

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

[toc] | [prev] | [next] | [standalone]


#236134

Fromjohn doe <johndoe65534@mail.com>
Date2021-06-15 20:00 +0200
Message-ID<CqlvX-tW-3@gated-at.bofh.it>
In reply to#236132
On 6/15/2021 7:26 PM, Wil wrote:
> How do I upgrade from Debian stable to Debain testing?

By following the instructions available on the Debian web site (1)!

In a nutshell, change 'buster/stable' to 'bullseye/unstable' in
/etc/apt/sources.list'.:

$ apt-get update && apt-get full-upgrade


Note that you can also use 'apt' instead of 'apt-get'.

Do not  do this blindly on a production server though.

1)
https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.en.html

--
John Doe

[toc] | [prev] | [next] | [standalone]


#236136

FromHenning Follmann <hfollmann@itcfollmann.com>
Date2021-06-15 20:20 +0200
Message-ID<CqlPk-PG-3@gated-at.bofh.it>
In reply to#236134
On Tue, Jun 15, 2021 at 07:50:05PM +0200, john doe wrote:
> On 6/15/2021 7:26 PM, Wil wrote:
> > How do I upgrade from Debian stable to Debain testing?
> 
> By following the instructions available on the Debian web site (1)!
> 
> In a nutshell, change 'buster/stable' to 'bullseye/unstable' in
> /etc/apt/sources.list'.:

Not totally true though. There have been a few changes.
So if you just replace buster with bullseye it might not work.


Here is an example of an working bullseye sources.list


# testing

deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye main contrib non-free

deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free

deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free




> 
> $ apt-get update && apt-get full-upgrade
> 
> 
> Note that you can also use 'apt' instead of 'apt-get'.
> 
> Do not  do this blindly on a production server though.
> 
> 1)
> https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.en.html
> 
> --
> John Doe
> 

-- 
Henning Follmann           | hfollmann@itcfollmann.com

[toc] | [prev] | [next] | [standalone]


#236137

FromGreg Wooledge <greg@wooledge.org>
Date2021-06-15 20:30 +0200
Message-ID<CqlYZ-SI-1@gated-at.bofh.it>
In reply to#236136
> > On 6/15/2021 7:26 PM, Wil wrote:
> > > How do I upgrade from Debian stable to Debain testing?

https://www.debian.org/releases/bullseye/releasenotes
https://wiki.debian.org/DebianBullseye
https://wiki.debian.org/NewInBullseye

[toc] | [prev] | [next] | [standalone]


#236157

Fromjohn doe <johndoe65534@mail.com>
Date2021-06-16 08:30 +0200
Message-ID<CqxdL-7Of-1@gated-at.bofh.it>
In reply to#236136
On 6/15/2021 8:10 PM, Henning Follmann wrote:
> On Tue, Jun 15, 2021 at 07:50:05PM +0200, john doe wrote:
>> On 6/15/2021 7:26 PM, Wil wrote:
>>> How do I upgrade from Debian stable to Debain testing?
>>
>> By following the instructions available on the Debian web site (1)!
>>
>> In a nutshell, change 'buster/stable' to 'bullseye/unstable' in
>> /etc/apt/sources.list'.:
>

Should have been 'testing' and not 'unstable'.

> Not totally true though. There have been a few changes.
> So if you just replace buster with bullseye it might not work.
>
>
> Here is an example of an working bullseye sources.list
>
>
> # testing
>
> deb http://deb.debian.org/debian/ bullseye main contrib non-free
> deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
>
> deb http://security.debian.org/debian-security bullseye-security main contrib non-free
> deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
>
> deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
> deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
>
>

In addition to Henning Follmann <hfollmann@itcfollmann.com>'s answer:

On buster the '/etc/apt/sources.list' file might look like:

"deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

deb http://deb.debian.org/debian-security buster/updates main
deb-src http://deb.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main"

And on Bullseye:

"deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main

deb http://deb.debian.org/debian-security bullseye-security main
deb-src http://deb.debian.org/debian-security bullseye-security main"


Mind the security lines!

--
John Doe

[toc] | [prev] | [next] | [standalone]


#236135

From"Andrew M.A. Cater" <amacater@einval.com>
Date2021-06-15 20:10 +0200
Message-ID<CqlFE-My-17@gated-at.bofh.it>
In reply to#236132
On Tue, Jun 15, 2021 at 05:26:29PM +0000, Wil wrote:
> How do I upgrade from Debian stable to Debain testing?

Hi Wil,

Don't - at least not directly.

If your /etc/apt/sources.list says "stable" anywhere in it, you probably 
want to change that to reference "buster" today, anyway. Bullseye - Debian 11 -
is likely to be released within 8 weeks and will become the new "stable" immediately - 
at whihc point, there will be a huge amount of package churn.

If you want to update to what is _currently_ Debian testing - now is a 
relatively safe time to do so because it's in a state of freeze before it 
is released as Debian 11. Look at the release notes for Bullseye and the
posts on Debian Planet for "what's new in Bullseye" and update carefully.
[Change /etc/apt/sources.list to suit: apt-get update ; apt-get upgrade ; 
apt-get autoremove ; apt-get dist-upgrade ; apt-get autoremove is one 
sequence that will get you there.

if you want to upgrade to what will be the new Testing, I'd honestly suggest
waiting six weeks or so, upgrading to Bullseye as it comes out and _then_ 
upgrading to Bookworm.

There's information on Debian codenames and also "Which Debian distribution
should I use" on the Debian wiki at wiki.debian.org. 

In general terms: if you can't handle breakage, which may occasionally last 
for weeks or months, don't run Testing until you are happy troubleshooting 
and dealing with upgrading/holding versions of packages. 

The package churn on testing is correspondingly higher and there is no 
particular security support.

Just my €0.02

All the best, as ever

Andy C

[toc] | [prev] | [next] | [standalone]


#236144

FromFrancisco M Neto <fmneto@gmail.com>
Date2021-06-16 00:10 +0200
Message-ID<CqppT-36y-1@gated-at.bofh.it>
In reply to#236135

[Multipart message — attachments visible in raw view] — view raw

Hey there,

	I don't want to just add a meme here, but someone give this man a
medal.

On 2021-06-15 18:03, Andrew M.A. Cater wrote:
>
> If you want to update to what is _currently_ Debian testing - now is a
> relatively safe time to do so because it's in a state of freeze before it
> is released as Debian 11. Look at the release notes for Bullseye and the
> posts on Debian Planet for "what's new in Bullseye" and update carefully.
> [Change /etc/apt/sources.list to suit: apt-get update ; apt-get upgrade ;
> apt-get autoremove ; apt-get dist-upgrade ; apt-get autoremove is one
> sequence that will get you there.
>
> if you want to upgrade to what will be the new Testing, I'd honestly suggest
> waiting six weeks or so, upgrading to Bullseye as it comes out and _then_
> upgrading to Bookworm.

	The above is the best advice anyone could get in regards to
upgrading to testing or not.

> Just my €0.02

	Honestly worth a lot more.

	There are a lot of people that are not that familiar with Debian,
and sometimes it's comprehensible that they don't look for search
engines right away; a lot of times the answers that come up on a search
apply to derivatives. Ubuntu is so ubiquitous these days that I've seen
plenty of people that just follow instructions meant for it, but under
Debian.

	So it's (from a certain point of view) comendable that they come to
this list instead. After all this is _the_ Debian User Group; and it's
sad that sometimes they are met with less-than-tolerant responses.

	Although I can completely understand (and to some extent, relate to)
the way some people feel when a discussion list is sometimes treated as
a support desk, a more welcoming response is more likely to create a
more conscientious Debian user.

That was MY €0.02.

Cheers,
Francisco

[toc] | [prev] | [next] | [standalone]


#236145

From"Paul M. Foster" <paulf@quillandmouse.com>
Date2021-06-16 00:30 +0200
Message-ID<CqpJf-3cj-1@gated-at.bofh.it>
In reply to#236144
On 6/15/21 6:08 PM, Francisco M Neto wrote:
> Honestly worth a lot more.
> 	There are a lot of people that are not that familiar with Debian,
> and sometimes it's comprehensible that they don't look for search
> engines right away; a lot of times the answers that come up on a search
> apply to derivatives. Ubuntu is so ubiquitous these days that I've seen
> plenty of people that just follow instructions meant for it, but under
> Debian.
>
> 	So it's (from a certain point of view) comendable that they come to
> this list instead. After all this is _the_ Debian User Group; and it's
> sad that sometimes they are met with less-than-tolerant responses.
>
> 	Although I can completely understand (and to some extent, relate to)
> the way some people feel when a discussion list is sometimes treated as
> a support desk, a more welcoming response is more likely to create a
> more conscientious Debian user.
>
> That was MY €0.02.
>
I must concur. I understand sending people away to research things on 
debian.org. But consider: googling across the internet's trillions of 
documents to find an answer, or filtering through the abundance of 
documentation on debian.org... it's a helluva lot easier to just ask the 
question here. A lot of the people here don't have to look up the 
answer; they know it already. And as demonstrated, the answer isn't that 
difficult to express.

I've been using Debian from probably 20 years now. I'm just advocating 
for some more tolerance.

Paul

[toc] | [prev] | [next] | [standalone]


#236146

FromGreg Wooledge <greg@wooledge.org>
Date2021-06-16 00:30 +0200
Message-ID<CqpJf-3cj-3@gated-at.bofh.it>
In reply to#236145
On Tue, Jun 15, 2021 at 06:20:09PM -0400, Paul M. Foster wrote:
> A lot of the people here don't have to look up the answer;
> they know it already. And as demonstrated, the answer isn't that difficult
> to express.

At least two people have given a *wrong* answer in this thread.

[toc] | [prev] | [next] | [standalone]


#236156

FromWil <wil@desanti.co.uk>
Date2021-06-16 06:50 +0200
Message-ID<CqvF0-6Nd-1@gated-at.bofh.it>
In reply to#236135

[Multipart message — attachments visible in raw view] — view raw

On Tue, Jun 15, 2021 at 06:03:20PM +0000, Andrew M.A. Cater wrote:
>On Tue, Jun 15, 2021 at 05:26:29PM +0000, Wil wrote:
>> How do I upgrade from Debian stable to Debain testing?
>
>Hi Wil,
>
>Don't - at least not directly.
>
>If your /etc/apt/sources.list says "stable" anywhere in it, you probably
>want to change that to reference "buster" today, anyway. Bullseye - Debian 11 -
>is likely to be released within 8 weeks and will become the new "stable" immediately -
>at whihc point, there will be a huge amount of package churn.
>
>If you want to update to what is _currently_ Debian testing - now is a
>relatively safe time to do so because it's in a state of freeze before it
>is released as Debian 11. Look at the release notes for Bullseye and the
>posts on Debian Planet for "what's new in Bullseye" and update carefully.
>[Change /etc/apt/sources.list to suit: apt-get update ; apt-get upgrade ;
>apt-get autoremove ; apt-get dist-upgrade ; apt-get autoremove is one
>sequence that will get you there.
>
>if you want to upgrade to what will be the new Testing, I'd honestly suggest
>waiting six weeks or so, upgrading to Bullseye as it comes out and _then_
>upgrading to Bookworm.
>
>There's information on Debian codenames and also "Which Debian distribution
>should I use" on the Debian wiki at wiki.debian.org.
>
>In general terms: if you can't handle breakage, which may occasionally last
>for weeks or months, don't run Testing until you are happy troubleshooting
>and dealing with upgrading/holding versions of packages.
>
>The package churn on testing is correspondingly higher and there is no
>particular security support.
>
>Just my €0.02
>
>All the best, as ever
>
>Andy C
>

Thank you for all that you wrote.  I will change the sources.list to use
"bullseye" and then run "apt-get update ; apt-get upgrade; apt-get autoremove ;
apt-get dist-upgrade ; apt-get autoremove".  After doing so the system will be
on current Debian testing and it will become Debian stable within a few weeks.
After that the system will remain on Debian stable and not become Debian testing,
correct?

Wil

[toc] | [prev] | [next] | [standalone]


#236163

Fromdalios <dalios@eumx.net>
Date2021-06-16 15:20 +0200
Message-ID<CqDCx-3cd-5@gated-at.bofh.it>
In reply to#236156
On 6/16/21 7:39 AM, Wil wrote:


> (...) I will change the sources.list to use
> "bullseye" and then run "apt-get update ; apt-get upgrade; apt-get autoremove ;
> apt-get dist-upgrade ; apt-get autoremove".  After doing so the system will be
> on current Debian testing and it will become Debian stable within a few weeks.
> After that the system will remain on Debian stable and not become Debian testing,
> correct?
> 
> Wil
> 

Correct. It will remain on Debian stable for as long as "bullseye" is
the codename of the stable branch (usually something like 2 years).

Dalios

[toc] | [prev] | [next] | [standalone]


#236138

FromGary Dale <gary@extremeground.com>
Date2021-06-15 21:10 +0200
Message-ID<CqmBI-1kP-19@gated-at.bofh.it>
In reply to#236132
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.

[toc] | [prev] | [next] | [standalone]


#236154

FromRobbi Nespu <robbinespu@gmail.com>
Date2021-06-16 05:50 +0200
Message-ID<CquIV-67M-1@gated-at.bofh.it>
In reply to#236138
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

[toc] | [prev] | [next] | [standalone]


#236162

FromGreg Wooledge <greg@wooledge.org>
Date2021-06-16 13:30 +0200
Message-ID<CqBU6-28m-3@gated-at.bofh.it>
In reply to#236154
On Wed, Jun 16, 2021 at 11:47:21AM +0800, Robbi Nespu wrote:
> On 6/16/21 1:56 AM, Gary Dale wrote:
> >      sed -i -s 's/buster/bullseye/g' /etc/apt/sources.list
> 
> I like this way, it easier and i don't need to open file and change it
> manually.

Yeah, it's wonderfully concise.  Too bad it's wrong.

The format of the security repository lines has changed for bullseye.
You can't just replace buster with bullseye this time around.

In addition, *every* time you do a release upgrade, you need to decide
how to handle third-party repositories.  The typical way you do that is
to disable them temporarily, perform the upgrade, and then re-enable
them -- either exactly as they were before, or with a slightly different
URL pointing to a different version, depending on the repository.

In some cases, you might even be able to get away with leaving the
third-party repository alone and it'll sit there doing nothing during
the release upgrade.  In other cases, it'll interfere, possibly breaking
the upgrade.  We have no way to know other than trial and error.

Another special case is the set of official backports repositories.  You
probably don't want to "just replace buster with bullseye" if you
were using buster-backports.  Most likely you simply want to get rid of
that repository entirely.  If you need bullseye-backports in the future,
after it comes into existence, then you can add it at that time.

Please see the release notes, or the DebianBullseye wiki page, or the
NewInBullseye wiki page.  I've given the URLs already.

[toc] | [prev] | [next] | [standalone]


#236139

FromBrian <ad44@cityscape.co.uk>
Date2021-06-15 21:30 +0200
Message-ID<CqmV3-1r6-1@gated-at.bofh.it>
In reply to#236132
On Tue 15 Jun 2021 at 17:26:29 +0000, Wil wrote:

> How do I upgrade from Debian stable to Debain testing?

Surely you are pulling out legs? You are well aware of the file

  /etc/apt/sources.list ?

Maybe you have something else in mind apart from a ome sentence
throwout?

Hoping to hear from you. But fingers are not crossed.

-- 
Brian.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web