PDA

View Full Version : (apt-get install) issue after installing kali rolling .



HussamY
2016-05-02, 01:02
hello everyone , I'm having a problem installing any package i want
for example ; these packages i can't install
libgtk2.0
autoreconf
and many more
i keep trying but terminal output is


Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package autoreconf

sources.list


#

# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free

#deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free

aephlux
2016-05-02, 03:05
Add this line to your /etc/apt/sources.list

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

node
2016-05-02, 22:15
Terminal type

echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
echo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list

Or leafpad /etc/apt/sources.list

And enter the above save then try.

apt-get update

HussamY
2016-05-03, 02:22
Add this line to your /etc/apt/sources.list

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

thank you , worked .

Bee1TO
2016-05-05, 17:24
I had the same exact problem after kali rolling update...thought I broke kali...change to kde...no go...almost thought about a complete reinstall...instead I tried dpkg and it work but only on command or app that i on. Bottom line googled and google , tried a few forums ended up /etc/apt/source.list commented everything out but kali rolling , sofar so good.

akegameesou
2016-07-17, 15:38
brand new install of rolling kali ( http://cdimage.kali.org/kali-2016.1/kali-linux-2016.1-amd64.iso ) and unable to install vm tools on vmware guest machine

I did , apt-get update && apt-get upgrade && apt-get dist-upgrade and a reboot

## cat of my source.list

#
# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
#deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
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

try to install the vm tools using the following and get "E: Unable to locate package open-vm-tools-desktop"

root@kali:~# apt-get install open-vm-tools-desktop fuse

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package open-vm-tools-desktop

ANY IDEAS

t2bughunter
2016-08-14, 23:27
I added the lines suggested by Node to /etc/apt/sources.list and I still get the same error: E: Unable to locate package gparted

This is the contents of /etc/apt/sources.list

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://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free


Any suggestions on how to remedy this?

Thanks in advance!