Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2014 22:20:20 +0000
From:      Peter Sprokkelenburg <peters@connections.ca>
To:        Craig Rodrigues <rodrigc@freebsd.org>
Cc:        "pkg@FreeBSD.org" <pkg@freebsd.org>
Subject:   RE: Legacy system
Message-ID:  <593F4F4552EC764FBA345306F57D4C6C47A81B71@exch01.corp.dsl4u.ca>
In-Reply-To: <CAG=rPVf3WJt%2B%2B5-i1HMY_mP3zu6uT_3HrQ=K3Rf-7MFBbWg_4g@mail.gmail.com>
References:  <593F4F4552EC764FBA345306F57D4C6C47A8194C@exch01.corp.dsl4u.ca> <CAG=rPVf3WJt%2B%2B5-i1HMY_mP3zu6uT_3HrQ=K3Rf-7MFBbWg_4g@mail.gmail.com>

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

Thank you for the link.

I had some pkgdb corruption that I had to clean up first, that is all sorte=
d and I was able to install pkg following the instructions.

The /usr/sbin/pkg REALLY helped.

Thanks again!

-----
Peter Sprokkelenburg
http://www.dsl4u.ca<http://www.dsl4u.ca/>;

From: crodr001@gmail.com [mailto:crodr001@gmail.com] On Behalf Of Craig Rod=
rigues
Sent: Thursday, September 25, 2014 4:27 PM
To: Peter Sprokkelenburg
Cc: pkg@FreeBSD.org
Subject: Re: Legacy system



On Thu, Sep 25, 2014 at 12:32 PM, Peter Sprokkelenburg <peters@connections.=
ca<mailto:peters@connections.ca>> wrote:
I have a system that we only use internally and it some how got *missed* on=
 getting upgrade to pkg from pkg_

Attempting to upgrade now give an error -

/usr/ports/ports-mgmt/pkg]# make
You are about to convert your system to pkg while you have ports/packages
installed with the old pkg_install tools.

To switch to pkg:
    1) Install ports-mgmt/pkg
    2) Convert your package database by running pkg2ng

*** [pre-everything] Error code 1

Stop in /usr/ports/ports-mgmt/pkg.

Hi,

Can you follow the steps (in order) here:
https://www.freebsd.org/doc/handbook/pkgng-intro.html#pkgng-initial-setup
and report anything that is unclear in that doc, so we can clean it up?

--
Craig



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