tech-pkg archive

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

Re: how to upgrade a whole machine ...

On Wed, 07 May 2008, Stephen Borrill wrote:
> I just installed pkg_install and then did:
> cp /usr/pkg/sbin/pkg_* /usr/sbin

This has probably been suggested before, but... It sounds as though the
versions of pkg_* tools bundled with NetBSD should be changed to use a
wrapper, in much the same way that /usr/sbin/sendmail is actually a link
to mailwraper(8), which consults mailer.conf(5) to decide which flavour
of sendmail to invoke.  Then, when you want to upgrade your pkg_* tools
from the ancient ones shipped with the OS release to the modern ones in
pkgsrc, you simply install the new versions from pkgsrc and edit the
relevant .conf file to point to them.

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index