Hi Iusting, Am Mittwoch, den 19.12.2012, 23:07 +0100 schrieb Iustin Pop: > Just saw this: > > Unpacking libghc-parsec3-doc (from .../libghc-parsec3-doc_3.1.3-2_all.deb) ... > dpkg: error processing > /var/cache/apt/archives/libghc-parsec3-doc_3.1.3-2_all.deb (--unpack): > trying to overwrite '/usr/lib/ghc-doc/hoogle/parsec.txt', which is also in > package libghc-parsec2-doc 2.1.0.1-7 > > Is it a known issue? I can't find any bug about, but maybe it's a known > problem… If not, then a conflicts should be added, I think?
thanks for spotting this. This can be considered a bug in the new hoogle
support; when placing stuff in /usr/lib/ghc-doc/hoogle, it should use
DEB_CABAL_PACKAGE instead of the existing filename.
Kiwamu, can you look at the issue? I guess changing
find debian/$(notdir $@)/$(DEB_HADDOCK_HTML_DIR) -name "*.txt" \
-printf "%p $(DEB_HOOGLE_TXT_DIR)/%f\n" >>
debian/libghc-$(CABAL_PACKAGE)-doc.links
to
find debian/$(notdir $@)/$(DEB_HADDOCK_HTML_DIR) -name "*.txt" \
-printf "%p $(DEB_HOOGLE_TXT_DIR)/$(DEB_CABAL_PACKAGE).txt\n"
>> debian/libghc-$(CABAL_PACKAGE)-doc.links
could help (and break if there were multiple hoogle files, but why
should they), but this needs testing.
Greetings,
Joachim
--
Joachim "nomeata" Breitner
Debian Developer
[email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: [email protected] | http://people.debian.org/~nomeata
signature.asc
Description: This is a digitally signed message part
