portupgrade -arR fails -> port/pkg-system no longer usable
Ewald Jenisch
a at jenisch.at
Mon Mar 22 07:31:28 PST 2004
Hi,
Doing a "portupgrade -arR" rendered my system (esp. the parts that
refer to ports/packages) more or less unusable.
Here's what I did:
System is running 4.9
cvsup -g -L 2 ports-supfile
pkgdb -F
portsdb -Uu
cd /usr/ports
portupgrade -arR
After some hours worth of CPU-time I ended with a lot of ports not
been upgraded like e.g.
! graphics/png (png-1.2.5_2) (uninstall error)
! textproc/xmlcatmgr (xmlcatmgr-0.2_1) (uninstall error)
! textproc/sdocbook-xml (sdocbook-xml-4.1.2.5_1) (uninstall error)
! lang/ruby16-shim-ruby18 (ruby-shim-ruby18-1.8.0.p2.2003.04.19_1) (uninstall error)
! devel/libtool13 (libtool-1.3.5_1) (uninstall error)
! converters/libiconv (libiconv-1.9.1_1) (uninstall error)
! textproc/expat2 (expat-1.95.6_1) (uninstall error)
! archivers/lha (lha-1.14i_1) (uninstall error)
! textproc/py-expat (py23-expat-2.3_2) (unknown build error)
! graphics/jpeg (jpeg-6b_1) (uninstall error)
! textproc/docbook-sk (docbook-sk-4.1.2) (uninstall error)
! textproc/docbook-xsl (docbook-xsl-1.61.3_1) (uninstall error)
! graphics/tiff (tiff-3.5.7_1) (uninstall error)
! devel/gettext (gettext-0.12.1) (unknown build error)
! databases/ruby-bdb1 (ruby-bdb1-0.2.1) (uninstall error)
! graphics/lcms (lcms-1.09,1) (uninstall error)
! sysutils/portupgrade (portupgrade-20030723) (uninstall error)
! devel/libltdl (libltdl-1.5) (uninstall error)
! lang/guile (guile-1.6.4_2) (uninstall error)
! devel/pkgconfig (pkgconfig-0.15.0) (uninstall error)
etc.etc.
So I tried
# pkgdb -F
/usr/local/sbin/pkgdb:35:in `require': No such file to load -- pkgtools (LoadError)
from /usr/local/sbin/pkgdb:35
#
and
# portsdb -Uu
/usr/local/sbin/portsdb:35:in `require': No such file to load -- pkgtools (LoadError)
from /usr/local/sbin/portsdb:35
#
as well as
# portversion
/usr/local/sbin/portversion:35:in `require': No such file to load -- pkgtools (LoadError)
from /usr/local/sbin/portversion:35
#
Please note that I've "portupgraded" my system with "-arR" several
times in the past without any problems so far.
BTW - I'm experiencing the same problems with another system that's
running 5.2.1.
Any pointer/help in order to get my system going again is very much
appreciated!
Thanks much in advance for your help,
-ewald
More information about the freebsd-questions
mailing list