Appears to address apt-get install E: unable to locate package problem
Reprinted from: jianshu.com/p/a15c2d3b54dd
Ibus want to put on a Chinese input method, enter the command, the error can not find the package always present, check for a long time, was said to be the source of the problem update
solve:
Enter / etc / apt directory to find the sources.list file,
The following copy into the sources.list file:
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL $
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL $
## Security updates
deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb times http://http.kali.org/kali main / debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-fr$
Execute the command apt-get update, wait for the update to complete
Execute apt-get upgrade, continue to wait
Source update is complete, the beginning of the installation command input method to solve!
Reference attached link:
https://www.linkedin.com/pulse/kali-linux-fix-unable-locate-package-eyripidis-stefanidis