-=| gregor herrmann, Thu, Feb 26, 2009 at 10:55:17PM +0100 |=- > On Thu, 26 Feb 2009 23:15:47 +0200, Damyan Ivanov wrote: > > > By default dh-make-perl parses only Contents files the distribution > > part of whose names is either 'sid' or 'unstable'. So on a pure stable > > (or testing) system, AptContents has nothing to parse and should fail > > to detect *any* dependency package. > > Ah, good catch. > > > I am not very sure why I filtered on distribution at all. Perhaps to > > avoid false positives when using unofficial repositories, or to save > > time parsing. OTOH, if these repositories are in sources.list, the > > admin relies on them so... > > I remember the reason: you added the filtering after I complained > that creating the cache takes ages because my sources.list is so long > :)
Caching shall help here. stable does not change that much. testing does though... Another help is the --refresh-cache command which can be used to update dh-make-perl caches after firing apt-file update in some cron job... > > I think I shall remove the filtering and see what happens. > > Hm, maybe some fallback or option or ...? There is an option. Ilya, can you try adding "--dist stable" to the command line and see if it makes a difference? Fallback would complicate things. "Unable to find any Contents files matching {sid,unstable}. Trying with {stable,testing}...". In any case, the information about chosen Contents distributions shall be made more visible (somehow). -- dam JabberID: d...@jabber.minus273.org
signature.asc
Description: Digital signature