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

    Squidguard update fails after upgrading pfSense 2.4.5-RELEASE-p1

    Scheduled Pinned Locked Moved Cache/Proxy
    54 Posts 38 Posters 15.3k 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.
    • C
      CZvacko @jorge_ale23
      last edited by

      I also face same issue after upgrade to 2.4.5-RELEASE-p1.
      squidGuard not included in menu and is missing in list of services.
      Tried pkg delete pfSense-pkg-squidGuard but hangs on Deinstall commands... done
      Waited one hour and package still not removed. What to do now ?

      1 Reply Last reply Reply Quote 0
      • G
        goodtm
        last edited by

        The same problem occurs when updating the package. Not updated. The package disappeared from the menu
        ||Upgrading pfSense-pkg-squidGuard...
        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 1 package(s) will be affected (of 0 checked):

        Installed packages to be UPGRADED:
        pfSense-pkg-squidGuard: 1.16.18_5 -> 1.16.18_6 [pfSense]

        Number of packages to be upgraded: 1
        [1/1] Upgrading pfSense-pkg-squidGuard from 1.16.18_5 to 1.16.18_6...
        [1/1] Extracting pfSense-pkg-squidGuard-1.16.18_6: .......... done
        Removing squidGuard components...
        Menu items... done.
        Services... done.
        Loading package instructions...
        Deinstall commands... done.||

        1 Reply Last reply Reply Quote 0
        • A
          alexela
          last edited by

          Hi all,

          same here.
          I'm on Version 2.4.5_1.

          Installed packages to be UPGRADED:
          pfSense-pkg-Cron: 0.3.7_3 -> 0.3.7_4 [pfSense]
          pfSense-pkg-snort: 3.2.9.11 -> 3.2.9.12 [pfSense]
          pfSense-pkg-squidGuard: 1.16.18_5 -> 1.16.18_6 [pfSense]

          Upgrade stuck after:
          [1/3] Upgrading pfSense-pkg-squidGuard from 1.16.18_5 to 1.16.18_6...
          [1/3] Extracting pfSense-pkg-squidGuard-1.16.18_6: 100%
          Removing squidGuard components...
          Menu items... done.
          Services... done.
          Loading package instructions...
          Deinstall commands... done.

          @_igor_ Please remove "solved" flag from this post to draw attention from pfsense development/support team.
          This seems to be some unsolved bug within post uninstall procedure.
          Thanks!

          Best Regards

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            I have the same problem

            pfSense 2.4.5_1

            I successfully upgraded to cron 0.3.7_4, snort 3.2.9.12, squid 0.4.44_26 - squidGuard upgrade from 1.16.18_5 to 1.16.18_6 only gets as far as Deinstall commands... done

            P B 2 Replies Last reply Reply Quote 0
            • P
              PinnacleDesigns @A Former User
              last edited by

              @radster said in Squidguard update fails after upgrading pfSense 2.4.5-RELEASE-p1 (solved):

              I have the same problem

              pfSense 2.4.5_1

              I successfully upgraded to cron 0.3.7_4, snort 3.2.9.12, squid 0.4.44_26 - squidGuard upgrade from 1.16.18_5 to 1.16.18_6 only gets as far as Deinstall commands... done

              I am having the same issue.

              1 Reply Last reply Reply Quote 0
              • B
                biGdada @A Former User
                last edited by

                @radster said in Squidguard update fails after upgrading pfSense 2.4.5-RELEASE-p1 (solved):

                I have the same problem

                pfSense 2.4.5_1

                I successfully upgraded to cron 0.3.7_4, snort 3.2.9.12, squid 0.4.44_26 - squidGuard upgrade from 1.16.18_5 to 1.16.18_6 only gets as far as Deinstall commands... done

                same here. any solution?

                1 Reply Last reply Reply Quote 0
                • dennis_sD
                  dennis_s
                  last edited by

                  Our engineers are aware and are investigating why some users are seeing updates issues with some packages.

                  In most cases running killall -9 pkg-static will allow the updates to continue.

                  G 1 Reply Last reply Reply Quote 2
                  • D
                    dotcom
                    last edited by

                    I have the same problem.
                    It still hangs even when done from terminal.

                    [2.4.5-RELEASE][root@pfSense]/root: pkg delete pfSense-pkg-squidGuard
                    Checking integrity... done (0 conflicting)
                    Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
                    
                    Installed packages to be REMOVED:
                            pfSense-pkg-squidGuard: 1.16.18_6
                    
                    Number of packages to be removed: 1
                    
                    Proceed with deinstalling packages? [y/N]: y
                    [1/1] Deinstalling pfSense-pkg-squidGuard-1.16.18_6...
                    Removing squidGuard components...
                    Menu items... done.
                    Services... done.
                    Loading package instructions...
                    Deinstall commands... done.
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • G
                      goodtm @dennis_s
                      last edited by

                      @dennis_s said in Squidguard update fails after upgrading pfSense 2.4.5-RELEASE-p1 (solved):

                      Our engineers are aware and are investigating why some users are seeing updates issues with some packages.

                      In most cases running killall -9 pkg-static will allow the updates to continue.

                      I started the package update, the update froze, executed a command, and the update was interrupted.. re-launched the package update, the package was updated successfully

                      C 1 Reply Last reply Reply Quote 0
                      • _
                        _igor_
                        last edited by

                        Changed back to "not solved", due to the big resonance!

                        1 Reply Last reply Reply Quote 0
                        • C
                          Cássio Elias @goodtm
                          last edited by Cássio Elias

                          @goodtm Apparently, this solution solved the SquidGuard problem for me! But I can't reinstall Squid, when trying to reinstall, even with this SquidGuard procedure, reinstalling Squid does not get off the line => "Writing configuration ... done."
                          And don't get out of that line ... weird ..

                          1 Reply Last reply Reply Quote 0
                          • P
                            PaMi
                            last edited by PaMi

                            Same issue after upgrade to 2.4.5p1
                            Can't uninstall squidguard by the shell :

                            [1/2] Deinstalling pfSense-pkg-squidGuard-1.16.18_5...
                            Removing squidGuard components...
                            Menu items... done.
                            Services... done.
                            Loading package instructions...
                            Deinstall commands... done.
                            
                            1 Reply Last reply Reply Quote 0
                            • P
                              PaMi
                              last edited by

                              OK squid and squidguard uninstalled with :

                              pkg delete squidGuard
                              

                              and

                              pkg delete squid
                              

                              but can't reinstall. Stay on :

                              [1/1] Installing pfSense-pkg-squid-0.4.44_26...
                              [1/1] Extracting pfSense-pkg-squid-0.4.44_26: 100%
                              Saving updated package information...
                              done.
                              Loading package configuration... done.
                              Configuring package components...
                              Loading package instructions...
                              Custom commands...
                              Executing custom_php_install_command()...done.
                              Executing custom_php_resync_config_command()...done.
                              Menu items... done.
                              Services... done.
                              Writing configuration... done.
                              

                              What can i do?

                              1 Reply Last reply Reply Quote 0
                              • P
                                pr340
                                last edited by

                                My solution:

                                Stop the squid for web;
                                From the terminal:

                                pkg delete squidGuard

                                for me solved.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  SaschaITM
                                  last edited by SaschaITM

                                  Same issue here on 2.4.5-RELEASE-p1 running in a VMware VM. There doesn't seem to be an easy fix, tried everything in this thread, and some additional stuff. The "killall -9 pkg-static" command (on a second shell) will just interrupt the uninstall procedure, it doesn't continue after issuing that command. I've noticed that when the procedure hangs there are two "pkg" processes which seem to be started close to each other (if not at nearly the same time), maybe that's the issue? Like some kind of race condition, triggered by a typo/special character or something like that in the package itself?

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Aiken
                                    last edited by

                                    After comment below command in /usr/local/pkg/squidguard.inc

                                    squid_reconfigure('remove redirector options');
                                    

                                    I can remove the old package and install new package manually.

                                    B A ? 3 Replies Last reply Reply Quote 4
                                    • B
                                      biGdada @Aiken
                                      last edited by

                                      @Aiken worked for me, thanks alot

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        alexela @Aiken
                                        last edited by

                                        @Aiken said in Squidguard update fails after upgrading pfSense 2.4.5-RELEASE-p1:

                                        /usr/local/pkg/squidguard.inc

                                        @Aiken Thank you, this does the trick for me too.

                                        1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @Aiken
                                          last edited by

                                          Thank you @Aiken! This is the only solution that has worked for me. After commenting out that line I was able to upgrade squidGuard via the WebGUI

                                          1 Reply Last reply Reply Quote 0
                                          • rcfaR
                                            rcfa
                                            last edited by

                                            I have the same issue with 2.4.5, 2.4.5-p1 and 2.5.0-DEVELOPMENT.

                                            It always involves one or more of the following packages:
                                            pfSense-pkg-ntopng
                                            pfSense-pkg-squidGuard
                                            pfSense-pkg-squid

                                            Whereby the first two are a recent addition, Squid gave be trouble for a while, in that it would fail upgrading, so each time I had to remove and install as separate steps. Now that fails, too.

                                            Some of them can be installed on the command line, some hang even there after "Writing configuration... done."

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