Date: Tue, 22 Aug 2017 09:06:14 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 221711] ports-mgmt/pkg: core dump after switch to new repos caused by locked port Message-ID: <bug-221711-32340-j6VUDKyei9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221711-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-221711-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
info@rickvanderzwet.nl has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to pkg@FreeBSD.org: Bug 221711: ports-mgmt/pkg: core dump after switch to new repos caused by locked port https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221711 --- Description --- Sequence preceding the core-dump: 0) Dovecot2 was locked: $ pkg lock mail/dovecot2 1) Dovecot2 was merged into dovecot: $ pkg set -o mail/dovecot2:mail/dovecot $ pkg set -o mail/dovecot2-pigeonhole:mail/dovecot-pigeonhole 2) I required the latest repos instead of the quarly one (unrelated: since my custom ports running on latest tree where failing) thus created: cat <<EOF /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" } EOF 3) Did a fetch of new repos details: $ sudo pkg upgrade 4) Attempted upgrade fails. The traceback/logging is from the 2nd attempt, since first one was no longer present in my framebuffer. Error message is the same, yet missing some lines about the (already downloaded) new repository. $ sudo pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. ... dovecot2-2.2.30.2_1 is locked and may not be modified Processing candidates (133 candidates): 100% Checking integrity... dovecot2-2.2.30.2_1 is locked and may not be modified Assertion failed: (cun != NULL), function pkg_conflicts_check_chain_conflict, file pkg_jobs_conflicts.c, line 481. Child process pid=2637 terminated abnormally: Abort trap I know this is a rather odd sequence of events and I have not tried to reproduce it, yet it might be interesting to one may concerned. FYI: As a workaround I unlocked mail/dovecot and did the upgrade.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221711-32340-j6VUDKyei9>
