[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?



On Tue, Aug 02, 2016 at 11:06:31PM -0500, Paul Elliott wrote:
> Sometimes a user gets a sbuild chroot so screwed up that it does not
> work anymore, and the user has no idea how to fix it, because he does not
> know what he did wrong.
> 
> He wants to start over from scratch.
> 
> The problem is, it is not documented the correct way to delete
> the chroot and tar ball. The users want to put sbuild back to
> the way it was just after sbuild was installed.
> 
> 
> What is the proper way to do that?

Asking for a friend? ;)

Assuming you used the suggestions for making the chroot on the sbuild
wiki page, this should do it:

# rm -rf /srv/chroot/* /etc/sbuild/chroot/*-sbuild /etc/schroot/chroot.d/*-sbuild

If you didn't use the suggestions on the wiki page, just start nuking
stuff in those three directories.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: