Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2014 16:56:28 +0800
From:      by <free7by@yahoo.com>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: PKG ISSUE
Message-ID:  <EBB42708-521D-4826-BA26-292ED671D234@yahoo.com>
In-Reply-To: <20140808065918.GA17537@ivaldir.etoilebsd.net>
References:  <C8D64C81-DDA9-48F2-A455-D10F3216B644@yahoo.com> <20140808065918.GA17537@ivaldir.etoilebsd.net>

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

Thank you for your kindness reply, I have not refer the pkg-clean before, be=
cause 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@FreeBSD.org> wrote:
>=20
>> On Fri, Aug 08, 2014 at 10:55:55AM +0800, by via freebsd-hackers wrote:
>> Hi,
>>=20
>> 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.
>>=20
>> I would say, does this means some bug get into pkg 1.3.5.1, or how can I d=
o to clean the cache using pkg tool.
> Reading the man page of pkg clean via man pkg-clean of pkg help clean woul=
d have
> given you, to quote some part of it:
>=20
> [...]
>    pkg clean is used to cleanup the local cache of packages downloaded fro=
m
>    remote repositories.  It removes packages that have been superseded by
>    newer versions, and any packages that are no longer provided.
>=20
> [...]
>=20
>     -a, --all
>              Delete all cached packages.
>=20
> [...]
>=20
>=20
> regards,
> Bapt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EBB42708-521D-4826-BA26-292ED671D234>