On 04/10/2023 11:58, David Wright wrote:
Explanations for these hits:
linux-image is the previous kernel,
xtoolwait is from squeeze,
youtube-dl is the last I found before I started using yt-dlp,
and I don't have backports in my sources.list.
Besides youtube-dl, these packages should be reported by
apt list '~o'
In my cases '~o' was inapplicable since packages are available from
configured repositories. At certain moment (after reinstalling
libstdc++6 and removing gcc-13-base) my list was
elpa-org/testing,now 9.6.9+dfsg-1 all [installed]
libnss3/testing,now 2:3.92-1 amd64 [installed,automatic]
libx11-6/testing,now 2:1.8.6-1 amd64 [installed,automatic]
libx11-xcb1/testing,now 2:1.8.6-1 amd64 [installed,automatic]
linux-image-6.4.0-0.deb12.2-amd64/stable-backports,now
6.4.4-3~bpo12+1 amd64 [installed,automatic]
I have realized that in my original command '~o' may be omitted, '~c'
was added at a wrong place. In comparison to "apt list '~i'" or
apt-show-versions + grep it had additional feature (or bug). It listed
upgradable packages. So my current pattern to get package candidates for
clean-up is (for oldstable)
apt list '?narrow(~i,
!~A^oldstable|~A^oldstable-backports|!~O^Debian$, !~U) | ~c | ~b'