Mailinglist Archive: opensuse-bugs (7441 mails)
| < Previous | Next > |
[Bug 351941] zypper dup, no matter what you do, wants to downgrade a product
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Fri, 1 Feb 2008 08:06:17 -0700 (MST)
- Message-id: <20080201150617.52608CC7B2@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=351941
User jkupec@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=351941#c1
Ján Kupec <jkupec@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|
|mls@xxxxxxxxxx, jkupec@xxxxxxxxxx,
|
|matz@xxxxxxxxxx
AssignedTo|jkupec@xxxxxxxxxx
|schubi@xxxxxxxxxx
--- Comment #1 from Ján Kupec <jkupec@xxxxxxxxxx> 2008-02-01 08:06:16 MST ---
Hm. I cannot reproduce the exact behavior but i see it with other resolvables.
It is produced by this code in zypper-misc.cc, show_summary():
if (res->name() == (*rmit)->name()) // res = to-be-installed rmit =
to-be-removed
{
if (res->edition() > (*rmit)->edition())
toupgrade[res->kind()].insert(res);
else
todowngrade[res->kind()].insert(res);
..
}
So zypper reports the package to be downgraded also if the to-be-installed and
to-be-removed versions are the same (which was not expected).
It looks like the SAT solver sometimes schedules resolvables for reinstallation
(remove and install the same version of the resolvable). I guess this isn't
desirable, is it?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
User jkupec@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=351941#c1
Ján Kupec <jkupec@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|
|mls@xxxxxxxxxx, jkupec@xxxxxxxxxx,
|
|matz@xxxxxxxxxx
AssignedTo|jkupec@xxxxxxxxxx
|schubi@xxxxxxxxxx
--- Comment #1 from Ján Kupec <jkupec@xxxxxxxxxx> 2008-02-01 08:06:16 MST ---
Hm. I cannot reproduce the exact behavior but i see it with other resolvables.
It is produced by this code in zypper-misc.cc, show_summary():
if (res->name() == (*rmit)->name()) // res = to-be-installed rmit =
to-be-removed
{
if (res->edition() > (*rmit)->edition())
toupgrade[res->kind()].insert(res);
else
todowngrade[res->kind()].insert(res);
..
}
So zypper reports the package to be downgraded also if the to-be-installed and
to-be-removed versions are the same (which was not expected).
It looks like the SAT solver sometimes schedules resolvables for reinstallation
(remove and install the same version of the resolvable). I guess this isn't
desirable, is it?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |