| Summary: | urpmq --auto-orphans: s/writing/reading /var/lib/rpm/installed-through-deps.list | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Xin Wang <dram.wang> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | CC: | mageia, zen25000 |
| Version: | 2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | urpmi-6.48.2-1.mga2 | CVE: | |
| Status comment: | |||
|
Description
Xin Wang
2012-08-25 01:22:50 CEST
I'm not sure if urpmq should provide that option at all. "urpme --auto-orphans" is the right one to use. Tho' indeed "urpmq --help" lists that option. Thierry, the whole "--help" of urpmq could use a review, it still shows "© 1999-2010 Mandriva." as well. CC:
(none) =>
sander.lepik (In reply to comment #1) > I'm not sure if urpmq should provide that option at all. "urpme --auto-orphans" > is the right one to use. Tho' indeed "urpmq --help" lists that option. Thierry, > the whole "--help" of urpmq could use a review, it still shows "© 1999-2010 > Mandriva." as well. "urpmq --auto-orphans" only lists orphan packages, and "urpme --auto-orphans" does the actual job to remove them, so I think this option is still useful for urpmq. Works for me in mga2 and Cauldron - maybe you have no orphans ? CC:
(none) =>
zen25000 Hmm, indeed. I didn't test at first, but it lists my old kernel that got orphaned when i booted into new one. So there seems to be no bug. Only copyright is a bit wrong. (In reply to comment #3) > Works for me in mga2 and Cauldron - maybe you have no orphans ? Oops, I forgot about this, sorry for the confusion. Yes, it shows orphan packages correctly. But message printed by urpmq "writing /var/lib/rpm/installed-through-deps.list" still cause a little confusion. It is a query action, and invoked by a non-root user, so it shall not and can not write to that file.
Manuel Hiebel
2012-08-25 13:26:43 CEST
Summary:
urpmq --auto-orphans does not list orphans =>
urpmq --auto-orphans: s/writing/reading /var/lib/rpm/installed-through-deps.list It update the list (to filter dups and now-removed-pkgs). This bug is workarounded in git for cauldron: - we don't try to update this list when !root - we don't try to update this list if it didn't changed I won't backport these fixes to mga2 (not worthing it). Status:
NEW =>
REOPENED Thank you for the explanation. Closing Status:
REOPENED =>
RESOLVED |