Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What is the operating system you are using ?
The version of the OS ?
And the full error you are getting .
I take it you want to install "xulrunner"
from the normal user account become "root" in the terminal
for CentOS 6.4
Code:
su -
------- then type in your root password when asked -----
yum search xulrunner
--- then from that list install it ----
yum install xulrunner
for the rpm command --- It is NOT recommended to use
unless as a very last resort
to manually install xulrunner AND all the needed dependencies FIRST before installing "xulrunner"
What is the operating system you are using ?
The version of the OS ?
And the full error you are getting .
I take it you want to install "xulrunner"
from the normal user account become "root" in the terminal
for CentOS 6.4
Code:
su -
------- then type in your root password when asked -----
yum search xulrunner
--- then from that list install it ----
yum install xulrunner
for the rpm command --- It is NOT recommended to use
unless as a very last resort
to manually install xulrunner AND all the needed dependencies FIRST before installing "xulrunner"
The O.S. is RedHat 5.
The error is
Quote:
rpm:command not found
and this
Quote:
error:Unable to opem /usr/lib/rpm/rpmrc for reading:No such file or directory
man that is hard to read please "copy/paste" the text into the forum
with this RHEL5 install you do have the support contract you bought
have you contacted red hat tech support
-- you are paying for it , so you might want to use it
you will likely need to manually extract files from the rpm's that you will need to download from RHN ( ftp or in the web browser)
and for that you will need there help
Its likely some other cmd has been used to remove bits of rpm/yum.
You could check the root user's history; might show something.
In any case, you could ask RH or try to force re-install rpm (& possibly yum) from the install media, but if its been upgraded one or more point releases since the install it might still have issues.
You could try downloading the rpm/yum rpms (from RH)for the exact version you have (eg say 5.6) and force installing those.
As above, the latest v5 is 5.9.
Please post the output of the 'cat /etc/redhat-release' cmd, as requested by JohnVV & check if the install media is the same or not.
Its likely some other cmd has been used to remove bits of rpm/yum.
You could check the root user's history; might show something.
In any case, you could ask RH or try to force re-install rpm (& possibly yum) from the install media, but if its been upgraded one or more point releases since the install it might still have issues.
You could try downloading the rpm/yum rpms (from RH)for the exact version you have (eg say 5.6) and force installing those.
As above, the latest v5 is 5.9.
Please post the output of the 'cat /etc/redhat-release' cmd, as requested by JohnVV & check if the install media is the same or not.
The release is:
Code:
Red Hat Enterprise Linux Server release 5.9 (Tikanga)
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 12.
Quote:
I do not know what to ask. RedHat is duly registered support
Please call your Redhat support to ask for help.
They will most likely advise you to reinstall the OS.
Possible workarounds : Use another OS to unpack the rpm package(s)
That's $ rpm2cpio <package.rpm> | cpio -idmv
... and then copy the missing files into their locations.
I.e. you cannot force install anything with no rpm command.
Please call your Redhat support to ask for help.
They will most likely advise you to reinstall the OS.
Possible workarounds : Use another OS to unpack the rpm package(s)
That's $ rpm2cpio <package.rpm> | cpio -idmv
... and then copy the missing files into their locations.
I.e. you cannot force install anything with no rpm command.
-
Do you think there is a way to recover the OS without having to reinstall? Also because I have already installed a lot of software that kept me ilmpegnato long time to configure it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.