Package: software-center
Version: 2.0.7debian7
Severity: normal

Dear Maintainer,

For the past few weeks I have been getting error reports from 
/etc/cron.weekly/apt-xapian-index. When running apt-xapian-index manually the 
backtrace I get is:

# /usr/sbin/update-apt-xapian-index --update --verbose
Reading plugin /usr/share/apt-xapian-index/plugins/aliases.py.
Reading aliases from /usr/share/apt-xapian-index/aliases/popular-apps...
Reading plugin /usr/share/apt-xapian-index/plugins/app-install.py.
Reading plugin /usr/share/apt-xapian-index/plugins/apttags.py.
Reading plugin /usr/share/apt-xapian-index/plugins/cataloged_time.py.
Reading plugin /usr/share/apt-xapian-index/plugins/debtags.py.
Reading plugin /usr/share/apt-xapian-index/plugins/descriptions.py.
Reading plugin /usr/share/apt-xapian-index/plugins/origin.py.
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 97, in <module>
    if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
  File "/usr/lib/pymodules/python2.7/axi/indexer.py", line 466, in setupIndexing
    self.plugins = Plugins(progress=self.progress, system=system)
  File "/usr/lib/pymodules/python2.7/axi/indexer.py", line 89, in __init__
    addon = Addon(fullname, **kw)
  File "/usr/lib/pymodules/python2.7/axi/indexer.py", line 60, in __init__
    self.info = self.obj.info()
  File "/usr/share/apt-xapian-index/plugins/origin.py", line 27, in info
    return dict(timestamp = os.path.getmtime(file))
  File "/usr/lib/python2.7/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'

I have verified that taking '/usr/share/apt-xapian-index/plugins/origin.py' out 
of the equation solves this crash. So it's not an apt-xapian-index bug but a 
software-center one.

Concerning '/var/cache/apt/pkgcache.bin', I have not touched or deleted it 
myself but it's possible that another package upgrade had some impact on it.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages software-center depends on:
ii  app-install-data      2010.11.17     
ii  aptdaemon             0.31+bzr413-1.1
ii  gnome-icon-theme      3.2.1.2-1      
ii  gnome-menus           2.30.3-2+b1    
ii  lsb-release           3.2-28         
ii  policykit-1           0.102-1        
ii  policykit-1-gnome     0.102-2        
ii  python                2.7.2-9        
ii  python-apt            0.8.0          
ii  python-aptdaemon      0.31+bzr413-1.1
ii  python-aptdaemon-gtk  0.31+bzr413-1.1
ii  python-central        0.6.17         
ii  python-dbus           0.84.0-2       
ii  python-gconf          2.28.1-3       
ii  python-gtk2           2.24.0-2       
ii  python-webkit         1.1.8-2        
ii  python-xapian         1.2.7-1        
ii  python-xdg            0.19-3         

Versions of packages software-center recommends:
ii  apt-xapian-index         0.44              
ii  software-properties-gtk  0.76.7debian2+nmu1
ii  update-notifier          0.99.3debian10    

software-center suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to