"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 | xargs dpkg -P > > where list_to_remove is like this: > atlas3-base > atlas3-base-dev > blast2 > bioperl > .... > > I end up with some packages not being removed as their are dependencies. > I then manually purge them with dpkg -P some_package_dependency-1 > and again till I can remove that package. > > I'd like also to check the command that would be used with a --no-act or > something so I can see if things would get removed that I dont want removed > also. > > I also would like to remove all of Gnome and GDM similarly. > > Mike > -- > Michael Lake > Computational Research Centre of Expertise > Science Faculty, UTS > Ph: 9514 2238 > > > > > -- > UTS CRICOS Provider Code: 00099F > DISCLAIMER: This email message and any accompanying attachments may contain > confidential information. If you are not the intended recipient, do not > read, use, disseminate, distribute or copy this message or attachments. If > you have received this message in error, please notify the sender > immediately > and delete this message. Any views expressed in this message are those of > the > individual sender, except where the sender expressly, and with authority, > states them to be the views of the University of Technology Sydney. Before > opening any attachments, please check them for viruses and defects. > > Think. Green. Do. > > Please consider the environment before printing this email. > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > > -- There is nothing more worthy of contempt than a man who quotes himself - Zhasper, 2004 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html