pkgdb -F error
David S. Jackson
deepbsd at earthlink.net
Tue Apr 22 11:38:08 PDT 2003
When I run pkgdb -F I get the following error:
[...snip...]
** Error occured reading /usr/local/etc/pkgtools.conf:
undefined method `+' for nil
[...snip...]
Can anyone shed some light on this for me?
I may be completely misunderstanding the error, but the only '+' symbols
I see in pkgtools.conf are:
[...snip...]
**ROOT**@juno /usr/ports/sysutils/portupgrade]# grep '+' \
/usr/local/etc/pkgtools.conf
# string: '...' or "..."; use the `+' operator to concatinate
# array: [ value, ... ]; use the `+' operator to concatinate
# ENV['PORTS_INDEX'] ||= ENV['PORTSDIR'] + '/INDEX'
# ENV['PACKAGES'] ||= ENV['PORTSDIR'] + '/packages'
# ENV['PORTS_INDEX'] ||= ENV['PORTSDIR'] + '/INDEX.txt'
# ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All'
ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All'
# 'databases/mysql323-server' => localbase() +
# '/etc/rc.d/mysql-server.sh start',
# 'ja-Canna' => 'cd ' + localbase() + '/etc/rc.d && mv
# canna.sh canna.sh.noauto',
# '-v -l /var/tmp/portupgrade.results " + \
**ROOT**@juno /usr/ports/sysutils/portupgrade]#
[...snip...]
Thanks in advance!
--
David S. Jackson dsj at dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
My friend has a baby. I'm writing down all the noises
he makes so later I can ask him what he meant.
-- Steven Wright
More information about the freebsd-questions
mailing list