xfs
[Top] [All Lists]

Re: XFS RPM install on Redhat 7.2

To: Mike <samba@xxxxxxxxxxx>
Subject: Re: XFS RPM install on Redhat 7.2
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Thu, 29 Aug 2002 21:07:15 -0500 (CDT)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <000501c24fc8$f4c8d090$967ba8c0@maherxp>
Sender: linux-xfs-bounce@xxxxxxxxxxx
I think rpm -ivh --oldpackage <blah>.rpm will work, if not,
there are a million other options in the rpm man page.  :)
I'd use force as a last resort.

       --oldpackage
              Allow an upgrade to replace a newer package with an
              older one.

Booting an older kernel won't help, rpm is looking at the database
of installed packages, not what is currently running.

-Eric

On Thu, 29 Aug 2002, Mike wrote:

> 
> 
> I am trying to install the RPM kernel on my system to get XFS support on
> a redhat 7.2. I am unable to install it because I have newer kernel.
> 
> [root ~]# rpm -ivh kernel-smp-2.4.9-31SGI_XFS_1.1.i686.rpm 
> Preparing...           ###########################################
> [100%]
> package kernel-smp-2.4.9-34 (which is newer than
>  kernel-smp-2.4.9-31SGI_XFS_1.1) is already installed
> 
> Can I override this option while maintaining the 2.4.9-34smp (just in
> case) or I have to override the newer 2.4.9-34smp kernel. How to
> override the installation (-force do the trick)? If I force the RPM to
> install can I still boot from the 2.4.9-34smp kernel.  
> 
> How about if I boot to the old kernel (2.4.7) and try to install
> kernel-smp-2.4.9-31SGI_XFS_1.1.i686.rpm, will this work and the
> installation will stop complaining?
> 
> My lilo.conf file, output of lsmond, and current kernel is:
> 
> Red Hat Linux release 7.2 (Enigma)
> Kernel 2.4.9-34smp on an i686
> 
> 
>  [root ~]# cat /etc/lilo.conf
>  boot="/dev/sda"
>  linear
>  prompt
>  timeout="50"
>  message=/boot/message
>  root=/dev/md5
>  default=2.4.9-34smp
>  
>  image="/boot/vmlinuz-2.4.7-10"
>          label="2.4.7-10"
>          root="/dev/md5"
>          read-only
>          initrd="/boot/initrd-2.4.7-10.img"
>  
>  image=/boot/vmlinuz-2.4.7-10smp
>          label="2.4.7-10smp"
>          root=/dev/md5
>          read-only
>          initrd="/boot/initrd-2.4.7-10smp.img"
>  
>  image=/boot/vmlinuz-2.4.9-34
>          label="2.4.9-34"
>          root=/dev/md5
>          read-only
>          initrd="/boot/initrd-2.4.9-34.img"
>  
>  image="/boot/vmlinuz-2.4.9-34smp"
>          label="2.4.9-34smp"
>          root="/dev/md5"
>          read-only
>          initrd="/boot/initrd-2.4.9-34smp.img"
>  
>  image=/usr/src/linux/arch/i386/boot/bzImage
>          label="Linux_Compiled"
>          root=/dev/md5
>          read-only
>          optional
>  
>  [root ~]# lsmod
>  Module                  Size  Used by    Not tainted
>  soundcore               4868   0  (autoclean)
>  pcmcia_core            42720   0 
>  autofs                 12100   0  (autoclean) (unused)
>  nfs                    83808   8  (autoclean)
>  lockd                  54048   1  (autoclean) [nfs]
>  sunrpc                 70032   1  (autoclean) [nfs lockd]
>  eepro100               18128   1 
>  st                     27092   0 
>  raid0                   3968   1  (autoclean)
>  usb-ohci               20704   0  (unused)
>  usbcore                54656   1  [usb-ohci]
>  ext3                   65760   9 
>  jbd                    44580   9  [ext3]
>  raid5                  19264   0  (unused)
>  xor                     6488   0  [raid5]
>  raid1                  14340   7 
>  aic7xxx               114784  24 
>  sd_mod                 11900  24 
>  scsi_mod              101592   3  [st aic7xxx sd_mod]
>  
> 
> Thanks for your help,
>  
> Mike
> 
> 
> 



<Prev in Thread] Current Thread [Next in Thread>