From owner-freebsd-current@FreeBSD.ORG Thu Jun 18 15:36:00 2015 Return-Path: Delivered-To: current@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A201278 for ; Thu, 18 Jun 2015 15:36:00 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx143.netapp.com (mx143.netapp.com [216.240.21.24]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx143.netapp.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 369B71CE for ; Thu, 18 Jun 2015 15:35:59 +0000 (UTC) (envelope-from lars@netapp.com) X-IronPort-AV: E=Sophos;i="5.13,638,1427785200"; d="asc'?scan'208";a="49121832" Received: from hioexcmbx05-prd.hq.netapp.com ([10.122.105.38]) by mx143-out.netapp.com with ESMTP; 18 Jun 2015 08:34:47 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx05-prd.hq.netapp.com (10.122.105.38) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Thu, 18 Jun 2015 08:34:47 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::6843:58b6:e8e4:4968%21]) with mapi id 15.00.1076.000; Thu, 18 Jun 2015 08:34:47 -0700 From: "Eggert, Lars" To: "current@freebsd.org" Subject: Difference between pkg 1.5.2 and 1.5.4 Thread-Topic: Difference between pkg 1.5.2 and 1.5.4 Thread-Index: AQHQqdxOcVp2ZhaoZESXBFqDZOYnog== Date: Thu, 18 Jun 2015 15:34:46 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.2102) x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.122.56.79] Content-Type: multipart/signed; boundary="Apple-Mail=_D267E32C-3A07-4E18-9EF7-EAD35E2EEEE5"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 15:36:00 -0000 --Apple-Mail=_D267E32C-3A07-4E18-9EF7-EAD35E2EEEE5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, I'm netbooting with a read-only rootfs. Up until version 1.5.2 of pkg, = that sometimes caused some errors when installing various packages, but = the install continued even if some files couldn't be written. That seems to have changed with 1.5.4. Specifically, upgrading = ca_root_nss from 3.19 to 3.19.1_1 now aborts in archive_read_extract () = as shown below. This regression makes it difficult to run read-only; any chance this = abort can be turned into a warning instead? Lars Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: ca_root_nss: 3.19 -> 3.19.1_1 The process will require 42 B more space. Proceed with this action? [y/N]: y [1/1] Upgrading ca_root_nss from 3.19 to 3.19.1_1... You may need to manually remove /usr/local/etc/ssl/cert.pem if it's no = longer needed. You may need to manually remove /usr/local/openssl/cert.pem if it's no = longer needed. pkg: unlinkat(usr/local/share/licenses/ca_root_nss-3.19/LICENSE): No = such file or directory pkg: unlinkat(usr/local/share/licenses/ca_root_nss-3.19/MPL): No such = file or directory pkg: unlinkat(usr/local/share/licenses/ca_root_nss-3.19/catalog.mk): No = such file or directory [1/1] Extracting ca_root_nss-3.19.1_1: 71% pkg: archive_read_extract(): Can't create = '/etc/ssl/cert.pem.pXkDjkwDtvyq' [1/1] Extracting ca_root_nss-3.19.1_1: 100% [1/1] Deleting files for ca_root_nss-3.19.1_1: 100% --Apple-Mail=_D267E32C-3A07-4E18-9EF7-EAD35E2EEEE5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlWC5RUACgkQIWcjmsUTWRqihQCcDhqrs4EB9+g26bpy5Xj39I+2 SloAn0Ud7eHlMDK42jhOZhIVimjM274H =baWE -----END PGP SIGNATURE----- --Apple-Mail=_D267E32C-3A07-4E18-9EF7-EAD35E2EEEE5--