Package: squid-common
Version: 2.6.1-3
Severity: normal

squid_2.5.14-1 and squid-common_2.6.1-3 both contain the
following file:
./usr/share/doc/squid/examples/ip_user-example.conf

squid_2.6.1-3 depends on squid-common_2.6.1-3 but
squid-common_2.6.1-3 does not conflict with squid_2.5.14-1, so
the Smart Package Manager (I didn't try
apt-get/aptitude/synaptic/etc.) tries to upgrade squid-common
without first uninstalling squid.  This failed because of the
conflicting filename, so the whole upgrade is aborted.

If I try to upgrade squid using the Smart Package Manager, I get
the following:

# smart --shell
Smart Package Manager 0.41 - Shell Mode

Loading cache...
Updating cache...               ######################################## [100%]

smart> ls -iv squid*
squid_2.5.14-1            squid-common_2.5.14-1     squidclient_2.6.1-3       
smart> upgrade

Upgrading packages (2):
  squid_2.6.1-3             squid-common_2.6.1-3      

1.0MB of package files are needed. 92.0kB will be used.

Confirm changes? (Y/n): 

smart> commit

Upgrading packages (2):
  squid_2.6.1-3             squid-common_2.6.1-3      

1.0MB of package files are needed. 92.0kB will be used.

Confirm changes? (Y/n): 

Fetching packages...                                                           
-> http://ftp.leg.uct.ac.za/pub/linux/.../squid-common_2.6.1-3_all.deb         
-> http://ftp.leg.uct.ac.za/pub/linux/distributions/.../squid_2.6.1-3_i386.deb 
squid-common_2.6.1-3_all.deb    ######################################## [ 50%]
squid_2.6.1-3_i386.deb          ######################################## [100%]

Committing transaction...                                                (  0%)
[unpack] squid-common_2.6.1-3
dpkg --unpack /var/lib/smart/packages/squid-common_2.6.1-3_all.deb
(Reading database ... 142327 files and directories currently installed.)
Preparing to replace squid-common 2.5.14-1 (using 
.../squid-common_2.6.1-3_all.deb) ...
Unpacking replacement squid-common ...
dpkg: error processing /var/lib/smart/packages/squid-common_2.6.1-3_all.deb 
(--unpack):
 trying to overwrite `/usr/share/doc/squid/examples/ip_user-example.conf', 
which is also in package squid
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/lib/smart/packages/squid-common_2.6.1-3_all.deb
error: Sub-process dpkg returned an error code (1)                             

Updating cache...               ######################################## [100%]

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.17
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to