[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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 20 12:58:30 UTC 2017


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

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

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

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

- "missing file"
- "checksum mismatch"

For example: 
root at 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 at 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 at freebsd:~ #

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


More information about the freebsd-pkg mailing list