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

Re: Why has yum behavior changed in F9?



On Sun, 2008-06-01 at 13:20 -0700, Paolo Galtieri wrote:
> Today I installed F9 on an x86_64 laptop which previously was running F8 
> and so far I find F9 to be a regression from F8. In F8 when I ran:
> 
>   yum -y install gtk2
> 
> it would install both the i386 version and the x86_64 version of the 
> package. In F9 it only installs the x86_64 version, I have to explicitly 
> install the i386 version. Why the regression?
> 
> The reason I see this as a problem is if you download the Adobe acrobat 
> reader package for Linux from Adobe it is built for i386 and 
> consequently will not install unless you install the required i386 
> packages. 

If you use yum to install, it *should* sort itself out:

yum --nogpg localinstall adobepackage.rpm

yum will download any dependencies it needs.

> Furthermore:
> 
> [root localhost ~]# yum list all gtk+
> Loaded plugins: refresh-packagekit
> Available Packages
> gtk+.i386                                1:1.2.10-61.fc9        
> fedora         
> gtk+.x86_64                           1:1.2.10-61.fc9        
> fedora         
> 
> shows both the i386 and the x86_64 versions, but:
> 
> yum -y install "gtk+*"
> 
> Loaded plugins: refresh-packagekit
> Setting up Install Process
> Parsing package install arguments
> Resolving Dependencies
> --> Running transaction check
> ---> Package gtk+-devel.x86_64 1:1.2.10-61.fc9 set to be updated
> --> Processing Dependency: glib-devel for package: gtk+-devel
> ---> Package gtk+extra-devel.x86_64 0:2.1.1-8.fc9 set to be updated
> ---> Package gtk+extra.x86_64 0:2.1.1-8.fc9 set to be updated
> ---> Package gtk+.x86_64 1:1.2.10-61.fc9 set to be updated
> --> Processing Dependency: libgmodule-1.2.so.0()(64bit) for package: gtk+
> --> Processing Dependency: libglib-1.2.so.0()(64bit) for package: gtk+
> --> Running transaction check
> ---> Package glib.x86_64 1:1.2.10-29.fc9 set to be updated
> ---> Package glib-devel.x86_64 1:1.2.10-29.fc9 set to be updated
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> =============================================================================
>  Package                 Arch       Version          Repository        Size
> =============================================================================
> Installing:
>  gtk+                    x86_64     1:1.2.10-61.fc9  fedora            957 k
>  gtk+-devel          x86_64     1:1.2.10-61.fc9  fedora            355 k
>  gtk+extra            x86_64     2.1.1-8.fc9      fedora            335 k
>  gtk+extra-devel  x86_64     2.1.1-8.fc9      fedora            735 k
> Installing for dependencies:
>  glib                     x86_64     1:1.2.10-29.fc9  fedora            
> 146 k
>  glib-devel           x86_64     1:1.2.10-29.fc9  fedora             39 k
> 
> Only installed the x86_64 packages, when I would have expected, via the 
> globbing syntax, that  yum would have installed all packages matching gtk+.
> 
> So what's going on and how do I force yum to always install both the 
> i386 and x86_64 versions of a package?

I doubt you really want to so that in the general case.

poc


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