Difference between pkg 1.5.2 and 1.5.4

From: Eggert, Lars <lars_at_netapp.com>
Date: Thu, 18 Jun 2015 15:34:46 +0000
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%

Received on Thu Jun 18 2015 - 13:36:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC