From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 12:45:19 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 513FC6A for ; Sun, 21 Sep 2014 12:45:19 +0000 (UTC) Received: from mailrelay2.public.one.com (mailrelay2.public.one.com [91.198.169.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92D8B6AE for ; Sun, 21 Sep 2014 12:45:17 +0000 (UTC) X-HalOne-Cookie: 98da9cd40ab6a4925a7dfe1f819212db9193df01 Received: from kalle.alvion.se (unknown [94.103.205.216]) by smtpfilter2.public.one.com (Halon Mail Gateway) with ESMTPSA for ; Sun, 21 Sep 2014 14:44:04 +0200 (CEST) Received: from [192.168.188.32] (unknown [192.168.188.32]) by kalle.alvion.se (Postfix) with ESMTP id CC67E75A71 for ; Sun, 21 Sep 2014 14:44:03 +0200 (CEST) Message-ID: <541EC813.7030607@alvion.se> Date: Sun, 21 Sep 2014 14:44:03 +0200 From: Erik Eliassen Reply-To: erik.eliassen@alvion.se User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: pkg@FreeBSD.org Subject: install pkg problem Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 12:45:19 -0000 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