[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with unregister


because of bug #484929[0], I got a patch[1] from Stefan Potyra[2] which,
in case of failed-upgrade, would make it possible to unregister another
version of the same package.  This seems to be useful in cases like the
one related in the Ubuntu bug report[3], so I included it in my last
version of gtk2hs[4].  But, one thing I wondered is about haskell-utils.
I like the way it treats prerm and postinst, that is, calling
register.sh and unregister.sh, but can't something like this bug happens
with this approach?  I thought about calling ghc-pkg6 directly in this
case only, but it seems strange to me to call a script that calls
ghc-pkg6 in a case, and call it directly in another one.

I made a patch[5] for it.  Please comment.


0: http://bugs.debian.org/484928
2: stefan.potyra@informatik.uni-erlangen.de
3: https://bugs.launchpad.net/ubuntu/+source/gtk2hs/+bug/229489
4: http://marcot.iaaeee.org/gtk2hs
5: http://code.haskell.org/haskell-utils

Página: http://marcotmarcot.iaaeee.org/
Blog: http://marcotmarcot.blogspot.com/
Correio: marcot@riseup.net
XMPP: marcot@jabber.org
IRC: marcot@irc.freenode.net
Telefone: 25151920
Celular: 98116720
  Rua Turfa, 639/701
  Prado 30410-370
  Belo Horizonte/MG Brasil

Reply to: