Bug 7524 - urpmi chooses 32bit media for noarch packages on x86_64
Summary: urpmi chooses 32bit media for noarch packages on x86_64
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 13:35 CEST by claire robinson
Modified: 2012-12-04 17:14 CET (History)
2 users (show)

See Also:
Source RPM: perl-URPM
CVE:
Status comment:


Attachments

Description claire robinson 2012-09-19 13:35:09 CEST
I know this isn't a desperate problem unless people choose to disable the 32 bit medias. It is strange behaviour though.

Example
-------
# urpmi owncloud
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  php-channel-phpunit            1.3          7.mga2        noarch  
  php-pear-DbUnit                1.1.2        1.mga2        noarch  
  php-pear-File_Iterator         1.3.1        1.mga2        noarch  
  php-pear-MDB2                  2.5.0        0.0.b2.3.mga1 noarch  (suggested)
  php-pear-MDB2_Driver_mysql     1.5.0        0.0.b2.2.mga1 noarch  (suggested)
  php-pear-MDB2_Driver_mysqli    1.5.0        0.0.b2.2.mga1 noarch  (suggested)
  php-pear-MDB2_Driver_pgsql     1.5.0        0.0.b2.2.mga1 noarch  (suggested)
  php-pear-MDB2_Driver_sqlite    1.5.0        0.0.b2.2.mga1 noarch  (suggested)
  php-pear-PHPUnit               3.6.10       1.mga2        noarch  
  php-pear-PHPUnit_MockObject    1.1.1        1.mga2        noarch  
  php-pear-PHPUnit_Selenium      1.2.3        2.mga2        noarch  
  php-pear-PHPUnit_Story         1.0.0        2.mga2        noarch  
  php-pear-PHP_CodeCoverage      1.1.2        1.mga2        noarch  
  php-pear-PHP_Invoker           1.1.0        1.mga2        noarch  
  php-pear-PHP_Timer             1.0.2        1.mga2        noarch  
  php-pear-PHP_TokenStream       1.1.3        1.mga2        noarch  
  php-pear-Text_Template         1.1.1        2.mga2        noarch  
  php-pear-XML_DTD               0.5.2        1.mga2        noarch  
  php-pear-XML_Parser            1.3.4        1.mga1        noarch  
  php-pear-XML_Serializer        0.20.2       4.mga2        noarch  
  php-pear-channel-horde         1.0          15.mga2       noarch  
  php-pear-channel-symfony       1.0          7.mga2        noarch  
  php-symfony-YAML               1.0.6        2.mga2        noarch  
(medium "Core Updates")
  php-pgsql                      5.3.15       1.mga2        x86_64  (suggested)
  php-zip                        5.3.15       1.mga2        x86_64  
(medium "Core 32bit Release")
  owncloud                       3.0.2        1.mga2        noarch  
18MB of additional disk space will be used.
2.8MB of packages will be retrieved.
Proceed with the installation of the 26 packages? (Y/n) n


# urpmi --searchmedia "Core Release" owncloud
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch
(medium "Core Release")
  owncloud                       3.0.2        1.mga2        noarch
  php-channel-phpunit            1.3          7.mga2        noarch
  php-pear-DbUnit                1.1.2        1.mga2        noarch
  php-pear-File_Iterator         1.3.1        1.mga2        noarch
  php-pear-MDB2                  2.5.0        0.0.b2.3.mga1 noarch  (suggested)
  php-pear-MDB2_Driver_mysql     1.5.0        0.0.b2.2.mga1 noarch  (suggested)
  php-pear-MDB2_Driver_mysqli    1.5.0        0.0.b2.2.mga1 noarch  (suggested)
  php-pear-MDB2_Driver_pgsql     1.5.0        0.0.b2.2.mga1 noarch  (suggested)
  php-pear-MDB2_Driver_sqlite    1.5.0        0.0.b2.2.mga1 noarch  (suggested)
  php-pear-PHPUnit               3.6.10       1.mga2        noarch
  php-pear-PHPUnit_MockObject    1.1.1        1.mga2        noarch
  php-pear-PHPUnit_Selenium      1.2.3        2.mga2        noarch
  php-pear-PHPUnit_Story         1.0.0        2.mga2        noarch
  php-pear-PHP_CodeCoverage      1.1.2        1.mga2        noarch
  php-pear-PHP_Invoker           1.1.0        1.mga2        noarch
  php-pear-PHP_Timer             1.0.2        1.mga2        noarch
  php-pear-PHP_TokenStream       1.1.3        1.mga2        noarch
  php-pear-Text_Template         1.1.1        2.mga2        noarch
  php-pear-XML_DTD               0.5.2        1.mga2        noarch
  php-pear-XML_Parser            1.3.4        1.mga1        noarch
  php-pear-XML_Serializer        0.20.2       4.mga2        noarch
  php-pear-channel-horde         1.0          15.mga2       noarch
  php-pear-channel-symfony       1.0          7.mga2        noarch
  php-symfony-YAML               1.0.6        2.mga2        noarch
(medium "Core Updates")
  php-pgsql                      5.3.15       1.mga2        x86_64  (suggested)
  php-zip                        5.3.15       1.mga2        x86_64
18MB of additional disk space will be used.
2.8MB of packages will be retrieved.
Proceed with the installation of the 26 packages? (Y/n) y
claire robinson 2012-09-19 13:35:26 CEST

Hardware: i586 => x86_64

Comment 1 Thomas Backlund 2012-09-19 14:13:11 CEST
(In reply to comment #0)
> I know this isn't a desperate problem unless people choose to disable the 32
> bit medias. 

Then it will pull them from x86_64 media where they also are, so that is no problem...

> It is strange behaviour though.

IIRC this is only because i* < x* and urpmi will pull from first media that is available...


Is this with a online media or a local mirror ?

Technically it does not matter when its online medias, but if one add local x86_64 medias and online i586 medias then it's not nice to pull from online medias

IIRC tv had some ideas how to change the behaviour...

CC: (none) => tmb

Comment 2 claire robinson 2012-09-19 14:26:01 CEST
It's online medias. I realise it's not a serious problem but it is odd.

IIRC this was fixed at one point so it's maybe a regression sneaked in.
Comment 3 Manuel Hiebel 2012-09-19 23:44:54 CEST
seems the fix is not working (or broken again)
https://bugs.mageia.org/show_bug.cgi?id=1603

CC: (none) => thierry.vignaud

Comment 4 Thierry Vignaud 2012-12-03 22:30:56 CET
It's different, here it's for the package we want to install, not its dependancies

Status: NEW => ASSIGNED
Assignee: bugsquad => thierry.vignaud
Severity: normal => enhancement

Comment 5 Thierry Vignaud 2012-12-04 11:59:04 CET
"Fixed" (I use quotes here because I don't consider this a bug) in git.
I don't think that I'll backport this to mga2

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

Thierry Vignaud 2012-12-04 17:14:48 CET

Source RPM: urpmi => perl-URPM


Note You need to log in before you can comment on or make changes to this bug.