Package installation configuration corrupted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Package installation configuration corrupted

I installed Fedora 7 a few days ago.  I'm sure other Linux newbies do wild and crazy things and get into trouble too, but I'm not sure what I did to deserve this …

Since yesterday when I try to install software with rpm, a blank message box comes up titled "installing packages", which before as I recall presented information about the installation but now just stays blank FOR A LONG TIME (30 minutes?). The first time it happened I got an interesting dump, which I've appended below.  Subsequently after similar attempts a message box comes up saying "Config error.  Unable to start due to a configuration error." There's a link to details, which turns out to be "None".  

If I use the Add/Remove Software menu item, nothing happens, except a dialog for the root password.  After an age, I get the unhelpful problem message.

I booted with the distribution DVD and chose the "upgrade" option (which promises not to delele my files) hoping that it would overwrite whatever has gone wrong with good stuff.  No such luck.

I'd really apppreciate some hints about how to proceed.

Thanks
Sid

Component: pirut
Summary: TB11af5ff9 grabber.py:1219:_do_grab:OSError: [Errno 2] No such file or directory: '//var/cache/yum/fedora/primary.sqlite.bz2'

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 441, in <module>
    main()
  File "/usr/sbin/pirut", line 434, in main
    pm = PackageManager(options.config, options.onlyrepo)
  File "/usr/sbin/pirut", line 61, in __init__
    GraphicalYumBase.__init__(self, False, config)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 124, in __init__
    self.reset()
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 223, in reset
    self.doTsSetup()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 63, in doTsSetup
    return 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 151, in populate
    db_fn = repo.retrieveMD(mydbtype)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 855, in retrieveMD
    cache=self.http_caching == 'all')
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 618, in _getFile
    http_headers=headers,
  File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 411, in urlgrab
    return self._mirror_try(func, url, kw)
  File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 397, in _mirror_try
    return func_ref( *(fullurl,), **kwargs )
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 927, in urlgrab
    return self._retry(opts, retryfunc, url, filename)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 845, in _retry
    r = apply(func, (opts,) + args, {})
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 915, in retryfunc
    fo._do_grab()
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1219, in _do_grab
    os.utime(self.filename, (modified_stamp, modified_stamp))
OSError: [Errno 2] No such file or directory: '//var/cache/yum/fedora/primary.sqlite.bz2'

Local variables in innermost frame:
self: <urlgrabber.grabber.URLGrabberFileObject instance at 0xfc2998>
amount: None
modified_stamp: 1183492954.0
new_fo: <closed file '//var/cache/yum/fedora/primary.sqlite.bz2', mode 'wb' at 0xfb67b0>
bs: 8192
modified_tuple: (2007, 7, 3, 20, 2, 34, 0, 1, 0, 0)
ValueError: unpack non-sequence
block:
size: 4955910



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux