cancel
Showing results for 
Search instead for 
Did you mean: 

Installation failed on Linux Mint 18.2

antoniopetricca
Contributor

Installation failed on Linux Mint 18.2

Hi, I tried to install the Debian client http://trial.pulsesecure.net/clients/ps-pulse-linux-5.3r1.0-b587-ubuntu-debian-installer.deb on Linux Mint 18.2 by the command line, but I get this error:


Configurazione di pulse (5.3)...
/var/lib/dpkg/info/pulse.postinst: riga 240: [: =: atteso operatore unario


How could I solve it?

Thank you very much!
Antonio
12 REPLIES 12
csuchindra
Contributor

Re: Installation failed on Linux Mint 18.2

It is failing while trying to find the Linux operating system type. Looks like Mint is not yet supported

That said, the script /var/lib/dpkg/info/pulse.postinst at line 240 is expecting to find the debian major version. If the content of /etc/debian_release has something like for example 8.8 (for debian 8 as the major version), the script would pass through that line
antoniopetricca
Contributor

Re: Installation failed on Linux Mint 18.2

On Linux Mint that file does not exist. Could you kindly provide me a valid one to try again the installation?

Thank you very much!
csuchindra
Contributor

Re: Installation failed on Linux Mint 18.2

The following works for me:

pulse-MyMachine ~ # cat /etc/debian_version
9.1
pulse-MyMachine ~ # dpkg -i ps-pulse-linux-5.3r1.0-b587-ubuntu-debian-installer.deb
Selecting previously unselected package pulse.
(Reading database ... 199368 files and directories currently installed.)
Preparing to unpack ps-pulse-linux-5.3r1.0-b587-ubuntu-debian-installer.deb ...
Unpacking pulse (5.3) ...
Setting up pulse (5.3) ...
pulse-MyMachine ~ #
antoniopetricca
Contributor

Re: Installation failed on Linux Mint 18.2

It works! Smiley Happy

Unfortunately now I get this error "/usr/local/pulse/pulsesvc: error while loading shared libraries: libgnome-keyring.so.0: cannot open shared object file: No such file or directory"

Could you help me again?

Thank you!
Antonio

(Linux Mint 18.2 64 bit)
csuchindra
Contributor

Re: Installation failed on Linux Mint 18.2

Could you try installing libgnome-keyring as follows:

sudo apt-get install libgnome-keyring0 libgnome-keyring-dev

That would bring the shared object in the right folder
jcarrizo
Occasional Visitor

Re: Installation failed on Linux Mint 18.2

same problems found with 

 

Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful

 

please help

tks

csuchindra
Contributor

Re: Installation failed on Linux Mint 18.2

Was the solution on installing libgnome-keyring helpful?

IEMAdellis
New Member

Re: Installation failed on Linux Mint 18.2

I added lines to PulseClient_x86_64.sh to solve a similar problem in Mint 18.3 with 5.3 R3:

        OSNAME=$(lsb_release -d | grep -o "Ubuntu")
+       OSNAME=$(lsb_release -d | grep -o "Mint")
        if [ "X$OSNAME" != "X" ]; then
            UBUNTU_VER=$(lsb_release -d | grep -o '.[0-9]*\.'| head -1|sed -e 's/\s*//'|sed -e 's/\.//')
+           MINT_VER=$(lsb_release -d | grep -o '.[0-9]*\.'| head -1|sed -e 's/\s*//'|sed -e 's/\.//')
            if [ $UBUNTU_VER = 14 ]; then
                OS_TYPE=${SUPPORTED_OSTYPES_LIST[$UBUNTU_14]}
            elif [ $UBUNTU_VER = 15 ]; then
                OS_TYPE=${SUPPORTED_OSTYPES_LIST[$UBUNTU_15]}
            elif [ $UBUNTU_VER = 16 ]; then
                OS_TYPE=${SUPPORTED_OSTYPES_LIST[$UBUNTU_16]}
+           elif [ $MINT_VER = 18 ]; then
+               OS_TYPE=${SUPPORTED_OSTYPES_LIST[$UBUNTU_16]}
            else 
                OS_TYPE=${SUPPORTED_OSTYPES_LIST[$UNSUPPORTED]}
            fi 

 

onceclick
New Member

Re: Installation failed on Linux Mint 18.2

I found this way to install Pulse Secure on Mint 18.x:

# Login as su

sudo su

# Change lsb_release to Ubuntu version

export LSB_ETC_LSB_RELEASE=/etc/upstream-release/lsb-release

# Install Pulse Secure

dpkg -i pulsexxx.deb