Skip to main content

E: Package 'libpng12-0' has no installation candidate (Dependency is not satisfiable) in kali/ubuntu

This post about dependency problem in kali linux/ ubuntu

when you  face dependency problem like

sudo apt-get install libpng12-0


Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libpng12-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libpng12-0' has no installation candidate  

 now you can do this 
1. type command  in terminal "sudo apt-get install libpng12-0"
 
 If you face some error 
 you can do this  
 You can download the libpng12-0 from here.  
 http://packages.ubuntu.com/xenial/i386/libpng12-0/download for 386 architecture 
 and http://packages.ubuntu.com/xenial/amd64/libpng12-0/download for 64 bits. 
 
 
By download and install you can fix this problem 

if you face any kind of problem you can ask me in comment section.

Comments

  1. i manually add --> deb http://security.ubuntu.com/ubuntu xenial-security main but still error

    ReplyDelete
  2. apt-get install libpng-dev
    apt-get install libpng12-0 fire both as root

    ReplyDelete

Post a Comment

Popular posts from this blog

E: Unable to locate package on kali linux error [SOLVED]

This post about repository issues some times when you want  to install software by terminal like (" sudo apt-get install codeblock")    you get  "E: Unable to locate package"   Error   To solve this problem    1. open terminal   2. run this command "leafpad /etc/apt/sources.list"   and replace with this # # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 2$ # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 2$ deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/kali kali-rolling main non-free contrib deb http://ftp.be.debian.org/debian/ wheezy main save and close the file after that 1. sudo apt-get clean 2. sudo apt-get update 3. sudo apt-get -f install now you can install what you want  if you face any kind of problem you can ask me in comment section

What is Linked List? || Linked list creation Ep 02