Results 1 to 6 of 6

Thread: Updating kali linux

  1. #1
    Join Date
    2013-Dec
    Posts
    2

    Updating kali linux

    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)

  2. #2
    Join Date
    2013-Mar
    Posts
    12
    same with me

  3. #3
    Join Date
    2013-Dec
    Location
    Fort Lauderdale, Florida
    Posts
    10
    Quote Originally Posted by issd View Post
    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 .... ~

  4. #4
    Join Date
    2013-Dec
    Location
    Fort Lauderdale, Florida
    Posts
    10
    Quote Originally Posted by issd View Post
    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).
    ~ Rebel Without A Cause .... ~

  5. #5
    Join Date
    2013-Mar
    Posts
    12
    finally solved after dist-upgrade

  6. #6
    Join Date
    2013-Mar
    Posts
    1
    Thanks navyairtech, that helped me out with libnfc5 as well. Guess I have to read more about dpkg. Do you have any recommended reading on dpkg/apt?

Similar Threads

  1. Kali Linux 2.0 not updating
    By sarmad.as in forum General Archive
    Replies: 5
    Last Post: 2015-08-28, 22:34
  2. kali linux updating query???
    By rohit777 in forum Installing Archive
    Replies: 1
    Last Post: 2015-06-30, 07:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •