Re: portupgrade -arR fails - port/pkg-system no longer usable

2004-03-24 Thread Ewald Jenisch

On Mon, Mar 22, 2004 at 04:05:01PM -, [EMAIL PROTECTED] wrote:
 Have had the same problem. Easiest solution is to cd to
 /usr/ports/sysutils/portupgrade and make deinstall clean install
 
 Once that completes all is well again.
 

Hi Jon,

Thanks much for the hint! It absolutely did the trick!

-ewald

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade -arR fails - port/pkg-system no longer usable

2004-03-22 Thread Ewald Jenisch

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


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade -arR fails - port/pkg-system no longer usable

2004-03-22 Thread jon . mercer
Have had the same problem. Easiest solution is to cd to
/usr/ports/sysutils/portupgrade and make deinstall clean install

Once that completes all is well again.

Jon Mercer
http://www.achean.com


 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


 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade -arR fails - port/pkg-system no longer usable

2004-03-22 Thread Michael W. Oliver
On 2004-03-22T16:31:23+0100, Ewald Jenisch wrote:
 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

[snip]

I believe that this is related to the bump of ruby from 1.6 to 1.8, but
I could be wrong.  If I am right, then read /usr/ports/UPDATING,
specifically the entry on 20040226.

If I am wrong, then I hope someone else has the right answer.

-- 
Mike
perl -e 'print unpack(u,88V]N=%C=\!I;F9O(EN(AE861EG,*);'



pgp0.pgp
Description: PGP signature


Re: portupgrade -arR fails - port/pkg-system no longer usable

2004-03-22 Thread Kent Stewart
On Monday 22 March 2004 07:31 am, Ewald Jenisch wrote:
 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!


You need to read /usr/ports/UPDATING to see how to upgrade portupgrade 
so that it is using ruby-1.8. I only use ruby with portupgrade so it 
was simple to do a recursive pkg_delete of ruby and reinstall 
portupgrade. That upgraded ruby to 1.8 and everything was happy.

You jumped into the middle of some massive updates. For example, 
everything that uses expat has to be updated to using the new version. 
The new portupgrade and pkgdb -F is your friend.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]