orphans detection should record requested files, not installed through deps

Bug #913244 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned
Mandriva
Confirmed
Wishlist

Bug Description

Fodder for Mandriva file trigger replacement discussion

Revision history for this message
In , htgoebel (htgoebel) wrote :

urpmi currently records the packages which are installed through deps in
/var/lib/rpm/installed-through-deps.list.

But for the administrator/user, the list of *requested* packages is much, much more relevant. E.g. for setting up a new system or for marking a package as unreqested.

So the orphans detection should record the *requested* packages.

For the case, this makes orphans detection much more complicate, there is a simple work-around: Record both lists with the requested list being the master and the deps-list being a cache.

Revision history for this message
In , Jeff Johnson (n3npq) wrote :
tags: added: filetriggers mageia
Changed in mandriva:
importance: Unknown → Wishlist
status: Unknown → Confirmed
Revision history for this message
In , Marja11 (marja11) wrote :

Changing version to cauldron, because enhancements requests, will usually be done for cauldron first and are then be expected to be available in the first stable release that follows

assigning to maintainer

Revision history for this message
In , Marja11 (marja11) wrote :

Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Revision history for this message
In , Thierry-vignaud (thierry-vignaud) wrote :

That's already what does urpmi.
urpmi never put in that list the requested packages.
But any package required by the requested packages will end in that list, enabling us to clean the system when a package is no more required by a requested package.
Note than you can explicitly request a package:
urpmi <foobar>

Changed in mandriva:
status: Confirmed → Invalid
Revision history for this message
In , htgoebel (htgoebel) wrote :

This issue is about urpmi to record the *requested* packages.

1) This allows to scan through all requested packages and decide about those one does not need. This is esp. useful if installing a bunch of tools temporary and remove them later.

2) If by accident one marks a package as being requested, in the current solution it's more complicated to mark it as being installed through deps again. This happens quite often to me.

Changed in mandriva:
status: Invalid → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.