From owner-freebsd-ports@FreeBSD.ORG Fri Jan 23 07:59:13 2015 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05E77E06 for ; Fri, 23 Jan 2015 07:59:13 +0000 (UTC) Received: from gw.catspoiler.org (cl-1657.chi-02.us.sixxs.net [IPv6:2001:4978:f:678::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 63AF8C3F for ; Fri, 23 Jan 2015 07:59:12 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id t0N7x39x068396 for ; Thu, 22 Jan 2015 23:59:07 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201501230759.t0N7x39x068396@gw.catspoiler.org> Date: Thu, 22 Jan 2015 23:59:03 -0800 (PST) From: Don Lewis Subject: strange pkg upgrade problems To: ports@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 07:59:13 -0000 I tried to do a pkg upgrade on one of my FreeBSD 8.4-STABLE boxes and ran into some strange problems. # pkg upgrade Updating myrepo repository catalogue... myrepo repository is up-to-date. All repositories are up-to-date. Checking for upgrades (365 candidates): 100% Processing candidates (365 candidates): 100% Checking integrity... done (1 conflicting) Checking integrity... done (0 conflicting) The following 72 packages will be affected (of 0 checked): Installed packages to be REMOVED: giflib-nox11-4.2.3_4 New packages to be INSTALLED: giflib: 5.0.6 libedit: 3.1.20141030_2 Installed packages to be UPGRADED: xorg-libraries: 7.7_1 -> 7.7_2 xorg-apps: 7.7_1 -> 7.7_2 webp: 0.4.2_2 -> 0.4.2_3 vigra: 1.10.0_4 -> 1.10.0_5 vala: 0.26.1 -> 0.26.2 unzip: 6.0_2 -> 6.0_3 unrar: 5.10,5 -> 5.21,5 uhttpmock: 0.3.1_1 -> 0.3.3 transcode: 1.1.7_20 -> 1.1.7_21 tracker: 1.2.5_1 -> 1.2.5_2 thunderbird: 31.3.0_1 -> 31.4.0 tevent: 0.9.21 -> 0.9.22 tdb: 1.2.13,1 -> 1.3.4,1 talloc: 2.1.0 -> 2.1.1 sqlite3: 3.8.7.4 -> 3.8.8 scilab: 5.5.0_1 -> 5.5.0_2 py34-setuptools34: 5.5.1 -> 5.5.1_1 py27-setuptools27: 5.5.1 -> 5.5.1_1 py27-pygments: 1.6_2 -> 2.0.1 py27-lxml: 3.4.0 -> 3.4.1 py27-cryptography: 0.5.4 -> 0.7.2 pciids: 20150105 -> 20150117 p5-Net-SSLeay: 1.66_1 -> 1.67 p5-HTTP-Message: 6.06_3 -> 6.06_4 p5-Filter: 1.53 -> 1.54 p5-Crypt-Eksblowfish: 0.009_1 -> 0.009_2 p5-CGI-FormBuilder: 3.0800_1 -> 3.0900 p5-Archive-Zip: 1.42 -> 1.43 octave: 3.8.1_6 -> 3.8.1_7 mplayer: 1.1.r20141223 -> 1.1.r20141223_1 mencoder: 1.1.r20141223 -> 1.1.r20141223_2 matio: 1.5.2_3 -> 1.5.2_4 lua52: 5.2.3_3 -> 5.2.3_4 libxul: 31.3.0_1 -> 31.4.0 libxklavier: 5.2.1_1,1 -> 5.3,1 libxine: 1.2.6_2 -> 1.2.6_3 librsvg2: 2.40.6 -> 2.40.6_1 libnice-gst1: 0.1.7_1 -> 0.1.8 libnice-gst010: 0.1.7_1 -> 0.1.8 libnice: 0.1.7_1 -> 0.1.8 libgweather: 3.14.2 -> 3.14.3 libgsf: 1.14.30 -> 1.14.30_1 libamrwb: 11.0.0.0_1 -> 11.0.0.0_2 libamrnb: 11.0.0.0,2 -> 11.0.0.0_1,2 libXft: 2.3.1_2 -> 2.3.2 hdf5: 1.8.13_1 -> 1.8.14 guile2: 2.0.11_2 -> 2.0.11_3 gtkspell3: 3.0.4_2 -> 3.0.6 gtkhtml4: 4.8.4 -> 4.8.5 gnome-power-manager: 3.12.2 -> 3.14.1 gnome-documents: 3.14.1 -> 3.14.2 gnome-dictionary: 3.14.0 -> 3.14.2 gnome-color-manager: 3.14.1 -> 3.14.2 gfbgraph: 0.2.2_1 -> 0.2.2_2 geoclue: 2.1.9 -> 2.1.10 folks: 0.10.0 -> 0.10.1 firefox: 34.0.5_1,1 -> 35.0,1 farstream: 0.2.4 -> 0.2.6 evolution-data-server: 3.12.9 -> 3.12.10 evolution: 3.12.9 -> 3.12.10_1 dvdauthor: 0.7.1_8 -> 0.7.1_9 dbus: 1.8.12 -> 1.8.12_1 cuse4bsd-kmod: 0.1.35 -> 0.1.36 cracklib: 2.9.2 -> 2.9.2_1 cmake-modules: 3.1.0 -> 3.1.0_1 bash: 4.3.30_1 -> 4.3.33 baobab: 3.14.0 -> 3.14.1 aisleriot: 3.14.1 -> 3.14.2 ImageMagick: 6.9.0.2,1 -> 6.9.0.4,1 The process will require 4 MB more space. Proceed with this action? [y/N]: y [1/72] Upgrading pciids from 20150105 to 20150117... pkg: unlinkat(usr/local/share/licenses/pciids-20150105/BSD3CLAUSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/pciids-20150105/GPLv2): No such file or directory pkg: unlinkat(usr/local/share/licenses/pciids-20150105/GPLv3): No such file or directory pkg: unlinkat(usr/local/share/licenses/pciids-20150105/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/pciids-20150105/catalog.mk): No such file or directory [1/72] Extracting pciids-20150117: 100% [2/72] Upgrading libXft from 2.3.1_2 to 2.3.2... pkg: unlinkat(usr/local/lib/libXft.so.2.3.1): No such file or directory [2/72] Extracting libXft-2.3.2: 100% [3/72] Upgrading dbus from 1.8.12 to 1.8.12_1... ==> You should manually remove the "messagebus" user. ===> Creating users and/or groups. Using existing group 'messagebus'. Using existing user 'messagebus'. [3/72] Extracting dbus-1.8.12_1: 100% [4/72] Upgrading talloc from 2.1.0 to 2.1.1... pkg: unlinkat(usr/local/share/licenses/talloc-2.1.0/LGPL3): No such file or directory pkg: unlinkat(usr/local/share/licenses/talloc-2.1.0/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/talloc-2.1.0/catalog.mk): No such file or directory [4/72] Extracting talloc-2.1.1: 100% [5/72] Upgrading py27-setuptools27 from 5.5.1 to 5.5.1_1... pkg: unlinkat(usr/local/share/licenses/py27-setuptools27-5.5.1/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/py27-setuptools27-5.5.1/PSFL): No such file or directory pkg: unlinkat(usr/local/share/licenses/py27-setuptools27-5.5.1/catalog.mk): No such file or directory pkg: unlinkat(usr/local/share/licenses/py27-setuptools27-5.5.1/): No such file or directory [5/72] Extracting py27-setuptools27-5.5.1_1: 100% [6/72] Upgrading bash from 4.3.30_1 to 4.3.33... pkg: unlinkat(usr/local/share/licenses/bash-4.3.30_1/GPLv3): No such file or directory pkg: unlinkat(usr/local/share/licenses/bash-4.3.30_1/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/bash-4.3.30_1/catalog.mk): No such file or directory [6/72] Extracting bash-4.3.33: 100% [7/72] Upgrading tevent from 0.9.21 to 0.9.22... pkg: unlinkat(usr/local/share/licenses/tevent-0.9.21/LGPL3): No such file or directory pkg: unlinkat(usr/local/share/licenses/tevent-0.9.21/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/tevent-0.9.21/catalog.mk): No such file or directory [7/72] Extracting tevent-0.9.22: 100% [8/72] Upgrading tdb from 1.2.13,1 to 1.3.4,1... pkg: unlinkat(usr/local/share/licenses/tdb-1.2.13,1/GPLv3): No such file or directory pkg: unlinkat(usr/local/share/licenses/tdb-1.2.13,1/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/tdb-1.2.13,1/catalog.mk): No such file or directory [8/72] Extracting tdb-1.3.4,1: 100% [9/72] Installing libedit-3.1.20141030_2... [9/72] Extracting libedit-3.1.20141030_2: 100% [10/72] Deinstalling giflib-nox11-4.2.3_4... [10/72] Deleting files for giflib-nox11-4.2.3_4: 0% pkg: /usr/local/bin/gif2rgb fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 1% pkg: cannot stat /usr/local/bin/gifasm: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 3% pkg: cannot stat /usr/local/bin/gifbg: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 5% pkg: cannot stat /usr/local/bin/gifburst: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 7% pkg: cannot stat /usr/local/bin/gifclip: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 8% pkg: /usr/local/bin/gifclrmp fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 10% pkg: cannot stat /usr/local/bin/gifcolor: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 12% pkg: cannot stat /usr/local/bin/gifcomb: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 14% pkg: cannot stat /usr/local/bin/gifcompose: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 15% pkg: cannot stat /usr/local/bin/giffiltr: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 17% pkg: /usr/local/bin/giffix fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 19% pkg: cannot stat /usr/local/bin/gifflip: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 21% pkg: cannot stat /usr/local/bin/gifhisto: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 22% pkg: cannot stat /usr/local/bin/gifinfo: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 24% pkg: cannot stat /usr/local/bin/gifinter: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 26% pkg: /usr/local/bin/gifinto fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 28% pkg: cannot stat /usr/local/bin/gifovly: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 29% pkg: cannot stat /usr/local/bin/gifpos: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 31% pkg: cannot stat /usr/local/bin/gifrotat: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 33% pkg: cannot stat /usr/local/bin/gifrsize: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 35% pkg: cannot stat /usr/local/bin/gifspnge: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 36% pkg: /usr/local/bin/giftext fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 38% pkg: cannot stat /usr/local/bin/gifwedge: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 40% pkg: cannot stat /usr/local/bin/icon2gif: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 42% pkg: cannot stat /usr/local/bin/raw2gif: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 43% pkg: cannot stat /usr/local/bin/rgb2gif: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 45% pkg: cannot stat /usr/local/bin/text2gif: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 47% pkg: /usr/local/include/gif_lib.h fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 49% pkg: /usr/local/lib/libgif.a fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 50% pkg: /usr/local/lib/libgif.so fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 52% pkg: cannot stat /usr/local/lib/libgif.so.4: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 54% pkg: cannot stat /usr/local/lib/libgif.so.4.1.7: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 56% pkg: /usr/local/man/man1/gif2rgb.1.gz fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 57% pkg: cannot stat /usr/local/man/man1/gifasm.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 59% pkg: /usr/local/man/man1/gifbg.1.gz fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 61% pkg: cannot stat /usr/local/man/man1/gifclip.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 63% pkg: /usr/local/man/man1/gifclrmp.1.gz fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 64% pkg: /usr/local/man/man1/gifcolor.1.gz fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 66% pkg: cannot stat /usr/local/man/man1/gifcomb.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 68% pkg: cannot stat /usr/local/man/man1/gifcompose.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 70% pkg: cannot stat /usr/local/man/man1/giffiltr.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 71% pkg: /usr/local/man/man1/giffix.1.gz fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 73% pkg: cannot stat /usr/local/man/man1/gifflip.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 75% pkg: /usr/local/man/man1/gifhisto.1.gz fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 77% pkg: cannot stat /usr/local/man/man1/gifinter.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 78% pkg: /usr/local/man/man1/gifinto.1.gz fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 80% pkg: cannot stat /usr/local/man/man1/gifovly.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 82% pkg: cannot stat /usr/local/man/man1/gifpos.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 84% pkg: cannot stat /usr/local/man/man1/gifrotat.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 85% pkg: cannot stat /usr/local/man/man1/gifrsize.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 87% pkg: cannot stat /usr/local/man/man1/gifspnge.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 89% pkg: /usr/local/man/man1/giftext.1.gz fails original SHA256 checksum, not removing [10/72] Deleting files for giflib-nox11-4.2.3_4: 92% pkg: cannot stat /usr/local/man/man1/icon2gif.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 94% pkg: cannot stat /usr/local/man/man1/raw2gif.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 96% pkg: cannot stat /usr/local/man/man1/rgb2gif.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 98% pkg: cannot stat /usr/local/man/man1/text2gif.1.gz: No such file or directory [10/72] Deleting files for giflib-nox11-4.2.3_4: 100% [11/72] Upgrading sqlite3 from 3.8.7.4 to 3.8.8... pkg: unlinkat(usr/local/share/licenses/sqlite3-3.8.7.4/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/sqlite3-3.8.7.4/catalog.mk): No such file or directory pkg: unlinkat(usr/local/share/licenses/sqlite3-3.8.7.4/public): No such file or directory [11/72] Extracting sqlite3-3.8.8: 100% [12/72] Upgrading lua52 from 5.2.3_3 to 5.2.3_4... pkg: unlinkat(usr/local/share/licenses/lua52-5.2.3_3/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/lua52-5.2.3_3/MIT): No such file or directory pkg: unlinkat(usr/local/share/licenses/lua52-5.2.3_3/catalog.mk): No such file or directory [12/72] Extracting lua52-5.2.3_4: 100% [13/72] Installing giflib-5.0.6... [13/72] Extracting giflib-5.0.6: 100% [14/72] Upgrading webp from 0.4.2_2 to 0.4.2_3... pkg: unlinkat(usr/local/share/licenses/webp-0.4.2_2/BSD3CLAUSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/webp-0.4.2_2/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/webp-0.4.2_2/catalog.mk): No such file or directory [14/72] Extracting webp-0.4.2_3: 100% [15/72] Upgrading vala from 0.26.1 to 0.26.2... pkg: unlinkat(usr/local/share/licenses/vala-0.26.1/LGPL21): No such file or directory pkg: unlinkat(usr/local/share/licenses/vala-0.26.1/LICENSE): No such file or directory pkg: unlinkat(usr/local/share/licenses/vala-0.26.1/catalog.mk): No such file or directory [15/72] Extracting vala-0.26.2: 100% [16/72] Upgrading libgsf from 1.14.30 to 1.14.30_1... pkg: unlinkat(usr/local/share/doc/gsf/annotation-glossary.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/api.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/dependencies.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-Compression.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-GIO.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-GIOChannel.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-Infile-reading-structed-files.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-Input-from-unstructured-files.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-MS-OLE2.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-OASIS-Open-Document.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-Outfile-writing-structed-files.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-Output-to-unstructured-files.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-Reading-and-Writing-from-local-files-and-directories.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-Text.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-XML-and-libxml.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-Zip.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-blobs.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-clip-data.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-index.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-memory.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-metadata.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-users.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf-utils.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/gsf.devhelp2): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/history.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/home.png): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/index.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/index.sgml): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/intro.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/io.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/left.png): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/misc.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/parsers.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/right.png): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/sources.html): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/style.css): No such file or directory pkg: unlinkat(usr/local/share/doc/gsf/up.png): No such file or directory [16/72] Extracting libgsf-1.14.30_1: 100% [17/72] Upgrading geoclue from 2.1.9 to 2.1.10... [17/72] Extracting geoclue-2.1.10: 100% [18/72] Upgrading uhttpmock from 0.3.1_1 to 0.3.3... pkg: unlinkat(usr/local/lib/libuhttpmock-0.0.so.0.1.1): No such file or directory [18/72] Extracting uhttpmock-0.3.3: 100% [19/72] Upgrading tracker from 1.2.5_1 to 1.2.5_2... [19/72] Extracting tracker-1.2.5_2: 53% pkg: cannot rename /usr/local/share/doc/libtracker-sparql/tracker-examples-writeonly-with-blank-nodes.html.U0B6VZKyL9L2 to /usr/local/share/doc/libtracker-sparql/tracker-examples-writeonly-with-blank-nodes.html: Operation not permitted [19/72] Extracting tracker-1.2.5_2: 100% [19/72] Deleting files for tracker-1.2.5_2: 100% and then pkg calls it quits. The EPERM errors seem to be kind of random. If I go and look at the "from" file for the rename() using "ls -lo", I see all sorts of random flags, like opaque, archive, uunlnk, etc. I booted single user and ran fsck, which came back totally clean. Then I used chflags -R to clear all the flags, did pkg upgrade again, and ran into the exact same problems. If I rerun pkg upgrade, it may fail on the same port again, ir it might pick another. I can go in an manually clear the flags, nuke the temporary file that pkg created and upgrade the failed package. I never had that fail. But running pkg upgrade without specifying a package will then fail elsewhere. When pkg upgrade exits like shown above, it seems to nuke the license files (and random other files) for the earlier ports, causing the unlinkat errors on the next upgrade attempt. After getting everything upgraded, I then tried "pkg upgrade -f" and got something like the following error: # pkg upgrade -f qt4-uic3 Updating myrepo repository catalogue... myrepo repository is up-to-date. All repositories are up-to-date. qt4-uic3 has no direct installation candidates, change it to qt4-uic? [Y/n]: y pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE name=?2; in file pkg_jobs.c:1577: UNIQUE constraint failed: packages.name Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_ conflicts_check_local_path, file pkg_jobs_conflicts.c, line 360. Child process pid=3117 terminated abnormally: Abort trap: 6 THis seems to happen when for ports that are obsolete and the replacement that pkg suggest is already installed. Answering "n" to the question doesn't help because pkg just asks again. I went through and deleted all of the outmoded packages, and when I ran I ran "pkg upgrade -f" again, I was back to the first error. [snip] aisleriot-3.14.2 adwaita-icon-theme-3.14.0_1 accountsservice-0.6.37_1 accerciser-3.14.0_1 aalib-1.4.r5_11 OpenEXR-2.2.0_4 ORBit2-2.14.19_1 ImageMagick-6.9.0.4,1 GraphicsMagick-1.3.20_2,1 CoinMP-1.7.6_1 2ManDVD-1.8.5_2 The process will require 700 kB more space. Proceed with this action? [y/N]: y [1/1211] Reinstalling xproto-7.0.26... [1/1211] Extracting xproto-7.0.26: 100% [2/1211] Reinstalling libiconv-1.14_6... [2/1211] Extracting libiconv-1.14_6: 100% [3/1211] Reinstalling libxml2-2.9.2_2... [3/1211] Extracting libxml2-2.9.2_2: 100% [4/1211] Reinstalling libpthread-stubs-0.3_6... [4/1211] Extracting libpthread-stubs-0.3_6: 100% [5/1211] Reinstalling libXdmcp-1.1.1_2... [5/1211] Extracting libXdmcp-1.1.1_2: 100% [6/1211] Reinstalling libXau-1.0.8_2... [6/1211] Extracting libXau-1.0.8_2: 100% [7/1211] Reinstalling indexinfo-0.2.2... [7/1211] Extracting indexinfo-0.2.2: 100% [8/1211] Reinstalling libxcb-1.11... [8/1211] Extracting libxcb-1.11: 100% [9/1211] Reinstalling libfontenc-1.1.2_2... [9/1211] Extracting libfontenc-1.1.2_2: 100% [10/1211] Reinstalling libffi-3.2.1... [10/1211] Extracting libffi-3.2.1: 100% [11/1211] Reinstalling kbproto-1.0.6... [11/1211] Extracting kbproto-1.0.6: 100% [12/1211] Reinstalling gettext-runtime-0.19.3... [12/1211] Extracting gettext-runtime-0.19.3: 100% [13/1211] Reinstalling freetype2-2.5.5... [13/1211] Extracting freetype2-2.5.5: 100% [14/1211] Reinstalling xextproto-7.3.0... [14/1211] Extracting xextproto-7.3.0: 100% [15/1211] Reinstalling xcb-util-0.4.0,1... [15/1211] Extracting xcb-util-0.4.0,1: 100% [16/1211] Reinstalling renderproto-0.11.1... [16/1211] Extracting renderproto-0.11.1: 100% [17/1211] Reinstalling python27-2.7.9... [17/1211] Extracting python27-2.7.9: 100% [18/1211] Reinstalling perl5-5.18.4_11... [18/1211] Extracting perl5-5.18.4_11: 30% pkg: cannot rename /usr/local/lib/perl5/5.18/perl/man/man3/CPANPLUS::Internals::Utils.3.gz.tUKayLFDPn2q to /usr/local/lib/perl5/5.18/perl/man/man3/CPANPLUS::Internals::Utils.3.gz: Operation not permitted [18/1211] Extracting perl5-5.18.4_11: 100% [18/1211] Deleting files for perl5-5.18.4_11: 100% I'm using the lastest version of pkg: %pkg info pkg pkg-1.4.6 Name : pkg Version : 1.4.6 Installed on : Thu Jan 22 21:57:42 PST 2015 Origin : ports-mgmt/pkg Architecture : freebsd:8:x86:32 Prefix : /usr/local Categories : ports-mgmt Licenses : BSD2CLAUSE Maintainer : portmgr@FreeBSD.org WWW : http://wiki.freebsd.org/pkgng Comment : Package manager Shared Libs provided: libpkg.so.3 Annotations : repo_type : binary repository : myrepo Flat size : 6.87MiB Description : Package management tool WWW: http://wiki.freebsd.org/pkgng In case my package repository is corrupt, I kicked off a poudriere bulk run to rebuild the whole thing.