Re: [CentOS] Can't update
Thank's 2017-11-16 16:57 GMT+00:00 Ulf Volmer: > On 16.11.2017 17:17, Ilyass Kaouam wrote: > >> On 16.11.2017 16:03, Ilyass Kaouam wrote: > >> > >>> yum update > >>> Traceback (most recent call last): > >> > >> Hard to guess with this limited information. Usually this means either > >> your yum or your python installation is broken. > >> > >> Are you using RPMs from outside of the CentOS or EPEL repos? Manually > >> installed python versions? Manually installed python modules? > > > python-libs-2.6.6-64.el6.x86_64 > > Please do not top post. > > As far as i can see in your list, several RPMs are not from official > sources. And your version numbers are quite old (from 2015 if i remember > correctly). > > Maybe it will be easier to do a fresh installation instead of debugging > your current one. > > best regards > Ulf > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > -- ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update
On 16.11.2017 17:17, Ilyass Kaouam wrote: >> On 16.11.2017 16:03, Ilyass Kaouam wrote: >> >>> yum update >>> Traceback (most recent call last): >> >> Hard to guess with this limited information. Usually this means either >> your yum or your python installation is broken. >> >> Are you using RPMs from outside of the CentOS or EPEL repos? Manually >> installed python versions? Manually installed python modules? > python-libs-2.6.6-64.el6.x86_64 Please do not top post. As far as i can see in your list, several RPMs are not from official sources. And your version numbers are quite old (from 2015 if i remember correctly). Maybe it will be easier to do a fresh installation instead of debugging your current one. best regards Ulf ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update
Thank you for your response. # python -V Python 2.6.6 # rpm -qa|grep python gnome-python2-bonobo-2.28.0-3.el6.x86_64 gnome-python2-extras-2.25.3-20.el6.x86_64 python-setuptools-0.6.10-3.el6.noarch python-unittest2-0.5.1-3.el6.noarch gnome-python2-gconf-2.28.0-3.el6.x86_64 python-psycopg2-2.6-1.rhel6.x86_64 python-feedparser-5.1.2-2.el6.noarch python-iwlib-0.1-1.2.el6.x86_64 python-mock-0.8.0-2.el6.noarch python-imaging-1.1.6-19.el6.x86_64 python-libs-2.6.6-64.el6.i686 dbus-python-0.83.0-6.1.el6.x86_64 python-docutils-0.6-1.el6.noarch python-dateutil-1.4.1-6.el6.noarch gnome-python2-desktop-2.28.0-5.el6.x86_64 python-matplotlib-0.99.1.2-1.el6.x86_64 gnome-python2-2.28.0-3.el6.x86_64 gnome-python2-applet-2.28.0-5.el6.x86_64 newt-python-0.52.11-3.el6.x86_64 python-iniparse-0.3.1-2.1.el6.noarch python-gdata-2.0.11-1.el6.noarch python-chardet-2.2.1-1.el6.noarch python-markupsafe-0.9.2-4.el6.x86_64 python-urlgrabber-3.9.1-11.el6.noarch python-suds-0.4.1-3.el6.noarch python-psutil-0.6.1-1.el6.x86_64 libxslt-python-1.1.26-2.el6_3.1.x86_64 python-jinja2-2.2.1-2.el6_5.x86_64 gnome-python2-gnome-2.28.0-3.el6.x86_64 python-passlib-1.5.3-1.el6.noarch hippo-canvas-python-0.3.0-6.el6.x86_64 python-beaker-1.3.1-7.el6.noarch python-ethtool-0.6-5.el6.x86_64 python-nose-0.10.4-3.1.el6.noarch python-lxml-2.2.3-1.1.el6.x86_64 python-vobject-0.8.1c-5.el6.noarch python-yaml-3.09-3.el6.rf.x86_64 python-libs-2.6.6-64.el6.x86_64 python-mako-0.3.4-1.el6.noarch python-requests-2.6.0-3.el6.noarch python-devel-2.6.6-64.el6.x86_64 rpm-python-4.8.0-55.el6.x86_64 python-backports-ssl_match_hostname-3.4.0.2-4.el6.centos.noarch python-reportlab-2.3-3.el6.x86_64 python-six-1.9.0-2.el6.noarch python-babel-0.9.4-5.1.el6.noarch gnome-python2-canvas-2.28.0-3.el6.x86_64 python-vatnumber-1.0-1.el6.noarch gnome-python2-gnomevfs-2.28.0-3.el6.x86_64 at-spi-python-1.28.1-2.el6.centos.x86_64 python-simplejson-2.0.9-3.1.el6.x86_64 python-werkzeug-0.8.3-2.el6.noarch python-tools-2.6.6-64.el6.x86_64 python-urllib3-1.10.2-1.el6.noarch libxml2-python-2.7.6-21.el6_8.1.x86_64 python-pycurl-7.19.0-9.el6.x86_64 python-decorator-3.0.1-3.1.el6.noarch python-openid-2.2.5-7.el6.noarch python-2.6.6-64.el6.x86_64 gnome-python2-libegg-2.25.3-20.el6.x86_64 python-ldap-2.3.10-1.el6.x86_64 libproxy-python-0.3.0-10.el6.x86_64 python-backports-1.0-5.el6.x86_64 gnome-python2-libwnck-2.28.0-5.el6.x86_64 2017-11-16 16:11 GMT+00:00 Ulf Volmer: > On 16.11.2017 16:03, Ilyass Kaouam wrote: > > > yum update > > Traceback (most recent call last): > > Hard to guess with this limited information. Usually this means either > your yum or your python installation is broken. > > Are you using RPMs from outside of the CentOS or EPEL repos? Manually > installed python versions? Manually installed python modules? > > best regards > Ulf Volmer > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update
On 16.11.2017 16:03, Ilyass Kaouam wrote: > yum update > Traceback (most recent call last): Hard to guess with this limited information. Usually this means either your yum or your python installation is broken. Are you using RPMs from outside of the CentOS or EPEL repos? Manually installed python versions? Manually installed python modules? best regards Ulf Volmer ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Can't update
Hi, I can't do update: yum update Traceback (most recent call last): File "/usr/bin/yum", line 29, in yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 298, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 110, in main base = cli.YumBaseCli() File "/usr/share/yum-cli/cli.py", line 72, in __init__ output.YumOutput.__init__(self) File "/usr/share/yum-cli/output.py", line 307, in __init__ self.reported_error_msgs = dict((k, False) for (k, v) in ERRORS_TO_KBASE_ARTICLES.iteritems()) NameError: global name 'ERRORS_TO_KBASE_ARTICLES' is not defined Any suggestion ? Thank's ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update CENTOS - mirrore issue? or what?
On 05/20/2010 09:57 PM, Ryan Manikowski wrote: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5arch=i386repo=addons error was [Errno 4] IOError:urlopen error (-3, 'Temporary failure in name resolution') Error: Cannot find a valid baseurl for repo: addons Disable the 'addons' repo and your problem will be resolved. That sounds like a bit of very random advice, given that Dave's dns is not responding - how would disabling the addons repo have an impact on Dave's nameserver ? - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update CENTOS - mirrore issue? or what?
Perhaps he has an invalid URL specified only for addons and not base/updates? thanks, -Drew -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Karanbir Singh Sent: Monday, May 24, 2010 3:17 PM To: CentOS mailing list Subject: Re: [CentOS] can't update CENTOS - mirrore issue? or what? On 05/20/2010 09:57 PM, Ryan Manikowski wrote: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5arch=i386repo=addons error was [Errno 4] IOError:urlopen error (-3, 'Temporary failure in name resolution') Error: Cannot find a valid baseurl for repo: addons Disable the 'addons' repo and your problem will be resolved. That sounds like a bit of very random advice, given that Dave's dns is not responding - how would disabling the addons repo have an impact on Dave's nameserver ? - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update CENTOS - mirrore issue? or what?
Quoting Karanbir Singh mail-li...@karan.org: On 05/20/2010 09:57 PM, Ryan Manikowski wrote: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5arch=i386repo=addons error was [Errno 4] IOError:urlopen error (-3, 'Temporary failure in name resolution') Error: Cannot find a valid baseurl for repo: addons Disable the 'addons' repo and your problem will be resolved. That sounds like a bit of very random advice, given that Dave's dns is not responding - how would disabling the addons repo have an impact on Dave's nameserver ? - KB well I did disable addons and then was able to do the update. Then when I checked for available updates I got only three showing, all listed as epel. For the moment those updates are of no special importance so I'm happy to deal with other problems. Nonetheless I remained puzzled by both the original problem and the fix. Dave ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- It is no measure of health to be well adjusted to a profoundly sick society. Krishnamurti ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update CENTOS - mirrore issue? or what?
On 05/24/2010 08:26 PM, Drew Weaver wrote: Perhaps he has an invalid URL specified only for addons and not base/updates? look at the error, specially the bit where it says 'Temporary failure in name resolution' And please dont top post, its not like you are new to mailing lists - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] can't update CENTOS - mirrore issue? or what?
For about a week a biug stack of updates have been pending for CENTOS but I can't install them. The yum update command leads to dependency resolution in the usual way but it always ends in this: --- Package poppler-utils.i386 0:0.5.4-4.4.el5_4.11 set to be updated --- Package xorg-x11-drv-qxl.i386 0:0.0.12-1.2.el5 set to be updated -- Running transaction check -- Processing Dependency: gmime = 2.2.10-5.el5.centos for package: gmime-sharp --- Package java-1.6.0-openjdk.i386 1:1.6.0.0-1.7.b09.el5 set to be updated http://linux.mirrors.es.net/fedora-epel/5/i386/repodata/0a2db1a48154104f63a81022653699a425c794c3-filelists.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found Trying other mirror. http://www.muug.mb.ca/pub/epel/5/i386/repodata/0a2db1a48154104f63a81022653699a425c794c3-filelists.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found Trying other mirror. [...and about another thirty lines with some intended-to-be-helpful suggestions that don't work.] At first I thought it might just be that the mirrors were busy with lotsa downloads but as time goes by this is a progressively less and less satisfactory situation. Does anyone else have this problem? or a suggestion? TIA, Dave -- It is no measure of health to be well adjusted to a profoundly sick society. Krishnamurti ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update CENTOS - mirrore issue? or what?
On Thu, 2010-05-20 at 11:18 -0700, Dave Stevens wrote: For about a week a biug stack of updates have been pending for CENTOS but I can't install them. The yum update command leads to dependency resolution in the usual way but it always ends in this: --- Package poppler-utils.i386 0:0.5.4-4.4.el5_4.11 set to be updated --- Package xorg-x11-drv-qxl.i386 0:0.0.12-1.2.el5 set to be updated -- Running transaction check -- Processing Dependency: gmime = 2.2.10-5.el5.centos for package: gmime-sharp --- Package java-1.6.0-openjdk.i386 1:1.6.0.0-1.7.b09.el5 set to be updated http://linux.mirrors.es.net/fedora-epel/5/i386/repodata/0a2db1a48154104f63a81022653699a425c794c3-filelists.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found Trying other mirror. http://www.muug.mb.ca/pub/epel/5/i386/repodata/0a2db1a48154104f63a81022653699a425c794c3-filelists.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found Trying other mirror. [...and about another thirty lines with some intended-to-be-helpful suggestions that don't work.] At first I thought it might just be that the mirrors were busy with lotsa downloads but as time goes by this is a progressively less and less satisfactory situation. Does anyone else have this problem? or a suggestion? --- One that's an EPEL Problem Two Disable the EPEL Repo then try. yum update --disablerepo=\*epel John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update CENTOS - mirrore issue? or what?
Dave wrote: For about a week a biug stack of updates have been pending for CENTOS but I can't install them. The yum update command leads to dependency resolution in the usual way but it always ends in this: --- Package poppler-utils.i386 0:0.5.4-4.4.el5_4.11 set to be updated --- Package xorg-x11-drv-qxl.i386 0:0.0.12-1.2.el5 set to be updated -- Running transaction check -- Processing Dependency: gmime = 2.2.10-5.el5.centos for package: gmime-sharp --- Package java-1.6.0-openjdk.i386 1:1.6.0.0-1.7.b09.el5 set to be updated http://linux.mirrors.es.net/fedora-epel/5/i386/repodata/0a2db1a48154104f63a81022653699a425c794c3-filelists.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found Trying other mirror. snip I see it's trying to get a file list. I started upgrading this week, and get the occasional pkgKey not found. You might try what I found as the answer: yum clean all, yum clean metadata. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update CENTOS - mirrore issue? or what?
Quoting m.r...@5-cent.us: Dave wrote: For about a week a biug stack of updates have been pending for CENTOS but I can't install them. The yum update command leads to dependency resolution in the usual way but it always ends in this: --- Package poppler-utils.i386 0:0.5.4-4.4.el5_4.11 set to be updated --- Package xorg-x11-drv-qxl.i386 0:0.0.12-1.2.el5 set to be updated -- Running transaction check -- Processing Dependency: gmime = 2.2.10-5.el5.centos for package: gmime-sharp --- Package java-1.6.0-openjdk.i386 1:1.6.0.0-1.7.b09.el5 set to be updated http://linux.mirrors.es.net/fedora-epel/5/i386/repodata/0a2db1a48154104f63a81022653699a425c794c3-filelists.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found Trying other mirror. snip I see it's trying to get a file list. I started upgrading this week, and get the occasional pkgKey not found. You might try what I found as the answer: yum clean all, yum clean metadata. mark well, I'm now much better off in consequence of disabling epel, 179 updates went through just fine. the cleanup with yum didn't seem to have the desired effect: [r...@cserver admin]# yum check-update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * addons: ftp.telus.net * base: ftp.telus.net * epel: linux.mirrors.es.net * extras: ftp.telus.net * updates: ftp.telus.net gmime.i386 2.2.25-1.el5 epel wxBase.i386 2.8.11-1.el5 epel wxGTK.i386 2.8.11-1.el5 epel [r...@cserver admin]# yum clean all Loaded plugins: fastestmirror, priorities Cleaning up Everything Cleaning up list of fastest mirrors [r...@cserver admin]# yum clean metadata Loaded plugins: fastestmirror, priorities 0 metadata files removed 0 sqlite files removed 0 metadata files removed [r...@cserver admin]# yum update Loaded plugins: fastestmirror, priorities Determining fastest mirrors Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5arch=i386repo=addons error was [Errno 4] IOError: urlopen error (-3, 'Temporary failure in name resolution') Error: Cannot find a valid baseurl for repo: addons [r...@cserver admin]# so definite progress but not quite there yet. thanks for the help. Dave ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- It is no measure of health to be well adjusted to a profoundly sick society. Krishnamurti ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update CENTOS - mirrore issue? or what?
On 5/20/2010 4:32 PM, Dave Stevens wrote: Quoting m.r...@5-cent.us: Dave wrote: For about a week a biug stack of updates have been pending for CENTOS but I can't install them. The yum update command leads to dependency resolution in the usual way but it always ends in this: --- Package poppler-utils.i386 0:0.5.4-4.4.el5_4.11 set to be updated --- Package xorg-x11-drv-qxl.i386 0:0.0.12-1.2.el5 set to be updated -- Running transaction check -- Processing Dependency: gmime = 2.2.10-5.el5.centos for package: gmime-sharp --- Package java-1.6.0-openjdk.i386 1:1.6.0.0-1.7.b09.el5 set to be updated http://linux.mirrors.es.net/fedora-epel/5/i386/repodata/0a2db1a48154104f63a81022653699a425c794c3-filelists.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found Trying other mirror. snip I see it's trying to get a file list. I started upgrading this week, and get the occasional pkgKey not found. You might try what I found as the answer: yum clean all, yum clean metadata. mark well, I'm now much better off in consequence of disabling epel, 179 updates went through just fine. the cleanup with yum didn't seem to have the desired effect: [r...@cserver admin]# yum check-update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * addons: ftp.telus.net * base: ftp.telus.net * epel: linux.mirrors.es.net * extras: ftp.telus.net * updates: ftp.telus.net gmime.i386 2.2.25-1.el5 epel wxBase.i386 2.8.11-1.el5 epel wxGTK.i386 2.8.11-1.el5 epel [r...@cserver admin]# yum clean all Loaded plugins: fastestmirror, priorities Cleaning up Everything Cleaning up list of fastest mirrors [r...@cserver admin]# yum clean metadata Loaded plugins: fastestmirror, priorities 0 metadata files removed 0 sqlite files removed 0 metadata files removed [r...@cserver admin]# yum update Loaded plugins: fastestmirror, priorities Determining fastest mirrors Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5arch=i386repo=addons error was [Errno 4] IOError: urlopen error (-3, 'Temporary failure in name resolution') Error: Cannot find a valid baseurl for repo: addons [r...@cserver admin]# so definite progress but not quite there yet. thanks for the help. Dave ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Disable the 'addons' repo and your problem will be resolved. -- Ryan Manikowski r...@devision.us | 716.771.2282 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] can't update python ?...@#@?
is this a known issue? # yum update py\* Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: download.srv.ro * updates: download.srv.ro * addons: download.srv.ro * extras: download.srv.ro Skipping security plugin, no data Setting up Update Process Resolving Dependencies Skipping security plugin, no data -- Running transaction check --- Package python.i386 0:2.4.3-24.el5_3.6 set to be updated Traceback (most recent call last): File /usr/bin/yum, line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File /usr/share/yum-cli/yummain.py, line 229, in user_main errcode = main(args) File /usr/share/yum-cli/yummain.py, line 145, in main (result, resultmsgs) = base.buildTransaction() File /usr/lib/python2.4/site-packages/yum/__init__.py, line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 704, in resolveDeps for po, dep in self._checkFileRequires(): File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 939, in _checkFileRequires if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename): File /usr/lib/python2.4/site-packages/yum/transactioninfo.py, line 414, in getNewProvides for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems(): File /usr/lib/python2.4/site-packages/yum/packageSack.py, line 300, in getProvides return self._computeAggregateDictResult(getProvides, name, flags, version) File /usr/lib/python2.4/site-packages/yum/packageSack.py, line 470, in _computeAggregateDictResult sackResult = apply(method, args) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 861, in getProvides return self._search(provides, name, flags, version) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 43, in newFunc return func(*args, **kwargs) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 837, in _search for pkg in self.searchFiles(name, strict=True): File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 43, in newFunc return func(*args, **kwargs) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 68, in __init__ self._read_db_obj(db_obj) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object -- Linux counter #213090 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update python ?...@#@?
On Mon, Oct 12, 2009 at 1:51 AM, cornel panceac cpanc...@gmail.com wrote: is this a known issue? # yum update py\* Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: download.srv.ro * updates: download.srv.ro * addons: download.srv.ro * extras: download.srv.ro Skipping security plugin, no data Setting up Update Process Resolving Dependencies Skipping security plugin, no data -- Running transaction check --- Package python.i386 0:2.4.3-24.el5_3.6 set to be updated Traceback (most recent call last): File /usr/bin/yum, line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File /usr/share/yum-cli/yummain.py, line 229, in user_main errcode = main(args) File /usr/share/yum-cli/yummain.py, line 145, in main (result, resultmsgs) = base.buildTransaction() File /usr/lib/python2.4/site-packages/yum/__init__.py, line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 704, in resolveDeps for po, dep in self._checkFileRequires(): File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 939, in _checkFileRequires if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename): File /usr/lib/python2.4/site-packages/yum/transactioninfo.py, line 414, in getNewProvides for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems(): File /usr/lib/python2.4/site-packages/yum/packageSack.py, line 300, in getProvides return self._computeAggregateDictResult(getProvides, name, flags, version) File /usr/lib/python2.4/site-packages/yum/packageSack.py, line 470, in _computeAggregateDictResult sackResult = apply(method, args) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 861, in getProvides return self._search(provides, name, flags, version) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 43, in newFunc return func(*args, **kwargs) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 837, in _search for pkg in self.searchFiles(name, strict=True): File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 43, in newFunc return func(*args, **kwargs) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 68, in __init__ self._read_db_obj(db_obj) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object -- Linux counter #213090 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Try running yum clean all and then try it again. However, you need to careful since none of your repositories appear to be bona fida CentOS repositories (just by looking at the name.) A slightly different version of python may create havoc when trying to upgrade other packages with python dependencies. I don't have the trailing _3.6 on mine which makes me suspicious that it might *not* be the correct version - but I might be wrong about that. Also, all my packages end with .i386 instead of _3.6. -- Enjoy global warming while it lasts. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update python ?...@#@?
Try running yum clean all and then try it again. However, you need to careful since none of your repositories appear to be bona fida CentOS repositories (just by looking at the name.) A slightly different version of python may create havoc when trying to upgrade other packages with python dependencies. I don't have the trailing _3.6 on mine which makes me suspicious that it might *not* be the correct version - but I might be wrong about that. Also, all my packages end with .i386 instead of _3.6. that's interesting, because my Centos-Base.repo looks like the attached file. -- Linux counter #213090 # cat * # CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 #packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 #contrib - packages by Centos Users [contrib] name=CentOS-$releasever - Contrib mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=contrib #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 # CentOS-Media.repo # # This repo is used to mount the default locations for a CDROM / DVD on # CentOS-5. You can use this repo and yum to install items directly off the # DVD ISO that we release. # # To use this repo, put in your DVD and use it with the other repos too: # yum --enablerepo=c5-media [command] # # or for ONLY the media repo, do this: # # yum --disablerepo=\* --enablerepo=c5-media [command] [c5-media] name=CentOS-$releasever - Media baseurl=file:///media/CentOS/ file:///media/cdrom/ file:///media/cdrecorder/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update python ?...@#@?
2009/10/12 cornel panceac cpanc...@gmail.com Try running yum clean all and then try it again. However, you need to careful since none of your repositories appear to be bona fida CentOS repositories (just by looking at the name.) A slightly different version of python may create havoc when trying to upgrade other packages with python dependencies. I don't have the trailing _3.6 on mine which makes me suspicious that it might *not* be the correct version - but I might be wrong about that. Also, all my packages end with .i386 instead of _3.6. that's interesting, because my Centos-Base.repo looks like the attached file. btw, here's # yum check-update Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: download.srv.ro * updates: download.srv.ro * addons: download.srv.ro * extras: download.srv.ro Skipping security plugin, no data python.i386 2.4.3-24.el5_3.6 updates so maybe the mirror is compromised . -- Linux counter #213090 -- Linux counter #213090 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't update python ?...@#@?
2009/10/12 cornel panceac cpanc...@gmail.com 2009/10/12 cornel panceac cpanc...@gmail.com Try running yum clean all and then try it again. However, you need to careful since none of your repositories appear to be bona fida CentOS repositories (just by looking at the name.) A slightly different version of python may create havoc when trying to upgrade other packages with python dependencies. I don't have the trailing _3.6 on mine which makes me suspicious that it might *not* be the correct version - but I might be wrong about that. Also, all my packages end with .i386 instead of _3.6. that's interesting, because my Centos-Base.repo looks like the attached file. btw, here's # yum check-update Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: download.srv.ro * updates: download.srv.ro * addons: download.srv.ro * extras: download.srv.ro Skipping security plugin, no data python.i386 2.4.3-24.el5_3.6 updates so maybe the mirror is compromised . eventually, disabling fastestmirror 'fixed' the problem. is there an easy way to find out which mirror was used to install python from? meanwhile, the fun continues as in the attached file :) -- Linux counter #213090 # yum remove yum-fastestmirror Loaded plugins: fastestmirror, security Setting up Remove Process Resolving Dependencies -- Running transaction check --- Package yum-fastestmirror.noarch 0:1.1.16-13.el5.centos set to be erased -- Processing Dependency: yum-fastestmirror for package: yum -- Running transaction check --- Package yum.noarch 0:3.2.19-18.el5.centos set to be erased -- Processing Dependency: yum = 3.2.19-16 for package: yum-utils -- Processing Dependency: yum = 3.2.0 for package: yum-updatesd -- Processing Dependency: yum = 3.2.18 for package: yum-security -- Processing Dependency: yum = 3.2.5-2 for package: pirut -- Running transaction check --- Package yum-updatesd.noarch 1:0.9-2.el5 set to be erased --- Package yum-utils.noarch 0:1.1.16-13.el5.centos set to be erased --- Package yum-security.noarch 0:1.1.16-13.el5.centos set to be erased --- Package pirut.noarch 0:1.3.28-13.el5.centos set to be erased -- Finished Dependency Resolution Dependencies Resolved PackageArchVersionRepository Size Removing: yum-fastestmirror noarch 1.1.16-13.el5.centos installed 47 k Removing for dependencies: pirut noarch 1.3.28-13.el5.centos installed 1.4 M yumnoarch 3.2.19-18.el5.centos installed 3.1 M yum-security noarch 1.1.16-13.el5.centos installed 60 k yum-updatesd noarch 1:0.9-2.el5installed 55 k yum-utils noarch 1.1.16-13.el5.centos installed 189 k Transaction Summary Install 0 Package(s) Update 0 Package(s) Remove 6 Package(s) Is this ok [y/N]: ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Can't update CentOS 5.2
Hi, I've just installed a fresh CentOS 5.2 Now, I run yum update and I get: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5arch=i386repo=os error was [Errno 4] IOError: urlopen error (110, 'Connection timed out') Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again I have Internet connection, but I cant ping mirrorlist.centos.org and http://mirrorlist.centos.org/?release=5arch=i386repo=os just stalls. Is there another mirror list and if so, how do I configure it ? Any help would be appreciated. Warm Regards, -- :wq! Mário Gamito ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update CentOS 5.2
Hi, Le samedi 10 janvier 2009, Mário Gamito a écrit : I have Internet connection, but I cant ping mirrorlist.centos.org and http://mirrorlist.centos.org/?release=5arch=i386repo=os just stalls. Ping works for me. Perhaps you have to retry. Regards. Alain -- Les pages de manuel Linux en français http://manpagesfr.free.fr/ signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update CentOS 5.2
Alain PORTAL wrote: Hi, Le samedi 10 janvier 2009, Mário Gamito a écrit : I have Internet connection, but I cant ping mirrorlist.centos.org and http://mirrorlist.centos.org/?release=5arch=i386repo=os just stalls. Ping works for me. Perhaps you have to retry. I can ping it also, but nothing happens after :( Warm Regards, -- :wq! Mário Gamito ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update CentOS 5.2
On Saturday 10 January 2009 12:45:13 Mário Gamito wrote: Alain PORTAL wrote: Hi, Le samedi 10 janvier 2009, Mário Gamito a écrit : I have Internet connection, but I cant ping mirrorlist.centos.org and http://mirrorlist.centos.org/?release=5arch=i386repo=os just stalls. Ping works for me. Perhaps you have to retry. I can ping it also, but nothing happens after :( Warm Regards, There seems to be a problem with mirrorlist From here in Ireland. [r...@nogs ~]# ping mirrorlist.centos.org PING mirrorlist.centos.org (72.21.40.11) 56(84) bytes of data. --- mirrorlist.centos.org ping statistics --- 22 packets transmitted, 0 received, 100% packet loss, time 21082ms Tony -- Dept. of Comp. Sci. University of Limerick. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update CentOS 5.2
Mário Gamito wrote on Sat, 10 Jan 2009 12:22:52 +: I have Internet connection, but I cant ping mirrorlist.centos.org and http://mirrorlist.centos.org/?release=5arch=i386repo=os just stalls. there's likely something misconfigured in your network, dns, firewall, NAT .. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update CentOS 5.2
Hi, Isn't there another repo one can manually configure ? Warm regards, Mário Gamito Kai Schaetzl wrote: Mário Gamito wrote on Sat, 10 Jan 2009 12:22:52 +: I have Internet connection, but I cant ping mirrorlist.centos.org and http://mirrorlist.centos.org/?release=5arch=i386repo=os just stalls. there's likely something misconfigured in your network, dns, firewall, NAT .. Kai -- :wq! Mário Gamito Key Fingerprint: 0x04DA9BC9 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update CentOS 5.2
From here in Ireland. [r...@nogs ~]# ping mirrorlist.centos.org PING mirrorlist.centos.org (72.21.40.11) 56(84) bytes of data. --- mirrorlist.centos.org ping statistics --- 22 packets transmitted, 0 received, 100% packet loss, time 21082ms Tony Same here in London ... [r...@nexus ~]# yum update Loading fastestmirror plugin Loading priorities plugin Determining fastest mirrors * rpmforge: ftp-stud.fht-esslingen.de Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5arch=i386repo=os error was [Errno 12] Timeout: urlopen error timed out Error: Cannot find a valid baseurl for repo: base [r...@nexus ~]# telnet 72.21.40.11 80 Trying 72.21.40.11... telnet: connect to address 72.21.40.11: Connection timed out telnet: Unable to connect to remote host: Connection timed out [r...@nexus ~]# ping 72.21.40.11 PING 72.21.40.11 (72.21.40.11) 56(84) bytes of data. --- 72.21.40.11 ping statistics --- 7 packets transmitted, 0 received, 100% packet loss, time 6001ms [r...@nexus ~]# traceroute 72.21.40.11 traceroute to 72.21.40.11 (72.21.40.11), 30 hops max, 40 byte packets snip 9 kar1-ge-5-0-0.NewYork.savvis.net (206.24.193.197) 112.123 ms 114.100 ms 118.666 ms 10 cr2-ge-0-7-5-5.newyork.savvis.net (204.70.193.54) 139.362 ms 140.182 ms cr1-gig-0-7-5-5.NewYork.savvis.net (204.70.193.2) 136.317 ms 11 cr2-tengig0-7-0-0.dallas.savvis.net (204.70.196.214) 153.560 ms cr2-tengig0-0-2-0.dallas.savvis.net (204.70.196.210) 155.533 ms cr2-tengig0-7-0-0.dallas.savvis.net (204.70.196.214) 154.956 ms 12 hr1-tengig-12-0-0.dallasda1.savvis.net (204.70.203.58) 141.928 ms 171.916 ms 151.423 ms 13 216.39.79.98 (216.39.79.98) 152.406 ms 152.611 ms 152.858 ms 14 * * * 15 * * * 16 * * * 17 * * * snip But it works fine from my work network which is on JANET... Looks like there's a routing issue somewhere... D ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update CentOS 5.2 (SOLVED)
Hi, I solved the problem. Just edited file /etc/yum.repos.d/CentOS-Base.repo and added cc=pt at the end of each repo. Like: repo=extrascc=pt Thus, I get a Portuguese repo. This can be made with all the countrie's TLD. They're using GEO-IP for about 100 repositories. We can override the system like I did. Warm Regards, Mário Gamito Mário Gamito wrote: Hi, Isn't there another repo one can manually configure ? Warm regards, Mário Gamito Kai Schaetzl wrote: Mário Gamito wrote on Sat, 10 Jan 2009 12:22:52 +: I have Internet connection, but I cant ping mirrorlist.centos.org and http://mirrorlist.centos.org/?release=5arch=i386repo=os just stalls. there's likely something misconfigured in your network, dns, firewall, NAT .. Kai ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update CentOS 5.2
Mário Gamito wrote on Sat, 10 Jan 2009 13:41:42 +: Isn't there another repo one can manually configure ? I would just wait until it's fixed. (It's fixed now!) Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can't update CentOS 5.2
Mário Gamito wrote: Hi, I've just installed a fresh CentOS 5.2 Now, I run yum update and I get: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5arch=i386repo=os error was [Errno 4] IOError: urlopen error (110, 'Connection timed out') One of the mirrorlist servers has been down today (but now works again). If you happen to hit the bad one, the above can happen. Cheers, Ralph pgpvyXdsGaBfl.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos