Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rpm hell

Status
Not open for further replies.

riches85

Programmer
Nov 13, 2002
59
US
I am having huge problems installing a program using rpm. I have to deal with all of these dependencies upon dependencies. My biggest problem comes when i have to delete a newer package to install a program that uses a file in a an older package. It wont let me downgrade so I have to uninstall the package and install the old one. When i go to uninstall, i get a warning for 8 dependencies. I then delete one of those and i get 8 more. Is there a way to use rpm and force a file to be deleted even though it may have dependencies and maybe put the file back later? Or maybe just force all of the dependant packages to uninstall themselves recursively? Any help would be greatly appreciated. Thanks
 
Just use the [tt]--nodeps[/tt] switch for RPM. It turns off the dependency checking. //Daniel
 
Do a man on rpm. You can tell rpm to install an olderer version, i believe it is --oldpackage.

rpm --oldpackage -Uvh my.rpm
 
Check out a program called apt-rpm (based on debians apt-get) it solves all dependancies for you and installs perfectly
 
I have a similar problem... 2 actually.
First
I installed the Java SDK, but the system also has the GNU Java compiler. The GNU compiler is called bytyping JAVA at the commandline... How do change this so that Sun's Java is run?

Second
I am also trying to install clisp from an RPM (using KDE's file browser on RH8) and after entering root password, the harddrive spins a bit, but the package isn't unpacked.
 
For the first question, change your PATH variable to have the path to the JAVA SDK before the path to the GNU Java Compiler. //Daniel
 
The second: turns out the tar ball works.... Still don't know why the rpm stalled on me... clisp is almost installed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top