FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-03-2007, 02:31 PM
"John Pierce"
 
Default Yum problem

Hello all,

I installed the x86_64 on my athlon 64 X2 and everything worked fine
until I did the yum update.

I had installed several packages without a problem, then I ran yum
update and now when I try to install
any package I get hundreds of these lines:

File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 1941, in install
self.install(po=obsoleting_pkg)

Followed by this:

File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 1940, in install
obsoleting_pkg = self.getPackageObject(obsoleting)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 1648,
in getPackageObject
pkgs = self.pkgSack.searchPkgTuple(pkgtup)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 526, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 362,
in _getSacks
if self._pkgSack and thisrepo is None:
File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 29,
in __len__
return len(self.simplePkgList())
File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line
328, in simplePkgList
return self._computeAggregateListResult("simplePkgList")
File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line
378, in _computeAggregateListResult
sackResult = apply(method, args)
File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 655,
in simplePkgList
if not self.pkglist == None:
RuntimeError: maximum recursion depth exceeded in cmp

I have removed yum, and reinstalled it and still the problem persists.

I have no idea what the problem is.

I appreciate any thoughts or ideas.

--
John
Registered Linux User 263680, get counted at
http://counter.li.org

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-03-2007, 04:23 PM
"John Pierce"
 
Default Yum problem

On Dec 3, 2007 9:31 AM, John Pierce <john.j35@gmail.com> wrote:
> Hello all,
>
> I installed the x86_64 on my athlon 64 X2 and everything worked fine
> until I did the yum update.
>
> I had installed several packages without a problem, then I ran yum
> update and now when I try to install
> any package I get hundreds of these lines:
>
> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 1941, in install
> self.install(po=obsoleting_pkg)
>
> Followed by this:
>
> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 1940, in install
> obsoleting_pkg = self.getPackageObject(obsoleting)
> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 1648,
> in getPackageObject
> pkgs = self.pkgSack.searchPkgTuple(pkgtup)
> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 526, in <lambda>
> pkgSack = property(fget=lambda self: self._getSacks(),
> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 362,
> in _getSacks
> if self._pkgSack and thisrepo is None:
> File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 29,
> in __len__
> return len(self.simplePkgList())
> File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line
> 328, in simplePkgList
> return self._computeAggregateListResult("simplePkgList")
> File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line
> 378, in _computeAggregateListResult
> sackResult = apply(method, args)
> File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 655,
> in simplePkgList
> if not self.pkglist == None:
> RuntimeError: maximum recursion depth exceeded in cmp
>
> I have removed yum, and reinstalled it and still the problem persists.
>
> I have no idea what the problem is.
>
> I appreciate any thoughts or ideas.
>

Now my i386 install fails to yum install any package with the following errors:

(process:4622): GLib-CRITICAL **: g_timer_stop: assertion `timer != NULL' failed

(process:4622): GLib-CRITICAL **: g_timer_destroy: assertion `timer !=
NULL' failed
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 105, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 278, in doCommands
self._getTs()
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 77, in _getTs
self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 526, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 381,
in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.5/site-packages/yum/repos.py", line 242, in
populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 167, in populate
dobj = repo_cache_function(xml, csum)
File "/usr/lib/python2.5/site-packages/sqlitecachec.py", line 42, in
getPrimary
self.repoid))
TypeError: Can not create db_info table: database is locked

--
John
Registered Linux User 263680, get counted at
http://counter.li.org

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-03-2007, 04:35 PM
"Michael Schwendt"
 
Default Yum problem

On 03/12/2007, John Pierce <john.j35@gmail.com> wrote:
> On Dec 3, 2007 9:31 AM, John Pierce <john.j35@gmail.com> wrote:
> > Hello all,
> >
> > I installed the x86_64 on my athlon 64 X2 and everything worked fine
> > until I did the yum update.
> >
> > I had installed several packages without a problem, then I ran yum
> > update and now when I try to install
> > any package I get hundreds of these lines:

> > RuntimeError: maximum recursion depth exceeded in cmp

> TypeError: Can not create db_info table: database is locked

Have you tried "yum clean metadata" yet?

Also, if you are somebody who reboots often, you might want to
disable/remove yum-cron in case it is installed.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-03-2007, 04:55 PM
"John Pierce"
 
Default Yum problem

>
> Have you tried "yum clean metadata" yet?

I have now tried yum clean metadata and dbcache as well, still no joy.

>
> Also, if you are somebody who reboots often, you might want to
> disable/remove yum-cron in case it is installed.

I reboot only when absolutely necessary, usually the odd kernel update.

My mythtv be/fe had been running for over 100 days, my laptop reboots more
often.


--
John
Registered Linux User 263680, get counted at
http://counter.li.org

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-27-2009, 06:43 AM
Mad Unix
 
Default yum problem

Hi all

Am trying to update my system Cento

root@king Tue Jan 27 ~ $ yum update
Loading "fastestmirror" plugin
Determining fastest mirrors
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: base

root@king Tue Jan 27 ~ $ uname -a
Linux king 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:42:41 EDT 2008
x86_64 x86_64 x86_64 GNU/Linux


Thanks
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-27-2009, 06:45 AM
James Bensley
 
Default yum problem

Can you surf the web ok? Is it a DNS resolution problem, 'Temporary
failure in name resolution' ?

Have you tried another mirror?


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V-
PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+> DI D+++ G+ e(+++++) h--(++) r++ z++
------END GEEK CODE BLOCK------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-27-2009, 07:02 AM
Mad Unix
 
Default yum problem

On Tue, Jan 27, 2009 at 9:45 AM, James Bensley <jwbensley@gmail.com> wrote:
> Can you surf the web ok? Is it a DNS resolution problem, 'Temporary
> failure in name resolution' ?
>
> Have you tried another mirror?
>
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V-
> PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+> DI D+++ G+ e(+++++) h--(++) r++ z++
> ------END GEEK CODE BLOCK------
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

no, I think the DNS issue, but i have included it in the resolv.conf

root@king Tue Jan 27 ~ $ ftp ftp.centos.org
ftp: ftp.centos.org: unknown host
ftp> quit
root@king Tue Jan 27 ~ $ ftp ftp.freebsd.org
ftp: ftp.freebsd.org: unknown host
ftp>
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-27-2009, 07:48 AM
James Bensley
 
Default yum problem

It doesn't matter if its in resolv.conf you don't seem to have a
working DNS provider.

I would start there, use nslookup, can you solve anything? Check with
your resolv.conf, what name server are you using, can you ping it? Try
another name server?

2009/1/27 Mad Unix <madunix@gmail.com>:
> On Tue, Jan 27, 2009 at 9:45 AM, James Bensley <jwbensley@gmail.com> wrote:
>> Can you surf the web ok? Is it a DNS resolution problem, 'Temporary
>> failure in name resolution' ?
>>
>> Have you tried another mirror?
>>
>>
>> -----BEGIN GEEK CODE BLOCK-----
>> Version: 3.1
>> GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V-
>> PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+> DI D+++ G+ e(+++++) h--(++) r++ z++
>> ------END GEEK CODE BLOCK------
>> _______________________________________________
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
> no, I think the DNS issue, but i have included it in the resolv.conf
>
> root@king Tue Jan 27 ~ $ ftp ftp.centos.org
> ftp: ftp.centos.org: unknown host
> ftp> quit
> root@king Tue Jan 27 ~ $ ftp ftp.freebsd.org
> ftp: ftp.freebsd.org: unknown host
> ftp>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V-
PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+> DI D+++ G+ e(+++++) h--(++) r++ z++
------END GEEK CODE BLOCK------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-27-2009, 08:04 AM
"Anthony Kamau"
 
Default yum problem

> -----Original Message-----
> From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
> Behalf Of James Bensley
> Sent: Tuesday, 27 January 2009 7:49 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] yum problem
>
> It doesn't matter if its in resolv.conf you don't seem to have a
> working DNS provider.
>
> I would start there, use nslookup, can you solve anything? Check with
> your resolv.conf, what name server are you using, can you ping it? Try
> another name server?
>

If all else fails, then you can use opendns.com - they provide their
services for free!

Cheers,
AK.



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-27-2009, 03:57 PM
Lanny Marcus
 
Default yum problem

On Tue, Jan 27, 2009 at 4:04 AM, Anthony Kamau <akcentos@anroet.com> wrote:
>> -----Original Message-----
>> From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
>> Behalf Of James Bensley
>> Sent: Tuesday, 27 January 2009 7:49 PM
>> To: CentOS mailing list
>> Subject: Re: [CentOS] yum problem
>>
>> It doesn't matter if its in resolv.conf you don't seem to have a
>> working DNS provider.
<snip>
> If all else fails, then you can use opendns.com - they provide their
> services for free!

I second that recommendation. I have been using OpenDns.com for about
six months now. Eliminated all the problems we had, when the DNS
servers at our ISP were down or slow.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 10:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org