Bug 411821

Summary: Fatal error: Error while installing package: installed appimagelauncher package post-installation script subprocess returned error exit status 127
Product: [KDE Neon] neon Reporter: Kostas Papadopoulos <kpapad-bugs>
Component: Packages User EditionAssignee: Neon Bugs <neon-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, clay, jr, neon-bugs, roland, sitter, valtermura
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kostas Papadopoulos 2019-09-11 15:19:42 UTC
SUMMARY

Running "pkcon update" on a standard installation of KDE Neon 18.04 today, produced the following error:

Fatal error: Error while installing package: installed appimagelauncher package post-installation script subprocess returned error exit status 127

root@laptop:~# cat /etc/lsb-release 
DISTRIB_ID=neon
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="KDE neon User Edition 5.16"
root@laptop:~# 

root@laptop:~# pkcon refresh
Refreshing cache              [=========================]         
Loading cache                 [=========================]         
Refreshing software list      [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Finished                      [=========================]         
 Enabled                              http://gr.archive.ubuntu.com/ubuntu bionic InRelease
 Enabled                              http://ppa.launchpad.net/phoerious/keepassxc/ubuntu bionic InRelease
root@laptop:~# pkcon update 
Getting updates               [=========================]         
Finished                      [=========================]         
Loading cache                 [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be installed:
 appimagelauncher-1.2.2+dfsg-1+18.04+bionic+build1.amd64	AppImage helper
 binfmt-support-2.1.8-2.amd64	Support for extra binary formats
The following packages have to be updated:
 bluedevil-4:5.16.5-0xneon+18.04+bionic+build36.amd64	KDE Bluetooth stack
 breeze-4:5.16.5-0xneon+18.04+bionic+build44.amd64	Default Plasma theme (meta-package).
 breeze-cursor-theme-4:5.16.5-0xneon+18.04+bionic+build44.all	Default Plasma cursor theme.
 breeze-gtk-theme-5.16.5-0xneon+18.04+bionic+build37.amd64	GTK theme built to match KDE's Breeze
 curl-7.58.0-2ubuntu3.8.amd64	command line tool for transferring data with URL syntax
 drkonqi-5.16.5-0xneon+18.04+bionic+build36.amd64	Crash handler for Qt applications
 grub-theme-breeze-5.16.5-0xneon+18.04+bionic+build37.amd64	Breeze theme for Grub 2
 kactivitymanagerd-5.16.5-0xneon+18.04+bionic+build37.amd64	System service to manage user's activities
 kde-cli-tools-4:5.16.5-0xneon+18.04+bionic+build38.amd64	tools to use KDE services from the command line
 kde-cli-tools-data-4:5.16.5-0xneon+18.04+bionic+build38.all	tools to use kioslaves from the command line
 kde-config-gtk-style-4:5.16.5-0xneon+18.04+bionic+build35.amd64	KDE configuration module for GTK+ 2.x and GTK+ 3.x styles selection
 kde-config-gtk-style-preview-4:5.16.5-0xneon+18.04+bionic+build35.amd64	KDE configuration module for GTK+ 2.x and GTK+ 3.x styles selection (extras)
 kde-config-plymouth-5.16.5-0xneon+18.04+bionic+build36.amd64	KCM for Plymouth
 kde-config-screenlocker-5.16.5-0xneon+18.04+bionic+build36.amd64	KCM Module for kscreenlocker
 kde-style-breeze-4:5.16.5-0xneon+18.04+bionic+build44.amd64	Widget style for Qt and KDE Software
 kde-style-breeze-qt4-4:5.16.5-0xneon+18.04+bionic+build44.amd64	Widget style for Qt 4 and KDE Software
 kde-style-oxygen-qt5-4:5.16.5-0xneon+18.04+bionic+build38.amd64	Qt decoration for the Oxygen desktop theme
 kdeplasma-addons-data-4:5.16.5-0xneon+18.04+bionic+build36.all	locale files for kdeplasma-addons
 kgamma5-4:5.16.5-0xneon+18.04+bionic+build37.amd64	monitor calibration panel for KDE
 khotkeys-4:5.16.5-0xneon+18.04+bionic+build36.amd64	configure input actions settings
 khotkeys-data-4:5.16.5-0xneon+18.04+bionic+build36.all	configure input actions settings
 kinfocenter-4:5.16.5-0xneon+18.04+bionic+build36.amd64	system information viewer
 kmenuedit-4:5.16.5-0xneon+18.04+bionic+build36.amd64	XDG menu editor
 kscreen-4:5.16.5-0xneon+18.04+bionic+build38.amd64	KDE monitor hotplug and screen handling
 ksshaskpass-4:5.16.5-0xneon+18.04+bionic+build36.amd64	interactively prompt users for a passphrase for ssh-add
 ksysguard-4:5.16.5-0xneon+18.04+bionic+build35.amd64	process monitor and system statistics
 ksysguard-data-4:5.16.5-0xneon+18.04+bionic+build35.all	library for monitoring your system - shared library
 ksysguardd-4:5.16.5-0xneon+18.04+bionic+build35.amd64	System Guard Daemon
 kwayland-integration-4:5.16.5-0xneon+18.04+bionic+build36.amd64	kwayland runtime integration plugins
 kwin-addons-4:5.16.5-0xneon+18.04+bionic+build36.amd64	additional desktop and window switchers for KWin
 kwin-common-4:5.16.5-0xneon+18.04+bionic+build48.amd64	KDE window manager, common files
 kwin-data-4:5.16.5-0xneon+18.04+bionic+build48.all	KDE window manager data files
 kwin-style-breeze-4:5.16.5-0xneon+18.04+bionic+build44.amd64	KWin Breeze Style
 kwin-wayland-4:5.16.5-0xneon+18.04+bionic+build48.amd64	KDE window manager, wayland version, PREVIEW release
 kwin-wayland-backend-drm-4:5.16.5-0xneon+18.04+bionic+build48.amd64	KDE window manager drm plugin
 kwin-x11-4:5.16.5-0xneon+18.04+bionic+build48.amd64	KDE window manager, X11 version
 kwrited-4:5.16.5-0xneon+18.04+bionic+build36.amd64	Read and write console output to X.
 libcolorcorrect5-4:5.16.5-0xneon+18.04+bionic+build42.amd64	Plasma Workspace for KF5 library
 libcurl3-gnutls-7.58.0-2ubuntu3.8.amd64	easy-to-use client-side URL transfer library (GnuTLS flavour)
 libcurl4-7.58.0-2ubuntu3.8.amd64	easy-to-use client-side URL transfer library (OpenSSL flavour)
 libkdecorations2-5v5-4:5.16.5-0xneon+18.04+bionic+build37.amd64	library to create window decorations
 libkdecorations2private6-4:5.16.5-0xneon+18.04+bionic+build37.amd64	library to create window decorations - private library
 libkf5screen-bin-4:5.16.5-0xneon+18.04+bionic+build39.amd64	library for screen management - helpers
 libkf5screen7-4:5.16.5-0xneon+18.04+bionic+build39.amd64	library for screen management - shared library
 libkf5sysguard-bin-4:5.16.5-0xneon+18.04+bionic+build41.amd64	library for monitoring your system - shared library
 libkf5sysguard-data-4:5.16.5-0xneon+18.04+bionic+build41.all	library for monitoring your system - shared library
 libkfontinst5-4:5.16.5-0xneon+18.04+bionic+build57.amd64	Tools and widgets for the desktop library
 libkfontinstui5-4:5.16.5-0xneon+18.04+bionic+build57.amd64	Tools and widgets for the desktop library
 libkscreenlocker5-5.16.5-0xneon+18.04+bionic+build36.amd64	Secure lock screen architecture
 libksgrd7-4:5.16.5-0xneon+18.04+bionic+build41.amd64	library for monitoring your system - shared library
 libksignalplotter7-4:5.16.5-0xneon+18.04+bionic+build41.amd64	library for monitoring your system - shared library
 libkwin4-effect-builtins1-4:5.16.5-0xneon+18.04+bionic+build48.amd64	KDE window manager effect builtins library
 libkwineffects12-4:5.16.5-0xneon+18.04+bionic+build48.amd64	KDE window manager effects library
 libkwinglutils12-4:5.16.5-0xneon+18.04+bionic+build48.amd64	KDE window manager gl utils library
 libkwinxrenderutils12-4:5.16.5-0xneon+18.04+bionic+build48.amd64	KDE window manager render utils library
 libkworkspace5-5-4:5.16.5-0xneon+18.04+bionic+build42.amd64	Plasma Workspace for KF5 library
 libnotificationmanager1-4:5.16.5-0xneon+18.04+bionic+build42.amd64	Plasma Workspace for KF5 library
 liboxygenstyle5-5-4:5.16.5-0xneon+18.04+bionic+build38.amd64	style library for the Oxygen desktop theme
 liboxygenstyleconfig5-5-4:5.16.5-0xneon+18.04+bionic+build38.amd64	style library configuration for the Oxygen desktop theme
 libpam-kwallet-common-4:5.16.5-0xneon+18.04+bionic+build37.all	KWallet integration with PAM (common files)
 libpam-kwallet5-4:5.16.5-0xneon+18.04+bionic+build37.amd64	KWallet (Kf5) integration with PAM
 libplasma-geolocation-interface5-4:5.16.5-0xneon+18.04+bionic+build42.amd64	Plasma Workspace for KF5 library
 libpowerdevilcore2-4:5.16.5-0xneon+18.04+bionic+build37.amd64	Global power saver settings ui library.
 libpowerdevilui5-4:5.16.5-0xneon+18.04+bionic+build37.amd64	Global power saver settings ui library.
 libprocesscore7-4:5.16.5-0xneon+18.04+bionic+build41.amd64	library for monitoring your system - shared library
 libprocessui7-4:5.16.5-0xneon+18.04+bionic+build41.amd64	library for monitoring your system - shared library
 libtaskmanager6-4:5.16.5-0xneon+18.04+bionic+build42.amd64	Plasma Workspace for KF5 library
 libweather-ion7-4:5.16.5-0xneon+18.04+bionic+build42.amd64	Plasma Workspace for KF5 library
 milou-4:5.16.5-0xneon+18.04+bionic+build38.amd64	Dedicated search plasmoid.
 neon-desktop-4+p18.04+git20190910.2233.amd64	KDE neon Plasma Desktop system
 oxygen-sounds-4:5.16.5-0xneon+18.04+bionic+build38.all	Sounds for the Oxygen desktop theme
 plasma-calendar-addons-4:5.16.5-0xneon+18.04+bionic+build36.amd64	additional calendar plugins for Plasma 5
 plasma-dataengines-addons-4:5.16.5-0xneon+18.04+bionic+build36.amd64	additional data engines for Plasma
 plasma-desktop-4:5.16.5-0xneon+18.04+bionic+build57.amd64	Tools and widgets for the desktop
 plasma-desktop-data-4:5.16.5-0xneon+18.04+bionic+build57.all	Tools and widgets for the desktop data files
 plasma-discover-5.16.5-0xneon+18.04+bionic+build54.amd64	Discover software management suite
 plasma-discover-backend-flatpak-5.16.5-0xneon+18.04+bionic+build54.amd64	Discover software management suite - Flatpak backend
 plasma-discover-backend-snap-5.16.5-0xneon+18.04+bionic+build54.amd64	Discover software management suite - Snap backend
 plasma-discover-common-5.16.5-0xneon+18.04+bionic+build54.all	Discover software manager suite (common data files)
 plasma-integration-5.16.5-0xneon+18.04+bionic+build41.amd64	Qt Platform Theme integration plugins for KDE Plasma
 plasma-nm-4:5.16.5-0xneon+18.04+bionic+build38.amd64	Plasma5 networkmanager library.
 plasma-pa-4:5.16.5-0xneon+18.04+bionic+build37.amd64	Plasma 5 Volume controller
 plasma-runners-addons-4:5.16.5-0xneon+18.04+bionic+build36.amd64	additional runners for Plasma 5 and Krunner
 plasma-vault-5.16.5-0xneon+18.04+bionic+build35.amd64	Plasma applet and services for creating encrypted vaults
 plasma-wallpapers-addons-4:5.16.5-0xneon+18.04+bionic+build36.amd64	additional wallpaper plugins for Plasma 5
 plasma-widgets-addons-4:5.16.5-0xneon+18.04+bionic+build36.amd64	additional widgets for Plasma 5
 plasma-workspace-4:5.16.5-0xneon+18.04+bionic+build42.amd64	Plasma Workspace for KF5
 plasma-workspace-wallpapers-4:5.16.5-0xneon+18.04+bionic+build36.all	Wallpapers for Plasma 5
 plasma-workspace-wayland-4:5.16.5-0xneon+18.04+bionic+build42.amd64	Plasma Workspace for KF5 - Wayland integration
 plymouth-theme-breeze-5.16.5-0xneon+18.04+bionic+build46.amd64	Breeze theme for Plymouth
 polkit-kde-agent-1-4:5.16.5-0xneon+18.04+bionic+build36.amd64	KDE dialogs for PolicyKit
 powerdevil-4:5.16.5-0xneon+18.04+bionic+build37.amd64	Global power saver settings.
 powerdevil-data-4:5.16.5-0xneon+18.04+bionic+build37.all	Global power saver settings data files.
 qml-module-qtquick-controls-styles-breeze-4:5.16.5-0xneon+18.04+bionic+build44.amd64	QtQuick style for Qt and KDE Software
 sddm-theme-breeze-4:5.16.5-0xneon+18.04+bionic+build42.amd64	Breeze SDDM theme
 systemsettings-4:5.16.5-0xneon+18.04+bionic+build42.amd64	System Settings interface
 user-manager-4:5.16.5-0xneon+18.04+bionic+build37.amd64	user management tool for the Plasma workspace
 xdg-desktop-portal-kde-5.16.5-0xneon+18.04+bionic+build42.amd64	backend implementation for xdg-desktop-portal using Qt
Proceed with changes? [N/y] y

                              [=========================]         
Updating packages             [=========================]         
Loading cache                 [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Installing packages           [=========================]         
Finished                      [=========================]         
Fatal error: Error while installing package: installed appimagelauncher package post-installation script subprocess returned error exit status 127
root@laptop:~# pkcon update 
Getting updates               [=========================]         
Finished                      [=========================]         
No packages require updating to newer versions.
root@laptop:~# dpkg -l|fgrep appimagelauncher
iF  appimagelauncher                              1.2.2+dfsg-1+18.04+bionic+build1         amd64        AppImage helper
root@laptop:~# date
Τετ 11 Σεπ 2019 06:05:36 μμ EEST
root@laptop:~#

grep appimage /var/log/dpkg.log
2019-09-11 17:00:00 install appimagelauncher:amd64 <none> 1.2.2+dfsg-1+18.04+bionic+build1
2019-09-11 17:00:00 status half-installed appimagelauncher:amd64 1.2.2+dfsg-1+18.04+bionic+build1
2019-09-11 17:00:01 status unpacked appimagelauncher:amd64 1.2.2+dfsg-1+18.04+bionic+build1
2019-09-11 17:00:01 status unpacked appimagelauncher:amd64 1.2.2+dfsg-1+18.04+bionic+build1
2019-09-11 17:02:43 configure appimagelauncher:amd64 1.2.2+dfsg-1+18.04+bionic+build1 <none>
2019-09-11 17:02:43 status unpacked appimagelauncher:amd64 1.2.2+dfsg-1+18.04+bionic+build1
2019-09-11 17:02:44 status half-configured appimagelauncher:amd64 1.2.2+dfsg-1+18.04+bionic+build1
root@laptop:~#
Comment 1 Valter Mura 2019-09-12 07:24:11 UTC
I can confirm it.

Error returned by Muon Package Manager:
"appimagelauncher
installed appimagelauncher package post-installation script subprocess returned error exit status 127"

My system:
Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.3
Kernel Version: 5.0.0-27-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 31,4 GiB
Comment 2 Kostas Papadopoulos 2019-09-12 12:33:36 UTC
There was another update to the appimagelauncher package today, which also failed with "Fatal error: Error while installing package: there is no script in the new version of the package - giving up"


root@laptop:~# pkcon refresh
Refreshing cache              [=========================]         
Loading cache                 [=========================]         
Refreshing software list      [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Finished                      [=========================]         
 Enabled                              http://ppa.launchpad.net/phoerious/keepassxc/ubuntu bionic InRelease
 Enabled                              http://gr.archive.ubuntu.com/ubuntu bionic InRelease
root@laptop:~# pkcon update 
Getting updates               [=========================]         
Finished                      [=========================]         
Loading cache                 [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be updated:
 appimagelauncher-1.2.2+dfsg-1+18.04+bionic+build3.amd64	AppImage helper
Proceed with changes? [N/y] y

                              [=========================]         
Updating packages             [=========================]         
Loading cache                 [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Installing packages           [=========================]         
Finished                      [=========================]         
Fatal error: Error while installing package: there is no script in the new version of the package - giving up
root@laptop:~#
Comment 3 Kostas Papadopoulos 2019-09-13 13:14:59 UTC
Problem remains:

root@laptop:~# pkcon refresh
Refreshing cache              [=========================]         
Loading cache                 [=========================]         
Refreshing software list      [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Finished                      [=========================]         
 Enabled                              http://ppa.launchpad.net/phoerious/keepassxc/ubuntu bionic InRelease
 Enabled                              http://gr.archive.ubuntu.com/ubuntu bionic InRelease
root@laptop:~# pkcon update 
Getting updates               [=========================]         
Finished                      [=========================]         
Loading cache                 [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be updated:
 appimagelauncher-1.2.2+dfsg-1+18.04+bionic+build3.amd64	AppImage helper
 apt-1.6.12.amd64	commandline package manager
 apt-utils-1.6.12.amd64	package management related utility programs
 libapt-inst2.0-1.6.12.amd64	deb package format runtime library
 libapt-pkg5.0-1.6.12.amd64	package management runtime library
 libexpat1-2.2.5-3ubuntu0.2.amd64	XML parsing C library - runtime library
 libsnmp-base-5.7.3+dfsg-1.8ubuntu3.3.all	SNMP configuration script, MIBs and documentation
 libsnmp30-5.7.3+dfsg-1.8ubuntu3.3.amd64	SNMP (Simple Network Management Protocol) library
Proceed with changes? [N/y] y

                              [=========================]         
Updating packages             [=========================]         
Loading cache                 [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Installing packages           [=========================]         
Finished                      [=========================]         
Fatal error: Error while installing package: there is no script in the new version of the package - giving up
root@laptop:~# dpkg -l|fgrep appimagelauncher
iFR appimagelauncher                              1.2.2+dfsg-1+18.04+bionic+build1         amd64        AppImage helper
root@laptop:~# date
Παρ 13 Σεπ 2019 04:12:31 μμ EEST
root@laptop:~# cat /etc/lsb-release 
DISTRIB_ID=neon
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="KDE neon User Edition 5.16"
root@laptop:~# uname -a
Linux laptop 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
root@laptop:~#
Comment 4 Patrick Silva 2019-09-13 15:34:24 UTC
Same problem on Neon unstable edition.
Comment 5 Patrick Silva 2019-09-15 04:22:09 UTC
*** Bug 411918 has been marked as a duplicate of this bug. ***
Comment 6 Clay Weber 2019-09-15 19:04:10 UTC
There seems to be a missing dependency with the package for appimagelauncher.
Installing dpkg-dev seems to fix this.
Comment 7 Harald Sitter 2019-09-17 13:41:54 UTC
Should be solved as per 1.2.2+dfsg-1+18.04+bionic+build4