Description of problem: urpmq --auto-orphans does not list orphans, only with output: writing /var/lib/rpm/installed-through-deps.list Version-Release number of selected component (if applicable): How reproducible: run "urpmq --auto-orphans" Steps to Reproduce: 1. 2. 3.
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.lepikHardware: i586 => AllAssignee: bugsquad => thierry.vignaud
(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.
Summary: urpmq --auto-orphans does not list orphans => urpmq --auto-orphans: s/writing/reading /var/lib/rpm/installed-through-deps.listSeverity: normal => minor
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 => RESOLVEDResolution: (none) => FIXED