Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 14:44:03 +0200
From:      Erik Eliassen <erik.eliassen@alvion.se>
To:        pkg@FreeBSD.org
Subject:   install pkg problem
Message-ID:  <541EC813.7030607@alvion.se>

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

I get the "[pre-everything] Error code 1" when I'm trying to install 
ports-mgmt/pkg.

# uname -a
FreeBSD 9.2-RELEASE-p12 FreeBSD 9.2-RELEASE-p12 #0: Mon Sep 15 18:46:46 
UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 
amd64


I've done the following

# portsnap fetch update
# echo "WITH_PKGNG=yes" >> /etc/make.conf
# make -C /usr/ports/ports-mgmt/pkg install clean

/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./
#

Is it safe to just run /usr/sbin/pkg to install pkg?

I don't know how to proceed with installing pkg.

Thanks for any help

Best Regards
Erik Eliassen



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