From owner-freebsd-ports@FreeBSD.ORG Sun Jan 25 19:25:56 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 7F37420B for ; Sun, 25 Jan 2015 19:25:56 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 21C48CB3 for ; Sun, 25 Jan 2015 19:25:56 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id n3so6041094wiv.3 for ; Sun, 25 Jan 2015 11:25:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Waf4gdQXdxgaQ6lUAvZSu744NUCJnCtI7axpGL+kKNY=; b=MexiV8F31qAIuUXnYfZQguIgk14NIFbwUFcB+XJ/IxoZLrc8oBv8E0KUb28XPQ692g bSjDObYGlQb98s07NFD6/w4RVQ07ZYN84esmBWBCC4LG4+YKcqWZo5zrKu19Z0CQZUYx cM+xxWUFhagFmtXOkKmGbeQAfhd2dGDXuJbcg3kCiSDA/SYccoqhI/Fm4mdlYxtd/osP eSmJpuGuCRL6tfaUZR+YmdxZ6Nz50iszjZvd8/K7DYT/Ram7xN0j5aQ7UNnuV5mUgc4c YZuCdj7f1/8uKpYd5vK4n508ra9dWTVslivyzfUWkwf6X7qImAu2s7FNkOdBfxXxUcoj PkSA== X-Received: by 10.180.210.195 with SMTP id mw3mr25552194wic.79.1422213954557; Sun, 25 Jan 2015 11:25:54 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id u17sm4190999wij.2.2015.01.25.11.25.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jan 2015 11:25:53 -0800 (PST) Sender: Baptiste Daroussin Date: Sun, 25 Jan 2015 20:25:51 +0100 From: Baptiste Daroussin To: Xavier Subject: Re: swig~pkg-renamed-XXX prevents upgrading swig Message-ID: <20150125192551.GS81001@ivaldir.etoilebsd.net> References: <54C540D2.7070909@groumpf.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Cbvl/UgeRTPlujdB" Content-Disposition: inline In-Reply-To: <54C540D2.7070909@groumpf.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: ports@freebsd.org 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: Sun, 25 Jan 2015 19:25:56 -0000 --Cbvl/UgeRTPlujdB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 25, 2015 at 08:15:30PM +0100, Xavier wrote: > Hi, >=20 > I cannot upgrade/reinstall swig (1.3 & 2.0) because a package name change= : >=20 > | [root@valinor ~]# portupgrade -vf devel/swig20 > | ---> Session started at: Sun, 25 Jan 2015 19:58:08 +0100 > | [Reading data from pkg(8) ... - 650 packages found - done] > | ** Detected a package name change: swig~pkg-renamed~5AF8 | > | (devel/swig20) -> 'swig' (devel/swig20) > | ---> Reinstallation of devel/swig20 started at: Sun, 25 Jan 2015 > | 19:58:23 +0100 > | ---> Reinstalling 'swig~pkg-renamed~5AF8-2.0.12_1' (devel/swig20) > | ---> Build of devel/swig20 started at: Sun, 25 Jan 2015 19:58:23 | > | +0100 > | [...] > | ---> Uninstallation of swig~pkg-renamed~5AF8-2.0.12_1 started at: > | Sun, 25 Jan 2015 20:02:20 +0100 > | ---> Fixing up dependencies before creating a package > | ---> Backing up the old version > | pkg: No installed package matching "swig~pkg-renamed~5AF8-2.0.12_1" > | found > | ** Backup failed. > | ---> Uninstallation of swig~pkg-renamed~5AF8-2.0.12_1 ended at: Sun, > | 25 Jan 2015 20:02:23 +0100 (consumed 00:00:02) > | ---> Reinstallation of devel/swig20 ended at: Sun, 25 Jan 2015 > | 20:02:23 +0100 (consumed 00:03:59) > | ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed > | ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) > ! devel/swig20 (swig~pkg-renamed~5AF8-2.0.12_1) (backup error) >=20 > However these packages are registered : >=20 > | [root@valinor ~]# pkg info swig\* > | swig~pkg-renamed~5AF8-2.0.12_1 > | swig~pkg-renamed~8A1C-1.3.40 >=20 > But cannot be deleted : >=20 > | [root@valinor ~]# pkg delete -f swig~pkg-renamed~5AF8-2.0.12_1 > | Checking integrity... done (0 conflicting) > | Package(s) not found! >=20 > Many thanks for any help. >=20 The following should work: pkg set -n swig~pkg-renamed~5AF8:swig pkg set -n swig~pkg-renamed~8A1C:swig13 or you have the hammer way: pkg delete -fg swig* Then reinstall swig. somehow your setup never catches the swig package rena= ming which occurs long ago. Best regards, Bapt --Cbvl/UgeRTPlujdB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlTFQz8ACgkQ8kTtMUmk6ExyjQCfTHtyXZmHg/yWo84krOF1o630 fMgAoIv7wXmsgwsb+0MCEARYAregKXX/ =CEaB -----END PGP SIGNATURE----- --Cbvl/UgeRTPlujdB--