Re: How do I remove a package and all of it's dependencies?

2011-11-08 Thread Andrei Popescu
On Sb, 22 oct 11, 19:11:01, Aniruddha wrote:
 When I install a package with apt-get  it gets installed with all it's
 dependencies. However when I remove a packages some dependencies are
 left on the system. For example:
 
 to install:
 apt-get install lxde
 
 to remove:
 apt-get remove lxde
 apt-get autoremove
 deborphan
 
 Does not remove all packages. Lxterminal, openbox and  pcmanfm are not
 removed.  In Arch I can remove a package and all it's dependencies
 with pacman -Runs lxde  and in Gentoo with emerge --depclean. Is there
 a similar command for Debian?

Have a look at 'apt-cache rdependes package', my guess is something 
else depends/recommends those packages, maybe indirectly. The situation 
you are describing also happens if you encounter circular dependencies.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


How do I remove a package and all of it's dependencies?

2011-10-22 Thread Aniruddha
When I install a package with apt-get  it gets installed with all it's
dependencies. However when I remove a packages some dependencies are
left on the system. For example:

to install:
apt-get install lxde

to remove:
apt-get remove lxde
apt-get autoremove
deborphan

Does not remove all packages. Lxterminal, openbox and  pcmanfm are not
removed.  In Arch I can remove a package and all it's dependencies
with pacman -Runs lxde  and in Gentoo with emerge --depclean. Is there
a similar command for Debian?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMpSvvz7wuFnk3FhFX83UsynTq=t5ubp1mxcgjuhxzrvc9p...@mail.gmail.com



Re: How do I remove a package and all of it's dependencies?

2011-10-22 Thread Jude DaShiell
aptitude autoclean after an aptitude remove --purge package-name is 
supposed to work but doesn't always.  How well that works depends on how 
well the packages themselves were made in the first place.  When it 
doesn't work you'll run something and see package removed but not 
purged.  The package lsdb is one such package.  I had to go around and 
clean up its mess afterwards.  That I did by using updatedb first then 
locate lsdb then I went around and removed the artifacts left over.

On Sat, 22 Oct 2011, Aniruddha wrote:

 When I install a package with apt-get  it gets installed with all it's
 dependencies. However when I remove a packages some dependencies are
 left on the system. For example:
 
 to install:
 apt-get install lxde
 
 to remove:
 apt-get remove lxde
 apt-get autoremove
 deborphan
 
 Does not remove all packages. Lxterminal, openbox and  pcmanfm are not
 removed.  In Arch I can remove a package and all it's dependencies
 with pacman -Runs lxde  and in Gentoo with emerge --depclean. Is there
 a similar command for Debian?
 
 
 

Jude jdash...@shellworld.net
If I got a nickel for every message I've already sent supporting Microsoft
Windows and its applications I'd have enough to retire on comfortably no
matter what the stock market did.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.bsf.2.00.1110221354100.47...@freire1.furyyjbeyq.arg