Cara Mengatasi E: Unable To Locate package pada Linux



ALFA ARTS - Menginstal aplikasi di linux biasanya indentik dengan perintah "apt-get instal" kan ya, namun pernah ngak kalian mengalami E: Unable To Locate package saat install atau update linux, jika pernah pasti kesal yah, nak oleh karena itu kali ini ALFA ARTS akan membahas tutorial singkat tentang Cara Mengatasi E: Unable To Locate package pada Linux, tidak usah basa basi lagi saya akan memberikan contoh E: Unable To Locate package pada Linux,

Berikut Cara Mengatasi E: Unable To Locate package pada Linux

  1. Buka Terimnal anda
  2. Ketikan perintah berikut
    leafpad /etc/apt/sources.list
  3. dan akan muncul texs editor, 
  4. ganti teks tersbut dengan kode dibawah :
    • Kali Linux
    • deb http://http.kali.org/kali kali-rolling main contrib non-free
      # For source package access, uncomment the following line
      # deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    • Ubuntu
    • # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Beta i386 (20120421)]/ precise main restricted

      # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
      # newer versions of the distribution.
      deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
      deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

      ## Major bug fix updates produced after the final release of the
      ## distribution.
      deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
      deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted

      ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
      ## team. Also, please note that software in universe WILL NOT receive any
      ## review or updates from the Ubuntu security team.
      deb http://us.archive.ubuntu.com/ubuntu/ precise universe
      deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
      deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
      deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe

      ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
      ## team, and may not be under a free licence. Please satisfy yourself as to
      ## your rights to use the software. Also, please note that software in
      ## multiverse WILL NOT receive any review or updates from the Ubuntu
      ## security team.
      deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
      deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
      deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
      deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse

      ## N.B. software from this repository may not have been tested as
      ## extensively as that contained in the main release, although it includes
      ## newer versions of some applications which may provide useful features.
      ## Also, please note that software in backports WILL NOT receive any review
      ## or updates from the Ubuntu security team.
      deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
      deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

      deb http://security.ubuntu.com/ubuntu precise-security main restricted
      deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
      deb http://security.ubuntu.com/ubuntu precise-security universe
      deb-src http://security.ubuntu.com/ubuntu precise-security universe
      deb http://security.ubuntu.com/ubuntu precise-security multiverse
      deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

      ## Uncomment the following two lines to add software from Canonical's
      ## 'partner' repository.
      ## This software is not part of Ubuntu, but is offered by Canonical and the
      ## respective vendors as a service to Ubuntu users.
      # deb http://archive.canonical.com/ubuntu precise partner
      # deb-src http://archive.canonical.com/ubuntu precise partner

      ## This software is not part of Ubuntu, but is offered by third-party
      ## developers who want to ship their latest software.
      deb http://extras.ubuntu.com/ubuntu precise main
      deb-src http://extras.ubuntu.com/ubuntu precise main
    • Debian
    • ##### DEBIAN ################
      # Debian Experimental
      # deb http://ftp.de.debian.org/debian experimental main contrib non-free
      # deb-src http://ftp.de.debian.org/debian experimental main contrib

      # Debian Sid            # CURRENT UNSTABLE
      # deb http://ftp.de.debian.org/debian sid main contrib non-free
      # deb-src http://ftp.de.debian.org/debian sid main contrib non-free

      # Debian 8.0 (Jessie)   # CURRENT TESTING
      # deb http://ftp.de.debian.org/debian/ jessie main contrib non-free
      # deb-src http://ftp.de.debian.org/debian/ jessie main contrib non-free
      # deb http://security.debian.org/ jessie/updates main contrib non-free
      # deb-src http://security.debian.org/ jessie/updates main contrib non-free
      # deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
      # deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
      # deb http://ftp.de.debian.org/debian jessie-backports main contrib non-free
      # deb-src http://ftp.de.debian.org/debian jessie-backports main contrib non-free

      # Debian 7.0 (Wheezy)   # CURRENT STABLE
      # deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
      # deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free
      # deb http://security.debian.org/ wheezy/updates main contrib non-free
      # deb-src http://security.debian.org/ wheezy/updates main contrib non-free
      # deb http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
      # deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
      # deb http://ftp.de.debian.org/debian wheezy-backports main contrib non-free
      # deb-src http://ftp.de.debian.org/debian wheezy-backports main contrib non-free

      # Debian 6.0 (Squeeze)  # CURRENT OLDSTABLE
      # deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
      # deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free
      # deb http://security.debian.org/ squeeze/updates main contrib non-free
      # deb-src http://security.debian.org/ squeeze/updates main contrib non-free

      ##### UBUNTU ################
      # Ubuntu 13.04 (Raring)
      # deb http://de.archive.ubuntu.com/ubuntu/ raring main
      # deb-src http://de.archive.ubuntu.com/ubuntu/ raring main

      # Ubuntu 12.10 (Quantal)
      # deb http://de.archive.ubuntu.com/ubuntu/ quantal main
      # deb-src http://de.archive.ubuntu.com/ubuntu/ quantal main

      # Ubuntu 12.04LTS (Precise)
      # deb http://de.archive.ubuntu.com/ubuntu/ precise main
      # deb-src http://de.archive.ubuntu.com/ubuntu/ precise main

      # Ubuntu 11.10 (Oneiric)
      # deb http://de.archive.ubuntu.com/ubuntu/ oneiric main
      # deb-src http://de.archive.ubuntu.com/ubuntu/ oneiric main

      # Ubuntu 10.04LTS (Lucid)
      # deb http://de.archive.ubuntu.com/ubuntu/ lucid main
      # deb-src http://de.archive.ubuntu.com/ubuntu/ lucid main

      # Ubuntu 8.04LTS (Hardy)
      # deb http://de.archive.ubuntu.com/ubuntu/ hardy main
      # deb-src http://de.archive.ubuntu.com/ubuntu/ hardy main

      ##### DESKTOP ENVIRONMENTS ##
      # MATE
      # deb http://repo.mate-desktop.org/debian jessie main
      # deb-src http://repo.mate-desktop.org/debian jessie main
      # deb http://repo.mate-desktop.org/debian wheezy main
      # deb-src http://repo.mate-desktop.org/debian wheezy main
      # deb http://repo.mate-desktop.org/ubuntu raring main
      # deb http://repo.mate-desktop.org/ubuntu quantal main
      # deb http://repo.mate-desktop.org/ubuntu precise main

      ##### OTHER #################
      # Deb Multimedia
      # deb http://www.deb-multimedia.org jessie main non-free
      # deb-src http://www.deb-multimedia.org jessie main non-free
      # deb http://www.deb-multimedia.org wheezy main non-free
      # deb-src http://www.deb-multimedia.org wheezy main non-free

      # Webmin
      # deb http://download.webmin.com/download/repository sarge contrib
      # deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

      # VirtualBox
      # deb http://download.virtualbox.org/virtualbox/debian wheezy contrib non-free # no deb-src available
      # deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free # no deb-src available

      # Steam
      # deb http://repo.steampowered.com/steam/ precise steam
      # deb-src http://repo.steampowered.com/steam/ precise steam

      # MariaDB
      # deb http://mirror.netcologne.de/mariadb/repo/5.5/debian wheezy main
      # deb-src http://mirror.netcologne.de/mariadb/repo/5.5/debian wheezy main

      # Oracle
      # deb http://oss.oracle.com/debian unstable main non-free

      # Spotify
      # deb http://repository.spotify.com stable non-free
  5. Setelah itu seimpan dan close text editor tersebut
  6. Update linux anda dengan perintah
    apt-get update
    apt-get upgrade
  7. dan setelah itu reboot dan lihat hasilnya,
Cara Mengatasi E: Unable To Locate package pada Linux
Cara Mengatasi E: Unable To Locate package pada Linux
nah itulah sedikit tips dan tutorial tentang Cara Mengatasi E: Unable To Locate package pada Linux, semoga dapat menambah wawasan kita dan terimakasih sudah berkunjung.