[Yum] confusion with installing 3rd party kernel modules

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

 



Hi all,

I've packaged several kernel modules for my kernels.  Each rpm provides
"kernel-modules" so that yum will tag them as install-only.  But I'm getting a
strange behaviour when trying to update them.  Notice the different commands I
ran, and the different results.  Why does the second case work fine and the
first one doesn't?

(The examples below have different versions of the pvfs package, all 3 are
built with the exact same spec.  Only the software instead the rpms and the
release number differ.  Also note that pvfs.spec builds the "pvfs" user-space
i386 package, and pvfs-{up,smp,bigmem} packages as i586 and i686.)


[root@hpc065 root]# rpm -q rpm yum
rpm-4.2.2-0.14
yum-2.0.7-1usc
[root@hpc065 root]# rpm -qa | grep pvfs
pvfs-smp-1.6.3-0pre1.2.4.21.15.0.3.EL.2usc.20usc
pvfs-smp-1.6.3-0pre1.2.4.21.15.0.3.EL.2usc.21usc
pvfs-1.6.3-0pre1.2.4.21.15.0.3.EL.2usc.21usc


Test #1... fails
[root@hpc065 root]# yum update
Gathering header information file(s) from server(s)
[..snip..]
I will do the following:
[install: pvfs-smp 1:1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc.i686]
[update: pvfs 1:1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc.i386]
Is this ok [y/N]: y 
Downloading Packages
Running test transaction:
Errors reported doing trial run
file /lib/modules/2.4.21-15.0.3.EL.2uscsmp/kernel/fs/pvfs/pvfs.o from install of pvfs-smp-1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc conflicts with file from package pvfs-smp-1.6.3-0pre1.2.4.21.15.0.3.EL.2usc.20usc
file /lib/modules/2.4.21-15.0.3.EL.2uscsmp/kernel/fs/pvfs/pvfs.o from install of pvfs-smp-1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc conflicts with file from package pvfs-smp-1.6.3-0pre1.2.4.21.15.0.3.EL.2usc.21usc


Test #2... works!
[root@hpc065 root]# yum update pvfs-smp
Gathering header information file(s) from server(s)
[..snip..]
I will do the following:
[install: pvfs-smp 1:1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc.i686]
I will install/upgrade these to satisfy the dependencies:
[deps: pvfs 1:1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc.i386]
Is this ok [y/N]: y 
Downloading Packages
Running test transaction:
Test transaction complete, Success!
pvfs 100 % done 1/3 
pvfs-smp 100 % done 2/3
Completing update for pvfs  - 3/3
Installed:  pvfs-smp 1:1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc.i686
Dep Installed:  pvfs 1:1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc.i386
Transaction(s) Complete


[root@hpc065 root]# rpm -qa | grep pvfs
pvfs-smp-1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc
pvfs-smp-1.6.3-0pre1.2.4.21.15.0.3.EL.2usc.20usc
pvfs-smp-1.6.3-0pre1.2.4.21.15.0.3.EL.2usc.21usc
pvfs-1.6.3-0pre2.2.4.21.15.0.3.EL.2usc.1usc

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20040726/2139e019/attachment.bin

[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