Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2016 10:23:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 210888] ports-mgmt/pkg: pkg 1.8.6 loops while upgrading itself from local repository
Message-ID:  <bug-210888-32340-kzKChgRPF7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210888-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210888-32340@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from Axel.Rau@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=20=20=20=20
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 availabl=
e on
request).

It seems, pkg requires PRIORITY, otherwise it loops in multi-repo situation=
s.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
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-210888-32340-kzKChgRPF7>