Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2008 16:05:07 +0100
From:      "Helmut Schneider" <jumper99@gmx.de>
To:        freebsd-ports@freebsd.org
Subject:   [portupgrade] Argument must be String class object
Message-ID:  <fqbrb6$psb$1@ger.gmane.org>

next in thread | raw e-mail | index | archive | help
Hi,

I have a few problems with portupgrade, some ports fail with error above:

[root@FBSD70VM ~]# portupgrade -fPP snort-2.7.0.1_1 postfix-2.4.6,1 
apache-2.0.63
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! www/apache20 (apache-2.0.63)  (Argument must be String class 
object.)
        ! security/snort (snort-2.7.0.1_1)      (Argument must be String 
class object.)
        ! mail/postfix (postfix-2.4.6,1)        (Argument must be String 
class object.)
[root@FBSD70VM ~]#

The package itself is fine:

[root@FBSD70VM ~]# rm /usr/ports/packages/All/apache-2.0.63.tbz
[root@FBSD70VM ~]# pkg_delete -f apache-2.0.63
pkg_delete: package 'apache-2.0.63' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
[...]
pkg_delete: unable to completely remove directory 
'/usr/local/www/icons-dist'
pkg_delete: unable to completely remove directory '/usr/local/www/data-dist'
pkg_delete: unable to completely remove directory 
'/usr/local/www/cgi-bin-dist'
===> If you plan to do not reinstall apache2, you can safely remove 
/usr/local/etc/apache2.
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
[root@FBSD70VM ~]# portinstall -PP apache-2.0.63
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 276 packages 
found (-1 +0) (...) done]
[Gathering depends for www/apache20 ...................... done]
--->  Checking for the latest package of 'www/apache20'
--->  Fetching the package(s) for 'apache-2.0.63' (www/apache20)
--->  Fetching apache-2.0.63
/var/tmp/portupgrade7ddeL9hD/apache-2.0.63.tbz100% of 2437 kB 4001 kBps
--->  Downloaded as apache-2.0.63.tbz
--->  Identifying the package /var/tmp/portupgrade7ddeL9hD/apache-2.0.63.tbz
--->  Saved as /usr/ports/packages/All/apache-2.0.63.tbz
--->  Found a package of 'www/apache20': 
/usr/ports/packages/All/apache-2.0.63.tbz (apache-2.0.63)
--->  Located a package version 2.0.63 
(/usr/ports/packages/All/apache-2.0.63.tbz)
--->  Installing 'apache-2.0.63' from a package
--->  Installing the new version via the package
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 277 packages 
found (-0 +1) . done]
[root@FBSD70VM ~]#

This happens with 6.3 and 7.0. Any ideas?

Thanks, Helmut

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fqbrb6$psb$1>