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

Bug#926214: debootstrap: clean up /var/cache/apt/archives/*



Hideki Yamane <henrich@iijmio-mail.jp> (2019-04-02):
> package: debootstrap
> severity: minor
> 
>  debootstrap-ed image contains some .deb files that would not be
>  used anymore, so removing them at finish is better since we can
>  shrink it.
> 
> $ sudo debootstrap --cache-dir=/home/henrich/tmp/cache sid sid
> (...)
> $ sudo du -sh sid
> 282M    sid
> $ sudo rm -r sid/var/cache/apt/archives/*
> $ sudo du -sh sid
> 236M    sid
> 
> 
>  Any comments?

Whatever calls debootstrap can also call apt-get clean? Not sure what
happens when several stages are involved anyway.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: