Originally Posted by
issd
Dear all friends
when i do update my kali linux i get this error can any one help me out ???????????
Install these packages without verification [y/N]? Y
(Reading database ... 335319 files and directories currently installed.)
Unpacking libnfc5:i386 (from .../libnfc5_1.7.0-3kali1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libnfc5_1.7.0-3kali1_i386.deb (--unpack):
trying to overwrite '/lib/udev/rules.d/42-pn53x.rules', which is also in package libnfc3 1.6.0~svn1469-2kali1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libnfc5_1.7.0-3kali1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
To correct dpkg-deb processing errors:
Unpacking libnfc5:i386 (from .../libnfc5_1.7.0-3kali1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libnfc5_1.7.0-3kali1_i386.deb (--unpack):
trying to overwrite '/lib/udev/rules.d/42-pn53x.rules', which is also in package libnfc3 1.6.0~svn1469-2kali1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/libnfc5_1.7.0-3kali1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cd /var/cache/apt/archives
dpkg -i --force-overwrite all_package_names_listed_at_the_bottom_of_error_ou tput
E.g:
dpkg -i --force-overwrite libnfc5_1.7.0-3kali1_i386.deb
To get the packages left unconfigured:
dpkg --configure -a
You may have to repeat the process a couple of times.
It forces the overwriting of a file that exists in another package(s) due to a packaging error.
A file should only exist in one package at a time and every now and again someone makes a mistake and includes it two or more packages, therefore you need to use the --force-overwrite to get by it and install the new package(s).
Last edited by navyairtech; 2013-12-26 at 20:38.
~ Rebel Without A Cause .... ~