Hello ! I install some software on debian etch server and now i get this error apt-get -f install doesnt repair the problem. Any solution kista:~# apt-get -f install Reading package lists... Done Building dependency tree... Done Correcting dependencies... Done The following extra packages will be installed: libwxbase2.6-0 libwxgtk2.6-0 Suggested packages: libgnomeprintui2.2-0 The following NEW packages will be installed: libwxbase2.6-0 libwxgtk2.6-0 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 66 not fully installed or removed. Need to get 0B/3293kB of archives. After unpacking 9167kB of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 35061 files and directories currently installed.) Unpacking libwxbase2.6-0 (from .../libwxbase2.6-0_2.6.3.2.1.5_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libwxbase2.6-0_2.6.3.2.1.5_i386.deb (--unpack): trying to overwrite `/usr/lib/libwx_baseu-2.6.so.0.3.1', which is also in package libwxbase2.6 dpkg-deb: subprocess paste killed by signal (Broken pipe) Unpacking libwxgtk2.6-0 (from .../libwxgtk2.6-0_2.6.3.2.1.5_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libwxgtk2.6-0_2.6.3.2.1.5_i386.deb (--unpack): trying to overwrite `/usr/lib/libwx_gtk2u_adv-2.6.so.0.3.1', which is also in package libwxgtk2.6 dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/libwxbase2.6-0_2.6.3.2.1.5_i386.deb /var/cache/apt/archives/libwxgtk2.6-0_2.6.3.2.1.5_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
The solution is very simple, once you have figured it out ( with a help of lano ): # dpkg -i --force-overwrite /var/cache/apt/archives/gcc-3.3-base_1%3a3.3.4-6sarge1.2_i386.deb /var/cache/apt/archives/libstdc++5_1%3a3.3.4-6sarge1.2_i386.deb