Bug#319126: debtags: breaks in postinst 

Date:          Wed, Jul 20 2005 5:30 am
Groups:        linux.debian.bugs.dist
> Every time I try to do something with apt, it tries to configure
> debtags:
> Setting up debtags (1.1) ...
> Get:1 http://people.debian.org/~enrico/tags/tags-current.gz [144kB]
> Get:2 http://people.debian.org/~enrico/tags/vocabulary.gz [7978B]
> Fetched 152kB in 2s (70.1kB/s)
> Source http://people.debian.org/~enrico/tags/[] has problems: ignoring it
> debtags: ConsistencyCheckException: Unable to use any data source (not
> even previously cached ones)

Thanks for reporting. Uhm…

I imagine you are installing it while offline. Which should be fine, because debtags will try to use the previously existing data files.

However, I now realise that the data files shipped with debtags itself are not considered in case download fails. And this is a bug that definitely deserves serious status.

I'll try to have it fixed in the next release; it shouldn't be too hard.

In the meantime, if you want to get rid of the error you can:

1) run 'debtags update' while online

or

2) copy the files shipped in the package to the place where the
   downloader would expect them:
zcat /usr/share/debtags/tags-current.gz > /var/cache/debtags/people.debian.org_%7eenrico_tags_tags-current.gz
cp /usr/share/debtags/vocabulary /var/cache/debtags/people.debian.org_%7eenrico_tags_vocabulary.gz

Enrico