LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-21-2011, 09:20 AM   #1
iwmi8591
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Rep: Reputation: Disabled
Install source files from ISO


I am new to Unix/Linux administration, but I want to learn about it.
I have installed Oracle Linux 5.7 32bit as the virtual guest on the Windows XP virtual host. The VirtualBox is version 4.1.6
The installation of OL Guest was successful or at least seems to me.

I am installing Oracle database on the OL Guest. As the pre-requisites there are numbers of OS packages missing and need to be installed. I notice that the source files ISO (OracleLinux-R5-U7-Server-src-dvd) has been mounted to /media on the Guest.

Quote:
[root@buoel57 Oracle Linux Server src 20110728]# ls
EULA GPL RPM-GPG-KEY SRPMS TRANS.TBL
[root@buoel57 Oracle Linux Server src 20110728]# pwd
/media/Oracle Linux Server src 20110728
I found the all the source files are under directory SPRMS. cd to SPRMS and try to install one of the package

Quote:
[root@buoel57 SRPMS]# rpm -Uvh binutils-2.17.50.0.6-14.el5.src.rpm
warning: binutils-2.17.50.0.6-14.el5.src.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[root@buoel57 SRPMS]#
Have I missed something before trying to install the packages?
Seems OL installation did not take care of the source files installation properly, or that should be a task of the post installation?

Please provide your advices.

TIA
 
Old 11-21-2011, 02:42 PM   #2
iwmi8591
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
error: cannot create %sourcedir /usr/src/redhat/SOURCES
the redhat subdirectory does not exist.

Should I go ahead to create the directory abd agains?
I could , but I do not feel good about that. Why the direcrtor was not created by the OL installer? or is a post installation's task?
 
Old 11-21-2011, 02:45 PM   #3
Nermal
Member
 
Registered: Jan 2009
Distribution: Debian
Posts: 59
Blog Entries: 2

Rep: Reputation: 6
What does:
Code:
mkdir /usr/src/redhat/SOURCES
say?

Try:
Code:
mkdir -p /usr/src/redhat/SOURCES
then reinstall. It maybe because you either don't have a /usr/src/redhat directory or there may even be a flat file called /usr/src/redhat/SOURCES in that case:
Code:
mv /usr/src/redhat/SOURCES /usr/src/redhat/SOURCES.old
should fix it.
 
Old 11-21-2011, 04:35 PM   #4
iwmi8591
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
I have created the dir
/usr/src/redhat/SOURCES

and tried and got the follow.
Quote:
[root@buoel57 SRPMS]# rpm -Uvh binutils-2.17.50.0.6-14.el5.src.rpm
warning: binutils-2.17.50.0.6-14.el5.src.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
1:binutils warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
...
What does this tell?

The package was NOT installed after


[root@buoel57 /]# rpm -aq binutils-2.17.50.0.6-14.el5.src.rpm
[root@buoel57 /]#

Last edited by iwmi8591; 11-21-2011 at 04:51 PM.
 
Old 11-21-2011, 05:27 PM   #5
iwmi8591
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
The source code is there

[root@buoel57 SRPMS]# ls |grep binut*
binutils-2.17.50.0.6-14.el5.src.rpm
[root@buoel57 SRPMS]#

It was not installed by

rpm -Uvh binutils-2.17.50.0.6-14.el5.src.rpm

I understood that was a Warning, but it was not loaded.
 
  


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
how to install linux from iso files sanjith11 Linux - General 5 11-08-2006 02:09 AM
ISO files from mandriva 10.1 install simplico Linux - General 3 09-12-2005 07:18 AM
Need source code for making ISO files neo_in_matrix Programming 1 05-11-2005 11:01 PM
slackware 9.1 install and source iso?? Lleb_KCir Linux - Software 5 05-27-2004 06:35 AM
install mandrake from ISO Files progressdll Mandriva 1 10-07-2003 06:09 PM


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