apt-get Unmet dependencies error

25,769

Go to Repository kali or other linux and copy these links:

deb http://repo.kali.org/kali kali-rolling main contrib non-free
deb-src http://repo.kali.org/kali kali-rolling main contrib non-free 

on your leafpad or use these command on terminal

sudo apt --fix-broken install
sudo apt-get update
sudo apt-get upgrade
Share:
25,769

Related videos on Youtube

user765883
Author by

user765883

Updated on September 18, 2022

Comments

  • user765883
    user765883 over 1 year

    every time i try to install somthing with apt-get it returns this

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     google-chrome-stable : Depends: libappindicator1 but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    

    so i tried to Update the Kali Linux sources list so i put this

    deb http://repo.kali.org/kali kali-rolling main contrib non-free
    deb-src http://repo.kali.org/kali kali-rolling main contrib non-free
    

    but this doesn't work note that i have kali linux 64 bit

  • xenoid
    xenoid over 6 years
    The suggested apt-get -f install (-f = --fix-broken) would have done the same thing as apt --fix-broken install.
  • DavidPostill
    DavidPostill over 2 years
    Please do not post the same answer to multiple questions. If the same information really answers both questions, then one question (usually the newer one) should be closed as a duplicate of the other. You can indicate this by voting to close it as a duplicate or, if you don't have enough reputation for that, raise a flag to indicate that it's a duplicate. Otherwise tailor your answer to this question and don't just paste the same answer in multiple places.