[SOLVED] impossible to update system centos 6.3

General support questions
armel
Posts: 5
Joined: 2013/10/08 21:33:30

[SOLVED] impossible to update system centos 6.3

Post by armel » 2013/10/08 21:51:08

impossible to update centos 6.3 ; 350 updates are waiting !
The received message is :
failure: repodata/d2b213c5ed05b57e0769f33442745c5444f8a65d8c25c41be0f94be82aa2c364-filelists.sqlite.bz2 from epel: [Errno 256] No more mirrors to try.
I have then tried to "sudo yum update", some updates happened but many errors at the end.

# uname -a
Linux armel-P5Q3-DELUXE 2.6.32-279.19.1.el6.i686 #1 SMP Wed Dec 19 04:30:58 UTC 2012 i686 i686 i386 GNU/Linux
#rpm -q centos-release
centos-release-6-3.el6.centos.9.i686
thanks for you help, best regards,
armel, Paris

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: impossible to update system centos 6.3

Post by AlanBartlett » 2013/10/08 22:24:19

Welcome to the [i]CentOS[/i] fora.

As the problem seems to be caused by having the [b]EPEL[/b] repository enabled, which is unnecessary to update [i]CentOS[/i], please perform the following --

[code]
[b]rm -r /var/cache/yum/*
yum --disablerepo epel update[/b]
[/code]

armel
Posts: 5
Joined: 2013/10/08 21:33:30

Re: impossible to update system centos 6.3

Post by armel » 2013/10/09 09:12:01

Hello Alan,
Thanks for your quick reply.
The first command was executed in sudo mode and worked fine.
But the second one gave the following message :
sudo yum --disablerepo epel update
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
best regards,
armel

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: impossible to update system centos 6.3

Post by AlanBartlett » 2013/10/09 10:55:10

Hmm . . . That should only be a temporary error. Try again, this time using --

[code]
[b]yum clean all
yum --disableplugin \* --disablerepo epel check-update
yum --disableplugin \* --disablerepo epel update[/b]
[/code]
If the problem persists, please post the output returned by --

[code]
[b]ls -l /etc/yum.repos.d/*.repo
grep enabled /etc/yum.repos.d/*.repo[/b]
[/code]

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: impossible to update system centos 6.3

Post by TrevorH » 2013/10/09 13:19:48

[quote]
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
[/quote]

This looks like your DNS name resolution is broken or you are behind a web proxy? If you're behind a proxy then look in `man yum.conf` for information about how to tell yum about your proxy server settings. If your name resolution is broken then you need to fix it!

armel
Posts: 5
Joined: 2013/10/08 21:33:30

Re: impossible to update system centos 6.3

Post by armel » 2013/10/09 18:31:29

Dear Allan,
I have applied the first 3 commands you advise (result below). The third one ends in an error message.
Then I restarted the system update (only 60 updates, instead of the previous 250). Everything goes smoothly, and appear two icons, one of restart and the orange update symbol but barred in black.
I chose the restart button, but the system is now unstable. It boots correctly, the logo is displayed but the cursor stays in the upper part of the screen, so I cannot open a session.
Thaks for your help,
armel, Paris
#sudo yum clean all
[sudo] password for rinpoche:
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: adobe-linux-i386 base epel extras google-chrome rpmforge updates
Cleaning up Everything
Cleaning up list of fastest mirrors
#sudo yum --disableplugin \* --disablerepo epel check-update
http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'linuxdownload.adobe.com'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again
#sudo yum --disableplugin \* --disablerepo epel check-update
http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'linuxdownload.adobe.com'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again
[rinpoche@armel-P5Q3-DELUXE ~]$ sudo yum --disableplugin \* --disablerepo epel
You need to give some command
Usage: yum [options] COMMAND

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: impossible to update system centos 6.3

Post by gerald_clark » 2013/10/09 18:39:11

You have some adobe repo enabled.
Disable all your foreign repos.

armel
Posts: 5
Joined: 2013/10/08 21:33:30

Re: impossible to update system centos 6.3

Post by armel » 2013/10/09 21:06:55

Dear Allan,
unfortunately, my last message mentioned the degraded system condition :
"the system is now unstable. It boots correctly, the logo is displayed but the cursor stays in the upper part of the screen, so I cannot open a session."
The system loading hangs, the screen is empty and black, cursor in left upper corner. The welcome screen for the session doesn't show. No possibility to dialog
with the system, no X11, no line mode.
(of course, I understand that the original problem has evolved in a bad condition, may be due to a partially updated system ?)
best regards,
armel

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: impossible to update system centos 6.3

Post by gerald_clark » 2013/10/09 21:11:14

Try booting to runlevel 3 instead of 5.

armel
Posts: 5
Joined: 2013/10/08 21:33:30

Re: impossible to update system centos 6.3

Post by armel » 2013/10/09 22:30:15

Dear Allan,
OK I started with run level 3 then
#sudo yum update
and the 452 modules were updated without interruption (there were some error messages in the beginning about missing mirrors or repositories)
then reboot and...
the session welcome screen appears !
#rpm -q centos-release
centos-release-6-4.el6.centos.10.i686
This above command shows the update was completed,
best regards, thanks a lot, the case is closed
armel

Post Reply