From owner-freebsd-pkg@freebsd.org Thu Sep 15 15:15:34 2016 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2672ABDBBC2 for ; Thu, 15 Sep 2016 15:15:34 +0000 (UTC) (envelope-from mat@mat.cc) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0E9B013F for ; Thu, 15 Sep 2016 15:15:34 +0000 (UTC) (envelope-from mat@mat.cc) Received: by mailman.ysv.freebsd.org (Postfix) id 0E03BBDBBC0; Thu, 15 Sep 2016 15:15:34 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DB01BDBBBF for ; Thu, 15 Sep 2016 15:15:34 +0000 (UTC) (envelope-from mat@mat.cc) Received: from prod2.absolight.net (prod2.absolight.net [79.143.243.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CA6FC13B; Thu, 15 Sep 2016 15:15:33 +0000 (UTC) (envelope-from mat@mat.cc) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id E1B44BDD14; Thu, 15 Sep 2016 17:15:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=mat.cc; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=plouf; bh=iMzDDIdfb6q 6BqfuDUDzPF9roKg=; b=LUC//WWfM5X7PnU54YQMYhrkTNng7qWOCzYW4+9EmZu HqkqyqDJMUEYfN3tdcFDzTh1O1UGdnCSYO0BwjV0VYtNHK/rFxix4cY3rwbb7tVB MzOSpO3lvOBVMV0BBYm1SYJyFchqjSK05TpekgW5qlzjSSTxeKE42tU2El2qHIj0 = Received: from atuin.in.mat.cc (AMontsouris-654-1-279-15.w82-123.abo.wanadoo.fr [82.123.70.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id C0A1ABDD13; Thu, 15 Sep 2016 17:15:30 +0200 (CEST) Subject: Re: pkg: Fail to rename ... No such file or directory To: Eric van Gyzen , pkg@FreeBSD.org References: <657787aa-d354-0940-0253-fb74f59f62ad@FreeBSD.org> From: Mathieu Arnold Message-ID: <1373cee8-27fc-e0e6-ed6d-7b7195a044c6@mat.cc> Date: Thu, 15 Sep 2016 17:15:30 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <657787aa-d354-0940-0253-fb74f59f62ad@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 15 Sep 2016 15:15:34 -0000 Le 15/09/2016 =C3=A0 14:59, Eric van Gyzen a =C3=A9crit : > pkg folks, > > I just did a "pkg upgrade" and got the following error: > > [32/64] Upgrading javavmwrapper from 2.5_1 to 2.5_2... > [32/64] Extracting javavmwrapper-2.5_2: 100% > pkg: Fail to rename /usr/local/bin/.checkvms.GdLZnmHbYGAd -> > /usr/local/bin/checkvms: No such file or directory > > I'm running pkg version 1.8.7_1 on stable/11 r305779. The full transcr= ipt is > attached. > > Now, simply trying "pkg install javavmwrapper" always fails with the sa= me error, > and /usr/local/bin/checkvms is missing (of course). Even if I create > /usr/local/bin/checkvms, pkg still fails with the same error. (Note th= at > checkvms is a symlink.) > > Removing and reinstalling the package worked. The problem was the package itself, pkg version 1.8.7_2 includes a fix for this exact problem. --=20 Mathieu Arnold