[buildd-tools-devel] Bug#859866: Bug#859866: sbuild transiently fails stating apt-get update failed

Michael Stapelberg stapelberg at debian.org
Tue Apr 11 10:41:03 UTC 2017


On Tue, Apr 11, 2017 at 10:43 AM, Johannes Schauer <josch at debian.org> wrote:

> Hi,
>
> Quoting Michael Stapelberg (2017-04-08 11:21:46)
> > I may very well be doing something wrong, but I repeatedly run into
> > the following problem and have no clue as to how to approach fixing
> > it.
> >
> > Every once in a while, an sbuild invocation will fail with the
> > following message:
> >
> >     Reading package lists...
> >     E: Could not open file /var/lib/apt/lists/deb.debian.
> org_debian_dists_sid_main_source_Sources.diff_Index - open (2: No such
> file or directory)
> >     E: apt-get update failed
> >
> > I can fix this issue by running “sbuild-update -u unstable” twice
> > (!). The first run fails with the same error message (but stores the
> > updated package lists), the second run will do the actual update.
> >
> > Is this a misconfiguration on my end, or a bug in sbuild/schroot/apt?
> >
> > Find a full session transcript attached.
>
> I never encountered this error message. Neither from running sbuild nor
> from
> running apt-get update.
>
> Maybe apt people have a clue about what this means? I CC-ed their list.
>
> Michael, is it possible for you to create a chroot from scratch using
> sbuild-createchroot and then reliably reproduce the problem from there?
> Then I
> could have a look at the problem myself.
>

I’d be happy to wipe my sbuild setup and start from scratch. Which commands
specifically do you recommend I use?


-- 
Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20170411/03d0e2bf/attachment.html>


More information about the Buildd-tools-devel mailing list