rmJail fails

Edwin Groothuis edwin at mavetju.org
Sun Nov 27 06:35:24 EST 2005


After the upgrade to 6.0 (yes I'm brave on other peoples computers)
I decided to throw away everything and rebuild it from scratch:

[/space] root at tinderbox>tc rmJail -j 5.4
Removing this jail will also remove the following builds:

Really remove jail 5.4? yes
[/space] root at tinderbox>tc rmJail -j 4.11
Removing this jail will also remove the following builds:

Really remove jail 4.11? yes
ERROR: Failed to remove jail 4.11: ERROR:  update or delete on "jails" violates foreign key constraint "builds_jail_id_fkey" on "builds"
DETAIL:  Key (jail_id)=(2) is still referenced from table "builds".

[/space] root at tinderbox>tc rmBuild 
usage: /space/scripts/tc rmBuild -b <build name> [-f]
[/space] root at tinderbox>tc rmBuild -b 4.11-FreeBSD
Really remove build 4.11-FreeBSD? y
[/space] root at tinderbox>tc rmJail -j 4.11
Really remove jail 4.11? y
[/space] root at tinderbox>


So for one it works, and for one it didn't.
This is with tinderbox 2.1.1

Not that I worry about it, just wanted to share the info.

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/


More information about the tinderbox-list mailing list