Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2005 11:19:32 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        dave <dmehler26@woh.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: perl upgrade broke 5.3 system
Message-ID:  <20050207191932.GC3160@xor.obsecurity.org>
In-Reply-To: <002201c50d36$c27e4f60$0400a8c0@satellite>
References:  <002201c50d36$c27e4f60$0400a8c0@satellite>

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

--kfjH4zxOES6UT95V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Feb 07, 2005 at 12:02:08PM -0500, dave wrote:
> Hello,
>     I just updated ports after being away for two weeks. The update process
> itself went fine, my problem came when i ran the command to update
> perl-dependent ports as suggested in /usr/ports/UPDATING. I got a bunch of
> failed updates, php4-extensions, and any of my p5* ports, apache2,
> subversion, ices, etc. I've tried manually running portupgrade packagename
> but all i get is a prompt, it's as if portupgrade thinks everything is
> updated, but dependent perl ports are not working.

portupgrade -f

> The noticer was when
> MailScanner couldn't find SpamAssassin although the latest version of both
> ports are installed.

It sounds like some of the ports are still installed in the perl 5.8.5
directory, so the newer ports that have been rebuilt against perl
5.8.6 cannot find them.  That was what the command in UPDATING was
supposed to fix though, so maybe there is a corner case that was not
covered.  If you can reproduce this, talk to the perl@FreeBSD.org
mailing list.

>     On another question when i install a port if it installs dependencies
> and those are only needed by that port, when i uninstall the port i'd like
> to updte and remove those dependencies as well, is this doable?

Not automatically, because the system can't know if you're actually
using any of those build-time dependencies yourself (e.g. you might be
using gmake or gcc 3.4 for your own non-port projects), but the
pkg_cutleaves port can help to do this.

Kris

--kfjH4zxOES6UT95V
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCB79EWry0BWjoQKURAoaFAKDI/nBanUoO7iTMhJSoSrR9BD2LSwCgmIOW
AV/ZP2WFcSasS3bfmEEVG5g=
=Z41a
-----END PGP SIGNATURE-----

--kfjH4zxOES6UT95V--



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