Re: [squid-users] HELP: UPDATE

From: someone <mrnicholsb_at_gmail.com>
Date: Sat, 31 Dec 2011 02:56:59 -0800

THANK YOU for your response Peter.

deviant:/home/devadmin# dpkg -l | grep squid
ii sarg 2.2.5-2
squid analysis report generator
rc squid 2.7.STABLE9-2.1
Internet object cache (WWW proxy cache)
ii squid-cgi 3.1.6-1.2+squeeze1
A full featured Web Proxy cache (HTTP proxy) - control CGI
ii squid-common 2.7.STABLE9-2.1
Internet object cache (WWW proxy cache) - common files
ii squid-langpack 20100628-1
Localized error pages for Squid
rc squid3 3.1.6-1.2+squeeze1
A full featured Web Proxy cache (HTTP proxy)
ii squid3-common 3.1.6-1.2+squeeze1
A full featured Web Proxy cache (HTTP proxy) - common files
ii squidclient 3.1.6-1.2+squeeze1
A full featured Web Proxy cache (HTTP proxy) - control utility

But yeah basically after I failed to compiled a newer version, because I
need SSL, I just decided I would reinstall the vanilla squid3.1.6 from
debian squeeze repos, but when I installed it, it kept complaining about
files missing, as if somehow some symlinks were made, and Im guessing
that make install from debian 3.1.8 must have not cleaned up after
itself after doing a 'make uninstall' of course im totally freaking out
coz producting is in 5 hours and I just figured Id clarify.

On Sat, 2011-12-31 at 22:45 +1300, Pieter De Wit wrote:
> On 31/12/2011 21:32, someone wrote:
> > Ok, I rm -rf`d all directories named squid from my box thinking that
> > attempting to do a fresh install after would fix everything NOPE, and
> > wtf, apparently the install binary wont recreate the directories now,
> > yay! wtf symlink madness???? any suggestions how to just get squid to
> > reinstall from apt would be, sooooooooo awesome.
> >
> > I removed squid due to a botched attempt to build and isntall from
> > source, ok, then when I reinstalled squid after doing a make uninstall,
> > squid was complaining about the error pages missing, it was looking for
> > them in a new dir that it should not have been.
> >
> > rm -rf /usr/share/squid3/<--squid3.1.6 SHOULD be looking here
> > rm -rf /usr/share/squid-langpack<---but,squid keeps looking for them
> > here
> >
> >
> >
> > deviant:/# apt-get install squid3
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Suggested packages:
> > squidclient squid-cgi resolvconf
> > The following NEW packages will be installed:
> > squid3
> > 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
> > Need to get 0 B/1,445 kB of archives.
> > After this operation, 3,666 kB of additional disk space will be used.
> > Selecting previously deselected package squid3.
> > (Reading database ... 249217 files and directories currently installed.)
> > Unpacking squid3 (from .../squid3_3.1.6-1.2+squeeze1_i386.deb) ...
> > Processing triggers for man-db ...
> > Setting up squid3 (3.1.6-1.2+squeeze1) ...
> > Restarting Squid HTTP Proxy 3.x: squid3FATAL: MIME Config
> > Table /usr/share/squid3/mime.conf: (2) No such file or directory
> > Squid Cache (Version 3.1.6): Terminated abnormally.
> > CPU Usage: 0.012 seconds = 0.004 user + 0.008 sys
> > Maximum Resident Size: 16320 KB
> > Page faults with physical i/o: 0
> > failed!
> >
> >
> > ================================
> > cache.log
> > ===========
> >
> > 2011/12/31 00:10:46| Starting Squid Cache version 3.1.6 for
> > i486-pc-linux-gnu...
> > 2011/12/31 00:10:46| Process ID 25488
> > 2011/12/31 00:10:46| With 65535 file descriptors available
> > 2011/12/31 00:10:46| Initializing IP Cache...
> > 2011/12/31 00:10:46| DNS Socket created at [::], FD 7
> > 2011/12/31 00:10:46| DNS Socket created at 0.0.0.0, FD 8
> > 2011/12/31 00:10:46| Adding nameserver 127.0.0.1 from squid.conf
> > 2011/12/31 00:10:46| errorpage.cc(293) errorTryLoadText:
> > '/usr/share/squid3/errors/templates/ERR_LIFETIME_EXP': (2) No such file
> > or directory
> > FATAL: failed to find or read error text file.
> > Squid Cache (Version 3.1.6): Terminated abnormally.
> > CPU Usage: 0.040 seconds = 0.008 user + 0.032 sys
> > Maximum Resident Size: 41792 KB
> > Page faults with physical i/o: 0
> >
> >
> >
> Hi,
>
> What does "dpkg -l | grep squid" show ?
>
> Cheers,
>
> Pieter
Received on Sat Dec 31 2011 - 10:57:09 MST

This archive was generated by hypermail 2.2.0 : Sat Dec 31 2011 - 12:00:02 MST