samsruti@samsruti:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
libapt-inst1.5 libpackagekit-glib2-18
Use 'apt-get autoremove' to remove them.
Done
The following packages have been kept back:
gir1.2-gnomekeyring-1.0 gir1.2-packagekitglib-1.0 libgnome-keyring0
libnih-dbus1 libnih1 libproxy1-plugin-gsettings
libproxy1-plugin-networkmanager libsemanage1 libwpd-0.10-10 schroot
The following packages will be upgraded:
locales
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Need to get 0 B/3,924 kB of archives.
After this operation, 6,998 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 242970 files and directories currently installed.)
Preparing to unpack .../locales_2.19-18_all.deb ...
Unpacking locales (2.19-18) over (2.13+git20120306-21) ...
dpkg: error processing archive /var/cache/apt/archives/locales_2.19-18_all.deb (--unpack):
trying to overwrite '/usr/sbin/validlocale', which is also in package libc-bin 2.21-0ubuntu4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/locales_2.19-18_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)