pkgsrc-Users archive

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

Re: To free disk space



On Thu, Jul 11, 2013 at 04:36:32PM +0900, Isaac Isao Saito wrote:
> pkgsrc-users,
> 
> continued from my previous question [0], I want to free disk space so
> much of which is occupied by many packaged installed via pkgsrc by
> mistake recently. After this mistake the disk usage doubled to 16GB.
> 
> Simply, how can I do so?
> 
> Unistalling many packages by pkg_delete doesn't seem to help. `df`
> returns nearly the same disk usage before & after.
> 
> Manual [1] says `make clean` / `make clean-depends` would remove
> compiled files in `work`, but the following doesn't work for me:
> 
>     # cd /usr/share/pkgsrc/devel    (where I ran `bmake` by mistake)
>     # make clean
>     Makefile:1657: *** missing separator.  Stop.
>     # make clean-depends
>     Makefile:1657: *** missing separator.  Stop.

shouldn't you use 'bmake' instead ?

Or you can do:
cd /usr/share/pkgsrc
find . -name work |xargs rm -rf


-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index