Cleanup poudriere old data

Lorenzo Salvadore phascolarctos at protonmail.ch
Fri Oct 26 17:48:06 UTC 2018


> 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 system:
> /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.


More information about the freebsd-ports mailing list