PDA

View Full Version : kali upgrade bug



Zedskey McWise
2016-06-15, 00:46
when i enter the command
apt-get update , the packages get updated normally , but when I run the command
apt-get upgrade some of the needed packages get downloaded and installed , but the majority don't , it is stuck, here's how the output looks like :


root@Zedskey:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
castxml freeglut3 gccxml python-ctypeslib python-dbus-dev python-lzma
python-lzo python-opengl python-pyqtgraph python-qt4-gl python-tidylib
vlc-plugin-notify vlc-plugin-samba
Use 'apt autoremove' to remove them.
The following packages have been kept back:
adwaita-icon-theme apktool baobab bind9-host bluez-obexd bundler cadaver cpp
cpp-5 cups-bsd cups-client curl dconf-editor default-jdk default-jre
default-jre-headless dnsutils dradis driftnet e2fslibs e2fsprogs empathy
python-twisted-core python-twisted-web python-tz python-tzlocal
python-urllib3 python-urwid python-vulndb python-werkzeug python-wheel
python-wxgtk3.0 python-wxtools python-wxversion python-yaml python-yara
python-zope.interface python2.7 python2.7-dev python2.7-minimal
xserver-xorg-input-wacom xserver-xorg-legacy xserver-xorg-video-ati
xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau
xserver-xorg-video-qxl xserver-xorg-video-radeon xserver-xorg-video-vesa
xserver-xorg-video-vmware xterm xtightvncviewer xwayland yelp yelp-xsl
zaproxy zenity zenity-common zenmap zsh zsh-common
1099 upgraded, 0 newly installed, 0 to remove and 368 not upgraded.
Need to get 872 MB of archives.
After this operation, 128 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 base-files amd64 1:2016.2.1 [72.0 kB]
Get:2 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 libuuid1 amd64 2.28-5 [69.4 kB]
Get:3 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 libblkid1 amd64 2.28-5 [163 kB]
Get:4 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 libfdisk1 amd64 2.28-5 [195 kB]
Get:5 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 libsmartcols1 amd64 2.28-5 [119 kB]
Get:6 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 util-linux amd64 2.28-5 [933 kB]
Get:7 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 init-system-helpers all 1.33+kali1 [36.8 kB]
Get:8 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 sysvinit-utils amd64 2.88dsf-59.4 [66.3 kB]
Get:9 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 insserv amd64 1.14.0-5.3 [59.9 kB]
Get:10 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 sysv-rc all 2.88dsf-59.4 [66.5 kB]
Get:1098 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 xprobe amd64 0.3-2 [351 kB]
Get:1099 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 zenmap all 7.12-0kali1 [680 kB]
Fetched 872 MB in 2h 7min 10s (114 kB/s)
Reading changelogs... Done
apt (1.2~exp1) experimental; urgency=medium

[ Automatic removal of debs after install ]
After packages are successfully installed by apt(8),
the corresponding .deb package files will be
removed from the /var/cache/apt/archives cache directory.

This can be changed by setting the apt configuration option
"Binary::apt::APT::Keep-Downloaded-Packages" to "true". E.g:

# echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' \
> /etc/apt/apt.conf.d/01keep-debs

Please note that the behavior of apt-get is unchanged. The
downloaded debs will be kept in the cache directory after they
are installed. To enable the behavior for other tools, you can set
"APT::Keep-Downloaded-Packages" to false.

[ Compressed indices ]
If you use Acquire::gzipIndexes, or any other compressed index targets,
those will now be compressed with the fastest supported algorithm,
currently lz4.

--More-- 8%


Now to be honest I know that this forum is dedicated to the professional penetration testers , and the network engineers ..... so on and so forth , that's why before I post this issue I've looked everywhere on the net , there's nowhere of this particular problem to be found , so I've looked over and over for similar issues , I tried their suggested solutions , I even copied the source repositories from the official website of KALI to the txt file sources.list , bu nothing worked at all , every time , I get the same results of the upgrade and it gets stuck .

So , please , for the sake of learning and information , I urge you to help me , someone there plz give a little bit of his attention to this issue of mine , because I've suffered enough of it (almost two weeks ) , because I too want to get acquainted to KALI and start learning it and using it , and to the KALI forum administrators group , please don't turn me down this time , help a brother out just by approving of this topic to be posted , so someone can at least take a look at it .

Zedskey McWise

with appreciation and gratefulness .

grid
2016-06-15, 11:53
The best answer I can give you is check the man page for apt-get. It has a good explanation of the difference between upgrade and dist-upgrade.

P373
2016-06-15, 16:17
Keep hitting the space bar to show more and complete the download.

Zedskey McWise
2016-06-16, 03:35
Keep hitting the space bar to show more and complete the download.

thanks , I'm now relieved , but embarrassed in the same time , because it's such a trivial solution and I couldn't figure it out .
though , I have been prompted with some questions during the completion of the downloads such as , what ssh server type to choose (standalone or inetd) , I went with standalone , in addition to other questions of course , which I frankly haven't understand , but I just with my intuition , hh .

THANKS again P373 , you really dragged me out of a swamp .

P373
2016-06-16, 21:37
Your welcome Zedsky.

angela erin
2016-06-17, 14:13
sorry i didn't get clear about topic can anyone explain briefly.

grid
2016-06-23, 11:43
The space bar displays the next page of text if the change log exceeds 1 page