Hello
When I try to install on Ubuntu 18.04 (PopOS!) I get the following:
[email protected]:~/Downloads$ sudo dpkg -i pulse-9.0R1.x86_64.deb Selecting previously unselected package pulse. (Reading database ... 362232 files and directories currently installed.) Preparing to unpack pulse-9.0R1.x86_64.deb ... Unpacking pulse (9.0R1-739) ... Setting up pulse (9.0R1-739) ... /var/lib/dpkg/info/pulse.postinst: line 213: [: =: unary operator expected /var/lib/dpkg/info/pulse.postinst: line 215: [: =: unary operator expected
Any help would be appreciated
Solved! Go to Solution.
OK,
I got this working. The issue is that the installer can't find my OS due to PopOS! changing the release flavor from Ubuntu. Here is what I did to fix this:
1. Download the latest version
2. Run the following:
mkdir tmp dpkg-deb -R ps-pulse-linux-9.0r4.0-b943-ubuntu-debian-64-bit-installer.deb tmp
3. edit tmp/DEBIAN/postinst and replace line 198 with:
OSNAME=$(lsb_release -d |grep -o "Ubuntu\|Pop")
4. Run the following:
dpkg-deb -b tmp pulse-fixed.deb sudo dpkg -i pulse-fixed.deb
It installed and I was able to connect to the VPN.
Thanks,
Yes it is the same result:
[email protected]:~/Downloads$ sudo dpkg -i ps-pulse-linux-9.0r4.0-b943-ubuntu-debian-64-bit-installer.deb [sudo] password for john: Selecting previously unselected package pulse. (Reading database ... 397973 files and directories currently installed.) Preparing to unpack ps-pulse-linux-9.0r4.0-b943-ubuntu-debian-64-bit-installer.deb ... Unpacking pulse (9.0R4-943) ... Setting up pulse (9.0R4-943) ... /var/lib/dpkg/info/pulse.postinst: line 213: [: =: unary operator expected /var/lib/dpkg/info/pulse.postinst: line 215: [: =: unary operator expected
OK,
I got this working. The issue is that the installer can't find my OS due to PopOS! changing the release flavor from Ubuntu. Here is what I did to fix this:
1. Download the latest version
2. Run the following:
mkdir tmp dpkg-deb -R ps-pulse-linux-9.0r4.0-b943-ubuntu-debian-64-bit-installer.deb tmp
3. edit tmp/DEBIAN/postinst and replace line 198 with:
OSNAME=$(lsb_release -d |grep -o "Ubuntu\|Pop")
4. Run the following:
dpkg-deb -b tmp pulse-fixed.deb sudo dpkg -i pulse-fixed.deb
It installed and I was able to connect to the VPN.
No, it's also common to all the Ubuntu derivates. I.e.: i'm using Kde Neon Plasma, and having same issues as described here.
Client 9.1R5-151
with "lsb_release -a"
No LSB modules are available.
Distributor ID: neon
Description: KDE neon User Edition 5.18
Release: 18.04
Codename: bionic
The issue persists for Pop OS 20.04:
sudo dpkg -i Pulse-linux-9.1r2.0-x64.deb
[sudo] password for chiclet:
(Reading database ... 319329 files and directories currently installed.)
Preparing to unpack Pulse-linux-9.1r2.0-x64.deb ...
/var/lib/dpkg/info/pulse.prerm: line 216: [: =: unary operator expected
/var/lib/dpkg/info/pulse.prerm: line 218: [: =: unary operator expected
Do you want to clean up the configuration? [Yy/Nn] y
Unpacking pulse (9.1R2-69) over (9.1R2-69) ...
Setting up pulse (9.1R2-69) ...
/var/lib/dpkg/info/pulse.postinst: line 216: [: =: unary operator expected
/var/lib/dpkg/info/pulse.postinst: line 218: [: =: unary operator expected
Thank you!
I'll just add a note for others that for Pulse Secure version:
Pulse-linux-9.1r2.0-x64.deb
The line number is no longer 198, but instead, 201.