Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2017 20:06:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222502] pkg-1.10.1: archive_read_open_filename((null))
Message-ID:  <bug-222502-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222502

            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@FreeBSD.org
          Reporter: eugen@freebsd.org
                CC: bapt@FreeBSD.org, vsevolod@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222502-13>