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

Re: Problem with .rpm upgrade



> root@reliant RPMS]# rpm -f -v -h rpm-devel-3.0.2-6.0.rpm
> rpm: unexpected query source

The "-f" option should be "-F"    upper case!

But that will only "freshen", and will not install anything
that is not already installed.


First, for all packages you want to install, you should:

  rpm -Uvh rpm-devel-3.0.2-6.0.rpm   #  (capital "U")

Then, while in the /mnt/cdrom/RedHat/RPMS/ directory.

  rpm -Fvh *.rpm   #  (capital "F" option :)


Be careful if that updates your kernel version.  That could 
make your system unbootable unless you fix and rerun lilo.  
(as talked about in a thread to this list a few days ago)

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------