[pkg-db-devel] Bug#773806: Bug#773806: Bug#773806: libdb5.3-java: Pre-installation script fails
Ondřej Surý
ondrej at sury.org
Tue Dec 30 17:42:42 UTC 2014
JFTR This is caused by older dpkg (<< 1.17.22) that didn't set
${misc:Pre-Depends} to >= 1.17.14.
This is not a bug in src:db5.3 per se, but it needs to be fixed by
sourceful upload of db5.3 anyway since libdb5.3-java is arch:all and
cannot be fixed by binNMU.
As a temporary fix upgrade your dpkg to >= 1.17.14 first and then
upgrade rest of the system.
Cheers,
Ondrej
On Tue, Dec 30, 2014, at 15:50, Ondřej Surý wrote:
> Control: severity -1 important
> Control: tags -1 + moreinfo
>
> Hi Ulrich,
>
> I can't reproduce the bug and by reading dpkg-maintscript-helper I think
> you are mistaken in your diagnosis.
>
> It's the $SYMLINK and not the $SYMLINK_TARGET that has to be absolute
> target, see the code.
>
> But it looks like the support for relative symlinks were added in
> 1.17.14:
>
> dpkg (1.17.14) unstable; urgency=low
> [...]
> * Add support for relative symlinks to dpkg-maintscript-helper
> symlink_to_dir
> command. Suggested by Don Armstrong <don at debian.org>.
>
> and the ${misc:Pre-Depends} was fixed in 1.17.22:
>
> dpkg (1.17.22) unstable; urgency=low
> [...]
> * Bump minimal version for dir_to_symlink and symlink_to_dir commands
> to 1.17.14 in dpkg-maintscript-helper(1) man page. Closes: #769843
>
> So libdb5.3-java just needs binNMU with dpkg 1.17.22.
>
> Cheers,
> Ondrej
>
> On Tue, Dec 23, 2014, at 14:45, Ulrich Klauer wrote:
> > Package: libdb5.3-java
> > Version: 5.3.28-7~deb8u1
> > Severity: grave
> > Justification: prevents package from being installed/upgraded
> >
> > Unfortunately, there is another[1] bug in libdb5.3-java.maintscript which
> > means that the package still can't be installed or, if an earlier version
> > is present, can't be upgraded. The error message is:
> >
> > > dpkg-maintscript-helper: error: original symlink target is not an absolute path
> >
> > So, the target argument to symlink_to_dir must be an absolute path, i.e.
> > "/usr/share/doc/libdb5.3" instead of just "libdb5.3". See [2] for an
> > explanation of why this was changed in dpkg 1.17.13.
> >
> > Ulrich
> >
> > [1] http://bugs.debian.org/771877
> > [2] http://bugs.debian.org/758778
> >
> > -- System Information:
> > Debian Release: 8.0
> > APT prefers testing
> > APT policy: (990, 'testing'), (800, 'unstable'), (100, 'experimental')
> > Architecture: amd64 (x86_64)
> > Foreign Architectures: i386
> >
> > Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores)
> > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/dash
> >
> > Versions of packages libdb5.3-java depends on:
> > ii dpkg 1.17.13
> > ii libdb5.3-java-jni 5.3.28-7~deb8u1
> >
> > libdb5.3-java recommends no packages.
> >
> > Versions of packages libdb5.3-java suggests:
> > pn libdb5.3-java-gcj <none>
> >
> > -- no debconf information
> >
> > _______________________________________________
> > pkg-db-devel mailing list
> > pkg-db-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-db-devel
>
>
> --
> Ondřej Surý <ondrej at sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
>
> _______________________________________________
> pkg-db-devel mailing list
> pkg-db-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-db-devel
--
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
More information about the pkg-db-devel
mailing list