Multiple port versions

Lothar Braun mail at lobraun.de
Thu Jan 4 02:13:29 PST 2007


Hi,

On Wednesday 03 January 2007 16:33, Vizion wrote:
> Just been doing a check on installed applications.
>
> pkg_info shows multiple installed versions of autoconf, automake, db &
> gnupg. viz:
>
> autoconf-2.13.000227_5 Automatically configure source code on many Un*x
> platforms
> autoconf-2.53_3     Automatically configure source code on many Un*x
> platforms 
> autoconf-2.59_2     Automatically configure source code on many 
> Un*x platforms
> automake-1.4.6_2    GNU Standards-compliant Makefile 
> generator (1.4)
> automake-1.5_2,1    GNU Standards-compliant Makefile 
> generator (1.5)
> automake-1.9.6      GNU Standards-compliant Makefile 
> generator (1.9) 

It is ok (and even neccessary) that you have different autoconf/automake 
versions installed. This is because different projects use different versions 
of this package. And these versions are not compatible. A port that uses 
automake-1.5 will not compile with automake-1.9.
You therefore need all these versions of autoconf and automake.

> db4-4.0.14_1,1      The Berkeley DB package, revision 4 
> db42-4.2.52_5       The Berkeley DB package, revision 4.2

This might be a similar problem. If you look at the ports, then you will see 
that there are quite a few versions of the db package available. Maybe there 
are ports that depend on 4.0 and won't work with 4.2. I'm not sure if it is a 
good idea to remove the older version.

> gnupg-1.4.6_3       The GNU Privacy Guard
> gnupg-2.0.1         The GNU Privacy Guard

You can savely remove gnupg-1.4.6_3. Version 1.4.6_3 was the gnupg port and 
2.0.1 was the gnupg-devel port. Version 1.4.6_3 is now obsolete and you can 
savely remove it.

> I used partupgrade -aF recently when, on reconsideration, it would have
> been better to have done portupgrade -F on specific ports!
>
> What is the safest way to remove the earlier versions?

You can remove them the normal way with "pkg_delete package". E.g. pkg_delete 
gnupg-1.4.6_3

Best regards,
  Lothar
-------------- 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/20070104/3dae7467/attachment-0001.pgp


More information about the freebsd-questions mailing list