LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-27-2017, 03:13 AM   #1
santoshi.gundlapalli
LQ Newbie
 
Registered: Jan 2017
Posts: 4

Rep: Reputation: Disabled
OEL 6.7 installation fails with an error msg : Unable to read metadata


while installing oel 6.7 from an ISO on VMware workstation 10, it throws no errors till the package selection done, once i click install I receive the following error:

"Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.

Can not retrieve repository metadata(repomd.xml)for repository : anaconda-OracleLinuxServer-201507280245.x86-64 . Please verify its path and try again."


Request your response at the earliest.

Thank you.

Last edited by santoshi.gundlapalli; 01-27-2017 at 03:16 AM.
 
Old 01-27-2017, 09:16 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by santoshi.gundlapalli View Post
while installing oel 6.7 from an ISO on VMware workstation 10, it throws no errors till the package selection done, once i click install I receive the following error:

"Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.

Can not retrieve repository metadata(repomd.xml)for repository : anaconda-OracleLinuxServer-201507280245.x86-64 . Please verify its path and try again."
Request your response at the earliest.
Read the "Question Guidelines" link in my posting signature. We are happy to help with things, but you're installing a commercial, pay for version of Linux...have you contacted the Oracle support folks, since you're paying for it (RIGHT???) Secondly, you say it works until you select packages...so obviously you're selecting a repo that it doesn't have access to....have you enabled networking on the VM guest, and can you access the Internet from it? If not...then do a base installation, get the system up and online, THEN update/select more packages.

Also, be aware that we volunteer our time here...so saying you want a "response at the earliest" is fairly rude. If you want a quick response, I suggest you contact Oracle support, since you should be paying for it...they're there for you 24/7.
 
1 members found this post helpful.
Old 01-28-2017, 12:09 AM   #3
santoshi.gundlapalli
LQ Newbie
 
Registered: Jan 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
oel 6.7 installation failure

hi,

Thank you very much for the quick response. Apologies for the word 'request your response at the earliest'.

As you mentioned, i could not connect to the network. I tried to contact oracle folks, but I did not knew in which forum i should contact.

kindly let me know how to do the base installation. I could just create a virtual machine and power it on.

also, please let me know whether i can recover the linux vm in the case of a disk crash.

i have a windows 7 pc with intel core i3 processor @ 3 ghz which supports 64-bit OS ( virtualization enabled) and 333 GB of disk space. I want linux OS on my system and oracle database 12c installed on top of linux.

i have been advised to install oel 6 on vmware so that i need not restart my system every time while switching between windows and linux.


Many thanks.

Last edited by santoshi.gundlapalli; 01-28-2017 at 12:57 AM. Reason: to provide additional info
 
Old 01-28-2017, 08:05 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by santoshi.gundlapalli View Post
hi,
As you mentioned, i could not connect to the network. I tried to contact oracle folks, but I did not knew in which forum i should contact.
You go to Oracle's website, and find their support number and call them...and again, you are PAYING FOR ORACLE, RIGHT????
Quote:
kindly let me know how to do the base installation. I could just create a virtual machine and power it on.
You do the installation by powering on your machine, and booting it as you have done. Except you don't select packages to install, just click past it.
Quote:
also, please let me know whether i can recover the linux vm in the case of a disk crash.
You can recover ANY machine after a crash, VM or physical. That's why you have backups
Quote:
i have a windows 7 pc with intel core i3 processor @ 3 ghz which supports 64-bit OS ( virtualization enabled) and 333 GB of disk space. I want linux OS on my system and oracle database 12c installed on top of linux.

i have been advised to install oel 6 on vmware so that i need not restart my system every time while switching between windows and linux.
Whoever advised you would also be a good person to ask about getting things installed. And is there a REASON they suggested Oracle Enterprise Linux??? What are you trying to accomplish? If you just want to learn Linux, don't start with a distro built for a server without graphics or good support for consumer hardware like wifi, bluetooth, sound, etc. Get the latest Mint or Fedora, and load it.
 
Old 01-28-2017, 11:01 PM   #5
iPad
Member
 
Registered: Oct 2016
Distribution: iPadLinux
Posts: 81
Blog Entries: 1

Rep: Reputation: 45
What did you find, from web-searching those errors? Do you know Linux network connection commands, in the .iso?
Please note that the LQ question-askng rules request such information.

I believe free trials of those commercial products only last 30 days and I believe your laptop disk will last 30 more days,
so, although I believe that you would lose everything on your disk, I would not consider that problem here yet.

Although I don't know Linux/DOS, I have seen others here strongly recommend Oracle VirtualBox and CentOS instead.

Please Let us know your progress and solutions, to help others. Thank you.
 
Old 01-29-2017, 09:01 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by iPad View Post
What did you find, from web-searching those errors? Do you know Linux network connection commands, in the .iso?
There are ZERO "Linux network connection commands" in an ISO image, and advising the OP to look for any is plain wrong and misleading.
Quote:
Please note that the LQ question-askng rules request such information.
...which the OP was pointed to previously
Quote:
I believe free trials of those commercial products only last 30 days and I believe your laptop disk will last 30 more days,so, although I believe that you would lose everything on your disk, I would not consider that problem here yet.
Again, absolutely wrong and misleading.
Quote:
Although I don't know Linux/DOS, I have seen others here strongly recommend Oracle VirtualBox and CentOS instead.
iPad, read the LQ Rules. Pay particular attention to:
Quote:
Originally Posted by LQ Rules
  • Do not post if you do not have anything constructive to say in the post.
  • When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread.
You seem to only want to post in thread where I've replied...what's the reasoning there? Also, if you're going to reply, you need to actually try to assist the OP with their problems. Asking them about non-existent commands that are (somehow) stored in a .ISO image, or having everything on your disk get somehow deleted after 30 days causes an inexperienced user to have even MORE questions and problems that they don't need.
 
Old 01-30-2017, 04:05 AM   #7
santoshi.gundlapalli
LQ Newbie
 
Registered: Jan 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
OEL 6.7 Installation failure

Respected TBOne (Sir/Madam),

First of all let me confirm one thing that I'm not paying anything to oracle. I just downloaded Oracle Database 12C s/w from Oracle cloud.

I'm a new DBA student willing to learn Database administration and aware of the fact that DBA should have excellent knowledge in Linux because Oracle and Linux are not different.I am also learning Linux from basics.

As my system runs Windows 7 OS, my friend advised me to install OEL 6 as she has a registered VMWare Workstation 10 version with her and she gave me VMware Workstation file along with registration code.

Then, I downloaded the Oracle Enterprise Linux 6.7 ISO from LinuxQuestions.Org and created a virtual machine.

while I was installing OEL 6.7 , encountered the error 'Can not retrieve repository metadata'. Hence I thought it would be better to take expert's advise and communicated to you.


Thank you very much for your kind advise.
Santoshi.
 
Old 01-30-2017, 08:41 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by santoshi.gundlapalli View Post
First of all let me confirm one thing that I'm not paying anything to oracle. I just downloaded Oracle Database 12C s/w from Oracle cloud.
Then you SHOULD be paying...Oracle is NOT FREE.
Quote:
I'm a new DBA student willing to learn Database administration and aware of the fact that DBA should have excellent knowledge in Linux because Oracle and Linux are not different. I am also learning Linux from basics.
Doesn't matter; if you're using commercial software, you need to pay for it. And Oracle is a DATABASE...Linux is an OPERATING SYSTEM..they are VERY different.
Quote:
As my system runs Windows 7 OS, my friend advised me to install OEL 6 as she has a registered VMWare Workstation 10 version with her and she gave me VMware Workstation file along with registration code.

Then, I downloaded the Oracle Enterprise Linux 6.7 ISO from LinuxQuestions.Org and created a virtual machine. while I was installing OEL 6.7 , encountered the error 'Can not retrieve repository metadata'. Hence I thought it would be better to take expert's advise and communicated to you.
Again, if your 'friend' told you to do this, then why haven't you asked your friend for advice on how to get your machine going????

VirtualBox is also easy to use...either way, you perform an installation the same way, as you've been told; put in the installation media, and boot the system. Install the OS, and as you've been told twice now, DO NOT SELECT ANY OTHER PACKAGES FOR INSTALLATION. Until the machine is booted and you have network/internet access, it can't download anything, which is causing the error you have.
 
Old 01-31-2017, 03:12 AM   #9
santoshi.gundlapalli
LQ Newbie
 
Registered: Jan 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
OEL 6.7 Installation failure - Resolved

Respected TBOne,

Thanks a ton for your kind advise. You helped me a lot.

I googled about this error : "Unable to Read Package Metadata" and found so many solutions, after applying them on my machine both my hard disk and Linux VM got crashed.

I also found similar topics in Linux Forum - but they did not resolve the problem.

I was panick, unable to understand what might have went wrong.

With your guidance and lot of effort I recovered my hard disk and created a new Virtual Machine in Oracle VM Virtual Box and I installed OEL 6 successfully on it.

I can now configure the network as well and access the repository metadata.

My Problem is resolved now.

Apologies, if I have created any mess in Linux Forum due to my half knowledge - please excuse me for that.

Thanks a million tonnes.

Santoshi.
 
1 members found this post helpful.
  


Reply



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
Booting RHEL 5.5 Trial Version = Error: "unable to read package metadata" fundo_bond Linux - Server 2 08-13-2010 08:58 AM
fedora 9 upgraded to 2.6.30 - lvm occasionally fails to read metadata joel_k Linux - Software 0 11-06-2009 12:23 AM
Help! Getting error while installing RDEL 5.2 "Unable to read package metadata......" waqasnaeem Linux - Newbie 1 05-03-2009 07:13 PM
Error unable to read pckg metadata missing repodata directory demian007cur Linux - Newbie 1 04-16-2009 08:28 AM
Can't read metadata on Installation DVD nwcstledrinkr Fedora - Installation 4 08-01-2006 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:52 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
Open Source Consulting | Domain Registration