On 19/04/2025 15:39, David wrote:
On Sat, 19 Apr 2025 at 04:21, David Wright wrote:
You could run a command like:
$ aptitude search "?narrow(?installed,?not(?archive(stable)))"
to see whether all the packages on your system originate in bookworm.
Doesn't this pattern match "oldstable'? Moreover, some external
repository may pretend that it is "stable" as well.
I suggest to review modified files
dpkg -V
to check that no undesirable repositories are configured
apt policy
and finally to find packages that are not from known repositories
apt list '~o'
Unfortunately installer of 3rd party application may add extra files, so
the only reliable way to restore is reinstall. (There are some tools for
monitoring of file system changes, but they must be installed in advance.)
aptitude search "?narrow(?installed,?not(?archive(stable)))" -F '%c %M
%p %v %a %O %t %V - %d'
I like that aptitude allows to add short description. On the other hand
"apt list" output is more concise.