64bit u/g mix up in upgrading packages - its downgrades to i586
Bug #244447 reported by
Rehan Khan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
New
|
Undecided
|
Unassigned | ||
Bug Description
Imported: http://
Reason for Import : Review
further details: https:/
opensuse 10.2
# uname -a
Linux orac 2.6.18.
x86_64 x86_64 GNU/Linux
Attaching bitmaps of problem
To post a comment you must log in.
I appear to have this same issue from the screenshots.
There is, in all cases I have seen, a perfectly valid x86_64 package available with the identical version number to the chosen i586 package.
I'm on OpenSuse 11.1 x64 using Smart 1.2-4.1/ 1.2-4.15/ 1.2-5
For some dependencies of packages I upgrade smart chooses the i586/i686 package rather than the x64 version.
I used to think this was because there wasn't a suitable x64 package to satisfy the dependency but often there is a suitable package in the very same repo.
I logged on to IRC and was assisted by afb.
We tracked through a few issues.
[21:24] <mup> Bug #333871: smart suggests wrong updates <Smart Package Manager:New> <https:/ /launchpad. net/bugs/ 333871>
[21:58] <pink_> not the same issue.
[21:59] <pink_> My system is set to prefer x86_64 over any other architecture as I read it, his issue is that he has an incorrect precedence in his rpm configuration which will prefer i686 over i586.
[22:08] <pink_> >>> import rpm "x86_64" ) "i586") "i686") "i386")
[22:08] <pink_> >>> rpm.archscore(
[22:08] <pink_> 1
[22:08] <pink_> >>> rpm.archscore(
[22:09] <pink_> 5
[22:09] <pink_> >>> rpm.archscore(
[22:09] <pink_> 4
[22:09] <pink_> >>> rpm.archscore(
[22:09] <pink_> 7
[22:09] <pink_> that says to me x86_64 should always be preferred.
[22:12] <pink_> trying to browse the bugs list to find anything similar, but the site is being very slow for me. at least a minute per page. (so thanks to afb for passing these over.) /launchpad. net/bugs/ 244342> /launchpad. net/bugs/ 243972> download. opensuse. org/repositorie s/smart/ openSUSE_ 11.1/ that's the repo my current install is from, claims it is up to date.
[22:16] <mup> Bug #244342: Better priority handling for x86_64 RPMs + option to turn off biarch support <Smart Package Manager:Fix Released by niemeyer> <https:/
[22:16] <mup> Bug #243972: resolves to 32 bits package instead of 64 bits <Smart Package Manager:Fix Released by niemeyer> <https:/
[22:17] <afb> which smart release do you have ?
[22:17] <pink_> I'll check for updates on smart then after reading the bug. Not sure which repo I'm pulling smart from at the moment. I'll check and make sure I have latest.
[22:18] <pink_> 1.2-4.1
[22:18] <pink_> that's bang up to date as far as the repos i've got in smart are concerned.
[22:20] <pink_> http://
[22:26] <pink_> 244342 does not seem to be the same issue, that's preferring a newer i586 package over an older (but still an upgrade) x64 package. I'm just double checking, but mine seems to select the i586 package even though there is an identical x64 version.
[22:31] <pink_> I'm adding chiel1's repo just to see and I still haven't checked 243972 yet for details.
[22:33] <afb> 4.1 and 4.15 and 5.18 are all identical (except for the release)
[22:41] <pink_> I've just asked the old one to downgrade my lib qt4(4.4.x-) and instead of suggesting removing or downgrading packages dependent on lib qt4 (4.5.x-) it's suggesting installing the libqt4 (4.5.x-) i586 package.
[22:42] <pink_> I do believe you, I just need to check for myself so that when I do file a bug report I can list the versions I tried and from which repos.
[22:43] <pink_> yep does the same.