[DRE-maint] Bug#800108: gem2deb: permanently broken when cache is missing

Antonio Terceiro terceiro at debian.org
Sun Sep 27 22:31:58 UTC 2015


On Sun, Sep 27, 2015 at 05:45:25PM +0000, brian m. carlson wrote:
> On Sun, Sep 27, 2015 at 01:40:00PM -0300, Antonio Terceiro wrote:
> > I tried in several ways, by removing my cache, adding garbage to it,
> > both on my main system with my own user account and on a clean chroot
> > with a freshly-created user account and no previous apt-file data, and
> > couldn't reproduce this. Everytime I do get the invalid cache error, but
> > the cache _is_ rebuilt the next time.
> > 
> > Can you provide a list of steps that will reproduce this?
> 
> It looks like the output of apt-file is empty, which leads to an invalid
> cache:
> 
>   vauxhall ok % apt-file search /usr/share/rubygems-integration/
>   vauxhall ok %
> 
> This may be because I changed package mirrors recently and didn't run
> apt-file update.  gem2deb should detect this case and handle it more
> gracefully.

well, gem2deb notices the empty cache and tells you that you need to run
`apt-file update` before continuing, so unless you show me how else it
breaks, I suspect that there is nothing to fix here.

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150927/17c58adf/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list