Package: libwxgtk2.4, wxwin2.4-i18n
Version: 2.4.2.6.1
When I attempt to install these two packages with apt-get, I receive the following error at the end:
$ sudo apt-get install
libwxgtk2.4
Setting up locales (2.3.2.ds1-21) ...
Generating locales...
Usage:./usr/sbin/validlocale <locale>...Try `localedef --help' or `localedef--usage' for more information.
dpkg: error processing locales (--configure):
subprocess post-installation script returned error exit status 4
Setting up libpng10-0 (1.0.18-1) ...
Setting up libwxgtk2.4 (2.4.2.6.1) ...
Errors were encountered while processing:
locales
E: Sub-process /usr/bin/dpkg returned an error code (1)
In the case of wxwindows, it turns out I already have it installed so it's not a problem but in the case of libwxgtk, I do not have it installed and this is preventing me from installing it successfully. I believe I've seen this pop in other instances as well when using apt-get (virtually, if not, global).
Has this by any chance been fixed in kernel 2.6.xx because it seems like a critical bug. Is it simply something gone awry with my configuration? It could very well also/only involve the error encountered while processing locales. However, I have recently fixed locales.
I have discovered another bug report falling under this error code but this seemed only to apply to OpenOffice through apt-get; I'm not entirely positive. Link:
http://lists.debian.org/debian-user/2004/09/msg02511.html
ls -l /lib/libc.so.6: lrwxrwxrwx 1 root root 13 2005-05-08 17:34 /lib/libc.so.6 ->
libc-2.3.2.so
uname -a: Linux c-67-167-188-115 2.4.27-2-386 #1 Thu Jan 20 10:55:08 JST 2005 i686 GNU/Linux
<<Sarge
Changelog:
I had reported this bug a day or so ago but it was forwarded back to me
and I have recently successfully installed these two packages. I am unsure of the means I used to do this. I believe it was due to me fixing my locales.
However, I am still able to reproduce the error when installing bittorrent:
$ sudo apt-get install bittorrent
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
bittorrent-gui
The following NEW packages will be installed:
bittorrent
0 upgraded, 1 newly installed, 0 to remove and 56 not upgraded.
Need to get 0B/86.6kB of archives.
After unpacking 537kB of additional disk space will be used.
(Reading database ... 88555 files and directories currently installed.)
Unpacking bittorrent (from .../bittorrent_3.4.2-3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/bittorrent_3.4.2-3_all.deb (--unpack):
trying to overwrite `/usr/lib/python2.3/site-packages/BitTorrent/Choker.py', which is also in package
bittorrent-4.0.1.linux
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/bittorrent_3.4.2-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks
Michael