On 2/3/25 21:10, 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)

looking for any clue that might fix my busted bookworm install, however this will not execute, either as me or sudo: error reported is no permission for /dev/fd/63 when in fact /dev/fd/ only contains 0, 1, 2, 3 as subdirs.

 gene@coyote:/$ sudo -i
root@coyote:~# 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)
comm: missing operand after ‘/dev/fd/63’
Try 'comm --help' for more information.
-bash: /dev/fd/63: Permission denied

.

Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis

Reply via email to