On Fri, 17 Nov 2017 at 00:40:02 +0100, Andreas Beckmann wrote:
> dpkg: error processing archive
> /var/cache/apt/archives/libidn2-doc_2.0.4-1_all.deb (--unpack):
> trying to overwrite '/usr/share/info/libidn2.info.gz', which is also in
> package libidn2-dev:amd64 2.0.2-5
I think the attached patch should do the right thing.
Regards,
smcv
>From fa446226a68e20a7a30ecac62b0abe60c0d634df Mon Sep 17 00:00:00 2001
From: Simon McVittie <[email protected]>
Date: Wed, 22 Nov 2017 08:31:37 +0000
Subject: [PATCH 3/4] libidn2-doc Breaks/Replaces older versions of both
libidn2-dev and libidn2-0-dev (Closes: #881968)
---
debian/changelog | 2 ++
debian/control | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3cf9420..54bdcb3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ libidn2 (2.0.4-1.1) UNRELEASED; urgency=medium
by dh_autoreconf and deleted by dh_autoreconf_clean
- Use gtkdocize --copy to avoid gtk-doc.make becoming a symlink, which
dh_autoreconf doesn't currently handle
+ * libidn2-doc Breaks/Replaces older versions of both libidn2-dev and
+ libidn2-0-dev (Closes: #881968)
-- Helmut Grohne <[email protected]> Fri, 17 Nov 2017 22:43:07 +0100
diff --git a/debian/control b/debian/control
index 2f9e798..697ff25 100644
--- a/debian/control
+++ b/debian/control
@@ -72,8 +72,8 @@ Package: libidn2-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
-Replaces: libidn2-0-dev (<< 2.0.3-1~)
-Breaks: libidn2-0-dev (<< 2.0.3-1~)
+Replaces: libidn2-0-dev (<< 2.0.3-1~), libidn2-dev (<< 2.0.3-1~)
+Breaks: libidn2-0-dev (<< 2.0.3-1~), libidn2-dev (<< 2.0.3-1~)
Recommends: libidn2-dev
Description: Internationalized domain names (IDNA2008/TR46) documentation
Libidn2 implements the revised algorithm for internationalized domain
--
2.15.0