Results 1 to 2 of 2

Thread: Kali linux failed to get libpng12 (': No such file or directory) [on hold]

  1. #1
    Join Date

    Kali linux failed to get libpng12 (': No such file or directory) [on hold]

    I want to install gnome-screenshot but +I have some problems to install libpng12-0 on kali linux.
    root@kali:/tmp# apt install gnome-screenshot
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
     libwebkitgtk-1.0-0 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
    root@kali:/tmp# apt --fix-broken install
    The following additional packages will be installed:
    The following NEW packages will be installed:
    0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
    7 not fully installed or removed.
    Need to get 0 B/172 kB of archives.
    After this operation, 273 kB of additional disk space will be used.
    Do you want to continue? [Y/n] 
    (Reading database ... 413687 files and directories currently installed.)
    Preparing to unpack .../libpng12-0_1.2.50-2+b2_amd64.deb ...
    Unpacking libpng12-0:amd64 (1.2.50-2+b2) ...
    dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.50-2+b2_amd64.deb (--unpack):
     unable to install new version of '/usr/lib/x86_64-linux-gnu/': No such file or directory
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I already check this link :

    But it doesn't solve anything for me. Here is some information about my version:

    Linux kali 4.18.0-kali3-amd64 #1 SMP Debian 4.18.20-2kali2 (2018-11-30) x86_64 GNU/Linux

    any ideas ?

    Thanks a lot

  2. #2
    Join Date
    You probably did something wrong along the way, because it installs just fine. I suggest you reinstall Kali.

    By the way, using external packages or other repositories will break your system sooner or later.

    One last thing, make sure to update your system: apt update && apt dist-upgrade

Similar Threads

  1. metasploit.service failed to load: No such file or directory!
    By XtremeLv in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2015-12-20, 21:38

Posting Permissions

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