PDA

View Full Version : apt-get update shows no results



Cheo
2017-09-04, 21:45
Hi

My system is:

Linux kali 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux

My /etc/apt/source.list is:

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

Logged in as root, I type:

apt-get update

I get this:

Reading package lists... Done

That's it, no more results. No erros, nothing. I've tried also apt-get clean and apt-get dist-upgrade, but same result.

Is there a known bug or something? Any idea how to fetch the updates?

I've seen other posts with update errors, but they are not quite the same as my issue. I don't know if they are related.

Cheers

_defalt
2017-09-06, 08:18
apt-get update && apt-get upgrade && apt-get dist-upgrade

dlog
2017-10-13, 01:05
apt-get update && apt-get upgrade && apt-get dist-upgrade

when you do a "apt-get update && apt-get upgrade && apt-get dist-upgrade" does it check what updates your your installed version requires to make it current or does it down load all updates since the latest issue of Kali.

_defalt
2017-10-13, 15:51
when you do a "apt-get update && apt-get upgrade && apt-get dist-upgrade" does it check what updates your your installed version requires to make it current or does it down load all updates since the latest issue of Kali.
apt-get update updates the list of available packages and their versions, but it does not download actual packages. sudo apt-get update is older command of APT package manager, if you type sudo apt update it will also tell you which installed packages are upgradable.

apt-get upgrade actually installs newer versions of the packages you have. After updating the lists, the package manager knows about available updates for the software you have installed.

apt-get dist upgrade updates and removes package dependencies.

crazxzx
2017-10-16, 21:28
your /etc/apt/source.list must be :
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
With no # at third line.