Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2018 17:47:51 +0000
From:      Lorenzo Salvadore <phascolarctos@protonmail.ch>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Cleanup poudriere old data
Message-ID:  <JwAkOsN6oSTszxdVpMRgHKeYLRG7rnLLYqbxRQUO3VFPW-MoFPgkelEnAk5BaE_zl6kz8fhj8NSGDz9Q4XUlWMJVWtn4x9f7XmXltj9M6_c=@protonmail.ch>
In-Reply-To: <2ddaed0a-bf0f-7de5-3ce0-d62c47621ccb@fechner.net>
References:  <2ddaed0a-bf0f-7de5-3ce0-d62c47621ccb@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> Dear all,
>
> normally if I switch to a new release a remove the old jail by using:
>
> poudriere jails -d -j 111amd64
>
> But it seems that it does not remove everything, all the logs are not
> deleted:
> http://pkg.fechner.net/index.html
>
> I created again the jail with:
> poudriere jail -c -v 11.1-RELEASE -a amd64 -j 111amd64
>
> I removed it again with:
> poudriere jails -d -C all -j 111amd64
>
> But it does not remove the entries from the website, the locale file syst=
em:
> /usr/local/poudriere/data/logs/bulk/111amd64-default
> /usr/local/poudriere/data/logs/bulk/111amd64-gitlab
> /usr/local/poudriere/data/logs/bulk/111amd64-2018Q2
> /usr/local/poudriere/data/logs/bulk/111amd64-2018Q3
> ...
> /usr/local/poudriere/data/packages/amd64-default
> ...
>
> Is this a bug or did I understand the man-page not correctly?
> How can I get rid of all this old stuff (logs, cache, packages)?
>
> Thanks.

I normally use two methods: either I remove the files manually (probably
it is unrecommended, but if the jail has already been removed I do not see
what problem could come frome such a method) or I use the following
commands:
poudriere distclean
poudriere logclean
poudriere pkgclean

You find the details in poudriere's manual.

Lorenzo Salvadore.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?JwAkOsN6oSTszxdVpMRgHKeYLRG7rnLLYqbxRQUO3VFPW-MoFPgkelEnAk5BaE_zl6kz8fhj8NSGDz9Q4XUlWMJVWtn4x9f7XmXltj9M6_c=>