[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing x11-common



On Ma, 06 aug 13, 18:15:37, Dom wrote:
> On 06/08/13 17:26, Kyle Kuhn wrote:
> >Hi,
> >
> >I wasn't sure where to start so I started here.
> >
> >I am developing my own Distro of Linux, and I am using Debian as a base.
> >I am trying to remove all programs dependent on the X11-Common package
> >without actually removing the X11-Common package. I am using the most
> >recent Debian LTS. Is there a way APT can do this, or will I have to remove
> >the x11-common package, then "#apt-get autoremove" and reinstall x11-common?
> 
> You could use "apt-cache rdepends x11-common" to find all packages
> that directly depend on x11-common, remove those which will take out
> any packages that depend on them too and see what autoremove will
> show as left.

Aptitude can do stuff like that in one shot. From memory (please do 
check the reference manual first) it should be something like:

    aptitude remove '?depends(x11-common)'

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature


Reply to: