[SOLVED] OEL 6.7 installation fails with an error msg : Unable to read metadata
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.