Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Debian 11 - Remove sid and go back to stable

809 views
Skip to first unread message

The Wanderer

unread,
Nov 23, 2022, 3:20:05 PM11/23/22
to
On 2022-11-23 at 15:11, Amn wrote:

> Hi folks, I thought it would be a good idea to install the sid
> packages, but a lot of things are not working properly, so I would
> like to go back to stable source packages only. How can I do that?

I can think of two possible approaches, both of which come with
downsides.


Approach 1:

1a. Identify all of the packages for which you've installed a version
from sid.

1b. Identify the available version of each package which comes from stable.

1c. Drop sid from your sources.list (and 'apt update' or similar).

1d. Individually downgrade each package you identified to the version
you identified, using e.g. 'apt-get install packagename=version'.

This is not guaranteed to work, since not all packages support
downgrading. Attempt it at your own risk.


Approach 2:

2a. Back up your data.

2b. Reinstall Debian using the stable installer.

2c. Restore your backed-up data.

This is drastic, but will work.


To the best of my awareness, there is no good or practical way to go
from sid to stable without reinstalling.

In principle it's possible to go from testing to stable, by switching
your sources.list to point at testing by its codename instead of the
name 'testing' and then waiting for that codename to be released as the
new stable.

But since packages in sid don't necessarily ever go to testing, a
similar approach for going even from sid to testing (much less sid to
stable) can't be expected to be viable.

--
The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw

signature.asc

Amn

unread,
Nov 23, 2022, 3:20:05 PM11/23/22
to
Hi folks, I thought it would be a good idea to install the sid packages,
but a lot of things are not working properly, so I would like to go back
to stable source packages only. How can I do that?

Thanks!!

Charles Curley

unread,
Nov 23, 2022, 3:30:05 PM11/23/22
to
Back up and re-install Bullseye. Downgrading is not supported and would
likely be more mess than it's worth.

--
Does anybody read signatures any more?

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

Andrew M.A. Cater

unread,
Nov 23, 2022, 3:30:05 PM11/23/22
to
Hi Amn,

You can't, effectively - you're two stages beyond stable and there is no
good downgrade process. (The only exception is the day when testing is released
and becomes stable - at which point everything *just works* if your
/etc/apt/sources.list references the distribution by release code name).

The quickest thing to do may be to copy off any vital data files you don't
have elsewhere and reinstall from nothing. I'd suggest using the installer
which includes non-free firmware - https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.5.0+nonfree/amd64/iso-cd/firmware-11.5.0-amd64-netinst.iso - as this may help on a laptop connected via WiFi.

Sid was the evil boy who broke toys in the Toy Story films. If you run sid, you
are expected to be able to resolve package dependencies and fix broken systems.
"If it breaks, you get to keep both pieces".

With every good wish, as ever,

Andy Cater

Georgi Naplatanov

unread,
Nov 23, 2022, 4:20:06 PM11/23/22
to
As other users said there is not reliable way to downgrade your system
from Sid to Stable but if you don't want to reinstall your OS, you can
try to use Testing branch. The testing branch usually has very good quality.

So you can do this:

- replace sid with testing in

/etc/apt/sources.list

or bookworm (if you want to continue using bookworm as a stable). If you
want to continue using testing after release of bookworm - replace sid
with testing
- run "apt update" or whatever package manager you use
- uninstall packages you have problems with
- install needed packages you uninstalled in previous step. In this
step Debian will install packages from testing and you probably won't
have problems.

Good luck!

Kind regards
Georgi

Amn

unread,
Nov 23, 2022, 9:30:05 PM11/23/22
to
Thanks everyone.
What a mess I got myself into. However, I have decided to take Georgi
Naplatanov <go...@oles.biz> suggestion.

David

unread,
Nov 23, 2022, 10:00:05 PM11/23/22
to
On Thu, 24 Nov 2022 at 13:27, Amn <amno...@gmail.com> wrote:

> What a mess I got myself into.

Hi, here is some more background explanation about this situation.
https://wiki.debian.org/DontBreakDebian

songbird

unread,
Nov 24, 2022, 7:00:07 AM11/24/22
to
Georgi Naplatanov wrote:
...
> - install needed packages you uninstalled in previous step. In this
> step Debian will install packages from testing and you probably won't
> have problems.
>
> Good luck!

what i would do before anything else is create a new
partition with plenty of space and install stable into that
(do not share any directories with other installations until
you know exactly what you are doing).

after that you can play around with the broken set up. :)

i normally run testing and find it works for me but there
are a few programs i want more recent versions so i run
those directly by pulling them from github and others i use
the versions from unstable.

i don't update my stable partition until i have a good
working testing setup and no major issues remain with
existing programs that i must have available.

it is kind of like playing leapfrog sometimes.


songbird
0 new messages