After Update today: No origin available for eigen~pkg-renamed~3FCF-3.2.2

Matthew Seaman matthew at FreeBSD.org
Wed Dec 10 07:44:49 UTC 2014


On 09/12/2014 20:27, O. Hartmann wrote:
> On several CURRENT and 10.1-boxes with today's ports tree update, I run into a very
> strange problem with a non-responsive, non-updatable portstree, with errors like
> 
> 
> ===>>> Gathering distinfo list for installed ports
> 
> ===>>> Starting check of installed ports for available updates
>         ===>>> No origin available for eigen~pkg-renamed~3FCF-3.2.2
> 
> 
> ===>>> Cannot continue
> ===>>> Aborting update
> 
> 
> This "-renamed~3FCF-3.2.2" extension occurs on many ports and in UPDATING, there is no
> mark that should give me a hint ...
> 

This happens when you have multiple ports installed with the same port
name.  As the port name has now become the unique key in the package
system, packages with duplicate names have had an arbitrary string
appended to their names to distinguish them and allow pkg to upgrade
it's database schema.

This duplicated names problem shouldn't occur in an up-to-date ports
tree, and we expected it to be a very rare occurrence in general.  I
don't know why portmaster is complaining about not being able to find
the package origin -- that's still stored in the package database and
won't have been modified at all.  You should be able to see them by:

   pkg info -ox '~pkg-renamed~'

To fix the problem, probably the best approach would be to judiciously
delete and reinstall those renamed packages you want to keep, and delete
the rest.  Ideally you should find that those ports now have distinct names.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 971 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20141210/e8c00cd6/attachment.sig>


More information about the freebsd-ports mailing list