jojopi, in answer to your question, I can't find in the man pages tonight what I saw that made me think there was a difference but when my system was seroiusly broken enough that I finally did a full re-install this code showed a big difference.
alias dpkg.installed="dpkg --get-selections | cut -d' ' -f 1";
alias apt.installed="apt list --installed | cut -d '/' -f1 | sed '/^Listing...$/d'";
diff --suppress-common-lines <(dpkg.installed | cut -d':' -f1 | sort) <(apt.installed | sort);
Tonight this doesn't show much difference but before I re-installed there were some 20-30 differences and theses are packages of several files each.
The aliases simply make things easier to see what's going on.
Even when I see only a few differences, output from diff, it makes me think these data bases are not in sync.
Hence the posted question.
If I've missed something and look foolish, I'm used to that so feel free to correct me.
Be Well,
Mike
alias dpkg.installed="dpkg --get-selections | cut -d' ' -f 1";
alias apt.installed="apt list --installed | cut -d '/' -f1 | sed '/^Listing...$/d'";
diff --suppress-common-lines <(dpkg.installed | cut -d':' -f1 | sort) <(apt.installed | sort);
Tonight this doesn't show much difference but before I re-installed there were some 20-30 differences and theses are packages of several files each.
The aliases simply make things easier to see what's going on.
Even when I see only a few differences, output from diff, it makes me think these data bases are not in sync.
Hence the posted question.
If I've missed something and look foolish, I'm used to that so feel free to correct me.
Be Well,
Mike
Statistics: Posted by MikeMcClain46 — Tue Jan 09, 2024 3:59 am