On 22/11/16 07:06, Ric Moore wrote:
On 11/21/2016 11:38 PM, kamaraju kusumanchi wrote:
apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME
It lists just a couple of base packages. So, why would it want to remove
half of mmy installed desktop? It's the same with firefox. What gives?? Ric
kamaraju appears to have mistyped the command, omitting the vitally
important (for this exercise) '-r' flag. As written, it will show you
what PKGNAME depends on, directly or indirectly. The command is properly:
apt-rdepends -r --state-show=Installed --state-follow=Installed PKGNAME
(note the '-r' flag)
This will show you what *depends on* PKGNAME (either by depending on it
directly, or by depending on something that does). Now, this still won't
get you a full answer, because it won't show you all the Automatically
Installed packages that will be removed, but it will give you a starting
point for understanding what's going on.