Package: denyhosts
Version: 2.0-1
Severity: normal

upgrading denyhosts from 1.4 to 2.0 fails with the errors below. It
seems some package headers (Replaces, Conflicts etc, but I don't know
this stuff) needs to be tweaked so that the now-metapackage gets to be
"installed" (ie its files deleted) before the new dependencies.

from aptitude (second run succeeded without errors):

Selecting previously deselected package denyhosts-common.
(Reading database ... 145061 files and directories currently installed.)
Unpacking denyhosts-common (from .../denyhosts-common_2.0-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/denyhosts-common_2.0-1_all.deb (-
-unpack):
 trying to overwrite `/etc/init.d/denyhosts', which is also in package denyhosts
Selecting previously deselected package denyhosts-python2.3.
Unpacking denyhosts-python2.3 (from .../denyhosts-python2.3_2.0-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/denyhosts-python2.3_2.0-1_all.deb
 (--unpack):
 trying to overwrite `/usr/lib/python2.3/site-packages/DenyHosts/counter.py', wh
ich is also in package denyhosts
Preparing to replace denyhosts 1.1.4-2 (using .../denyhosts_2.0-1_all.deb) ...
Stopping DenyHosts: denyhosts.
Unpacking replacement denyhosts ...
Errors were encountered while processing:
 /var/cache/apt/archives/denyhosts-common_2.0-1_all.deb
 /var/cache/apt/archives/denyhosts-python2.3_2.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of denyhosts:
 denyhosts depends on denyhosts-python2.3 (= 2.0-1); however:
  Package denyhosts-python2.3 is not installed.
dpkg: error processing denyhosts (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 denyhosts
Press return to continue.



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages denyhosts depends on:
ii  denyhosts-python2.3           2.0-1      an utility to help sys admins thwa

denyhosts recommends no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to