═ ISSUE ═
$ sudo apt install ./Omnissa-Horizon-Client-2412-8.14.0-12437214089.x64.deb
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Note, selecting ‘omnissa-horizon-client’ instead of ‘./Omnissa-Horizon-Client-2412-8.14.0-12437214089.x64.deb’
The following NEW packages will be installed:
omnissa-horizon-client
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/176 MB of archives.
After this operation, 686 MB of additional disk space will be used.
Get:1 /tmp/Omnissa-Horizon-Client-2412-8.14.0-12437214089.x64.deb omnissa-horizon-client amd64 2412-8.14.0-12437214089 [176 MB]
Selecting previously unselected package omnissa-horizon-client.
(Reading database … 386361 files and directories currently installed.)
Preparing to unpack …/Omnissa-Horizon-Client-2412-8.14.0-12437214089.x64.deb …
Unpacking omnissa-horizon-client (2412-8.14.0-12437214089) …
Setting up omnissa-horizon-client (2412-8.14.0-12437214089) …
Migrating global configurations…
Migrating per-user configurations…
dpkg: error processing package omnissa-horizon-client (–configure):
installed omnissa-horizon-client package post-installation script subprocess returned error exit status 1
Processing triggers for desktop-file-utils (0.27-2build1) …
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) …
Processing triggers for mailcap (3.70+nmu1ubuntu1) …
Errors were encountered while processing:
omnissa-horizon-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
═ ROOT CAUSE ═
The installer’s post-installation script at “DEBIAN/postinst” has this line:
if [ “$uid” -ge 1000 ] && [ “$username” != “nobody” ] && [ “$shell” != “/usr/sbin/nologin” ] && [ “$shell” != “/bin/false” ]; then
It should be:
if [ “$uid” -ge 1000 ] && [ “$username” != “nobody” ] && [ “$shell” != “/usr/sbin/nologin” ] && [ “$shell” != “/bin/false” ] && [ “$home_dir” != “/nonexistent” ]; then















