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

Re: Determine packages made obsolete in Bookworm



kjohnson@eclypse.org wrote: 
> I would like to discover which currently installed packages in Bullseye (11) will be obsolete (no longer available from a Debian repository) in Bookworm (12) _before starting the upgrade process_.
> 
> It might be that there is a list of the more than 6,296 packages removed as obsolete (source: Debian press release), and I could compare to that list for matches.  Or, perhaps there is a list of the 64,419 packages in Bookworm and I could find which ones are missing.
> 
> How can I get thoses lists?  Or is there another way to discover what I want to know?


Those lists are the Packages files in each repo. You'll want to
do some judicious grepping to extract the specific fields that
you want.

For a single machine, you could:

* change apt sources.list
* apt update
* apt-get dist-upgrade -s

capture the output of that simulation: it will tell you what it
would remove.

Then revert sources.list and re-update to get back to where you
were.

-dsr-


Reply to: