Столкнулся сегодня с такой ошибкой при обновлении порта:
# portupgrade autoconf-wrapper
обновился без проблем, а вот
# portupgrade autoconf
заканчивается такими ошибками:
gmake[2]: Leaving directory `/usr/ports/devel/autoconf/work/autoconf-2.68/man’
gmake[1]: Leaving directory `/usr/ports/devel/autoconf/work/autoconf-2.68′
—> Backing up the old version
—> Uninstalling the old version
—> Deinstalling ‘autoconf-2.62’
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg … – 48
packages found (-1 +0) (…) done]
—> Installing the new version via the port
===> Installing for autoconf-2.68
===> autoconf-2.68 depends on executable: gm4 – found
===> autoconf-2.68 depends on executable: autoconf-wrapper – found
===> autoconf-2.68 depends on file: /usr/local/bin/perl5.10.1 – found
===> Generating temporary packing list
===> Checking if devel/autoconf already installed
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20111227-55134-1w79ilx-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=autoconf-2.62 UPGRADE_PORT_VER=2.62 make reinstall
—> Restoring the old version
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg … – 49
packages found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/autoconf (autoconf-2.62) (install error)
Решилось просто – банальной переустановкой порта:
# cd /usr/ports/devel/autoconf/
# make deinstall clean
# make install clean