开发者

purge ALL dependencies

I've a problem that seems quite simple, but I can't get it done. I have a package with many dependencies and I want to remove ALL of them, regardless wheather other packages also depend on them ( they get removed t开发者_如何转开发oo ). How can I get a list of all dependencies of a package that I can easily send to xargs aptitude purge ? Thank you.


aptitude search -F '%p' '~R^gnome$'

You can actually purge them by changing search into purge, without xargs.

In case of dependency problems, aptitude will ask what to do, proposing some resolutions. You can then browse through them (ncurses UI is useful in this case, propositions are better explained).

Be careful not to uninstall important base packages. They are sometimes mentioned in package dependencies too.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜