Can I resume the perl upgrade?
Dmitry Marakasov
amdmi3 at amdmi3.ru
Fri Apr 10 18:05:25 UTC 2009
* Brian Whalen (brian at brianwhalen.net) wrote:
> > According to /usr/ports/UPDATING, if you want to upgrade to perl5.10,
> > you do the following:
> >
> > Portupgrade users:
> > 0) Fix pkgdb.db (for safety):
> > pkgdb -Ff
> >
> > 1) Reinstall perl with new 5.10:
> > portupgrade -o lang/perl5.10 -f perl-5.8.\*
> >
> > 2) Reinstall everything that depends on Perl:
> > portupgrade -fr perl
> >
> > My machine got rebooted right in the middle of step 3. Is there a way
> > to resume where I left off? Or do I just start over?
> >
> What about perl-after-upgrade instead of step 3? I havent done this
> perl upgrade yet, but normally this is enough.
I did this:
find /var/db/pkg -name "+CONTENTS" | xargs grep --files-with-match "lib/perl5.*5.8.9" | awk -F/ '{print $5}'
then this:
for f in `find /usr/local/bin /usr/local/lib /usr/local/libexec /usr/local/sbin -type f`; do ldd $f 2>/dev/null | grep -q libperl && pkg_which $f; done
and portupgraded only named ports. No problems so far.
--
Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://www.amdmi3.ru
More information about the freebsd-ports
mailing list