Package: apt-xapian-index Version: 0.45 Severity: normal Dear Maintainer,
I recently added the unstable sources to my testing system to be able to easily fetch some packages from unstable if necessary. To get the pinning right, I added this line to a new file in /etc/apt/apt.conf.d/: APT::Default-Release "testing"; I also added appropriate pinning in /etc/apt/preferences.d/unstable: Package: * Pin: release a=unstable Pin-Priority: 100 This is working all right for apt and aptitude - testing packages now have a pinning of 990, unstable has 100, updates behave the way I want. However, the apt-xapian-index cronjob failed with the following error message: /etc/cron.weekly/apt-xapian-index: Traceback (most recent call last): File "/usr/sbin/update-apt-xapian-index", line 102, in <module> indexer.incrementalUpdate() File "/usr/lib/pymodules/python2.7/axi/indexer.py", line 670, in incrementalUpdate self.updateIndex(dbpath) File "/usr/lib/pymodules/python2.7/axi/indexer.py", line 630, in updateIndex cache = self.aptcache() File "/usr/lib/pymodules/python2.7/axi/indexer.py", line 423, in aptcache self.apt_cache = apt.Cache(memonly=True, progress=aptprogress) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__ self.open(progress) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in open self._cache = apt_pkg.Cache(progress) SystemError: E:The value 'testing' is invalid for APT::Default-Release as such a release is not available in the sources run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1 Kind regards, Ralf -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (100, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt-xapian-index depends on: ii python 2.7.2-10 ii python-apt 0.8.4 ii python-debian 0.1.21 ii python-support 1.0.14 ii python-xapian 1.2.10-1 apt-xapian-index recommends no packages. Versions of packages apt-xapian-index suggests: ii app-install-data <none> ii python-xdg 0.19-4 -- 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