Bug 18580 - Fedora 9 is unable to reach repos for updates and etc, internet connection is fine
Summary: Fedora 9 is unable to reach repos for updates and etc, internet connection is...
Status: RESOLVED INVALID
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-17 14:24 UTC by Roquen
Modified: 2011-03-11 14:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roquen 2008-11-17 14:24:56 UTC
Error Type: <type 'exceptions.AttributeError'>
Error Value: 'NoneType' object has no attribute 'repoData'
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2199, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 599, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 507, in dispatch_command
    self.get_updates(filters)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1733, in get_updates
    ygl = self.yumbase.doPackageLists(pkgnarrow='updates')
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 1470, in doPackageLists
    for (n,a,e,v,r) in self.up.getUpdatesList():
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 605, in <lambda>
    up = property(fget=lambda self: self._getUpdates(),
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 490, in _getUpdates
    self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList(), self.pkgSack.simplePkgList())
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 592, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 435, in _getSacks
    self.repos.populateSack(which=repos)
  File : /usr/lib/python2.5/site-packages/yum/repos.py, line 251, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py, line 160, in populate
    if self._check_db_version(repo, mydbtype):
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py, line 217, in _check_db_version
    return repo._check_db_version(mdtype)
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py, line 1120, in _check_db_version
    if repoXML.repoData.has_key(mdtype):
Comment 1 Richard Hughes 2008-11-18 02:23:25 UTC
Could you try the packages here please: http://www.packagekit.org/packages/
Comment 2 Roquen 2008-11-18 11:11:32 UTC
I have tried, here are the results : 
[roquen@localhost ~]$ sudo yum install PackageKit gnome-packagekit
Loaded plugins: refresh-packagekit                                
http://rpm.livna.org/fedora/9.93/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found                                                                 
Trying other mirror.                                                            
http://livna.cat.pdx.edu/fedora/9.93/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found                                                             
Trying other mirror.                                                            
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/9.93/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found                                           
Trying other mirror.                                                            
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/9.93/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found                           
Trying other mirror.                                                            
http://mirror.atrpms.net/livna/fedora/9.93/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found                                                       
Trying other mirror.                                                            
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/9.93/i386/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.            
Trying other mirror.
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    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 104, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 339, in doCommands
    self._getTs(needTsRemove)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 101, in _getTs
    self._getTsInfo(remove_only)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 112, in _getTsInfo
    pkgSack = self.pkgSack
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 592, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 435, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.5/site-packages/yum/repos.py", line 251, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 160, in populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 217, in _check_db_version
    return repo._check_db_version(mdtype)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 1120, in _check_db_version
    if repoXML.repoData.has_key(mdtype):
AttributeError: 'NoneType' object has no attribute 'repoData'

So I couldn't install it, and I guess I don't have them installed since :
[roquen@localhost ~]$ pkcon get-updates
Error: internal-error : Error Type: <type 'exceptions.AttributeError'>
Error Value: 'NoneType' object has no attribute 'repoData'            
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in <module>
    main()                                                                      
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2199, in main    
    backend.dispatcher(sys.argv[1:])                                            
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 599, in dispatcher                                                                        
    self.dispatch_command(args[0], args[1:])                                    
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 507, in dispatch_command                                                                  
    self.get_updates(filters)                                                   
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1733, in get_updates                                                                             
    ygl = self.yumbase.doPackageLists(pkgnarrow='updates')                      
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 1470, in doPackageLists                                                                         
    for (n,a,e,v,r) in self.up.getUpdatesList():                                
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 605, in <lambda>
    up = property(fget=lambda self: self._getUpdates(),                         
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 490, in _getUpdates                                                                             
    self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList(), self.pkgSack.simplePkgList())                                                               
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 592, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),                      
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 435, in _getSacks                                                                               
    self.repos.populateSack(which=repos)                                        
  File : /usr/lib/python2.5/site-packages/yum/repos.py, line 251, in populateSack                                                                               
    sack.populate(repo, mdtype, callback, cacheonly)                            
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py, line 160, in populate 
    if self._check_db_version(repo, mydbtype):                                  
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py, line 217, in _check_db_version                                                                        
    return repo._check_db_version(mdtype)                                       
  File : /usr/lib/python2.5/site-packages/yum/yumRepo.py, line 1120, in _check_db_version                                                                       
    if repoXML.repoData.has_key(mdtype):   
Comment 3 Richard Hughes 2008-12-12 03:54:30 UTC
Does this happen with PackageKit 0.3.12?
Comment 4 Jean-François Fortin Tam 2011-03-11 14:15:10 UTC
Closing this bug report as no further information has been provided after more than 6 weeks. Please feel free to reopen this bug if you can provide the information asked for. Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.