[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do you delete a sbuild an sbuild chroot and start over?



Hi Paul,

Quoting Paul Elliott (2016-08-05 21:28:25)
> OK this time I deleted the recommended files as before, but I noted there
> were no other chroots in use. So I purged both sbuild and schroot with
> apt-get and reinstalled.

note that purging sbuild and schroot will not remove the chroots. But it will
get you a clean initual configuration.

> I then recreated th chroot using steps 1-6 of "Create the chroot" from the
> wiki page.

Which sbuild version are you using? Since fixing of bug #801798 (so since
sbuild version 0.67.0) steps 2 and 3 from that wiki page are not useful
anymore, unless you want to build packages for Debian squeeze.

Also, step 4 has only to be done once after you installed sbuild and not every
time you create a new chroot.

> I get the same error!
> 
> Setup apt archive
> -----------------
> 
> Merged Build-Depends: build-essential, fakeroot
> Filtered Build-Depends: build-essential, fakeroot
> dpkg-deb: building package 'sbuild-build-depends-core-dummy' in
> '/<<BUILDDIR>>/resolver-aIr7Ri/apt_archive/sbuild-build-depends-core-dummy.deb'.
> dpkg-deb: error: failed to make temporary file (control member): No such
> file or directory
> Dummy package creation failed
> E: Setting up apt archive failed
> +------------------------------------------------------------------------------+
> | Cleanup
> 
> 
> Some how some bad data is being stored in some unknown place.
> 
> Is there any way to figure out what directory does not exist? (control
> member)

Please file a bug report against sbuild. Even if the problem is on your side,
the above error message is very cryptic and not helpful at all. In your bug
report, please include the following:

 - which sbuild version are you using?
 - which Debian release are you using?
 - list precisely which commands you are executing

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: