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



  • 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


  • Rebel Alliance Developer Netgate