Re: moving some packages back to bookworm stable

2024-05-28 Thread Max Nikulin
On 29/05/2024 00:51, Michael Grant wrote: The culprits that seemed to be causing the massive dependencies were libsasl2-2 and libsasl2-modules-db. Though not libsasl2-modules which i also have installed. With adjusted priorities these packages are not an issue for "apt upgrade". More serious

Re: moving some packages back to bookworm stable

2024-05-28 Thread Michael Grant
Max, your list looks very similiar to what I'm seeing. I seem to have suceeded in removing all of the testing packages from my backup instance, now, just need to flip the ips around and see if the ship still floats. The culprits that seemed to be causing the massive dependencies were libsasl2-2 a

Re: moving some packages back to bookworm stable

2024-05-28 Thread Max Nikulin
On 29/05/2024 00:00, Michael Grant wrote: 4) dpkg -i libc6_whatever.deb libwhomever.deb 5) Repeat until it works. Apt is NOT built for downgrading. Agree. Ah I see, I did not realise that's what you meant by downgrading it, thanks. The thread is becoming excessively long. Have you p

Re: moving some packages back to bookworm stable

2024-05-28 Thread Greg Wooledge
On Tue, May 28, 2024 at 01:00:24PM -0400, Michael Grant wrote: > So once I've done this dpkg -i to install a package, I can do that > without removing the old one first? Yes, dpkg will upgrade or downgrade the existing package. > And, once I've hammered a package into place with dpkg, in the futu

Re: moving some packages back to bookworm stable

2024-05-28 Thread Michael Grant
> > # apt remove -s libc6 > > DO NOT do this. > > Downgrade it. DO NOT remove it and then hope to reinstall it later. > Removing libc6 will break everything. > > You seem to be flailing, so let me spell this out as explicitly as > possible. When I say "downgrade a library package", I mean: >

Re: moving some packages back to bookworm stable

2024-05-28 Thread Greg Wooledge
On Tue, May 28, 2024 at 09:12:18AM -0400, Michael Grant wrote: > > You will most likely need to remove the testing versions of these packages > > (apache2, git and so on) and then install the bookworm versions afterward. > > Those dependent packages (most if not all) are not from testing. > apache

Re: moving some packages back to bookworm stable

2024-05-28 Thread Michael Grant
> So, which part are you confused about? Did you think there was some > easy way to FIX a frankendebian? Are you confused because you keep > thinking "there must be some single apt command that will do all the > work for me"? > > There's not. You get to do all the work by hand. I am trying to

Re: moving some packages back to bookworm stable

2024-05-28 Thread fxkl47BF
On Tue, 28 May 2024, Michael Grant wrote: > On Mon, May 27, 2024 at 12:59:34PM -0500, David Wright wrote: >> So what did it say after that? > > Sorry, here's the entire output of one of the tries: > > [bottom /etc/mail #1168] apt install libdb5.3/bookworm db5.3-util/bookworm > db-util/bookworm >

Re: moving some packages back to bookworm stable

2024-05-28 Thread Dan Ritter
to...@tuxteam.de wrote: > On Mon, May 27, 2024 at 02:02:47PM -0400, Stefan Monnier wrote: > > ISTR that "apt-get install =" will unconditionally > install of , if necessary pulling in dependencies. > > But I've never tried it :-) That pulls in dependencies but does not install packages that wo

Re: moving some packages back to bookworm stable

2024-05-28 Thread Greg Wooledge
On Tue, May 28, 2024 at 07:09:16AM -0400, Michael Grant wrote: > On Tue, May 28, 2024 at 06:59:50AM -0400, Greg Wooledge wrote: > > On Tue, May 28, 2024 at 06:10:11AM -0400, Michael Grant wrote: > > > The following packages will be REMOVED: > > > [...] libdb5.3t64 [...] > > > > You've *clearly*

Re: moving some packages back to bookworm stable

2024-05-28 Thread Michael Grant
On Tue, May 28, 2024 at 06:59:50AM -0400, Greg Wooledge wrote: > On Tue, May 28, 2024 at 06:10:11AM -0400, Michael Grant wrote: > > The following packages will be REMOVED: > > [...] libdb5.3t64 [...] > > You've *clearly* still got testing packages installed. YES. As I originally said, I create

Re: moving some packages back to bookworm stable

2024-05-28 Thread Greg Wooledge
On Tue, May 28, 2024 at 06:10:11AM -0400, Michael Grant wrote: > The following packages will be REMOVED: > [...] libdb5.3t64 [...] You've *clearly* still got testing packages installed.

Re: moving some packages back to bookworm stable

2024-05-28 Thread Michael Grant
On Mon, May 27, 2024 at 12:59:34PM -0500, David Wright wrote: > So what did it say after that? Sorry, here's the entire output of one of the tries: [bottom /etc/mail #1168] apt install libdb5.3/bookworm db5.3-util/bookworm db-util/bookworm Reading package lists... Done Building dependency tree..

Re: moving some packages back to bookworm stable

2024-05-27 Thread tomas
On Mon, May 27, 2024 at 02:02:47PM -0400, Stefan Monnier wrote: > >> > # apt install -t=bookworm db-util db5.3-util libc-bin libc-dev-bin > >> > >> I can never remember exactly what `-t` really does, but I suspect you'll > >> need things like > >> > >> apt install libc-bin/bookworm > > > > To

Re: moving some packages back to bookworm stable

2024-05-27 Thread Max Nikulin
On 28/05/2024 01:02, Stefan Monnier wrote: But that's not the whole story of what `-t` does since the above does not explain why his attempt to use `-t` to downgrade some packages resulted in `apt` saying " is already the newest version". My guess is that -t increases priority of the specified

Re: moving some packages back to bookworm stable

2024-05-27 Thread David Wright
On Mon 27 May 2024 at 21:46:24 (+0200), Detlef Vollmann wrote: > On 5/27/24 20:02, Stefan Monnier wrote: > > > > > # apt install -t=bookworm db-util db5.3-util libc-bin libc-dev-bin > > > > > > > > I can never remember exactly what `-t` really does, but I suspect you'll > > > > need things like >

Re: moving some packages back to bookworm stable

2024-05-27 Thread Detlef Vollmann
On 5/27/24 20:02, Stefan Monnier wrote: # apt install -t=bookworm db-util db5.3-util libc-bin libc-dev-bin I can never remember exactly what `-t` really does, but I suspect you'll need things like apt install libc-bin/bookworm To install a single backported (or other release) package, a

Re: moving some packages back to bookworm stable

2024-05-27 Thread David Wright
On Mon 27 May 2024 at 14:02:47 (-0400), Stefan Monnier wrote: > >> > # apt install -t=bookworm db-util db5.3-util libc-bin libc-dev-bin > >> > >> I can never remember exactly what `-t` really does, but I suspect you'll > >> need things like > >> > >> apt install libc-bin/bookworm > > > > To i

Re: moving some packages back to bookworm stable

2024-05-27 Thread Stefan Monnier
>> > # apt install -t=bookworm db-util db5.3-util libc-bin libc-dev-bin >> >> I can never remember exactly what `-t` really does, but I suspect you'll >> need things like >> >> apt install libc-bin/bookworm > > To install a single backported (or other release) package, > apt-get install pack

Re: moving some packages back to bookworm stable

2024-05-27 Thread David Wright
On Mon 27 May 2024 at 12:23:41 (-0400), Michael Grant wrote: > [ … ] > so I thought I'd try the same process with db5.3, but removing db5.3 > wants to remove a slew of packages: > > # apt reinstall -s libdb5.3/bookworm > ... > Selected version '5.3.28+dfsg2-1' (Debian:12.5/stable [amd64]) for 'lib

Re: moving some packages back to bookworm stable

2024-05-27 Thread Dan Ritter
Stefan Monnier wrote: > > # apt install -t=bookworm db-util db5.3-util libc-bin libc-dev-bin > > I can never remember exactly what `-t` really does, but I suspect you'll > need things like > > apt install libc-bin/bookworm To install a single backported (or other release) package, apt-get

Re: moving some packages back to bookworm stable

2024-05-27 Thread Michael Grant
Hans, thanks for that but I am a bit confused following your instructions. Did you mean to I should remove the lines for 'stable' from sources.list? Or remove the lines for 'testing'? I am trying to get the packages to go back to stable. I am more familiar with apt than aptitude. I managed to

Re: moving some packages back to bookworm stable

2024-05-27 Thread Hans
Doing "apt-get upgrade" will only upgrade all installed packages, but no new ones (even, if they are needed). Better is to do an "apt-get full-upgrade", which will install the whole system from stable to testing. However, this might also uninstall some wanted packages, thus often it is calles t

Re: moving some packages back to bookworm stable

2024-05-27 Thread Max Nikulin
On 27/05/2024 21:28, Michael Grant wrote: What I want to do is get the system back to just using the packages from stable rather than testing. I have never tried the following, so it is better to test it in a virtual machine or inside a container. I would try to set priority of bookworm relea

Re: moving some packages back to bookworm stable

2024-05-27 Thread Stefan Monnier
> I needed to install a version of sendmail from testing a while back to > test it. Downgrading Debian packages is not well supported, by and large. So installing `testing` packages into a `stable` install is manageable (tho it itself can bring trouble) but going back to `stable` afterwards tends

Re: moving some packages back to bookworm stable

2024-05-27 Thread David Wright
On Mon 27 May 2024 at 09:56:54 (-0400), Michael Grant wrote: > What's the best way to get back to running just the bookworm stable > packages? I tried what I thought was the obvious way to fix this by > running: > > # apt install -t=bookworm db-util db5.3-util libc-bin libc-dev-bin > libc-devtoo

Re: moving some packages back to bookworm stable

2024-05-27 Thread Greg Wooledge
On Mon, May 27, 2024 at 10:28:37AM -0400, Michael Grant wrote: > On Mon, May 27, 2024 at 10:19:48AM -0400, Greg Wooledge wrote: > > On Mon, May 27, 2024 at 09:56:54AM -0400, Michael Grant wrote: > > > I needed to install a version of sendmail from testing a while back to > > > test it. > > > > You

Re: moving some packages back to bookworm stable

2024-05-27 Thread Michael Grant
On Mon, May 27, 2024 at 10:19:48AM -0400, Greg Wooledge wrote: > On Mon, May 27, 2024 at 09:56:54AM -0400, Michael Grant wrote: > > I needed to install a version of sendmail from testing a while back to > > test it. > > Your subject header says "bookworm stable". You don't install binary > packag

Re: moving some packages back to bookworm stable

2024-05-27 Thread Greg Wooledge
On Mon, May 27, 2024 at 09:56:54AM -0400, Michael Grant wrote: > I needed to install a version of sendmail from testing a while back to > test it. Your subject header says "bookworm stable". You don't install binary packages from testing on a stable system. You use backports instead. https://ba

moving some packages back to bookworm stable

2024-05-27 Thread Michael Grant
I needed to install a version of sendmail from testing a while back to test it. On friday, I ran 'apt upgrade' which looked like it was going to uninstall and then reinstall the sendmail packages. I let it run, when it was done, only some of the sendmail packages had re-installed. Basically, I s