Paul on 29 Nov 2003 18:43:02 -0500


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

Re: [PLUG] What Does "Install" Really Mean


Jeb Bushell wrote:

rpm -e <pkg>
error: package <pkg> is not installed

rpm -ivh <pkg>
Preparing ############################# [100%]
Package <pkg> is already installed

rpm -q <pkg>
package is not installed

Can anyone shed some light, please?




RPM is confused. Try the following:

(Leave off the .rpm when querying for a package.)

rpm -qa |grep <pkg>

(Use the upgrade option instead of the install option.)

rpm -Uvh <pkg>

(In the next command I am trying something like --force or --nodeps to insist on having the package installed. I don't do this often so I'm not 100% sure about those options. Use with care.)

rpm --nodeps -Uvh <pkg>



___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug