[Bug 222502] pkg-1.10.1: archive_read_open_filename((null))
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 21 20:06:41 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222502
Bug ID: 222502
Summary: pkg-1.10.1: archive_read_open_filename((null))
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: eugen at freebsd.org
CC: bapt at FreeBSD.org, vsevolod at FreeBSD.org
Hi!
pkg-static(8) can be used in chroot environment having no networking to
populate it with pre-downloaded set of package files, that is: pkg-static
install -yU *.txz
It fails with non-descriptive error if such set of files has two different
versions of the same package. It is easy to reproduce this without mentioned
chroot environment, too.
# fetch http://pkg.freebsd.org/FreeBSD:11:amd64/release_0/All/snappy-1.1.3.txz
# fetch http://pkg.freebsd.org/FreeBSD:11:amd64/release_1/All/snappy-1.1.4.txz
# pkg install -yU snappy-1.1.3.txz snappy-1.1.4.txz
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
snappy: 1.1.4
Number of packages to be installed: 1
pkg: archive_read_open_filename((null)): Failed to open '(null)'
More understandable error message is expected. Also, '(null)' points to some
internal logic error.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list