Jump to content

apt install command not working?!


isaac_204
 Share

Recommended Posts

I have upgraded my Kali Rolling 2016.2 to Kali Rolling 2017.1 without a problem however the apt install command doesn't seem to work! I tried installing different tools that I know for sure that are included in metapackages like OpenVAS. I tried "apt-get install openvas" and "apt install openvas" but I always get the same message "Unable to find package ..."

 Does anyone  have any ideas? Thank in advance!

Link to comment
Share on other sites

After you apt-get install openvas, you have to run "openvas-setup", but this is going from memory but google the steps. openvas-setup I believe runs through an install script you have to give answers to in order to set it up. It's not a stand alone executable from what I remember.

Link to comment
Share on other sites

Thanks for the replies!


/etc/apt/sources.list:

#

# deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free

#deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free

Link to comment
Share on other sites

You're not still booted off a live disc right?

Here is what I have in mine for latest kali 2017.1 - cat /etc/apt/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

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

Only really need the "deb http://http.kali.org/kali kali-rolling main non-free contrib" line uncommented

Set yours the same, and then do apt-get update && apt-get upgrade && apt-get apt-get dist-upgrade

Then you should be all set. run updatedb afterwards or reboot too. Once done run "uname -a; cat /etc/*ele* /etc/issue"

You should then be on 2017.1, which is the latest.

Linux kali 4.9.0-kali4-amd64 #1 SMP Debian 4.9.25-1kali1 (2017-05-04) x86_64 GNU/Linux
DISTRIB_ID=Kali
DISTRIB_RELEASE=kali-rolling
DISTRIB_CODENAME=kali-rolling
DISTRIB_DESCRIPTION="Kali GNU/Linux Rolling"
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2017.1"
VERSION_ID="2017.1"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.kali.org/"
SUPPORT_URL="http://forums.kali.org/"
BUG_REPORT_URL="http://bugs.kali.org/"
Kali GNU/Linux Rolling \n \l

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...