Debian libwxgtk2.4-python not installing - why?

When trying to install wxPython 2.4 on Debian (unstable), I get the error
message below.
Worth noting that it even happens when the two files it objects against are
removed.

root@heimdall:/home/hherb/wxPython-2.4.0.1/docs# apt-get -t unstable install
libwxgtk2.4-python
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libwxgtk2.4
The following NEW packages will be installed:
  libwxgtk2.4 libwxgtk2.4-python
0 packages upgraded, 2 newly installed, 0 to remove and 515 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/3678kB of archives. After unpacking 13.7MB will be used.
Do you want to continue? [Y/n]
(Reading database ... 126398 files and directories currently installed.)
Unpacking libwxgtk2.4 (from .../libwxgtk2.4_2.4.0_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libwxgtk2.4_2.4.0_i386.deb
(--unpack):
trying to overwrite `/usr/share/aclocal/wxwin.m4', which is also in package
libwxgtk2.3
Unpacking libwxgtk2.4-python (from .../libwxgtk2.4-python_2.4.0_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/libwxgtk2.4-python_2.4.0_i386.deb (--unpack):
trying to overwrite `/usr/lib/python2.2/site-packages/wxPython/lib/CDate.py',
which is also in package wxpythongtk-py2.2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libwxgtk2.4_2.4.0_i386.deb
/var/cache/apt/archives/libwxgtk2.4-python_2.4.0_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Horst

Found the solution: have to manually remove the whole package "libwxgtk2.3"
first.
Shouldn't really happen with apt-get.

Horst

···

On Sun, 12 Jan 2003 22:53, Horst Herb wrote:

When trying to install wxPython 2.4 on Debian (unstable), I get the error
message below.