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 install a single backported (or other release) package, > > apt-get install packagename/releasename > > > > and to install a backported package plus dependencies which > > are also from that specific release, use > > apt-get -t releasename packagename > > 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 "<blabla> is already the newest version".
ISTR that "apt-get install <package>=<version>" will unconditionally install <version> of <package>, if necessary pulling in dependencies. But I've never tried it :-) Cheers -- t
signature.asc
Description: PGP signature