Bug 3947 - orphans detection should record requested files, not installed through deps
Summary: orphans detection should record requested files, not installed through deps
Status: REOPENED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-30 13:13 CET by Hartmut Goebel
Modified: 2017-12-02 13:00 CET (History)
4 users (show)

See Also:
Source RPM: urpmi-6.40-9.mga1.src.rpm
CVE:
Status comment:


Attachments

Description Hartmut Goebel 2011-12-30 13:13:20 CET
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.
Manuel Hiebel 2011-12-30 15:32:40 CET

CC: (none) => thierry.vignaud

Comment 1 Jeff Johnson 2012-01-07 20:35:08 CET
tracked at https://bugs.launchpad.net/rpm/+bug/913244

CC: (none) => n3npq

Comment 2 Marja Van Waes 2012-02-17 17:55:37 CET
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

CC: (none) => marja11
Hardware: i586 => All
Version: 1 => Cauldron
Assignee: bugsquad => thierry.vignaud

Comment 3 Marja Van Waes 2012-05-26 13:07:55 CEST
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

Keywords: (none) => NEEDINFO

Comment 4 Thierry Vignaud 2012-12-04 18:54:22 CET
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>

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 5 Hartmut Goebel 2012-12-05 19:53:40 CET
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.

Status: RESOLVED => REOPENED
Resolution: INVALID => (none)

Marja Van Waes 2012-12-26 21:13:20 CET

Keywords: NEEDINFO => (none)

Marja Van Waes 2017-12-02 13:00:54 CET

CC: (none) => mageiatools


Note You need to log in before you can comment on or make changes to this bug.