[Bug 210888] ports-mgmt/pkg: pkg 1.8.6 loops while upgrading itself from local repository

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 12 10:23:24 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210888

--- Comment #1 from Axel.Rau at Chaos1.DE ---
As one can see on the original report, both repo configs have no 'PRIORITY'
attribute.
After adding priorities, the following happened (in a different jail):
- - -
[imap4:/var/tmp] root# pkg upgrade
Updating lrau-repo-py3 repository catalogue...
lrau-repo-py3 repository is up-to-date.
Updating lrau-repo-py35 repository catalogue...
lrau-repo-py35 repository is up-to-date.
Updating lrau-repo repository catalogue...
lrau-repo repository is up-to-date.
All repositories are up-to-date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        pkg: 1.8.6 -> 1.8.7 [lrau-repo-py3]

2 MiB to be downloaded.

Proceed with this action? [y/N]: y
[imap4] Fetching pkg-1.8.7.txz: 100%    2 MiB   1.3MB/s    00:02    
Checking integrity... done (0 conflicting)
[imap4] [1/1] Upgrading pkg from 1.8.6 to 1.8.7...
[imap4] [1/1] Extracting pkg-1.8.7: 100%
You may need to manually remove /usr/local/etc/pkg.conf if it is no longer
needed.
/usr/local/lib/libpkg.so.3: Undefined symbol "openat"
- - -
Because of this error, the installed pkg was unusable.
pkg-static worked as expected. The libpkg problem was not reproducible.
The complete rebuild of lrau-repo-py3 did not show any errors (log available on
request).

It seems, pkg requires PRIORITY, otherwise it loops in multi-repo situations.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-pkg mailing list