Artificial intelligent assistant

Deborphan - Verify That a Package in the Keep List Is an Orphan How does one quickly verify that a Debian package in the **deborphan** "Keep List" is an orphan?

`deborphan -nk /dev/null $(package name)`

A _single_ line of output, parroting said package name, verifies that said package is, indeed, an orphan. e.g. the following return indicates that the package **bar** is an orphan:


user@host:~$ deborphan -nk /dev/null $packagename
$packagename


To get a list of ALL "false orphans":


while read i; do a=$(deborphan -nk /dev/null $i) ; if [ "$a" != "$i" ]; then echo "$i" ; fi; done

Since a corrupted line in said **/var/lib/deborphan/keep** file can screw up the script, recommend you peruse the list first, looking for signs of trouble:


deborphan -L

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 44999071504ba1fdd0c32ad017b743e8