Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2015 15:34:46 +0000
From:      "Eggert, Lars" <lars@netapp.com>
To:        "current@freebsd.org" <current@freebsd.org>
Subject:   Difference between pkg 1.5.2 and 1.5.4
Message-ID:  <ABFFE8D9-219D-4D92-BE47-A08633887F0B@netapp.com>

next in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ABFFE8D9-219D-4D92-BE47-A08633887F0B>