From owner-freebsd-pkg@freebsd.org Tue Oct 30 10:39:49 2018 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB59210DF108 for ; Tue, 30 Oct 2018 10:39:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 699D47CD97 for ; Tue, 30 Oct 2018 10:39:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2B9B610DF104; Tue, 30 Oct 2018 10:39:49 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09B5C10DF103 for ; Tue, 30 Oct 2018 10:39:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B0657CD94 for ; Tue, 30 Oct 2018 10:39:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DA1CA135A7 for ; Tue, 30 Oct 2018 10:39:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9UAdl4J064062 for ; Tue, 30 Oct 2018 10:39:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9UAdlGP064061 for pkg@FreeBSD.org; Tue, 30 Oct 2018 10:39:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 232811] ports-mgmt/pkg: 'pkg upgrade' can fail with exit status 0 Date: Tue, 30 Oct 2018 10:39:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: david@catwhisker.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2018 10:39:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232811 Bug ID: 232811 Summary: ports-mgmt/pkg: 'pkg upgrade' can fail with exit status 0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: david@catwhisker.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Assignee: pkg@FreeBSD.org As shown in the typescript in , 'pkg upgrade' can encoun= ter an error that prevents it from actually upgrading anything, but then termin= ate with an exit status of 0. Salient excerpts from : Script started on Sun Oct 28 05:33:41 2018 ... Checking integrity... done (0 conflicting) The following 47 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: webkit-gtk2-2.4.11_17 webkit2-gtk3-2.20.5 gvfs-1.30.4 gnome-online-accounts-3.28.0 libgdata-0.17.9 Installed packages to be UPGRADED: tmux: 2.7 -> 2.8 tesseract: 3.05.02_2 -> 3.05.02_3 sqlite3: 3.25.1 -> 3.25.1_1 spidermonkey52: 52.8.0_1 -> 52.8.0_2 qtchooser: 39 -> 66 qt5-core: 5.11.2 -> 5.11.2_1 python36: 3.6.6_1 -> 3.6.7 py27-openssl: 17.5.0_1 -> 18.0.0 py27-libxml2: 2.9.7 -> 2.9.7_1 py27-gimp: 2.8.22_1 -> 2.10.6_1 portmaster: 3.19_15 -> 3.19_18 pkgconf: 1.5.3,1 -> 1.5.4,1 pciids: 20180921 -> 20181027 nss: 3.39 -> 3.40 netpbm: 10.83.02 -> 10.84.02 net-snmp: 5.7.3_18 -> 5.7.3_19 neon: 0.30.2_3 -> 0.30.2_4 mesa-dri: 18.1.9 -> 18.1.9_1 llvm60: 6.0.1_2 -> 6.0.1_3 linux-c6: 6.9_1 -> 6.10_1 libdvdcss: 1.4.1 -> 1.4.2 icu: 62.1_2,1 -> 63.1,1 help2man: 1.47.7 -> 1.47.8 harfbuzz-icu: 2.0.0 -> 2.0.2_1 harfbuzz: 2.0.0 -> 2.0.2 gtk-doc: 1.28 -> 1.29 gpgme: 1.11.1 -> 1.12.0 glib: 2.56.1_1,1 -> 2.56.1_2,1 gimp-app: 2.8.22_1,1 -> 2.10.6_1,1 gimp: 2.8.22,2 -> 2.10.6,2 freeglut: 3.0.0_1 -> 3.0.0_2 firefox: 62.0.3,1 -> 63.0_3,1 ffmpeg: 4.0.2_5,1 -> 4.0.2_7,1 dovecot: 2.3.3 -> 2.3.3_2 ca_root_nss: 3.39 -> 3.40 boost-libs: 1.68.0_1 -> 1.68.0_2 bind911: 9.11.4P2 -> 9.11.5 apr: 1.6.3.1.6.1_1 -> 1.6.5.1.6.1 apache24: 2.4.35 -> 2.4.37 Installed packages to be REINSTALLED: nut-2.7.4_8 (options changed) linux-c6-qt47-webkit-4.7.2_4 (direct dependency changed: linux-c6-qt47-x11) gimp-gutenprint-5.2.14 (needed shared library changed) Number of packages to be removed: 5 Number of packages to be upgraded: 39 Number of packages to be reinstalled: 3 The operation will free 121 MiB. Proceed with this action? [y/N]: y ... [16/47] Deleting files for gvfs-1.30.4: 100% [17/47] Upgrading gimp-app from 2.8.22_1,1 to 2.10.6_1,1... [17/47] Extracting gimp-app-2.10.6_1,1: 0% [17/47] Extracting gimp-app-2.10.6_1,1: 0% [17/47] Extracting gimp-app-2.10.6_1,1: 1% [17/47] Extracting gimp-app-2.10.6_1,1: 2% [17/47] Extracting gimp-app-2.10.6_1,1: 3% [17/47] Extracting gimp-app-2.10.6_1,1: 4% [17/47] Extracting gimp-app-2.10.6_1,1: 5% [17/47] Extracting gimp-app-2.10.6_1,1: 6% pkg: Fail to create temporary file: /usr/local/libexec/gimp/2.2/plug-ins/align-layers/.align-layers.pD2NdeK0jYa= A:Not a directory [17/47] Extracting gimp-app-2.10.6_1,1: 100% Command exit status: 0 Script done on Sun Oct 28 05:34:25 2018 The rest of the typescript from the above documents my (eventually successf= ul) attempts to circumvent the problem. This was on a system running: FreeBSD albert.catwhisker.org 11.2-STABLE FreeBSD 11.2-STABLE #797=20 r339829M/339839: Sun Oct 28 03:39:42 PDT 2018=20=20=20=20 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/ALBERT amd64 I note that this is the first time (of which I am aware) that I have encountered this issue since starting to use a weekly 'pkg upgrade' on this system since July, 2015. --=20 You are receiving this mail because: You are the assignee for the bug.=