PDA

View Full Version : apt-get upgrade packages kept back



neminem85
2018-04-12, 05:18
Hello everyone!
Here with another question.
Just recently reinstalled Kali Linux on my laptop.
Since the driver is not available during the installation from the live usb, i did the installation without an internet connection.

Later on, i added the official Kali repositories, and ran apt-get update && apt-get upgrade.

This is what came next:
The following packages have been kept back:
apache2 apache2-bin apache2-data apache2-utils beef-xss bind9-host clang-4.0
cpp-7 cryptsetup-bin default-jdk default-jdk-headless default-jre
default-jre-headless dnsutils dradis e2fslibs e2fsprogs eog evince
evince-common evolution-data-server evolution-data-server-common exploitdb
firefox-esr g++-7 gawk gcc-7 gcc-7-base gir1.2-evince-3.0
gir1.2-gnomedesktop-3.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0
gir1.2-gweather-3.0 gir1.2-javascriptcoregtk-4.0 gir1.2-totem-1.0
gir1.2-webkit2-4.0 glusterfs-common gnome-calculator gnome-contacts
gnome-control-center gnome-control-center-data gnome-core gnome-font-viewer
gnome-keyring gnome-session gnome-session-bin gnome-session-common
gnome-settings-daemon gnome-shell gnome-shell-common gnome-shell-extensions
gnome-software gnome-software-common gnome-themes-standard gnome-tweak-tool
gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base
gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio
gstreamer1.0-x imagemagick-6.q16 isc-dhcp-client joomscan kali-linux-full
libalgorithm-diff-xs-perl libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap libasan4 libavcodec57 libavfilter6 libavformat57
libbind9-160 libblockdev-crypto2 libcamel-1.2-60 libcilkrts5
libclang-common-4.0-dev libclang1-4.0 libcomerr2 libcrypt-ssleay-perl
libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdns169 libevdocument3-4
libevview3-3 libgcc-7-dev libgdal20 libgeotiff2 libgfortran4
libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0
libgstreamer1.0-0 libisc166 libisccc160 libisccfg160
libjavascriptcoregtk-4.0-18 libllvm4.0 liblwgeom-2.4-0 liblwgeom-dev
liblwres160 libmoose-perl libmpc3 libnautilus-extension1a libnet-ssh2-perl
libnet-ssleay-perl libobjc-7-dev libogdi3.2 libopencv-calib3d3.2
libopencv-contrib3.2 libopencv-core3.2 libopencv-features2d3.2
libopencv-flann3.2 libopencv-highgui3.2 libopencv-imgcodecs3.2
libopencv-imgproc3.2 libopencv-ml3.2 libopencv-objdetect3.2
libopencv-photo3.2 libopencv-shape3.2 libopencv-stitching3.2
libopencv-superres3.2 libopencv-video3.2 libopencv-videoio3.2
libopencv-videostab3.2 libopencv-viz3.2 libpam-systemd libpcsc-perl
libperl5.26 libqgis-customwidgets libradare2-dev libspatialite7 libss2
libstdc++-7-dev libsystemd0 libterm-readline-gnu-perl libtotem0 libubsan0
libvolume-key1 libvtk6.3 libwebkit2gtk-4.0-37 libwine libyelp0
linux-image-amd64 llvm-4.0 llvm-4.0-dev llvm-4.0-runtime magicrescue man-db
mc mc-data metasploit-framework mitmproxy mutter nautilus nautilus-data
nodejs openssh-client openssh-server openssh-sftp-server ophcrack perl
perl-base php php-mysql pocl-opencl-icd proj-bin python-jsbeautifier
python-matplotlib python-openpyxl python-paramiko python-pyasn1
python-pyasn1-modules python-pysnmp4 python-pyspatialite python-pytest
python-qgis python-qgis-common python-wxgtk3.0 python3-cupshelpers
python3-hyperframe python3-jsbeautifier python3-mpltoolkits.basemap
python3-paramiko python3-pyasn1 python3-sqlalchemy radare2 ruby ruby-atomic
ruby-dataobjects-mysql ruby-dataobjects-postgres ruby-dataobjects-sqlite3
ruby-dev ruby-eventmachine ruby-ffi ruby-hitimes ruby-http-parser.rb
ruby-json ruby-msgpack ruby-nio4r ruby-nokogiri ruby-oj ruby-sqlite3
ruby-therubyracer ruby-unf-ext ruby-yajl sqlmap system-config-printer-common
system-config-printer-udev systemd texlive-binaries thin totem totem-plugins
tracker-extract tracker-miner-fs vim vim-common vim-gtk vim-gui-common
vim-runtime vim-tiny wafw00f wine wine64 x11proto-core-dev
x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev
x11proto-input-dev x11proto-kb-dev x11proto-xext-dev
x11proto-xf86vidmode-dev yelp zerofree
0 upgraded, 0 newly installed, 0 to remove and 238 not upgraded.


Now.. i now could install those packages by running a simple apt-get dist-upgrade. But it's a command that i had to be very aware of back when i was using Debian, so i am skeptical about using it with Kali too now.

I know that packages are kept back when they request additional dependencies not currenlty installed, do they do not run from the simple upgrade command.

And here's my question:

As a general rule, would you consider apt-get dist-upgrade command a safe option? can it cause problems to my system messing up dependencies here and there??

I posted the entire output of the terminal for that reason as well, so you can see what are the packages that are being kept back and maybe know the reason why they are. Again this is a fresh Kali installation from live image (official amd64 image from the kali website).

Thanks in advance !!!

r4wstring
2018-04-12, 14:49
Read more here: https://askubuntu.com/questions/601/the-following-packages-have-been-kept-back-why-and-how-do-i-solve-it

This answers all of your questions I believe.

neminem85
2018-04-12, 17:32
Read more here: https://askubuntu.com/questions/601/the-following-packages-have-been-kept-back-why-and-how-do-i-solve-it

This answers all of your questions I believe.

Uhm i've read this post, but there are also several that argue different things. Some people say using dist-upgrade command is safe, some other say it's not completely safe.. i was just wondering what is the case in my specific case (that's why i posted the complete output of my terminal specifying that is a fresh installation)

Thanks

r4wstring
2018-04-12, 21:38
Uhm i've read this post, but there are also several that argue different things. Some people say using dist-upgrade command is safe, some other say it's not completely safe.. i was just wondering what is the case in my specific case (that's why i posted the complete output of my terminal specifying that is a fresh installation)

Thanks

Well, my Kali is fully customized, I wouldn't use dist-upgrade without saving everything first !!
Back it all up.
Make sure you backup all the files you modified for later comparison.

neminem85
2018-04-12, 21:47
Well, my Kali is fully customized, I wouldn't use dist-upgrade without saving everything first !!
Back it all up.
Make sure you backup all the files you modified for later comparison.

Thank you! will do :)