dealing with duplicate packages

Kris Kennaway kris at obsecurity.org
Sat Dec 3 20:14:35 PST 2005


On Sat, Dec 03, 2005 at 11:07:38PM -0500, Michael P. Soulier wrote:
> People,
> 
> I was just looking at my package database, and it seems that I have
> some dups installed thanks to some ports I've installed.
> 
> [msoulier at kanga ~]$ alias pkg_dups
> alias pkg_dups='pkg_info | sort | sed -e '\''s/-[0-9].*$//'\'' | uniq
> -c | grep -v '\''^[[:space:]]*1'\'''
> [msoulier at kanga ~]$ pkg_dups
>    3 autoconf
>    3 automake
>    2 libtool

Probably not duplicates, but different ports.

>    2 p5-Compress-Zlib
>    2 p5-ExtUtils-CBuilder
>    2 p5-IO-String

These probably are.

> I'd prefer to have one version of each of these installed. What's the
> normal way to resolve this, and the subsequent dependency problems?

Use a tool like portupgrade to upgrade your ports.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051203/317899f0/attachment.bin


More information about the freebsd-questions mailing list