Updated perl - broke stuff

Erik Norgaard norgaard at locolomo.org
Sun Feb 13 22:00:38 GMT 2005


Paul Schmehl wrote:

> I maintain a small hobby website on a volunteer basis.  (I do all the 
> technical stuff - server maintenance, etc.)  I ran portupgrade today, 
> and there was an update to perl.  (I'm using the ports perl.)  It broke 
> the webserver.  I had to deinstall and reinstall www/p5-libwww, 
> www/mod_perl and www/apache13-modssl to get it working again.
> 
> When I first tried to install p5-libwww and mod_perl, both of them 
> failed because they couldn't find perl-5.8.5.  I ran use.perl port and 
> then they both built fine and installed.

/usr/bin/perl is a symbolic link refering to the version in use. When 
you upgraded perl the link became blind - it shouldn't but did. use.perl 
created the link again.

> Running pkg_info -R perl-5.8.6_2 seems to indicate that everything else 
> had its dependencies updated.  Is there something missing in those two 
> ports? The rest seemed to get their dependencies updated just fine 
> during the build of perl.

Read /usr/ports/UPDATING, there is an entry on how to upgrade perl. In 
particular it notes that some upgrade of dependencies may fail and need 
be handled manually.

Well, now you've done it, doesn't matter, but next time :-)

Cheers, Erik

-- 
Ph: +34.666334818                           web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2


More information about the freebsd-questions mailing list