On 20 Nov 2004, at 1:00 AM, jfm wrote:

I too had to remove nxml-mode ( and jde ) before being able to
install the latest emacs21-gtk.
xml-node could be reinstalled afterwards, but for jde even that didn't work...

The problem with nxml-mode was that when emacs21 is updated, both its prerm and postinst scripts get called. In the prerm script, there is:


  if [ $1 != "upgrade" ]; then
    ...
    /sw/lib/emacsen-common/emacs-remove emacs21
  fi

However the postinst script does:

  # Regiser ourselves with emacsen-common
  /sw/lib/emacsen-common/emacs-install emacs21

without any check on whether it's an upgrade.

This results in nxml-mode (and all other emacs packages) having their install script called again, without the remove script being called.

I'm not sure that emacs21 is doing the right thing here, but will have to look at it more...

In the meantime, I've updated nxml-mode to handle its install script being called more than once.

Still looking at jde...

--
Rohan Lloyd



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to