LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2019, 05:32 PM   #1
HWDPlinux
Member
 
Registered: Mar 2014
Posts: 32

Rep: Reputation: Disabled
Error importing repomd.xml for LOCAL: Damaged repomd.xml file


Hello I am doing labs with KVM guests, I setup a local repo on the host using an .iso img and the host can use the repo locally but... Trying to download packages with guest from the host I get the error in the title. Created LOCAL repo on host via http server and i setup the guest with only one .repo file, pointing to the host http server. getting this error. not even sure what info I should supply you guys with...

I am able to ping all the IPs that are involved, and the guests can reach out to the internet, but when I try to connect to the host http server via elinks I do not reach the page. Http is open on host and guest firewalls.

HOST:
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether f4:06:69:59:d2:fb brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.225/24 brd 192.168.0.255 scope global noprefixroute dynamic wlp7s0
       valid_lft 601962sec preferred_lft 601962sec
    inet6 2600:8800:2900:195c::2a37/128 scope global noprefixroute dynamic 
       valid_lft 600113sec preferred_lft 600113sec
    inet6 2600:8800:2900:195c:650d:fa99:9f97:85b6/64 scope global noprefixroute dynamic 
       valid_lft 298sec preferred_lft 298sec
    inet6 fe80::dd45:2f25:4ae0:99f2/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: virbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:62:af:4f brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.1/24 brd 192.168.100.255 scope global virbr1
       valid_lft forever preferred_lft forever
4: virbr1-nic: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master virbr1 state DOWN group default qlen 1000
    link/ether 52:54:00:62:af:4f brd ff:ff:ff:ff:ff:ff
5: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 52:54:00:62:af:7f brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
6: virbr0-nic: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:62:af:7f brd ff:ff:ff:ff:ff:ff
7: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:9b:3d:6c brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fe9b:3d6c/64 scope link 
       valid_lft forever preferred_lft forever
8: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:c4:eb:4c brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fec4:eb4c/64 scope link 
       valid_lft forever preferred_lft forever

Last edited by HWDPlinux; 03-03-2019 at 09:31 AM.
 
Old 03-03-2019, 09:48 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Have you had a look at the repomd.xml file on the host?

If it looks OK, I would try to access repomd.xml manually from the guest, using whatever URLs, credentials etc. you have configured on the guest.

Perhaps it turns out that the guest gets the file from a different location that you intend. Perhaps the repomd.xml file is fine, but the guest can't read it (and issues a misleading error message).
 
  


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
Disk Partition damaged - how can I rescue damaged partition ray98 Linux - General 7 10-24-2014 08:05 AM
yum update error "Error importing repomd.xml for extras: Damaged repomd.xml file" lmoe23 Linux - Newbie 4 03-07-2014 03:00 AM
yum update error"Error importing repomd.xml for extras: Damaged repomd.xml file" lmoe23 Linux - Newbie 1 03-07-2014 01:42 AM
Error: Cannot open/read repomd.xml file for repository: updates noamhr Linux - Newbie 2 11-20-2009 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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