Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, When attempting to run an RPM install (su -c 'rpm -i package.rpm') I botched something up and wound up killing the install process before it could complete. Now, when ...
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    4

    RPM installation problems

    Hello,

    When attempting to run an RPM install (su -c 'rpm -i package.rpm') I botched something up and wound up killing the install process before it could complete. Now, when I try to run the installation command again, I'm told the package is already installed. When I try to remove the package, I'm told it doesn't exist. I deleted the directory for the package from /opt/, but to no avail. What else should I try?

    Fedora 12
    GNOME 2.28.2

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    You're using the wrong name when trying to uninstall.

    The "package name" is not XXX.rpm (that is a FILENAME) - it is whatever is recorded in the RPM database.

    List installed:

    Code:
    rpm -qa | grep -i <package>
    Replace <package> with a subset of what you think the package name is. You didn't post it, so no one can give you a guess.

    Google: how to use rpm command

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...