LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kernel Upgrade but Previous Kernel Running
#1
After updating the kernel (at the command line, to kernel 4.4.0-87-generic), grub will default to the previous kernel (4.4.0-86-generic) on boot.

To fix this, enter into grub advanced options at boot, and select kernel 4.4.0-87-generic or the most current kernel listed.

This has happend twice. Now and on the previous kernel update but not before that.

One method to check this:
In a terminal type
Code:
ls /boot/ | grep vmlinuz
and then
Code:
uname -r
the uname -r value should match the most current kernel in the previous list.

These troubleshooting steps didn't help:
1. Shutdown vs Restart when rebooting
2. Running update-grub
[Image: q7j1yAl.png]
Reply
#2
[member=47]Scott[/member]
Were you able to fix this?

I also have the same problem -  the terminal command uname -r shows that kernel version 4.4.0-112 is installed.
However when I update the kernel to 4.4.0-116, both the grubscreen and uname -r continue to show only version 112.

In contrast to this, sudo update-grub shows that it's 116 installed:
Code:
mike@G750JS:~$ sudo update-grub
[sudo] password for mike:
Generating grub configuration file ...
Found background: /boot/grub_linux_lite.png
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found background image: /boot/grub_linux_lite.png
Found linux image: /boot/vmlinuz-4.4.0-116-generic
Found initrd image: /boot/initrd.img-4.4.0-116-generic
Found linux image: /boot/vmlinuz-4.4.0-112-generic
Found initrd image: /boot/initrd.img-4.4.0-112-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Manjaro Linux (17.1.0) on /dev/sda3
done

In addition the Kernel Remover option, under Lite Tweaks, also shows that 116 is installed, listing the following 4 packages:
linux-headers-4.4.0-116
linux-headers-4.4.0-116-generic
linux-image-4.4.0-116-generic
linux-image-extra-4.4.0-116-generic

What's going on and how to fix this?
Obviously I want to be as up-to-date as I can with Kernel 4.4 for security.

Many thanks in advance for any help with this - much appreciated as always.
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Reply
#3
Depending on how you update to a new kernel sometimes information from systemctl does not show up in uname correctly. Boot the latest kernel from advanced options menu in grub then when logged in run uname -svr or uname -a. If it's still wrong run Lite Updates normally and then reboot and try again.

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#4
(02-22-2018, 01:59 PM)trinidad link Wrote: Depending on how you update to a new kernel sometimes information from systemctl does not show up in uname correctly. Boot the latest kernel from advanced options menu in grub then when logged in run uname -svr or uname -a. If it's still wrong run Lite Updates normally and then reboot and try again.

TC

Thanks TC for your reply. I ran Updates using the gui in Menu and got this notification on screen:
Code:
===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.

============ Log ===========

Hit:1 http://archive.canonical.com xenial InRelease
Hit:2 http://ppa.launchpad.net/jon-hedgerows/get-iplayer/ubuntu xenial InRelease
Ign:3 http://linux.teamviewer.com/deb stable InRelease
Ign:4 http://linux.teamviewer.com/deb preview InRelease
Hit:5 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease
Ign:6 http://linux.teamviewer.com/deb stable Release
Ign:7 http://linux.teamviewer.com/deb preview Release
Hit:8 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
Ign:9 http://linux.teamviewer.com/deb stable/main amd64 Packages.diff/Index
Hit:10 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Ign:11 http://linux.teamviewer.com/deb stable/main i386 Packages.diff/Index
Hit:12 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
Ign:13 http://linux.teamviewer.com/deb stable/main all Packages
Hit:14 http://repo.linuxliteos.com/linuxlite citrine InRelease
Hit:15 https://repo.skype.com/deb stable InRelease
Ign:16 http://linux.teamviewer.com/deb stable/main Translation-en_GB
Hit:17 http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu xenial InRelease
Get:18 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Ign:19 http://linux.teamviewer.com/deb stable/main Translation-en
Ign:20 http://linux.teamviewer.com/deb stable/main Translation-en_US
Ign:21 http://linux.teamviewer.com/deb preview/main amd64 Packages.diff/Index
Ign:22 http://linux.teamviewer.com/deb preview/main i386 Packages.diff/Index
Ign:23 http://linux.teamviewer.com/deb preview/main all Packages
Ign:24 http://linux.teamviewer.com/deb preview/main Translation-en_GB
Ign:25 http://linux.teamviewer.com/deb preview/main Translation-en
Ign:26 http://linux.teamviewer.com/deb preview/main Translation-en_US
Ign:27 http://linux.teamviewer.com/deb stable/main amd64 Packages
Ign:28 http://linux.teamviewer.com/deb stable/main i386 Packages
Ign:13 http://linux.teamviewer.com/deb stable/main all Packages
Ign:16 http://linux.teamviewer.com/deb stable/main Translation-en_GB
Ign:19 http://linux.teamviewer.com/deb stable/main Translation-en
Get:29 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:20 http://linux.teamviewer.com/deb stable/main Translation-en_US
Ign:30 http://linux.teamviewer.com/deb preview/main amd64 Packages
Ign:31 http://linux.teamviewer.com/deb preview/main i386 Packages
Ign:23 http://linux.teamviewer.com/deb preview/main all Packages
Ign:24 http://linux.teamviewer.com/deb preview/main Translation-en_GB
Get:32 http://us.archive.ubuntu.com/ubuntu xenial-proposed InRelease [253 kB]
Ign:25 http://linux.teamviewer.com/deb preview/main Translation-en
Ign:26 http://linux.teamviewer.com/deb preview/main Translation-en_US
Ign:27 http://linux.teamviewer.com/deb stable/main amd64 Packages
Ign:28 http://linux.teamviewer.com/deb stable/main i386 Packages
Ign:13 http://linux.teamviewer.com/deb stable/main all Packages
Ign:16 http://linux.teamviewer.com/deb stable/main Translation-en_GB
Ign:19 http://linux.teamviewer.com/deb stable/main Translation-en
Ign:20 http://linux.teamviewer.com/deb stable/main Translation-en_US
Get:33 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Ign:30 http://linux.teamviewer.com/deb preview/main amd64 Packages
Ign:31 http://linux.teamviewer.com/deb preview/main i386 Packages
Ign:23 http://linux.teamviewer.com/deb preview/main all Packages
Ign:24 http://linux.teamviewer.com/deb preview/main Translation-en_GB
Ign:25 http://linux.teamviewer.com/deb preview/main Translation-en
Get:34 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [734 kB]
Ign:26 http://linux.teamviewer.com/deb preview/main Translation-en_US
Ign:27 http://linux.teamviewer.com/deb stable/main amd64 Packages
Ign:28 http://linux.teamviewer.com/deb stable/main i386 Packages
Ign:13 http://linux.teamviewer.com/deb stable/main all Packages
Ign:16 http://linux.teamviewer.com/deb stable/main Translation-en_GB
Ign:19 http://linux.teamviewer.com/deb stable/main Translation-en
Ign:20 http://linux.teamviewer.com/deb stable/main Translation-en_US
Get:35 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [681 kB]
Ign:30 http://linux.teamviewer.com/deb preview/main amd64 Packages
Ign:31 http://linux.teamviewer.com/deb preview/main i386 Packages
Ign:23 http://linux.teamviewer.com/deb preview/main all Packages
Ign:24 http://linux.teamviewer.com/deb preview/main Translation-en_GB
Ign:25 http://linux.teamviewer.com/deb preview/main Translation-en
Ign:26 http://linux.teamviewer.com/deb preview/main Translation-en_US
Ign:27 http://linux.teamviewer.com/deb stable/main amd64 Packages
Get:36 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [591 kB]
Ign:28 http://linux.teamviewer.com/deb stable/main i386 Packages
Ign:13 http://linux.teamviewer.com/deb stable/main all Packages
Ign:16 http://linux.teamviewer.com/deb stable/main Translation-en_GB
Ign:19 http://linux.teamviewer.com/deb stable/main Translation-en
Ign:20 http://linux.teamviewer.com/deb stable/main Translation-en_US
Ign:30 http://linux.teamviewer.com/deb preview/main amd64 Packages
Ign:31 http://linux.teamviewer.com/deb preview/main i386 Packages
Ign:23 http://linux.teamviewer.com/deb preview/main all Packages
Ign:24 http://linux.teamviewer.com/deb preview/main Translation-en_GB
Ign:25 http://linux.teamviewer.com/deb preview/main Translation-en
Ign:26 http://linux.teamviewer.com/deb preview/main Translation-en_US
Get:37 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [547 kB]
Ign:27 http://linux.teamviewer.com/deb stable/main amd64 Packages
Ign:28 http://linux.teamviewer.com/deb stable/main i386 Packages
Ign:13 http://linux.teamviewer.com/deb stable/main all Packages
Ign:16 http://linux.teamviewer.com/deb stable/main Translation-en_GB
Ign:19 http://linux.teamviewer.com/deb stable/main Translation-en
Ign:20 http://linux.teamviewer.com/deb stable/main Translation-en_US
Ign:30 http://linux.teamviewer.com/deb preview/main amd64 Packages
Ign:31 http://linux.teamviewer.com/deb preview/main i386 Packages
Ign:23 http://linux.teamviewer.com/deb preview/main all Packages
Ign:24 http://linux.teamviewer.com/deb preview/main Translation-en_GB
Ign:25 http://linux.teamviewer.com/deb preview/main Translation-en
Ign:26 http://linux.teamviewer.com/deb preview/main Translation-en_US
Err:27 http://linux.teamviewer.com/deb stable/main amd64 Packages
  403  Forbidden [IP: 62.24.138.17 80]
Ign:28 http://linux.teamviewer.com/deb stable/main i386 Packages
Err:30 http://linux.teamviewer.com/deb preview/main amd64 Packages
  403  Forbidden [IP: 62.24.138.17 80]
Ign:31 http://linux.teamviewer.com/deb preview/main i386 Packages
Fetched 3,113 kB in 4s (671 kB/s)
Reading package lists...
W: The repository 'http://linux.teamviewer.com/deb stable Release' does not have a Release file.
W: The repository 'http://linux.teamviewer.com/deb preview Release' does not have a Release file.
E: Failed to fetch http://linux.teamviewer.com/deb/dists/stable/main/binary-amd64/Packages  403  Forbidden [IP: 62.24.138.17 80]
E: Failed to fetch http://linux.teamviewer.com/deb/dists/preview/main/binary-amd64/Packages  403  Forbidden [IP: 62.24.138.17 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Reply
#5
This is a whole 'nother thing. Boot into the new kernel again from the advanced options menu. Uncheck the deb repos and run Update again. Not real sure about teamviewer, don't use it myself (ssh or git instead) so can't comment, but I danced around qemu issues in Ubuntu for the last week and a half because of S/M patches. Maybe teamviewer is affected too. I'm guessing LL 4.0 will be on the 4.15 kernel so most of the fallout from S/M will finally ease up. Maybe Jerry can advise about teamviewer.

May be this problem: https://threatpost.com/teamviewer-rushes...ug/129096/

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#6
(02-22-2018, 03:01 PM)trinidad link Wrote: Boot into the new kernel again from the advanced options menu.
TC
Thanks TC. 
The problem is that "Advanced options" on grubscreen does not list version 116 to boot into, only version 112, of kernel 4.4 (even though I ran sudo update-grub)
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Reply
#7
alternative 1) Try updating the Manjaro grub on the other partition. It may turn up there in the Manjaro grub menu. If it does try booting from that menu. Teamviewer will most likely still have broken dependencies on the new kernel.

alternative 2) I forget which grub setting it is in LL grub but it has to do with default save stuff on dual boot disks that makes a shutdown OS the default reboot in grub. Convenient but people forget about it sometimes when updates and upgrades get messed up. Info is out there. If you find it change the setting and update grub and the kernel should appear in the menu but you will still probably have broken dependencies from teamviewer. It's meant to protect OSs from restart update install errors, which apparently you have, but it's also Important/convenient for root passworded OSs.

alternative 3) Uninstall teamviewer altogether and run Lite Updates. Try reinstalling after the new kernel boots properly.

TC 
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)