Установите deborphan
и проверьте orphaner(8)
.
$ apt-cache show deborphan
Package: deborphan
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 500
Maintainer: deborphan devel team
Architecture: amd64
Version: 1.7.28.8
Depends: libc6 (>= 2.7)
Recommends: apt, dialog, gettext-base
Conffiles:
/etc/bash_completion.d/deborphan e8190ae92bb2f343c2d87f9eb2cf9f0a
Description: program that can find unused packages, e.g. libraries
deborphan finds "orphaned" packages on your system. It determines which
packages have no other packages depending on their installation and shows
you a list of these packages. It is most useful when finding libraries,
but it can be used on packages in all sections.
.
This package also includes orphaner, a text menu frontend to deborphan.
Please install the recommended packages dialog, gettext-base and apt when
you want a working and fully featured orphaner.
Если запустить без аргументов, он будет отображать интерфейс curses, показывающий потерянные пакеты. Вы можете выполнить пробный тест или выполнить очистку этих пакетов.