#595462 synaptic: adding a CD to the sources.list from the menu-bar fails

Package:
synaptic
Source:
synaptic
Description:
Graphical package manager
Submitter:
markus tornow
Date:
2010-09-04 07:03:05 UTC
Severity:
normal
#595462#5
Date:
2010-09-04 07:00:52 UTC
From:
To:
When choosing <add cdrom> from the menu-bar of synaptic it reports it can't
mount the cdrom. Adding it from the command-line works.

$ Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 97, in <module>
    if not indexer.setupIndexing(force=opts.force):
  File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 437, in
setupIndexing
    self.readPlugins(langs=self.langs, progress=self.progress)
  File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 419, in readPlugins
    addon = Addon(fullname, **kw)
  File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 57, in __init__
    self.info = self.obj.info()
  File "/usr/share/apt-xapian-index/plugins/descriptions.py", line 27, in info
    return dict(timestamp = os.path.getmtime(fname))
  File "/usr/lib/python2.6/genericpath.py", line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: '/var/cache/apt/pkgcache.bin'

[1]+  Done                    gksu synaptic