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

Bug#367109: marked as done (Ability to remove unused dependencies of a package when removing it with "apt-get remove")



Your message dated Wed, 29 Oct 2008 15:11:36 +0200
with message-id <49086108.5000700@gmail.com>
and subject line closing #367109
has caused the Debian Bug report #367109,
regarding Ability to remove unused dependencies of a package when removing it with "apt-get remove"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
367109: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367109
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Severity: wishlist

I would found very useful to have an option to remove all unused dependencies 
of a package when removing it. I insist on "WHEN REMOVING IT" because I know 
the existance of deborphan, but it's not why I want.

eg: apt-get remove --with-deps myapp
This command would remove the package "myapp" but also all its dependencies 
not used by any other installed package.
Obviously, it should ask for a confirmation before doing it:
"These packages will be removed because no other package depends on them 
anymore [Y/n]"

At the moment this can be made manualy with "apt-cache depends package" to see 
the dependencies of the package to remove and then with "apt-cache 
rdepends --installed" for each one of them to see if any other installed 
package depends on it. If not you can remove it.
What I would like is an automated way to do it :)


--- End Message ---
--- Begin Message ---
Version: 0.7.0

Automatic dependency removal was introduced in apt 0.7.0.

-- 
Eugene V. Lyubimkin aka JackYF

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: