Sponsored Content
Operating Systems Linux [Errno 256] No more mirrors to try. Post 302588213 by saqlain.bashir on Saturday 7th of January 2012 03:55:14 PM
Old 01-07-2012
Dear YGEMICI,
report against your command is as under
Code:
[root@rash ~]# yum update -y
Loaded plugins: aliases, auto-update-debuginfo, changelog, downloadonly,
              : fastestmirror, filter-data, fs-snapshot, kabi, keys, list-data,
              : local, merge-conf, post-transaction-actions, presto, priorities,
              : protect-packages, protectbase, refresh-packagekit, remove-with-
              : leaves, rpm-warm-cache, security, show-leaves, tmprepo, tsflags,
              : upgrade-helper, verify, versionlock
Loading support for CentOS kernel ABI
Loading mirror speeds from cached hostfile
 * rpmforge: www.mirrorservice.org
 * rpmforge-extras: www.mirrorservice.org
 * rpmforge-testing: www.mirrorservice.org
file:///var/lib/yum/plugins/local/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for _local: Damaged repomd.xml file
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: _local. Please verify its path and try again

please help me out of this frustration...

---------- Post updated at 01:55 AM ---------- Previous update was at 01:33 AM ----------

I think there is a problem in this file
Code:
var/lib/yum/plugins/local/repodata/repomd.xml

this file (repomd.xml) in my case is totally empty. there is no single word in this file.
Code:
[root@rash ~]# yum makecache
Loaded plugins: aliases, auto-update-debuginfo, changelog, downloadonly,
              : fastestmirror, filter-data, fs-snapshot, kabi, keys, list-data,
              : local, merge-conf, post-transaction-actions, presto, priorities,
              : protect-packages, protectbase, refresh-packagekit, remove-with-
              : leaves, rpm-warm-cache, security, show-leaves, tmprepo, tsflags,
              : upgrade-helper, verify, versionlock
Loading support for CentOS kernel ABI
Loading mirror speeds from cached hostfile
file:///var/lib/yum/plugins/local/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for _local: Damaged repomd.xml file
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: _local. Please verify its path and try again

and
Code:
[root@rash ~]# yum update -y
Loaded plugins: aliases, auto-update-debuginfo, changelog, downloadonly,
              : fastestmirror, filter-data, fs-snapshot, kabi, keys, list-data,
              : local, merge-conf, post-transaction-actions, presto, priorities,
              : protect-packages, protectbase, refresh-packagekit, remove-with-
              : leaves, rpm-warm-cache, security, show-leaves, tmprepo, tsflags,
              : upgrade-helper, verify, versionlock
Loading support for CentOS kernel ABI
Loading mirror speeds from cached hostfile
file:///var/lib/yum/plugins/local/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for _local: Damaged repomd.xml file
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: _local. Please verify its path and try again

I am not happy with these errors Smilie
 

6 More Discussions You Might Find Interesting

1. Solaris

DiskSuite: Breaking mirrors.

Ok, so I have a remote system (7 states away) that's using SDS to manage the two 18 gig disks. /, swap, /var, /home, and /opt. The mirroring procedure I created uses installboot to ensure there's a bootblk on both disks of an SDS mirror. The system has a problem booting (can't write to... (21 Replies)
Discussion started by: BOFH
21 Replies

2. Solaris

both mirrors in needs maintenance state.

Hi, Ii am facing the belwo problem: d50: Mirror Submirror 0: d30 State: Needs maintenance Submirror 1: d40 State: Needs maintenance Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 212176648 blocks (101 GB) d30:... (3 Replies)
Discussion started by: sag71155
3 Replies

3. Linux

Additional mirrors on centos

How can I add additional mirrors to my CENTOS distro, according to this page AdditionalResources/Repositories - CentOS Wiki there are few fedora project repositories I'd like to add any of them but I don't know how? Thank you in advance (0 Replies)
Discussion started by: c0mrade
0 Replies

4. Solaris

Help with attaching mirrors

Hi Guys, I need a help with attaching the sub mirrors as it keep throwing errors. I have done solaris live upgrade and it was succesful but it keeps throwing error only for root (s0) and swap (s1)when i try to attach them. For rest of the partitions for slices 3,4,5 on target 1 are able to... (4 Replies)
Discussion started by: phanidhar6039
4 Replies

5. Solaris

Oneway mirrors

All, One-way mirror. Elements of the concat in Last-errd state. What would be the best way to correct it? metastat -s db2test -pc db2test/d220 p 5.0GB db2test/d200 db2test/d219 p 5.0GB db2test/d200 db2test/d218 p 5.0GB db2test/d200 db2test/d217 p 30GB db2test/d200... (0 Replies)
Discussion started by: ossupport55
0 Replies

6. Solaris

Zpool with 3 2-way mirrors in a pool

I have a single zpool with 3 2-way mirrors ( 3 x 2 way vdevs) it has a degraded disk in mirror-2, I know I can suffer a single drive failure, but looking at this how many drive failures can this suffer before it is no good? On the face of it, I thought that I could lose a further 2 drives in each... (4 Replies)
Discussion started by: fishface
4 Replies
All times are GMT -4. The time now is 07:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy