Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help
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)
    },
  }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011092312.37291.shoesoft>