As a new Linux user I experienced a lot of confusion working with RPM files and would like to share what I've learned to help others become familiar with RPM error messages and not to confuse user error with a package error.
This guide covers only Fedora 9 because this is the only distro I've used.
When logged in as root you cannot install packages with the Package Installer. Attempting to do so will result in this error:
Quote:
Failed to install
You don't have the necessary privileges to install local packages
|
To install RPM packages as root use either 'yum install' or 'yum localinstall' for a local package.
Attempting to re-install a package that has already been installed will result in an uninformative error:
Quote:
Local install failed
Installing the local file failed.
More information is available in the detailed report.
More details:
Can't install /home/username/Download/filename.rpm
|
To reinstall an RPM use 'yum reinstall' from the command line.
Attempting to install an RPM that is corrupt will result in another uninformative error:
Quote:
Local install failed
Installing the local file failed.
More information is available in the detailed report.
More details:
Can't install /home/username/Download/filename.rpm
|
Attempting to install an RPM when a space exists in the filename will result in yet another uninformative error. For example, "filena me.rpm"
Quote:
Local install failed
Installing the local file failed.
More information is available in the detailed report.
More details:
Can't install /home/username/Download/filena
|