[Bug 1680576] [NEW] gstreamer-qapt.postinst script "update-alternatives: error: alternative path /usr/lib/kde4/libexec/qapt-gst-helper doesn't exist"

Launchpad Bug Tracker 1680576 at bugs.launchpad.net
Thu Apr 6 19:40:14 UTC 2017


You have been subscribed to a public bug by Rik Mills (rikmills):

gstreamer-qapt.postinst script produces error update-alternatives:
error: alternative path /usr/lib/kde4/libexec/qapt-gst-helper doesn't
exist

In fact, both the postinst and prerm scripts are using the old incorrect
paths to qapt-gst-helper

Should for example be /usr/lib/x86_64-linux-gnu/libexec/qapt-gst-helper
on amd64 and similar multiarch paths in place of 'x86_64-linux-gnu' on
other architectures.

Debian 'fixed' this with:

https://anonscm.debian.org/cgit/pkg-kde/kde-
extras/qapt.git/commit/?id=cef992921a18ebb918178f704b4c5c689d1a94a3

however, it does not produce the correct path.

i.e. /$DPKG_MAINTSCRIPT/_ARCH becomes /amd64/ /i386/ etc, so this would
still fail.

As kindly suggested by Maximiliano Curia from debian, we need to

"move the maintscripts to .in and generate the "right" maintscript at
build time [10:29] (using a magic rule and sed)"

** Affects: libqapt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gstreamer-qapt.postinst script "update-alternatives: error: alternative path /usr/lib/kde4/libexec/qapt-gst-helper doesn't exist"
https://bugs.launchpad.net/bugs/1680576
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to the bug report.




More information about the kubuntu-bugs mailing list