Re: [squid-users] Can I apt-get remove squid ?

From: Fabien Salvi <fabien@dont-contact.us>
Date: Wed, 22 Jan 2003 10:13:01 +0100

BEOI 7308 a écrit:
> Hi
>
> I've been using the squid-2.4.STABLE6 shipped with debian woody for a
> while and then had to set up squid-2.5 with samba for NTLM
> authentication.
> Squid-2.5 works all fine but i was wondering if i may apt-get remove the
> squid shipped with debian now that
> i don't use it anymore
> Squid-2.5 was built in the /usr/local/squid-2.5 dir with the
> --prefix=/usr/local/squid-2.5 switch
> The question is can i apt-get remove the squid-2.4.STABLE6 now without
> stuffing my squid-2.5 installation ?
>

Hello,

Like the new version is installed elsewhere, it shouldn't be a problem.

Let's verify where are the debian squid files :

$ dpkg -L squid
/.
/etc
/etc/logrotate.d
/etc/logrotate.d/squid
/etc/init.d
/etc/init.d/squid
/usr
/usr/bin
/usr/sbin
/usr/sbin/squid
/usr/share
/usr/share/doc
/usr/share/doc/squid
/usr/share/doc/squid/examples
/usr/share/doc/squid/examples/squid.conf
/usr/share/doc/squid/examples/rredir.c
/usr/share/doc/squid/examples/rredir.pl
/usr/share/doc/squid/examples/url-normalizer.pl
/usr/share/doc/squid/examples/default.squid
/usr/share/doc/squid/README.morefds.gz
/usr/share/doc/squid/README.auth_modules.gz
/usr/share/doc/squid/README.auth_module.smb_auth.gz
/usr/share/doc/squid/README.transparent-proxy.gz
/usr/share/doc/squid/Release-Notes-1.0.txt.gz
[...]
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/squid.8.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/squid
/usr/lib
/usr/lib/squid
/usr/lib/squid/errors
/usr/lib/squid/errors/Bulgarian
/usr/lib/squid/errors/Bulgarian/ERR_ACCESS_DENIED
/usr/lib/squid/errors/Bulgarian/ERR_CACHE_ACCESS_DENIED
/usr/lib/squid/errors/Bulgarian/ERR_CACHE_MGR_ACCESS_DENIED
/usr/lib/squid/errors/Bulgarian/ERR_CANNOT_FORWARD
[...]
/usr/lib/squid/icons
/usr/lib/squid/icons/anthony-binhex.gif
/usr/lib/squid/icons/anthony-bomb.gif
/usr/lib/squid/icons/anthony-box.gif
[...]
/usr/lib/squid/unlinkd
/usr/lib/squid/diskd
/usr/lib/squid/mib.txt
/usr/lib/squid/mime.conf
/usr/lib/squid/RunCache
/usr/lib/squid/smb_auth
/usr/lib/squid/smb_auth.sh
/usr/lib/squid/ncsa_auth
/usr/lib/squid/pam_auth
/usr/lib/squid/ldap_auth
/usr/lib/squid/getpwnam_auth
/var
/var/log
/var/log/squid
/var/spool
/var/spool/squid

But, be careful about config and init.d files (/etc/squid.conf and
/etc/init.d/squid) if you use them...
You'd better backup them :)

Another solution is to build a new debian package with the version and
options you need.
It's not very difficult...

-- 
Fabien SALVI      Centre de Ressources Informatiques
                   Archamps, France -- http://www.cri74.org
                   PingOO GNU/linux distribution : http://www.pingoo.org
Received on Wed Jan 22 2003 - 02:13:06 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:46 MST