| Summary: | urpmi --downgrade manipulates installed-through-deps list, breaking orphan tracking | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | 5 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA4TOO | ||
| Source RPM: | urpmi-8.06-1.mga5.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | untested patch | ||
|
Description
David Walser
2015-06-19 23:03:50 CEST
David Walser
2015-06-19 23:03:55 CEST
Whiteboard:
(none) =>
MGA5TOO, MGA4TOO Created attachment 6915 [details]
untested patch
(In reply to Thierry Vignaud from comment #1) > Created attachment 6915 [details] > untested patch It's perfect! It looks correct, and I tested both cases, urpmi --downgrade on some packages I had updated to a local build of, which normally would have unmarked them as being auto-installed and it didn't do that, and I ran urpmi on a package that was auto-installed and it still unmarked it, as it should have. Nice job :D Thanks. Fixed in my local git Status:
NEW =>
RESOLVED
Thierry Vignaud
2015-08-31 13:10:01 CEST
Hardware:
i586 =>
All commit 8116d24edf10c8f56355b7af592530a1a830b052
Author: Thierry Vignaud <thierry.vignaud@...>
Date: Mon Aug 31 07:08:36 2015 -0400
do not break orphan tracking when downgrading
thus fixing unmarking packages as potential orphans when downgrading
(mga#16149)
---
Commit Link:
http://gitweb.mageia.org/software/rpm/urpmi/commit/?id=8116d24edf10c8f56355b7af592530a1a830b052
Thanks. Is the fix committed in the stable branches? Status:
RESOLVED =>
REOPENED commit 243136c02999fb87dda04d2da9461253bd1fb782
Author: Thierry Vignaud <thierry.vignaud@...>
Date: Mon Aug 31 07:08:36 2015 -0400
do not break orphan tracking when downgrading
thus fixing unmarking packages as potential orphans when downgrading
(mga#16149)
---
Commit Link:
http://gitweb.mageia.org/software/rpm/urpmi/commit/?id=243136c02999fb87dda04d2da9461253bd1fb782
No need to reopen bug for that... Status:
REOPENED =>
RESOLVED |