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

Rik Mills rik.mills88 at gmail.com
Thu Apr 6 19:25:42 UTC 2017


Public bug reported:

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

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to libqapt in Ubuntu.
https://bugs.launchpad.net/bugs/1680576

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libqapt/+bug/1680576/+subscriptions




More information about the kubuntu-bugs mailing list