cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to install on Ubuntu 18.04 (PopOS!)

SOLVED
New Contributor

Unable to install on Ubuntu 18.04 (PopOS!)

Hello

 

When I try to install on Ubuntu 18.04 (PopOS!) I get the following:

 

john@tandem:~/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

4 REPLIES 4
Moderator

Re: Unable to install on Ubuntu 18.04 (PopOS!)

do you see the same behavior with a newer release?
i would recommend opening a case with our support team for further investigation
New Contributor

Re: Unable to install on Ubuntu 18.04 (PopOS!)

Thanks,

 

Yes it is the same result:

 

john@tandem:~/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
Highlighted
Moderator

Re: Unable to install on Ubuntu 18.04 (PopOS!)

is this specific to PopOS only?
New Contributor

Re: Unable to install on Ubuntu 18.04 (PopOS!)

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.