Bug 1261

Summary: Wish : Searching in rpmdrake x86_64 should should show x86_64 packages first in the list by default
Product: Mageia Reporter: José Jorge <lists.jjorge>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Normal CC: marja11, sfietkonstantin
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: rpmdrake CVE:
Status comment:

Description José Jorge 2011-05-13 16:13:15 CEST
Description of problem:
When you search for a package in rpmdrake, you want the first answer to be the best answer. urpmi does that : urpmi thunderbird directly chooses x86_64.

Currently, users get both x86_64 and i586. Worse, i586 results are first, so there is a bigger chance they will be selected : try searching for gcompris.

I would be nicer to give $ARCH packages as first result, then other results :

Search gcompris would give :

gcompris-x86_64

other arch:
gcompris-i586
Comment 1 Lucien XU 2011-05-13 19:01:31 CEST
Well ... You should disable i586 repositories on a 64 system.
i586 packages are only here to have compatibilities (for example for skype that does not have 64 version)

CC: (none) => sfietkonstantin

Comment 2 Ahmad Samir 2011-05-13 19:12:50 CEST
If you don't want i586 packages to show up disable the i586 repos (but then you won't get security updates for any i586 packages you have).

FWIW, you can sort the packages by Arch in rpmdrake, maybe it could do this by default on x86_64, but then the packages list won't be listed alphanumerically.

Assignee: bugsquad => thierry.vignaud

Comment 3 Ahmad Samir 2011-05-13 19:14:20 CEST
FYI, the bug summary is wrong, rpmdrake should show packages from all "enabled" repos, I think you should change "should not give i586" to "should show x86_64 packages first in the list by default" or something like that.
Comment 4 José Jorge 2011-05-13 22:56:03 CEST
(In reply to comment #1)
> Well ... You should disable i586 repositories on a 64 system.
> i586 packages are only here to have compatibilities (for example for skype that
> does not have 64 version)

The point of this bug is ergonomy. The end users to which I learn Linux will never understand what is 32bit and 64bit. For now, I just install them i586 because x86_64 is confusing when adding a software.

The target is making x86_64 default install as easy as i586 one. The default install enables i586. So it should only show them after and visibly separately.
Comment 5 José Jorge 2011-05-13 22:57:08 CEST
(In reply to comment #1)
> Well ... You should disable i586 repositories on a 64 system.
> i586 packages are only here to have compatibilities (for example for skype that
> does not have 64 version)

Default install enables them. So users have to deal with them.
José Jorge 2011-05-13 22:58:04 CEST

Summary: Wish : Searching in rpmdrake x86_64 should not give i586 results => Wish : Searching in rpmdrake x86_64 should should show x86_64 packages first in the list by default

Comment 6 Marja Van Waes 2011-10-13 17:34:55 CEST
ping?

CC: (none) => marja11

Comment 7 Thierry Vignaud 2011-10-13 18:41:54 CEST
*** Bug 1260 has been marked as a duplicate of this bug. ***
Comment 8 Marja Van Waes 2012-01-16 21:33:36 CET
Pinging. because nothing happened to this report since more than 3 months ago, and it still has the status NEW or REOPENED.

@ Thierry
Please set status to ASSIGNED if you think this bug was assigned correctly. If for work flow reasons you can't do that, then please put OK on the whiteboard instead.
Comment 9 Thierry Vignaud 2012-02-15 19:48:31 CET
Fixed in my git repo

Status: NEW => RESOLVED
Resolution: (none) => FIXED