Squid Installation Failure



  • I'm getting an installation failure when attempting to install the latest stable version of Squid on pfSense 2.0-BETA4 (i386)
    built on Tue Dec 7 05:18:51 EST 2010. The package error is:

    Beginning package installation for squid…
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading squid and its dependencies...
    Checking for package installation...
    squid-2.7.9  could not download.
    of squid-2.7.9 failed!

    Installation aborted.Removing package...
    Starting package deletion for squid-2.7.9...done.
    Starting package deletion for squid_radius_auth-1.10...done.
    Starting package deletion for libwww-5.4.0_4...done.
    Removing squid components...
    Tabs items... done.
    Menu items... done.
    Services... done.
    Loading package instructions...
    Include file squid.inc could not be found for inclusion.
    Deinstall commands...
    Not executing custom deinstall hook because an include is missing.
    Removing package instructions...done.
    Auxiliary files... done.
    Package XML... done.
    Configuration... done.
    Failed to install package.

    Installation halted.

    Please help!



  • Hi,

    I'm using SQUID 2.7 and lightsquid. I updated from Dec 5 05:xx x86 to Dec 07 05:xx x86 and there were no problems while installation. squid works fine for me.

    Perhaps it is only a temporarly problem - not sure.



  • Are you using the beta2.0 version of pfSense?


  • Rebel Alliance Developer Netgate

    That file is present on the package server for i386 and amd64, and it has been working fine for others.



  • I tried to install the package again. Now it failed downloading openssl.


  • Rebel Alliance Developer Netgate

    How about now?



  • Nope:

    Beginning package installation for squid…
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading squid and its dependencies...
    Checking for package installation...
    squid-2.7.9  (extracting)
      openssl-1.0.0_2  could not download.
    of squid-2.7.9 failed!

    Installation aborted.Removing package...
    Starting package deletion for squid-2.7.9...done.
    Starting package deletion for squid_radius_auth-1.10...done.
    Starting package deletion for libwww-5.4.0_4...done.
    Removing squid components...
    Tabs items... done.
    Menu items... done.
    Services... done.
    Loading package instructions...
    Include file squid.inc could not be found for inclusion.
    Deinstall commands...
    Not executing custom deinstall hook because an include is missing.
    Removing package instructions...done.
    Auxiliary files... done.
    Package XML... done.
    Configuration... done.
    Failed to install package.

    Installation halted.


  • Rebel Alliance Developer Netgate

    It should not be trying to download openssl-1.0.0_2, it was compiled against 1.0.0_3. Not sure why it's still trying to pull _2 for you.



  • It actually downloaded the correct openssl package until i installed the latest beta build of the firewall. Now I'm getting a different failure, this time with mysql-client-5.1.53:

    Beginning package installation for snort…
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading snort and its dependencies...
    Checking for package installation...
    mysql-client-5.1.53  could not download.
    of mysql-client-5.1.53 failed!

    Installation aborted.Removing package...
    Starting package deletion for pcre-8.10...done.
    Starting package deletion for mysql-client-5.1.53...done.
    Starting package deletion for snort-2.8.6.1...done.
    Removing snort components...
    Menu items... done.
    Services... done.
    Loading package instructions...
    Include file snort.inc could not be found for inclusion.
    Deinstall commands...
    Not executing custom deinstall hook because an include is missing.
    Removing package instructions...done.
    Auxiliary files... done.
    Package XML... done.
    Configuration... done.
    Failed to install package.

    Installation halted.

    Is this the linux version of windows dll hell...lol?


  • Rebel Alliance Developer Netgate

    That last batch of output was for snort, not squid. Are you still having issues with squid?

    There is a separate thread for snort install issues.



  • oops…fingers moving before brain engaged.



  • Squid fails to install on the 2.0 beta 64bit version. It looks like Perl was updated and it's trying to download perl-5.10.1_2.tbz instead of: perl-5.10.1_3.tbz

    Trying to download http://files.pfsense.org/packages/amd64/8/All/perl-5.10.1_2.tbz ...  could not download from there or http://ftp2.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-8.1-RELEASE/Latest/perl-5.10.1_2.tbz.
    of squid-2.7.9 failed!
    

    Is there a way I can modify the package install file manually until the package script is updated?


  • Rebel Alliance Developer Netgate

    I uploaded a new package set for squid last night and it worked for me and was pulling _3. Wonder what changed. I'll look into it, but it may not be fixed tonight.



  • I had the same problems first, but now it installs with openssl _2 AND _3! It first installs the _3, then after installing other packages it installs _2 of the openssl.


  • Rebel Alliance Developer Netgate

    All of the OpenSSL dependencies should be gone now. What happened was that the unbound DNS package required openssl from ports, and once that gets installed, other packages pick up on it and try to use it, and it becomes a large mess.

    I'm rebuilding the OS on the package builders right now to make sure there is no trace of the openssl package left, then I'll start a full package run after that.


  • Rebel Alliance Developer Netgate

    It should be completely fixed now. I just did a full package builder run and it installs and runs OK for me in a VM.



  • Squid installs fine now. Much appreciated! However, when trying to install Lightsquid it's getting hung up on the same package "http://files.pfsense.org/packages/amd64/8/All/perl-5.10.1_2.tbz". It looks like this package needs the update for "pperl-5.10.1_3.tbz" as well.


  • Rebel Alliance Developer Netgate

    Can you post the full install window output from that?

    As far as I can tell it should not be looking for the old perl:

    Information for /usr/local/www/files/packages/amd64/8/All/lightsquid-1.8_2.tbz:
    
    Depends on:
    Dependency: perl-5.10.1_3
    Dependency: png-1.4.3
    Dependency: jpeg-8_3
    Dependency: pkg-config-0.25_1
    Dependency: freetype2-2.4.2
    Dependency: libiconv-1.13.1_1
    Dependency: gd-2.0.35_7,1
    Dependency: p5-GD-2.45
    


  • I tried it just now, here is the output. It looks like p5-GD-2.45.tbz has a dependency on the old perl package

    Beginning package installation for Lightsquid...
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading Lightsquid and its dependencies... 
    Checking for package installation... 
    lightsquid-1.8_2 
     Trying to download http://files.pfsense.org/packages/amd64/8/All/lightsquid-1.8_2.tbz ...  (extracting)
    perl-5.10.1_3 already installed.
    png-1.4.3 already installed.
    jpeg-8_3 already installed.
    pkg-config-0.25_1 already installed.
    freetype2-2.4.2 already installed.
    libiconv-1.13.1_1 already installed.
    gd-2.0.35_7,1 already installed.
      p5-GD-2.45 
       Trying to download http://files.pfsense.org/packages/amd64/8/All/p5-GD-2.45.tbz ...  (extracting)
        perl-5.10.1_2 
         Trying to download http://files.pfsense.org/packages/amd64/8/All/perl-5.10.1_2.tbz ...  could not download from there or http://ftp2.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-8.1-RELEASE/Latest/perl-5.10.1_2.tbz.
    of lightsquid-1.8_2 failed!
    
    Installation aborted.Removing package...
    	Starting package deletion for lightsquid-1.8_2...done.
    	Skipping package deletion for perl-5.10.1_3 because it is required by other packages.
    Removing Lightsquid components...
    	Tabs items... done.
    	Menu items... done.
    Loading package instructions...
    	Include file lightsquid.inc could not be found for inclusion.
    	Deinstall commands... 
    	Not executing custom deinstall hook because an include is missing.
    	Removing package instructions...done.
    	Auxiliary files... done.
    	Package XML... done.
    	Configuration... done.
    Failed to install package.
    
    Installation halted.
    

  • Rebel Alliance Developer Netgate

    Give it a try now:

    # pkg_info -r /usr/ports/packages/All/p5-GD-2.45.tbz
    Information for /usr/ports/packages/All/p5-GD-2.45.tbz:
    
    Depends on:
    Dependency: expat-2.0.1_1
    Dependency: perl-5.10.1_3
    Dependency: png-1.4.3
    Dependency: jpeg-8_3
    Dependency: pkg-config-0.25_1
    Dependency: freetype2-2.4.2
    Dependency: fontconfig-2.8.0,1
    Dependency: gd-2.0.35_7,1
    


  • That did it! Thank you!


Locked