Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2017 12:58:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 223751] ports-mgmt/pkg: unable to pkg upgrade: Assertion failed: (strcmp(uid, p->uid) != 0) Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386
Message-ID:  <bug-223751-32340-fGK7H7W6NG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223751-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223751-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=3D223751

--- Comment #1 from x11max1@unitybox.de <x11max1@unitybox.de> ---

I found out - in my case - what the problem is if "pkg upgrade" fails.

Running "pkg check -s -a" shows some errors.=20=20

- "missing file"
- "checksum mismatch"

For example:=20
root@freebsd:~ # pkg check -s -a

ImageMagick-6.9.9.15,1: missing file
/usr/local/etc/ImageMagick-6/coder.xml.sample
ImageMagick-6.9.9.15,1: missing file
/usr/local/etc/ImageMagick-6/colors.xml.sample
ImageMagick-6.9.9.15,1: missing file
/usr/local/etc/ImageMagick-6/log.xml.sample
ImageMagick-6.9.9.15,1: missing file
/usr/local/etc/ImageMagick-6/magic.xml.sample

urwfonts-ttf-1.0.7b18_6: checksum mismatch for
/usr/local/share/fonts/urwfonts-ttf/fonts.dir
urwfonts-ttf-1.0.7b18_6: checksum mismatch for
/usr/local/share/fonts/urwfonts-ttf/fonts.scale

That is why "pkg upgrade" couldn't run successfully.

Reinstalling the relevat packages solved my problem with pkg.

root@freebsd:~ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (217 candidates): 100%
Processing candidates (217 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@freebsd:~ #

--=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-223751-32340-fGK7H7W6NG>