Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 05-05-2006, 01:42 PM   #1
LQ Newbie
Registered: May 2006
Posts: 2

Rep: Reputation: 0
How to install remotely RPM if you dont have RPM!!

Totally desperate here, please help!
After some problems with dependencies after upgrading to FC4 yum - python dependencies, seems like I uninstalled the newer versions causing imcompatibilities.
BUT somehow, now, none of the following apps are working: Apt, Yum , RPM. I cant get RPM to work, so it is impossible to install ANYTHING, not even RPM itself.
I am totally stuck.

How can I compile RPM from the tar.gz remotely and reinstall it again??

Please help, this is the messages i get running yum:

[root@localhost ~]# yum
The yum libraries do not seem to be availableon your system for this version of python 2.4.2 (#1, Feb 12 2006, 03:59:46)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)]
Please make sure the package you used to installyum was built for your install of python.

with apt:

[root@localhost ~]# apt
-bash: apt: command not found


[root@localhost ~]# python
Python 2.4.2 (#1, Feb 12 2006, 03:59:46)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

and rpm:

[root@localhost ~]# rpm --test yumrpm: error while loading shared libraries: cannot open shared object file: No such file or directory

the thing is I cannot install libraries anymore without yum or RPM, can I?

Old 05-05-2006, 04:13 PM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Sure you can, you (hopefully) should have the static version of rpm installed;

locate rpmi

/usr/lib/rpm/rpmi --help

# /usr/lib/rpm/rpmi -Uvh*.rpm --force

Last edited by Lenard; 05-05-2006 at 04:17 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM error when trying to install an rpm Trance56k SUSE / openSUSE 3 11-10-2005 11:25 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 01:44 AM
rpm dont work even after LD_ASSUME_KERNEL=2.2.5 demmylls Linux - General 1 01-19-2004 03:47 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 01:44 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 05:55 PM

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration