LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Red Hat 8.0 equivalent command (https://www.linuxquestions.org/questions/linux-networking-3/red-hat-8-0-equivalent-command-129496/)

photowriters 12-28-2003 08:34 AM

Red Hat 8.0 equivalent command
 
The nForce driver source installation page contains the following:
Quote:

example% cd <directory with the rpm file>
example% su
Password: ******
example# rpm --rebuild nforce{package name}-1.0-1.src.rpm

At this point, the SRPM will be recompiled. When this command has completed, look for a line that says:

Wrote: /usr/src/{RPM root dir}/RPMS/i386/nforce{package name}-1.0-1.rpm

In Red Hat 7.1 the command "rpm --rebuild <source_file_name.rpm>" is valid. Unfortunately the "--rebuild" option does not exist for Red Hat 8.0 and later. What is the equivalent in Red Hat 8.0? Responders should be advised that the command "rpm --rebuilddb <source_file_name.rpm>" produces the following error message in run levels 1 & 5.

error: db4 error(16) from dbenv->remove: Device or resource busy

Two years later and I am still fighting the Soltek/nVidia I/O problem.

homey 12-28-2003 12:42 PM

Try this....
rpmbuild --rebuild nforce{package name}-1.0-1.src.rpm

If you don't run into dependancy problems, it shoud create an rpm package in the /usr/src/redhat/rpms/i386 directory.

photowriters 12-29-2003 09:11 AM

Quote:

Originally posted by homey
Try this....
rpmbuild --rebuild nforce{package name}-1.0-1.src.rpm

If you don't run into dependancy problems, it shoud create an rpm package in the /usr/src/redhat/rpms/i386 directory.

That worked. The actual command was:

rpmbuild --rebuild nforce-10-261src.rpm


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