Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2015 20:25:51 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Xavier <xavier@groumpf.org>
Cc:        ports@freebsd.org
Subject:   Re: swig~pkg-renamed-XXX prevents upgrading swig
Message-ID:  <20150125192551.GS81001@ivaldir.etoilebsd.net>
In-Reply-To: <54C540D2.7070909@groumpf.org>
References:  <54C540D2.7070909@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150125192551.GS81001>