Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2012 12:47:04 +0100
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: pkgng and the old pkg_* programs
Message-ID:  <50853238.6060508@qeng-ho.org>
In-Reply-To: <20121022101753.GA51392@ozzmosis.com>
References:  <50842C6E.9070800@qeng-ho.org> <20121022101753.GA51392@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/22/12 11:17, andrew clarke wrote:
> On Sun 2012-10-21 18:10:06 UTC+0100, Arthur Chance (freebsd@qeng-ho.org) wrote:
>
>> Now that portmaster officially supports pkgng I've converted to using
>> it. Is there any reason to keep the old pkg_* programs around, or can I
>> delete them and add WITHOUT_PKGTOOLS to my /etc/src.conf? I'm running
>> RELEASE-9.0 on amd64 and will update to REL-9.1 as soon as it arrives if
>> that matters.
>
> I don't think there's any harm in leaving the pkg_* programs there?

I doubt whether there's any harm either, it's just the principle of not 
having useless binaries lying around. Partly it's an old (and obsolete) 
habit developed in the days when the largest disks were a handful of 
megabytes in size, but it's also good security practice not to install 
anything that's unnecessary.

> Of course if you delete them, a binary upgrade with freebsd-update
> will most likely put them back.

I always upgrade from source, and cut out unused subsystems with the 
WITHOUT_* knobs in /etc/src.conf, so that's not going to be a problem.

> I've switched to pkgng on two machines here. Working well so far,
> although pkg2ng had some initial problems with the conversion due to
> some conflicting files that had been installed by different packages...

Ditto.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50853238.6060508>