[Yum] x86_64 and yum 2.1.12 (tries to install both architectures i386 and x86_64)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

seth vidal wrote:
> yes it is correct behavior. There is a package that is:
> 1. available
> 2. of an arch that can be installed
> 3. not older than anything you currently have installed
> 
> so why isn't it correct behavior?

it's a 64bit system and I don't want the 32bit RPM because the 64bit RPM 
is already installed (in the same version) and so the 32bit RPM is not 
the best fit for a 64bit system, if I want the 32bit RPMs I install them 
with "xxx.i386". Of course I could always add a .x86_64 and this way yum 
installs only x86_64 binaries but it would be nice to have an option in 
the config file which uses the .x86_64 as default for the *install* if 
nothing else is given, like the exactarch=1 for the update (which 
somehow failed btw. for the boost lib with yum 2.1.12, see below).

Btw. how handles yum dependencies when I install a xxxx.x86_64 RPM which 
has as dependency the yyyy.x86_64 RPM which exist as yyyy.i386 as well, 
what would yum do? Would it install the yyyy.x86_64 *and* the yyyy.i386 
version? Or would it install only the yyyy.x86_64 because I gave 
xxxx.x86_64 as input and this way only the yyyy.x86_64 is the dependency 
  (I hope so :))?

I admit only a few RPMs are available as .x86_64 and .i386 in the same 
repository and so I can solve the problems manually when I see that yum 
tries to install two versions of the the same RPM but a config option 
would be handy :).



That's the other problem which I had with the update which I really 
believe is wrong, because yum tried to update the boost.x86_64 with the 
boost.i386 :) (exactarch=1 is set), or better yum tried to update the 
boost.x86_64 and the boost.i386 but the boost.i386 is not installed.

--------------------------
[root@xxxx ~]# yum list boost
Installed Packages
boost.x86_64                             1.31.0-9               installed
Available Packages
boost.x86_64                             1.32.0-1.fc3 
updates-released
boost.i386                               1.32.0-1.fc3 
updates-released

[root@xxxx ~]# yum update
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package boost.i386 0:1.32.0-1.fc3 set to be updated
---> Package boost.x86_64 0:1.32.0-1.fc3 set to be updated
--> Running transaction check

Dependencies Resolved
Transaction Listing:
   Update: boost.i386 0:1.32.0-1.fc3
   Update: boost.x86_64 0:1.32.0-1.fc3

Other Transactions:
   Obsoleting: boost.x86_64 0:1.31.0-9 with boost.i386 0:1.32.0-1.fc3

Is this ok [y/N]: n
Exiting on user Command
Complete!
--------------------------

Regards,

   J?rgen

PS.: Btw. the new yum is for the most tasks way faster then the old 
version, it's a great improvement and I like the new repos :).

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux