View Single Post
Posts: 115 | Thanked: 98 times | Joined on Aug 2011
#3677
Originally Posted by forsagar View Post
this is not helping me and gives this error.
Code:
After this operation, 11.6MB of additional disk space will be used.
Get:1 https://downloads.maemo.nokia.com ./ locales 2.5.1-1eglibc27+0m5 [4292kB]
Fetched 4292kB in 8min23s (8517B/s)                                           
Selecting previously deselected package locales.
(Reading database ... 45317 files and directories currently installed.)
Unpacking locales (from .../locales_2.5.1-1eglibc27+0m5_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/locales_2.5.1-1eglibc27+0m5_armel.deb (--unpack):
 trying to overwrite `/usr/lib/locale', which is also in package posix-locales
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/locales_2.5.1-1eglibc27+0m5_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#
Ok, take another way! (Caution! I think this way is a bit dangerous!)
Code:
sudo gainroot
apt-get clean
apt-get install --reinstall -d locales
cd /var/cache/apt/archives
dpkg -i --force-all *.deb
apt-get clean