Discussion:
[Bug 222502] ports-mgmt/pkg: pkg-1.10.1: archive_read_open_filename((null))
b***@freebsd.org
2017-09-24 22:47:23 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222502

Mark Linimon <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|freebsd-ports-***@FreeBSD. |***@FreeBSD.org
|org |
Summary|pkg-1.10.1: |ports-mgmt/pkg: pkg-1.10.1:
|archive_read_open_filename( |archive_read_open_filename(
|(null)) |(null))
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-01-02 15:38:10 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222502

Matthew L. Dailey <***@dartmouth.edu> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@dartmouth.
| |edu

--- Comment #1 from Matthew L. Dailey <***@dartmouth.edu> ---
I ran into this issue this morning using pkg 1.10.3 trying to reinstall a
custom-built package:

# pkg --version
1.10.3

# pkg -d install -y /tmp/ldb-1.1.29_1.txz
DBG(1)[34197]> pkg initialized
Updating FreeBSD repository catalogue...
DBG(1)[34197]> PkgRepo: verifying update for FreeBSD
DBG(1)[34197]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite'
DBG(1)[34197]> Fetch: fetching from:
http://pkgmir.geo.freebsd.org/FreeBSD:11:amd64/latest/meta.txz with opts "i"
DBG(1)[34197]> Fetch: fetching from:
http://pkgmir.geo.freebsd.org/FreeBSD:11:amd64/latest/packagesite.txz with opts
"i"
FreeBSD repository is up to date.
All repositories are up to date.
DBG(1)[34197]> want to get an advisory lock on a database
DBG(1)[34197]> Jobs> Adding file: /tmp/ldb-1.1.29_1.txz
DBG(1)[34197]> removing ldb from the request as it is the same as local
DBG(1)[34197]> trying to delete local package ldb-1.1.29_1 on install/upgrade,
reiterate on SAT
Checking integrity...DBG(1)[34197]> Binary> loading
/var/cache/pkg/ldb-1.1.29_1-c96c1cd1cd.txz
DBG(1)[34197]> check integrity for 1 items added
done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
ldb-1.1.29_1

Number of packages to be reinstalled: 1
DBG(1)[34197]> want to upgrade advisory to exclusive lock
pkg: archive_read_open_filename((null)): Failed to open '(null)'
DBG(1)[34197]> release an exclusive lock on a database
DBG(1)[34197]> release an advisory lock on a database
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-01-29 08:35:18 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222502

Janos Mohacsi <***@bsd.hu> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@bsd.hu

--- Comment #2 from Janos Mohacsi <***@bsd.hu> ---
This is not an individual problem. See


pkg -d install xmltooling-1.6.3_1.txz
DBG(1)[39685]> pkg initialized
Updating FreeBSD repository catalogue...
DBG(1)[39685]> PkgRepo: verifying update for FreeBSD
DBG(1)[39685]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite'
DBG(1)[39685]> Fetch: fetching from:
http://pkgmir.geo.freebsd.org/FreeBSD:11:amd64/quarterly/meta.txz with opts "i"
DBG(1)[39685]> Fetch: fetching from:
http://pkgmir.geo.freebsd.org/FreeBSD:11:amd64/quarterly/packagesite.txz with
opts "i"
FreeBSD repository is up to date.
All repositories are up to date.
DBG(1)[39685]> want to get an advisory lock on a database
DBG(1)[39685]> Jobs> Adding file: xmltooling-1.6.3_1.txz
DBG(1)[39685]> removing xmltooling from the request as it is the same as local
DBG(1)[39685]> trying to delete local package xmltooling-1.6.2 on
install/upgrade, reiterate on SAT
Checking integrity...DBG(1)[39685]> check integrity for 1 items added
done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
xmltooling: 1.6.2 -> 1.6.3_1

Number of packages to be upgraded: 1

Proceed with this action? [y/N]: y
DBG(1)[39685]> want to upgrade advisory to exclusive lock
pkg: archive_read_open_filename((null)): Failed to open '(null)'
DBG(1)[39685]> release an exclusive lock on a database
DBG(1)[39685]> release an advisory lock on a database
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-10-20 18:25:46 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222502

Eugene Grosbein <***@freebsd.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|Affects Only Me |Affects Many People
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-10-20 18:38:50 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222502

Brad Davis <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@FreeBSD.org

--- Comment #3 from Brad Davis <***@FreeBSD.org> ---
Can you try using `pkg add' ? IIRC, that goes around a lot of the code
involved with repo handling.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-10-20 18:55:14 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222502

--- Comment #4 from Eugene Grosbein <***@freebsd.org> ---
(In reply to Brad Davis from comment #3)

"pkg add" works. But this PR is about some logic errors in the "pkg install".
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...