Date: Tue, 9 Nov 2010 23:12:37 +0100 From: Stefan Ehmann <shoesoft@gmx.net> To: ruby@freebsd.org Subject: portupgrade: cmd_stop_rc broken in 2.4.7? Message-ID: <201011092312.37291.shoesoft@gmx.net>
index | next in thread | raw e-mail
Hello,
After the update to 2.4.7, I get an error when I try to update any port, e.g.:
# portupgrade vim
...
---> Backing up the old version
---> Uninstalling the old version
---> Deinstalling 'vim-7.3.48'
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! vim-7.3.48 (undefined method `nil' for "":String)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! editors/vim (vim-7.3.48) (uninstall error)
Update works fine if I remove the following entry in
/usr/local/etc/pkgtools.conf:
BEFOREDEINSTALL = {
# Automatically stop the service for each package that has a
# rc script enabled
'*' => proc { |origin|
cmd_stop_rc(origin)
},
}
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011092312.37291.shoesoft>
