Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    [SOLVED] Broken squid package after 2.2.6 -> 2.3 upgrade

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 2 Posters 3.1k 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.
    • maxxerM
      maxxer
      last edited by

      Hi.

      I don't know if this post best suits here or in the Packages section. I hope I'm correct.

      Anyway, before the upgrade, among other packages I had squid3 installed. During the upgrade I noticed some errors (screenshot attached), like:

      Warning: chmod() expects parameter 2 to be long, string given in /usr/local/pkg/squid.inc on line 156
      

      So when I logged in after the successful upgrade I noticed squid package was in error. If I try to remove it I get:

      ERROR: Package pfSense-pkg-squid is not installed

      if I try to reinstall:

      >>> 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.16_1 [pfSense]
      	squid_radius_auth: 1.10 [pfSense]
      	squid: 3.5.16 [pfSense]
      	krb5: 1.14 [pfSense]
      	pkgconf: 0.9.12_1 [pfSense]
      	cyrus-sasl: 2.1.26_12 [pfSense]
      	squidclamav: 6.13 [pfSense]
      	c-icap: 0.3.5_2,2 [pfSense]
      	c-icap-modules: 0.3.2_5 [pfSense]
      	clamav: 0.99 [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 27 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...
      [7/15] Extracting krb5-1.14: .......... 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.3.5_2,2...
      ===> Creating users and/or groups.
      Using existing group 'c_icap'.
      Using existing user 'c_icap'.
      [9/15] Extracting c-icap-0.3.5_2,2: .......... done
      [10/15] Installing clamav-0.99...
      ===> Creating users and/or groups.
      Using existing group 'clamav'.
      Using existing group 'mail'.
      Using existing user 'clamav'.
      [10/15] Extracting clamav-0.99: .......... done
      [11/15] Installing squid_radius_auth-1.10...
      [11/15] Extracting squid_radius_auth-1.10: .... done
      [12/15] Installing squid-3.5.16...
      ===> Creating users and/or groups.
      Using existing group 'squid'.
      Using existing user 'squid'.
      ===> Pre-installation configuration for squid-3.5.16
      [12/15] Extracting squid-3.5.16: .........
      pkg: cannot rename //usr/local/etc/squid/errors/zh-cn.JGmaea0DglqQ to //usr/local/etc/squid/errors/zh-cn: Is a directory
      [12/15] Extracting squid-3.5.16... done
      [12/15] Deleting files for squid-3.5.16: .......... done
      Failed
      
      

      After removing /usr/local/etc/squid/errors* I managed to successfully reinstall squid
      Screenshot_pfsense2_1_2016-04-13_08:05:31.png
      Screenshot_pfsense2_1_2016-04-13_08:05:31.png_thumb

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

        https://forum.pfsense.org/index.php?topic=105399.msg588219#msg588219
        https://forum.pfsense.org/index.php?topic=105399.msg588787#msg588787

        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy