Squid install failed post-upgrade



  • Just an heads up, the Squid package seems to have been badly compiled  for this last version of PFSense, if you want it to work, stay on older versions where was installing without problems….
    :(
    ![Squid Error.jpg](/public/imported_attachments/1/Squid Error.jpg)
    ![Squid Error.jpg_thumb](/public/imported_attachments/1/Squid Error.jpg_thumb)



  • It's not broken. You apparently have some remnants of the old package pre-upgrade around, though the post-upgrade should automatically clean all that up. Run this:

    find / -type l -lname '/usr/pbi/*' -delete
    

    then reinstall, does that work?



  • Thanks for trying but it did not work.
    If this last release of PFSense it's not broken, then it must to be the Squid to no longer be compatible with PFSense.
    I executed the command line you posted, then it was looking as it was accepted because after a few seconds PFSense showed the same line in a green colour on top of the command line, so i reinstalled as suggested but i keep having exactly the same problem, it could NOT rename the chinese's folder….
    Anything else i could try before going back to PFSense 2.0.2???



  • @cmb:

    does that work?

    No


  • Rebel Alliance Developer Netgate

    The package is fine, you have leftovers from an older install laying around like cmb said.

    Try this:

    1. Remove the package if any parts of it are left (including lightsquid and squidguard)

    rm -rf /usr/local/etc/squid/
    

    3. Reinstall the package



  • @jimp:

    The package is fine, you have leftovers from an older install laying around like cmb said.

    Try this:

    1. Remove the package if any parts of it are left (including lightsquid and squidguard)

    rm -rf /usr/local/etc/squid/
    

    3. Reinstall the package

    Yesss that did the trick, thank you so much mate, that was a huge relieve!  :D

    I got this thing after it, i am not sure if i should be bothered by it or not, for the time being i will just disregard it and try to configure the thing in a way that suit my needs, cheerio!

    ![PFSense Php error.jpg](/public/imported_attachments/1/PFSense Php error.jpg)
    ![PFSense Php error.jpg_thumb](/public/imported_attachments/1/PFSense Php error.jpg_thumb)



  • Hello, I had similar issue after upgrading to the following right now:

    2.3.1-RELEASE-p1 (i386)
    built on Wed May 25 14:53:12 CDT 2016
    FreeBSD 10.3-RELEASE-p3

    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 15 package(s) will be affected (of 0 checked):

    New packages to be INSTALLED:
    pfSense-pkg-squid: 0.4.18 [pfSense]
    squid_radius_auth: 1.10 [pfSense]
    squid: 3.5.19 [pfSense]
    krb5: 1.14.1 [pfSense]
    pkgconf: 0.9.12_1 [pfSense]
    cyrus-sasl: 2.1.26_12 [pfSense]
    squidclamav: 6.14 [pfSense]
    c-icap: 0.4.2,2 [pfSense]
    c-icap-modules: 0.4.2_1 [pfSense]
    clamav: 0.99.1 [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]

    The process will require 26 MiB more space.
    [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.1…
    [7/15] Extracting krb5-1.14.1: …....... done
    [8/15] Installing cyrus-sasl-2.1.26_12…
    *** Updated user `cyrus'.
    [8/15] Extracting cyrus-sasl-2.1.26_12: …....... done
    [9/15] Installing c-icap-0.4.2,2…
    ===> Creating users and/or groups.
    Using existing group 'c_icap'.
    Using existing user 'c_icap'.
    [9/15] Extracting c-icap-0.4.2,2: …....... done
    [10/15] Installing clamav-0.99.1…
    ===> Creating users and/or groups.
    Using existing group 'clamav'.
    Using existing group 'mail'.
    Using existing user 'clamav'.
    [10/15] Extracting clamav-0.99.1: …....... 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 users and/or groups.
    Using existing group 'squid'.
    Using existing user 'squid'.
    ===> Pre-installation configuration for squid-3.5.19
    [12/15] Extracting squid-3.5.19: …......
    pkg: cannot rename //usr/local/etc/squid/errors/zh-cn.ek6CT3z3fzsA to //usr/local/etc/squid/errors/zh-cn: Is a directory
    [12/15] Extracting squid-3.5.19… done
    [12/15] Deleting files for squid-3.5.19: …....... done
    Failed

    Have performed the rm command like suggested above in Diagnostics - Command Prompt
    Worked the magic. Was able to install Squid successfully after.

    Message from pfSense-pkg-squid-0.4.18:
    Please visit Services - Squid Proxy Server menu to configure the package and enable the proxy.

    Cleaning up cache… done.
    Success

    Thank you!
    Regards
    Alex



  • @jimp:

    The package is fine, you have leftovers from an older install laying around like cmb said.

    Try this:

    1. Remove the package if any parts of it are left (including lightsquid and squidguard)

    rm -rf /usr/local/etc/squid/
    

    3. Reinstall the package

    thank you I am having the same issue
    now installed the blacklist
    i have blocked adult website and applied the settings,
    after i go to porn.com or sex.com it still opens the website .

    can you advise why ?



  • Good day to All!

    I am new to pfsense 2.3.1 and tried installing squid and squidguard packages but unfortunately I encountered errors.

    I will appreciate any suggestions from you guys.



  • @jimaustin88:

    Good day to All!

    I am new to pfsense 2.3.1 and tried installing squid and squidguard packages but unfortunately I encountered errors.

    I will appreciate any suggestions from you guys.

    Did you try any of the fixes suggested above?
    A screenshot of the problem you encountered might be usefull



  • I can't seem to install Squid 0.4.21 either.  :-(  I shouldn't have to do anything with the package dependencies listed should I?

    .
    .
    .
    [11/15] Extracting squid_radius_auth-1.10: …. done
    [12/15] Installing squid-3.5.19…
    ===> Creating users and/or groups.
    Using existing group 'squid'.
    Using existing user 'squid'.
    ===> Pre-installation configuration for squid-3.5.19
    [12/15] Extracting squid-3.5.19: …......
    pkg: cannot rename //usr/local/etc/squid/errors/zh-cn.7rXRkYSRxZAI to //usr/local/etc/squid/errors/zh-cn: Is a directory
    [12/15] Extracting squid-3.5.19… done
    [12/15] Deleting files for squid-3.5.19: …....... done
    Failed



  • Hi Tac57, have you tried the suggested  strings on the command line?
    I was having the same problem, but after i applied that command it installed as it should



  • Tried 'em all, no luck.  :-(


  • Rebel Alliance Developer Netgate

    @TAC57:

    pkg: cannot rename //usr/local/etc/squid/errors/zh-cn.7rXRkYSRxZAI to //usr/local/etc/squid/errors/zh-cn: Is a directory

    That error was already covered previously in the thread, you need to clean up some leftovers from an old installation:

    rm -rf /usr/local/etc/squid/
    


  • jimp thanks for inspiring me to try again.  I swear I typed that command previously and it didn't work.  :P

    This time everything worked perfectly!  :) I just successfully reinstalled squid 0.4.21.

    Thanks again to everyone!

    -TAC