[portupgrade] Argument must be String class object
Helmut Schneider
jumper99 at gmx.de
Sat Mar 1 15:05:28 UTC 2008
Hi,
I have a few problems with portupgrade, some ports fail with error above:
[root at 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 at FBSD70VM ~]#
The package itself is fine:
[root at FBSD70VM ~]# rm /usr/ports/packages/All/apache-2.0.63.tbz
[root at 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 at 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 at 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
More information about the freebsd-ports
mailing list