On Tue, Nov 22, 2016 at 5:07 AM, Martin Read <zen75...@zen.co.uk> wrote: > 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. >
Thanks for correcting me Martin. Yes, you are right. We need the -r flag for this use case. raju -- Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog