Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-08-10 Thread Dean Hamstead
apt-get [remove|purge] package-name apt-get autoremove refer to the apt-get man page (man apt-get) for the nuances of apt-get's options. other useful tools are deborphan and the happy menu based orphaner. which you may have to apt-get install first :) Dean On Sun, 10 Aug 2008 12:13:41 +1000,

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-08-09 Thread Sonia Hamilton
Michael Lake wrote: Hi all I have a Debian server and I wish to remove several dozen packages. How do I remove a package and it's dependencies? Perhaps use a tool like aptitude - it will find/display dependencies for you. -- Sonia Hamilton. -- SLUG - Sydney Linux User's Group Mailing List

[SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread Michael Lake
Hi all I have a Debian server and I wish to remove several dozen packages. How do I remove a package and it's dependencies? So far I'm doing this: cat list_to_remove | xargs dpkg -P where list_to_remove is like this: atlas3-base atlas3-base-dev blast2 bioperl I end up with

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread James Polley
apt-get remove $PACKAGENAME doesn't work for you? On Wed, Jul 23, 2008 at 4:41 PM, Michael Lake [EMAIL PROTECTED] wrote: Hi all I have a Debian server and I wish to remove several dozen packages. How do I remove a package and it's dependencies? So far I'm doing this: cat list_to_remove |

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread Ken Foskey
On Wed, 2008-07-23 at 17:17 +1000, James Polley wrote: apt-get remove $PACKAGENAME doesn't work for you? followed by apt-get autoremove This will clean up some of those dependencies. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs:

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread Jeff Waugh
quote who=Ken Foskey On Wed, 2008-07-23 at 17:17 +1000, James Polley wrote: apt-get remove $PACKAGENAME doesn't work for you? followed by apt-get autoremove You can also do autoremove in place of remove, to do it all at once. :-) - Jeff -- OSDC 2008: Sydney, Australia

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread Michael Lake
Jeff Waugh wrote: On Wed, 2008-07-23 at 17:17 +1000, James Polley wrote: apt-get remove $PACKAGENAME doesn't work for you? The above won't remove a package if there are dependencies. Jeff and Ken said: apt-get autoremove You can also do autoremove in place of remove, to do it all at

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread James Polley
On Wed, Jul 23, 2008 at 5:57 PM, Michael Lake [EMAIL PROTECTED] wrote: Jeff Waugh wrote: On Wed, 2008-07-23 at 17:17 +1000, James Polley wrote: apt-get remove $PACKAGENAME doesn't work for you? The above won't remove a package if there are dependencies. Jeff and Ken said: apt-get

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread Ken Foskey
On Wed, 2008-07-23 at 18:07 +1000, Peter Hardy wrote: Hey hey. On Wed, 2008-07-23 at 17:57 +1000, Michael Lake wrote: Jeff Waugh wrote: On Wed, 2008-07-23 at 17:17 +1000, James Polley wrote: apt-get remove $PACKAGENAME doesn't work for you? The above won't remove a package if there

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread James Polley
On Wed, Jul 23, 2008 at 7:13 PM, Ken Foskey [EMAIL PROTECTED] wrote: On Wed, 2008-07-23 at 18:07 +1000, Peter Hardy wrote: Hey hey. On Wed, 2008-07-23 at 17:57 +1000, Michael Lake wrote: Jeff Waugh wrote: On Wed, 2008-07-23 at 17:17 +1000, James Polley wrote: apt-get remove

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread Amos Shapira
2008/7/23 Michael Lake [EMAIL PROTECTED]: Hi all I have a Debian server and I wish to remove several dozen packages. How do I remove a package and it's dependencies? So far I'm doing this: cat list_to_remove | xargs dpkg -P where list_to_remove is like this: atlas3-base

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread daveg
Quoting Michael Lake [EMAIL PROTECTED]: That option is not listed in man dpkg or man apt-get. 'apt-get autoremove test' Invalid operation autoremove Mike, On older debian/ubuntu installs you can use deborphan to find any packages that are no longer required. Then if you also install wajig

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread Michael Lake
Peter Hardy wrote: Hey hey. On Wed, Michael Lake wrote: apt-get remove $PACKAGENAME doesn't work for you? The above won't remove a package if there are dependencies. It should. What version of debian / apt do you have? To pick an example at random: [EMAIL PROTECTED]:~% sudo apt-get remove

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread Michael Lake
Hi all Sounding more and more like you've got a fairly old debian. You can try using the apt-rdepends tool to list dependencies. If it's not available, I'd probably just use dpkg to get a list of dependencies and then do exactly what you're doing now. Ugh. :-) Michael Lake wrote: Maybe I'll

Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread Peter Hardy
On Thu, 2008-07-24 at 11:07 +1000, Michael Lake wrote: Peter Hardy wrote: Hey hey. On Wed, Michael Lake wrote: apt-get remove $PACKAGENAME doesn't work for you? The above won't remove a package if there are dependencies. It should. What version of debian / apt do you have? To