LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-21-2003, 09:12 PM   #1
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Rep: Reputation: 31
RPM still checks for dependencies even with -- nodeps .


I'm trying to install nano on my PS2. The program came as a .src.rpm, and I ran "rpm -v --recompile nano....". After a while it said "Requires: ncurses ld.so.1 libc.so.6 ... blah blah blah", so I searched for ld.so.1 and found it in "/lib/ld.so.1". Figuring there was something wrong with the rpm find-requires program, I tried "rpm -v --recompile -nodeps nano....", but it gave me the same result.

How can I get it to either recognize the files or to install without checking for dependencies?
 
Old 09-21-2003, 09:15 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
maybe add the --force argument also ?
 
Old 09-22-2003, 02:46 AM   #3
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
adding -nodeps installs a program that may not work
dependancies are just that
the program depends on them for some function
if you wanna install something that crashes
then please enjoy
 
Old 09-22-2003, 03:14 AM   #4
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 31
Using --nodeps is NOT a good idea. In fact, that's way I lost my old good RH8...
 
Old 09-22-2003, 10:14 AM   #5
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
Ok, so how am I going to get it to find the files that I've got?

Also, it said --force only works for instillations and the like- not compiling something.
 
Old 09-22-2003, 10:31 AM   #6
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
http://rpmfind.net/
http://sourceforge.net/
http://rpm.pbone.net/
http://freshmeat.net/

run the rpm -ivh <file> .rpm again
find the exact dependacies
search the above for the rpms that have em

should find something like
libc.so.6.rpm
some where

put them all in the file with your program
then run
rpm -ivh *.rpm

should install everything

NOTE: I have done this on some installs and the program installs to a limbo
I can't find it , I can't use it , haven't got a clue as to where it went or what its doing
may have been for another distrbution
and that may be why you have so many dependacy problems
files not where it expects them
 
Old 09-28-2003, 07:16 PM   #7
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
I tried the -ivh method instead of the -rebuild method, and I realized why I usually try it the -rebuild way. It installs it in half a second, and after that, I can't find it. Did you mean to say to use -rebuild instead?
 
Old 09-28-2003, 07:22 PM   #8
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
Quote:
I tried the -ivh method instead of the -rebuild method, and I realized why I usually try it the -rebuild way. It installs it in half a second, and after that, I can't find it. Did you mean to say to use -rebuild instead?

huh??
who said anything bout --rebuild
 
Old 09-28-2003, 10:01 PM   #9
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
I mean "--recompile". Whatever.
 
Old 09-28-2003, 10:15 PM   #10
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
ahh now i see what you are saying

# rpmbuild --rebuild <packagename>
builds src.rpm's

ok
Installing:
After building you can find a fresh rpm in /usr/src/RPM/RPMS/i686 or /usr/src/RPM/RPMS/ppc or whatever your architecture may be.

# rpm -Uvh <packagename>

found this at

http://www.xs4all.nl/~hanb/software/rpms/irssi.html
 
  


Reply


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 -Uvh --nodeps php-5.0xxxx did a mistake pudhiyavan Linux - Software 2 06-06-2005 04:35 AM
rpm nodeps question ergo_sum Linux - Newbie 3 05-04-2005 04:39 PM
RPM in Slackware, dependency checks trigggl Linux - Software 6 01-20-2005 11:49 AM
is it ok to 'rpm -e kernel --nodeps' ??? qwijibow Linux - Software 1 05-27-2004 02:21 AM
How to recover after an rpm -e --nodeps rpm ppuru Linux - General 4 08-07-2003 09:25 AM


All times are GMT -5. The time now is 11:06 AM.

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