PKG ISSUE

by free7by at yahoo.com
Fri Aug 8 08:56:47 UTC 2014


Hi,

Thank you for your kindness reply, I have not refer the pkg-clean before, because what I referred is just the pkg manual page.
So, with the -a option issued, it works!

- by

> On Aug 8, 2014, at 14:59, Baptiste Daroussin <bapt at FreeBSD.org> wrote:
> 
>> On Fri, Aug 08, 2014 at 10:55:55AM +0800, by via freebsd-hackers wrote:
>> Hi,
>> 
>> I would say, I find a problem happens in the new pkg(1.3.5.1), which is:
>> #pkg update
>> Upgrade pkg to 1.3.5.1
>> #pkg install en-freebsd-doc
>> Install the documents of freebsd
>> Then I try to clean the cache
>> #pkg clean
>> And I get: Nothing to do.
>> But question is, in /var/cache/pkg, downloaded packages still there.
>> 
>> I would say, does this means some bug get into pkg 1.3.5.1, or how can I do to clean the cache using pkg tool.
> Reading the man page of pkg clean via man pkg-clean of pkg help clean would have
> given you, to quote some part of it:
> 
> [...]
>    pkg clean is used to cleanup the local cache of packages downloaded from
>    remote repositories.  It removes packages that have been superseded by
>    newer versions, and any packages that are no longer provided.
> 
> [...]
> 
>     -a, --all
>              Delete all cached packages.
> 
> [...]
> 
> 
> regards,
> Bapt


More information about the freebsd-hackers mailing list