Bug#397494: using apt-cache a bad idea?

2006-11-08 Thread Peter Palfrader
On Tue, 07 Nov 2006, Joey Hess wrote: The apt-cache code should only run if /usr/share/python/debian_defaults DNE; it's included in python-minimal. I wonder why Peter's system doesn't have it? python-central depends on python = 2.3. python-minimal was only introduced with python 2.4.

Bug#397494: using apt-cache a bad idea?

2006-11-07 Thread Joey Hess
The apt-cache code should only run if /usr/share/python/debian_defaults DNE; it's included in python-minimal. I wonder why Peter's system doesn't have it? This use of apt-cache as a fallback seems very dodgy, it makes assumptions about the system being configured to use apt and about apt being