Cannot install squid on pfsense 2.3.2-RELEASE



  • Here is logs. Please advise.

    Installing pfSense-pkg-squid…
    Updating pfSense-core repository catalogue...
    pfSense-core repository is up-to-date.
    Updating pfSense repository catalogue...
    pfSense repository is up-to-date.
    All repositories are up-to-date.
    The following 15 package(s) will be affected (of 0 checked):

    New packages to be INSTALLED:
    pfSense-pkg-squid: 0.4.21 [pfSense]
    squid_radius_auth: 1.10 [pfSense]
    squid: 3.5.19 [pfSense]
    krb5: 1.14.2 [pfSense]
    pkgconf: 0.9.12_1 [pfSense]
    cyrus-sasl: 2.1.26_12 [pfSense]
    squidclamav: 6.14 [pfSense]
    c-icap: 0.4.3,2 [pfSense]
    c-icap-modules: 0.4.3 [pfSense]
    clamav: 0.99.2 [pfSense]
    unzoo: 4.4_2 [pfSense]
    arc: 5.21p [pfSense]
    lha: 1.14i_6 [pfSense]
    arj: 3.10.22_4 [pfSense]
    json-c: 0.12_2 [pfSense]

    Number of packages to be installed: 15

    The process will require 27 MiB more space.
    7 MiB to be downloaded.
    Fetching pfSense-pkg-squid-0.4.21.txz: …... done
    Fetching squid_radius_auth-1.10.txz: . done
    Fetching squid-3.5.19.txz: .......... done
    Fetching krb5-1.14.2.txz: .......... done
    Fetching pkgconf-0.9.12_1.txz: ... done
    Fetching cyrus-sasl-2.1.26_12.txz: .......... done
    Fetching squidclamav-6.14.txz: ...... done
    Fetching c-icap-0.4.3,2.txz: .......... done
    Fetching c-icap-modules-0.4.3.txz: .......... done
    Fetching clamav-0.99.2.txz: .......... done
    Fetching unzoo-4.4_2.txz: .. done
    Fetching arc-5.21p.txz: .... done
    Fetching lha-1.14i_6.txz: .... done
    Fetching arj-3.10.22_4.txz: .......... done
    Fetching json-c-0.12_2.txz: .... done
    Checking integrity... done (0 conflicting)
    [1/15] Installing pkgconf-0.9.12_1…
    [1/15] Extracting pkgconf-0.9.12_1: ….... done
    [2/15] Installing unzoo-4.4_2…
    [2/15] Extracting unzoo-4.4_2: .. done
    [3/15] Installing arc-5.21p…
    [3/15] Extracting arc-5.21p: …... done
    [4/15] Installing lha-1.14i_6…
    [4/15] Extracting lha-1.14i_6: .. done
    [5/15] Installing arj-3.10.22_4…
    [5/15] Extracting arj-3.10.22_4: …....... done
    [6/15] Installing json-c-0.12_2…
    [6/15] Extracting json-c-0.12_2: …....... done
    [7/15] Installing krb5-1.14.2…
    [7/15] Extracting krb5-1.14.2: …....... done
    [8/15] Installing cyrus-sasl-2.1.26_12…
    *** Added group cyrus' (id 60) *** Added usercyrus' (id 60)
    [8/15] Extracting cyrus-sasl-2.1.26_12: …....... done
    [9/15] Installing c-icap-0.4.3,2…
    ===> Creating groups.
    Creating group 'c_icap' with gid '959'.
    ===> Creating users
    Creating user 'c_icap' with uid '959'.
    [9/15] Extracting c-icap-0.4.3,2: …....... done
    [10/15] Installing clamav-0.99.2…
    ===> Creating groups.
    Creating group 'clamav' with gid '106'.
    Using existing group 'mail'.
    ===> Creating users
    Creating user 'clamav' with uid '106'.
    Adding user 'clamav' to group 'mail'.
    [10/15] Extracting clamav-0.99.2: …....... done
    [11/15] Installing squid_radius_auth-1.10…
    [11/15] Extracting squid_radius_auth-1.10: …. done
    [12/15] Installing squid-3.5.19…
    ===> Creating groups.
    Creating group 'squid' with gid '100'.
    ===> Creating users
    Creating user 'squid' with uid '100'.
    install: not found
    pkg: PRE-INSTALL script failed
    Failed



  • Same happens to me after install a brand new pfSense 2.3.2 on a VM.

    >>> Installing pfSense-pkg-squid... 
    Updating pfSense-core repository catalogue...
    pfSense-core repository is up-to-date.
    Updating pfSense repository catalogue...
    pfSense repository is up-to-date.
    All repositories are up-to-date.
    Checking integrity... done (0 conflicting)
    The following 4 package(s) will be affected (of 0 checked):
    
    New packages to be INSTALLED:
    	pfSense-pkg-squid: 0.4.21 [pfSense]
    	squid: 3.5.19 [pfSense]
    	squidclamav: 6.14 [pfSense]
    	c-icap-modules: 0.4.3 [pfSense]
    
    Number of packages to be installed: 4
    
    The process will require 10 MiB more space.
    [1/4] Installing squid-3.5.19...
    ===> Creating groups.
    Using existing group 'squid'.
    ===> Creating users
    Using existing user 'squid'.
    install: not found
    pkg: PRE-INSTALL script failed
    Failed
    
    


  • Same issue hare…

    Installing pfSense-pkg-squid...
    Updating pfSense-core repository catalogue...
    pfSense-core repository is up-to-date.
    Updating pfSense repository catalogue...
    pfSense repository is up-to-date.
    All repositories are up-to-date.
    The following 15 package(s) will be affected (of 0 checked):

    New packages to be INSTALLED:
    pfSense-pkg-squid: 0.4.21 [pfSense]
    squid_radius_auth: 1.10 [pfSense]
    squid: 3.5.19 [pfSense]
    krb5: 1.14.2 [pfSense]
    pkgconf: 0.9.12_1 [pfSense]
    cyrus-sasl: 2.1.26_12 [pfSense]
    squidclamav: 6.14 [pfSense]
    c-icap: 0.4.3,2 [pfSense]
    c-icap-modules: 0.4.3 [pfSense]
    clamav: 0.99.2 [pfSense]
    unzoo: 4.4_2 [pfSense]
    arc: 5.21p [pfSense]
    lha: 1.14i_6 [pfSense]
    arj: 3.10.22_4 [pfSense]
    json-c: 0.12_2 [pfSense]

    Number of packages to be installed: 15

    The process will require 27 MiB more space.
    7 MiB to be downloaded.
    Fetching pfSense-pkg-squid-0.4.21.txz: …... done
    Fetching squid_radius_auth-1.10.txz: . done
    Fetching squid-3.5.19.txz: .......... done
    Fetching krb5-1.14.2.txz: .......... done
    Fetching pkgconf-0.9.12_1.txz: ... done
    Fetching cyrus-sasl-2.1.26_12.txz: .......... done
    Fetching squidclamav-6.14.txz: ...... done
    Fetching c-icap-0.4.3,2.txz: .......... done
    Fetching c-icap-modules-0.4.3.txz: .......... done
    Fetching clamav-0.99.2.txz: .......... done
    Fetching unzoo-4.4_2.txz: .. done
    Fetching arc-5.21p.txz: .... done
    Fetching lha-1.14i_6.txz: .... done
    Fetching arj-3.10.22_4.txz: .......... done
    Fetching json-c-0.12_2.txz: .... done
    Checking integrity... done (0 conflicting)
    [1/15] Installing pkgconf-0.9.12_1…
    [1/15] Extracting pkgconf-0.9.12_1: ….... done
    [2/15] Installing unzoo-4.4_2…
    [2/15] Extracting unzoo-4.4_2: .. done
    [3/15] Installing arc-5.21p…
    [3/15] Extracting arc-5.21p: …... done
    [4/15] Installing lha-1.14i_6…
    [4/15] Extracting lha-1.14i_6: .. done
    [5/15] Installing arj-3.10.22_4…
    [5/15] Extracting arj-3.10.22_4: …....... done
    [6/15] Installing json-c-0.12_2…
    [6/15] Extracting json-c-0.12_2: …....... done
    [7/15] Installing krb5-1.14.2…
    [7/15] Extracting krb5-1.14.2: …....... done
    [8/15] Installing cyrus-sasl-2.1.26_12…
    *** Added group cyrus' (id 60) *** Added usercyrus' (id 60)
    [8/15] Extracting cyrus-sasl-2.1.26_12: …....... done
    [9/15] Installing c-icap-0.4.3,2…
    ===> Creating groups.
    Creating group 'c_icap' with gid '959'.
    ===> Creating users
    Creating user 'c_icap' with uid '959'.
    [9/15] Extracting c-icap-0.4.3,2: …....... done
    [10/15] Installing clamav-0.99.2…
    ===> Creating groups.
    Creating group 'clamav' with gid '106'.
    Using existing group 'mail'.
    ===> Creating users
    Creating user 'clamav' with uid '106'.
    Adding user 'clamav' to group 'mail'.
    [10/15] Extracting clamav-0.99.2: …....... done
    [11/15] Installing squid_radius_auth-1.10…
    [11/15] Extracting squid_radius_auth-1.10: …. done
    [12/15] Installing squid-3.5.19…
    ===> Creating groups.
    Creating group 'squid' with gid '100'.
    ===> Creating users
    Creating user 'squid' with uid '100'.
    install: not found
    pkg: PRE-INSTALL script failed
    Failed


  • Rebel Alliance Developer Netgate

    Confirmed here, workaround is on the redmine issue:
    https://redmine.pfsense.org/issues/6643



  • going to try the work around

    thanks


  • Rebel Alliance Developer Netgate

    We also pushed a fix to the squid package so it should install even without the workaround now.



  • working now, did the command and it installed; that or it took the new package. thanks



  • @jimp:

    We also pushed a fix to the squid package so it should install even without the workaround now.

    No, it won't install without the workaround. Just tried it on the fresh pfSense install.



  • @jimp:

    Confirmed here, workaround is on the redmine issue:
    https://redmine.pfsense.org/issues/6643

    Workaround works like a charm, thanks!



  • I can confirm that the workaround works great. Without any errors.


Log in to reply