Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Not able to uprade from kernel 4.12

  1. #1
    Junior Member
    Join Date
    Jan 2018
    Posts
    5

    Not able to uprade from kernel 4.12 to newer version

    Hi,
    I did `sudo apt update && apt full-upgrade` but after rebooting I still have only the kenel 4.12 to choose.

    What did I miss?

    Thank you in advance.
    Last edited by mictadlo; 2018-01-10 at 11:48 PM.

  2. #2
    Senior Member
    Join Date
    Dec 2016
    Posts
    148
    Not sure what full-upgrade does but try dist-upgrade instead.

  3. #3
    Junior Member
    Join Date
    Jan 2018
    Posts
    5
    # apt-get update && apt-get dist-upgrade
    Hit:1 https://deb.nodesource.com/node_6.x jessie InRelease
    Hit:2 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
    Reading package lists... Done
    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:
    libarmadillo7 libbind9-141 libboost-atomic1.62.0 libboost-chrono1.62.0 libboost-program-options1.62.0 libboost-serialization1.62.0
    libboost-test1.62.0 libboost-timer1.62.0 libcgal12 libdns-export190 libdns190 libevent-2.0-5 libgeos-3.5.1 libhttp-parser2.1 libical2
    libisc-export189 libisc189 libisccc140 libisccfg144 libkexiv2-11 libkexiv2-data libkprintutils4 liblwres141 libnetcdf11 libntfs-3g872
    libobjc-6-dev libokularcore7 libpoppler-qt4-4 libpoppler68 libqcustomplot1.3 libqgis-core2.14.20 libqgis-gui2.14.20
    libqgis-networkanalysis2.14.20 libqgispython2.14.20 libqimageblitz4 libqmobipocket1 libqt5opengl5 libradare2-2.0 libsfcgal1 libsodium18
    libsuitesparseconfig4 libx265-130 libxerces-c3.1 linux-headers-4.13.0-kali1-amd64 linux-headers-4.13.0-kali1-common linux-kbuild-4.13
    python-brotli python-cssutils
    Use 'apt autoremove' to remove them.
    The following packages will be upgraded:
    apktool libc-ares2 libnss3 libsmali-java php php-common php-mysql python-idna python-requests python-urllib3 python3-idna python3-requests
    python3-urllib3 xterm zsh zsh-common
    16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 8,175 kB of archives.
    After this operation, 118 kB disk space will be freed.
    Do you want to continue? [Y/n] y

    # reboot

    $ uname -a
    Linux kali 4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux

    What did I miss?

  4. #4
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    166
    Interesting.
    Would you mind posting the result of "ls -l /boot" for us to have a look at?
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  5. #5
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    867
    Incorrect repositories.

  6. #6
    Junior Member
    Join Date
    Jan 2018
    Posts
    5
    $ ls -l /boot
    total 34408
    -rw-r--r-- 1 root root 194375 Aug 30 17:49 config-4.12.0-kali1-amd64
    drwxr-xr-x 5 root root 4096 Jan 10 14:58 grub
    -rw-r--r-- 1 root root 27676761 Jan 10 14:22 initrd.img-4.12.0-kali1-amd64
    -rw-r--r-- 1 root root 2947712 Aug 30 17:49 System.map-4.12.0-kali1-amd64
    -rw-r--r-- 1 root root 4401424 Aug 30 17:49 vmlinuz-4.12.0-kali1-amd64



    $ cat /etc/apt/sources.list
    #

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

    #deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-06:32]/ 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

  7. #7
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    166
    Anything in the "/etc/apt/sources.list.d/" directory?
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  8. #8
    Member
    Join Date
    Dec 2016
    Posts
    94
    Quote Originally Posted by mictadlo View Post
    # apt-get update && apt-get dist-upgrade
    Hit:1 https://deb.nodesource.com/node_6.x jessie InRelease
    Hit:2 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
    Reading package lists... Done
    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:
    libarmadillo7 libbind9-141 libboost-atomic1.62.0 libboost-chrono1.62.0 libboost-program-options1.62.0 libboost-serialization1.62.0
    libboost-test1.62.0 libboost-timer1.62.0 libcgal12 libdns-export190 libdns190 libevent-2.0-5 libgeos-3.5.1 libhttp-parser2.1 libical2
    libisc-export189 libisc189 libisccc140 libisccfg144 libkexiv2-11 libkexiv2-data libkprintutils4 liblwres141 libnetcdf11 libntfs-3g872
    libobjc-6-dev libokularcore7 libpoppler-qt4-4 libpoppler68 libqcustomplot1.3 libqgis-core2.14.20 libqgis-gui2.14.20
    libqgis-networkanalysis2.14.20 libqgispython2.14.20 libqimageblitz4 libqmobipocket1 libqt5opengl5 libradare2-2.0 libsfcgal1 libsodium18
    libsuitesparseconfig4 libx265-130 libxerces-c3.1 linux-headers-4.13.0-kali1-amd64 linux-headers-4.13.0-kali1-common linux-kbuild-4.13
    python-brotli python-cssutils
    Use 'apt autoremove' to remove them.
    The following packages will be upgraded:
    apktool libc-ares2 libnss3 libsmali-java php php-common php-mysql python-idna python-requests python-urllib3 python3-idna python3-requests
    python3-urllib3 xterm zsh zsh-common
    16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 8,175 kB of archives.
    After this operation, 118 kB disk space will be freed.
    Do you want to continue? [Y/n] y

    # reboot

    $ uname -a
    Linux kali 4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux

    What did I miss?
    Kali would use the wheezy inrelease. Not jessy can u change it?
    https://forums.kali.org/showthread.php?16-Recompiling-the-Kali-Linux-Kernel
    Last edited by bigbiz; 2018-01-13 at 04:07 AM.

  9. #9
    Junior Member
    Join Date
    Jan 2018
    Posts
    5
    I changed it to wheezy and I can still only choose 4.12. What did I miss?

    # ls /lib/modules/
    4.12.0-kali1-amd64 4.12.0-kali2-amd64 4.13.0-kali1-amd64 4.14.0-kali1-amd64 4.14.0-kali3-amd64 4.14.0-kali3-rt-amd64

    # ls /boot/
    config-4.12.0-kali1-amd64 grub initrd.img-4.12.0-kali1-amd64 System.map-4.12.0-kali1-amd64 vmlinuz-4.12.0-kali1-amd64

  10. #10
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    166
    I'd get rid of the nodesource repos and do an upgrade with the standard kali-rolling only.

    Your "sources.list" looks ok but you seem to have additional repositories defined somewhere else that cause some hiccups. Something must have caused your package manager to be out of whack, e.g it looks like you used to have a newer kernel installed but it got removed.

    Have a look in "/etc/apt/sources.list.d/" for any additional sources files and remove all of them for now.
    Do another "apt update" and make sure that you only get hits on the "kali-rolling" repo then run "apt full-upgrade".


    For your reference, my output of "apt update" with an identical sources.list file looks like this:

    Code:
    root@kali:~# apt update
    Get:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease [30.5 kB]
    Get:2 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 Packages [15.7 MB]
    Get:3 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main i386 Packages [15.7 MB]
    Get:4 http://kali.mirror.garr.it/mirrors/kali kali-rolling/non-free amd64 Packages [166 kB]
    Get:5 http://kali.mirror.garr.it/mirrors/kali kali-rolling/non-free i386 Packages [148 kB]
    Fetched 31.8 MB in 26s (1,213 kB/s)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    7 packages can be upgraded. Run 'apt list --upgradable' to see them.

    Hope that helps
    Last edited by re4son; 2018-01-14 at 01:09 AM.
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •