Encountered the following error when installing on Pop!_OS
Error:
Error while installing package: installed logigsk package post-installation script subprocess returned error exit status 1
Steps I took to fix this:
- Manually created folder /etc/pm/sleep.d as it did not exist.
- Edited /var/lib/dpkg/info/logigsk.postinst and changed :0 to :1 as on Pop!_OS the default display is :1 instead of :0
- Ran dpkg --configure logigsk
- Install was successful
I'd suggest performing an OS check in the Post Install Script
Check4Pop=`cat /etc/os-release|grep -m 1 -o "Pop\!_OS"`
if [ "$Check4Pop" == "Pop!_OS" ];
then
USER=`who | grep ':1' | grep -o '^\w*' | head -n1`
else
USER=`who | grep ':0' | grep -o '^\w*' | head -n1`
fi
Encountered the following error when installing on Pop!_OS
Error:
Error while installing package: installed logigsk package post-installation script subprocess returned error exit status 1Steps I took to fix this:
I'd suggest performing an OS check in the Post Install Script