Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid install failed post-upgrade

    Scheduled Pinned Locked Moved Cache/Proxy
    15 Posts 7 Posters 4.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      EOC2611P
      last edited by

      @cmb:

      does that work?

      No

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        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

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • E Offline
          EOC2611P
          last edited by

          @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)

          1 Reply Last reply Reply Quote 0
          • C Offline
            ci7alex1
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jamerson
              last edited by

              @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 ?

              1 Reply Last reply Reply Quote 0
              • J Offline
                jimaustin88
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  EOC2611P
                  last edited by

                  @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

                  1 Reply Last reply Reply Quote 0
                  • TAC57T Offline
                    TAC57
                    last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      EOC2611P
                      last edited by

                      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

                      1 Reply Last reply Reply Quote 0
                      • TAC57T Offline
                        TAC57
                        last edited by

                        Tried 'em all, no luck.  :-(

                        1 Reply Last reply Reply Quote 0
                        • jimpJ Offline
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          @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/
                          

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • TAC57T Offline
                            TAC57
                            last edited by

                            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

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.