Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2015 20:15:30 +0100
From:      Xavier <xavier@groumpf.org>
To:        ports@freebsd.org
Subject:   swig~pkg-renamed-XXX prevents upgrading swig
Message-ID:  <54C540D2.7070909@groumpf.org>

next in thread | raw e-mail | index | archive | help
Hi,

I cannot upgrade/reinstall swig (1.3 & 2.0) because a package name change :

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

However these packages are registered :

| [root@valinor ~]# pkg info swig\*
| swig~pkg-renamed~5AF8-2.0.12_1
| swig~pkg-renamed~8A1C-1.3.40

But cannot be deleted :

| [root@valinor ~]# pkg delete -f swig~pkg-renamed~5AF8-2.0.12_1
| Checking integrity... done (0 conflicting)
| Package(s) not found!

Many thanks for any help.

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer



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