[Errno 256] No more mirrors to try.


 
Thread Tools Search this Thread
Operating Systems Linux [Errno 256] No more mirrors to try.
# 1  
Old 01-04-2012
[Errno 256] No more mirrors to try.

Dear all,
CentOS 6

After executing "yum update -y" command I am facing this error. Please help me out.
thanks in advance. Full error & error code is given as follow:

Code:
file:///var/lib/yum/plugins/local/repodata/75402989a793f88a7563b2b20f427e47167d12107357ab5810170d148f76aab2-filelists.sqlite.bz2: [Errno 14] Could not open/read file:///var/lib/yum/plugins/local/repodata/75402989a793f88a7563b2b20f427e47167d12107357ab5810170d148f76aab2-filelists.sqlite.bz2
Trying other mirror.
Error: failure: repodata/75402989a793f88a7563b2b20f427e47167d12107357ab5810170d148f76aab2-filelists.sqlite.bz2 from _local: [Errno 256] No more mirrors to try.
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


Moderator's Comments:
Mod Comment Use code tags, thanks.

Last edited by zaxxon; 01-04-2012 at 02:48 PM.. Reason: code tags, see PM
# 2  
Old 01-04-2012
hi,

have you already tried to use the option
Code:
--skip-broken

as suggested by the error message?
check also for the existence and access rights on the file /var/lib/yum/plugins/local/repodata/75402989a793f88a7563b2b20f427e47167d12107357ab5810170d148f76aab2-filelists.sqlite.bz2
may you also please show ALL the output from the yum command? (not only the error message part).

see ya
fra
# 3  
Old 01-07-2012
tried but its not working for me ...
# 4  
Old 01-07-2012
try this
Code:
# yum clean all && yum clean metadata && yum clean dbcache && yum makecache && yum update -y

regards
ygemici
# 5  
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  
Old 01-07-2012
then try
Code:
# yum clean headers && yum clean metadata && yum makecache
# yum update -y

if its get error(s) then try these
remove repo dir(..../repodata) and create new one
Code:
# rm -r /var/lib/yum/plugins/local/repodata
# createrepo /var/lib/yum/plugins/local/
# yum update -y

regards
ygemici
# 7  
Old 01-07-2012
Yaaaa hoooo,,,
Thanks GOD,
I resolved my problem, I makes some changes into this file
Code:
vim /etc/yum.repos.d/_local.repo

Original file was look like this
Code:
[_local]
name=Automatic local repo. (manged by the "local" yum plugin).
baseurl=file:/var/lib/yum/plugins/local
enabled=1
gpgcheck=true
#  Metadata expire could be set to "never" because the local plugin will
# automatically cause a cache refresh when new packages are added. However
# it's really cheap to check, and this way people can dump stuff in whenever
# and it never gets out of sync. for long.
metadata_expire=1h
#  Make cost smaller, as we know it's "local". If you really want to be sure,
# you can do this ... but the name will do pretty much the same thing, and that
# way we can also see the other packages (with: --showduplicates list).
# cost=500

I makes these changes into this file
Code:
enabled=0
gpgcheck=0
#gpgcheck=true

this change makes me like this :-)

---------- Post updated at 02:32 AM ---------- Previous update was at 02:27 AM ----------

Thank you ygemici being with me...
thanks allot.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
Login or Register to Ask a Question