it's installed or is it?

General support questions
Post Reply
mauricev
Posts: 5
Joined: 2019/07/01 17:53:28

it's installed or is it?

Post by mauricev » 2019/07/03 15:03:32

A package I was trying to install apparently did not find all its dependencies, so I tried again to reinstall it. It claims that it's already installed

Code: Select all

warning: cuda-repo-rhel7-10-1-local-10.1.168-418.67-1.0-1.x86_64.rpm: Header V3 RSA/SHA512 Signature, key ID 7fa2af80: NOKEY
        package cuda-repo-rhel7-10-1-local-10.1.168-418.67-1.0-1.x86_64 is already installed
So I tried removing it

Code: Select all

error: package cuda-repo-rhel7-10-1-local-10.1.168-418.67-1.0-1.x86_64.rpm is not installed
I am going in circles.

mauricev
Posts: 5
Joined: 2019/07/01 17:53:28

Re: it's installed or is it?

Post by mauricev » 2019/07/03 15:07:00

It seems to uninstall a package, one needs to remove the "rpm" at the end. :roll:

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: it's installed or is it?

Post by TrevorH » 2019/07/03 15:20:03

Yes, that's because the package name does not include the filename. Indeed you could rename that entire rpm to my.rpm and install it using yum install /path/to/my.rpm and it would still need to be removed using the actual package name that's embedded inside the rpm file.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply