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

Squidguard update fails after upgrading pfSense 2.4.5-RELEASE-p1

Cache/Proxy
38
54
15.1k
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.
  • S
    sisko212
    last edited by Jun 15, 2020, 6:30 AM

    looks to be an issue on latest versions of package manager, not Squid or Squidguard or other packages related.
    There are also other post claiming same issue:
    https://forum.netgate.com/topic/154389/2-4-5r1-update-no-package-re-install

    1 Reply Last reply Reply Quote 0
    • T
      tmsongster
      last edited by tmsongster Jun 18, 2020, 2:49 PM Jun 16, 2020, 9:13 PM

      I was having the same issue. Solved it thusly:

      • squidGuard re-install was already in progress
      • Went to Services>Squid Proxy Server (PackageProxy Server: General SettingsGeneral)
      • UN-checked "Enable Squid Proxy"
      • Save
      • Re-install continued and completed
      • Re-enable Squid.

      ***This was after several attempts to upgrade, uninstall, reinstall, killall... YMMV.

      UPDATE - 20200618: Checked the package manager and Squid showed an update. Ran the update and this time Squid encountered the same problem as squidGuard above. Applied the same solution and it worked, again.

      D P P A C 7 Replies Last reply Jun 17, 2020, 10:19 PM Reply Quote 4
      • D
        dotcom @tmsongster
        last edited by Jun 17, 2020, 10:19 PM

        @tmsongster This worked for me. Thank you.

        1 Reply Last reply Reply Quote 1
        • E
          emeric
          last edited by Jun 18, 2020, 8:52 AM

          @tmsongster thanks for your solution it also worked for me too !

          1 Reply Last reply Reply Quote 1
          • P
            PaMi @tmsongster
            last edited by Jun 18, 2020, 9:44 AM

            @tmsongster Thanks it worked for me too.

            • Installed Squid (Still "Writing Configuration"...)
            • Kill install
            • Disable Squid service
            • Reinstall Squid => OK
            • Install SquiGuard => OK
            • Enable Squid service
            D 1 Reply Last reply Jul 1, 2020, 1:09 PM Reply Quote 2
            • J
              jonmayer
              last edited by Jun 20, 2020, 3:04 AM

              Manually stopping the services before updating seemed to have work with both Squid and pfBlocker. Updates worked as expected then, but then have to manually start services again as well. Odd bug.

              1 Reply Last reply Reply Quote 0
              • M
                mdalacu
                last edited by Jun 20, 2020, 9:50 AM

                I have the same problem...
                Last weekend i had to restore the whole machine from backup in order to get it working.
                So, should i wait for a p2 release which will correct this or should i try again with stopping the services before upgrade? Is this workaround confirmed?
                Thank you.

                1 Reply Last reply Reply Quote 0
                • 4
                  4920441 0
                  last edited by Jun 20, 2020, 10:03 PM

                  Hi,
                  Seems to be not only squidguard.

                  On my Box i had the same problems with squid and also with upgrading frr.

                  I could get frr installing by killing the running frr daemon, but squid 'wanted' a "killall -9 pkg-static" or it was still stuck...

                  Cheers

                  1 Reply Last reply Reply Quote 0
                  • D
                    diegovaz93 @PaMi
                    last edited by Jul 1, 2020, 1:09 PM

                    @pamidou Solved my problem Thanks Bro!

                    1 Reply Last reply Reply Quote 2
                    • T
                      tsmalmbe
                      last edited by Jul 9, 2020, 8:20 PM

                      Screwed my update completely also.

                      1. killall pkg
                      2. pkg remove the squidpackage
                      3. pkg remove the squidguardpackage
                      4. run the upgrade
                      5. reboot

                      Done.

                      Will not run squid on my pfsense again. Lesson learned.

                      Security Consultant at Mint Security Ltd - www.mintsecurity.fi

                      1 Reply Last reply Reply Quote 0
                      • P
                        paul18 @tmsongster
                        last edited by Jul 9, 2020, 9:39 PM

                        @tmsongster Thanks!!! Disabling Squid allowed the upgrade.

                        1 Reply Last reply Reply Quote 1
                        • A
                          Andrei Stan @tmsongster
                          last edited by Jul 13, 2020, 8:59 PM

                          @tmsongster Worked for me too !! Thanks

                          1 Reply Last reply Reply Quote 1
                          • S
                            smnolde
                            last edited by Jul 13, 2020, 10:42 PM

                            Thanks for this. This was the only issue I had upgrading my MBT-4220.

                            1 Reply Last reply Reply Quote 1
                            • B
                              BenPi
                              last edited by Jul 21, 2020, 3:59 PM

                              I also have the same behaviour but with the two following package :
                              pfSense-pkg-ntopng (rcfa seems to have the same issue.)
                              pfSense-pkg-haproxy

                              When I try to reinstall or upgrade one of these package it it stays stuck indefinitely after showing "Writing configuration... done." :

                              Reinstalling pfSense-pkg-haproxy
                              >>> Upgrading pfSense-pkg-haproxy... 
                              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 REINSTALLED:
                              	pfSense-pkg-haproxy-0.60_4 [pfSense]
                              
                              Number of packages to be reinstalled: 1
                              [1/1] Reinstalling pfSense-pkg-haproxy-0.60_4...
                              [1/1] Extracting pfSense-pkg-haproxy-0.60_4: .......... done
                              Removing haproxy components...
                              Menu items... done.
                              Services... done.
                              Loading package instructions...
                              Deinstall commands... done.
                              Syslog entries... done.
                              Saving updated package information...
                              overwrite!
                              Loading package configuration... done.
                              Configuring package components...
                              Loading package instructions...
                              Custom commands...
                              Executing custom_php_install_command()...done.
                              Menu items... done.
                              Services... done.
                              Writing configuration... done.
                              

                              I've upgraded my current installation from 2.4.4-p3 to 2.4.5-p1 and I have the issue.

                              I've upgraded a fresh install 2.4.5 to 2.4.5-p1 and restored a backup of my configuration after the upgrade and I have the same issue.

                              So it seems to me that there's a bug preventing the upgrade to finish on multiple packages on the version 2.4.5-p1.

                              1 Reply Last reply Reply Quote 1
                              • E
                                ederpaulopereira
                                last edited by Jul 22, 2020, 11:33 AM

                                Hello everyone;

                                Same issue here. But the problem are with the suricata and e2guardian packages. I'm following this to try to solve this issue.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Jon 0
                                  last edited by Jul 24, 2020, 11:48 AM

                                  Same issue here. Packagemanager has troubles on 2.4.5-p1.
                                  I've upgraded my pfsense boxes to 2.4.5p1 and now i can not remove or add packages.
                                  If i restore my config on an fresh installed 2.4.5p1 - pfsense reboots and hung on
                                  "Packages are currently being reinstalled in the background."
                                  "Do not make changes in the GUI until this is complete."

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    ederpaulopereira
                                    last edited by Jul 24, 2020, 1:03 PM

                                    After edit manually the config.xml file, and add the suricata entries, this fixed the problem. E2guardian, however, still remains with problems, because isn't possible to install the package. I've made a clean and fresh install of pfsense, and restored the backup, but, with no success.

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      paul18 @tmsongster
                                      last edited by Jul 24, 2020, 1:56 PM

                                      @tmsongster

                                      Thanks!!!!! This worked for for each of the 11 Netgate devices I manage.

                                      1 Reply Last reply Reply Quote 1
                                      • S
                                        saobasios
                                        last edited by saobasios Jul 31, 2020, 1:47 PM Jul 31, 2020, 1:47 PM

                                        Thanks @tmsongster, solved the issue!

                                        1 Reply Last reply Reply Quote 1
                                        • C
                                          coffeelover
                                          last edited by Aug 3, 2020, 12:32 PM

                                          I had the same issues. The cause seems to be the update process is waiting for input that is not expected.

                                          If i update via the command line and the updates hangs, i just press enter. The it continues.

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