From owner-freebsd-ports@FreeBSD.ORG Fri Dec 28 21:39:14 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13FF4F4; Fri, 28 Dec 2012 21:39:14 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id B68908FC08; Fri, 28 Dec 2012 21:39:13 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Tohe4-003fUv-OP>; Fri, 28 Dec 2012 22:39:12 +0100 Received: from e178006018.adsl.alicedsl.de ([85.178.6.18] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Tohe4-00185Z-KV>; Fri, 28 Dec 2012 22:39:12 +0100 Message-ID: <50DE1174.9000302@zedat.fu-berlin.de> Date: Fri, 28 Dec 2012 22:39:00 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Olli Hauer Subject: Re: 9.1-PRE: updating of pkg-1.0.3 -> pkg-1.0.4 fails References: <50DDA265.7060303@zedat.fu-berlin.de> <50DDA636.7010108@FreeBSD.org> In-Reply-To: <50DDA636.7010108@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigACD5EC8B24F3884509E9BA80" X-Originating-IP: 85.178.6.18 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2012 21:39:14 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigACD5EC8B24F3884509E9BA80 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 12/28/12 15:01, schrieb Olli Hauer: > On 2012-12-28 14:45, Hartmann, O. wrote: >> Last time I update ports on my latop was on Dec 20th. Everything went >> well. Today I grabbed the laptop again, made an update of the ports tr= ee >> and try running portmaster. >> >> The laptop is running FreeBSD 9.1-PRERELEASE #142 r244377: Tue Dec 18 >> 07:29:18 CET 2012. >> >> The update of pkgng is the first in line to be updated, but it fails a= s >> you can see below. I do not understand the recommendations, since I us= e >> USE_PKGNG=3Dyes on that box without problems for a couple of weeks now= =2E >> >> I then downloaded the new pkg-1.0.4 sources manually and did a manula >> update jumping into ports-mgmt/pkg; make reinstall. >> >> This worked, but leaves the record in the pkg-db still on 1.0.3, so an= y >> further portmaster attempt will end in installing the update of pkg >> first, which ends up in the nasty message below. >> >> I can not see this behaviour on any FreeBSD 10.0 box I have around! >> >> What is wrong here? >> >> Oliver >> >> [...] >> =3D=3D=3D> Cleaning for pkg-1.0.4_1 >> You are about to convert your system to pkgng while you have ports/pac= kages >> installed with the old pkg_install tools. >> >> You can choose to: >> - keep pkg_install as the package management system by adding this lin= e >> to /etc/make.conf: >> >> WITHOUT_PKGNG=3Dyes >> >> - switch to pkgng: >> 1) Add WITHOUT_PKGNG to /etc/make.conf >> 2) Install ports-mgmt/pkg >> 3) Convert your package database by running pkg2ng >> 4) Remove WITHOUT_PKGNG from /etc/make.conf >> >> *** [pre-everything] Error code 1 >> >> Stop in /usr/ports/ports-mgmt/pkg. >> >> =3D=3D=3D>>> make failed for ports-mgmt/pkg >> =3D=3D=3D>>> Aborting update >> >> =3D=3D=3D>>> Update for pkg-1.0.3_1 failed >> =3D=3D=3D>>> Aborting update >> >> Terminated >> >> =3D=3D=3D>>> You can restart from the point of failure with this comma= nd line: >> portmaster ports-mgmt/pkg devel/pkgconf >=20 > Hm, can you look into the directory /var/db/pkg and check there a no le= ftovers from the old pkg tools (directories). > If there are any old directories the pre-everything target will be exec= uted and you see this failure. > What gives the command pkg_info as output? >=20 > -- > Regards, > olli >=20 portmaster installs for each port still a directory in /var/db/pkg - so there are plenty of directories. I deleted them all and tried again - this time the update worked. This is very strange and seems to be unlogical. Oliver --------------enigACD5EC8B24F3884509E9BA80 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQ3hF/AAoJEOgBcD7A/5N8C/AH/1NigYfY9kJTHjNk4GjxIbjj Oj7TfZtUSmX099znwInP0Bp4V0kYK/uH0kdoUbqsXwAfA+O3t6mC89W887P+MDoM S6/PLBu2Y/7aV4W4qIrnjXt97gLo/l4Bg+5mLqBqGW5W6dnchN0m6pXkiKCEyp4G zGuJBsFO4QbRBAhUvJZK0/63xicZwUHvgkyNfg3FWymvgy98yjAc5JaaczHUZK3e SQFt4s16JrCGsJWECGbHFNY//dhdCjjXrCpcdklKiTB8okCdY5x/B4EELVicgZw7 zhC93mkfEqjasigf/2HfSA0ydjmTVh5S6TrjPOiw3v0u3fnRAVCO6OlLDkcnsDw= =chny -----END PGP SIGNATURE----- --------------enigACD5EC8B24F3884509E9BA80--