On Mon, Feb 03, 2025 at 06:09:38PM -0800, Mike Castle wrote:
> On Mon, Feb 3, 2025 at 5:16 PM Loren M. Lang <lor...@north-winds.org> wrote:
> > Basically, I want to identify any software that I couldn't reinstall on
> > a fresh install of Debian from the official Debian archives.
> 
> Will this work as a starting place for you?
> 
> comm -23 <(dpkg-query -W -f '${Package} ${Version}\n' | sort -u)
> <(apt-cache dumpavail | awk '/^Package:/ {package = $NF} /^Version:/
> {version = $NF} /^$/ {print package, version}' | sort -u)

Thanks everything for the various suggestions. It's allowed me to
quickly identify packages like python2 and libsqlite0 that have been
left on my system over many years of upgrades. My oldest server was
installed in 2009. It's also help identify packages like jlink and zoom
that I installed long ago and have forgotten about. Now, I can work on
purging old packages and updating those that don't provide their own
repos. Zoom does have a repo, but apparently my sources.list was
disabled during my last upgrade. Segger, however, only provides binary
packages which have to be manually downloaded so I have to periodically
check for updates myself.

-- 
Loren M. Lang
lor...@north-winds.org
http://www.north-winds.org/
IRC: penguin359


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA

Attachment: signature.asc
Description: PGP signature

Reply via email to