Package: libleptonica Version: 1.69-3 Severity: serious Justification: breaks partial upgrades (policy ยง3.5) Tags: patch
As mentioned at [1], if I upgrade libleptonica and then try to run tesseract or an example program from leptonica-progs, I get errors: $ gammatest gammatest: error while loading shared libraries: liblept.so.1: cannot open shared object file: No such file or directory That's because libleptonica in wheezy does not contain liblept.so.1. Declaring Breaks against packages from squeeze that link to liblept.so.1 fixes it. Another patch that solves the same problem is at [2]. This patch is less invasive so I would like to use it first; the release team will let us know if [2] is worth pursuing later. I'll be filing a bug with another patch (about shlibs) and then putting up the source package on Alioth in case the patches already look ok and you'd like an NMU. If you have time to modify the changelog and make an upload under your name, that would be even better. Hope that helps, Jonathan [1] http://bugs.debian.org/680674 debian/changelog | 8 ++++++++ debian/control | 1 + 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index bb11b3c8..fa541b31 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +leptonlib (1.69-3.1) local; urgency=low + + * Add Breaks relations to prevent libleptonica from satisfying + dependencies by packages in squeeze and producing "liblept.so.1: + cannot open shared object file" errors. + + -- Jonathan Nieder <jrnie...@gmail.com> Sat, 14 Jul 2012 05:41:18 -0500 + leptonlib (1.69-3) unstable; urgency=low * Get ready for libpng transition (closes: #662392) diff --git a/debian/control b/debian/control index 438e1b09..34611b99 100644 --- a/debian/control +++ b/debian/control @@ -27,6 +27,7 @@ Package: libleptonica Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: leptonica-progs (<< 1.69~), tesseract-ocr (<< 3.02.01-4~) Description: image processing library Well-tested C library for some basic image processing operations, along with a description of the functions and some design methods. A -- 1.7.10.4 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org