LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2003, 09:58 PM   #1
jmourik
LQ Newbie
 
Registered: Jan 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Rep: Reputation: 0
rpm question...


While upgrading my kernel from 2.4.18-14 to 2.4.18.19 I had to remove and reinstall a couple of Nvidia rpms. I was having problems with the last one I did. I had a src rpm and a binary rpm. So I first tried to install the binary rpm like this:

> rpm -i NVIDIA_nforce-1.0-0248.rh80up_2.4.18_17.athlon.rpm

but it didn't really work. After reboot it was all gone??

So I installed the src rpm instead:

> rpm -i NVIDIA_nforce-1.0-0248.src.rpm
> cd /usr/src/redhat/SPECS
> rpm -bb nforce.spec
> cd /usr/src/redhat/RPMS/i386/
> rpm -Uvh NVIDIA_nforce-1.0-0248.i386.rpm

and bingo, it's all good...

I thought the forst one should have worked because it's a binary rpm? What happened, what did I miss there?

Thanks for any info, jan


PS. This is to get the nvnet driver installed for my nvidia ethernet on my mobo Asus A7N266.
 
Old 02-09-2003, 11:32 PM   #2
Nu-Bee
Member
 
Registered: Dec 2002
Location: USA
Distribution: Mandrake 9.2
Posts: 269

Rep: Reputation: 30
Re: rpm question...

Quote:
While upgrading my kernel from 2.4.18-14 to 2.4.18.19 I had to remove and reinstall a couple of Nvidia rpms. I was having problems with the last one I did. I had a src rpm and a binary rpm. So I first tried to install the binary rpm like this:

> rpm -i NVIDIA_nforce-1.0-0248.rh80up_2.4.18_17.athlon.rpm

but it didn't really work. After reboot it was all gone??
If you already have something then you probaaly needed to UPGRADE it like this:

rpm -Uvh NVIDIA_nforce-1.0-0248.rh80up_2.4.18_17.athlon.rpm



Quote:
Originally posted by jmourik
> rpm -i NVIDIA_nforce-1.0-0248.src.rpm
Hmmm?...are things different on Red Hat?

I thought source RPM's were installed thusly:

Quote:
rpm --rebuild|--recompile NVIDIA_nforce-1.0-0248.src.rpm
From the man rpm:

Quote:
BUILDING PACKAGES:
rpm {-ba|-bb|-bp|-bc|-bi|-bl|-bs} [build-options] SPECFILE ...

rpm {-ta|-tb|-tp|-tc|-ti|-tl|-ts} [build-options] TARBALL ...

rpm {--rebuild|--recompile} SOURCEPKG ...


<clip>


REBUILD AND RECOMPILE OPTIONS
There are two other ways to invoke building with rpm:

rpm {--rebuild|--recompile} SOURCEPKG ...

When invoked this way, rpm installs the named source package, and does a prep, compile and install. In addition, --rebuild builds a new binary package. When the build has completed, the build directory is removed (as in --clean) and the the sources and spec file for the package are removed.

Last edited by Nu-Bee; 02-09-2003 at 11:47 PM.
 
Old 02-09-2003, 11:56 PM   #3
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
did you try rpm -ivh
 
  


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 question merchtemeagle Linux - Newbie 1 11-08-2004 04:25 PM
RPM Question jlivio Linux - Newbie 2 03-06-2004 09:24 PM
rpm question tgkspike Linux - Newbie 2 02-02-2004 11:08 PM
RPM question aizkorri Programming 1 04-20-2002 03:02 PM
RPM question rootlinux Linux - Newbie 4 04-13-2002 09:47 PM


All times are GMT -5. The time now is 06:32 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