You are not logged in.
Hi
I do not understand why `uname` does not update after a system upgrade:
$ uname -r
5.2.11-arch1-1-ARCH
$ sudo pacman -Syyu
...
==> Starting build: 5.2.14-arch1-1-ARCH
...
$ uname -r
5.2.11-arch1-1-ARCH
Afaik, this is also the reason why I frequently have problems using a VPN connection after reboot, as the `tun` module is not found anymore:
$ journalctl -f
<start vpn connection>
NetworkManager[426]: modprobe: FATAL: Module tun not found in directory /lib/modules/5.2.11-arch1-1-ARCH
Arch still searches the `tun` module in the old module path with the kernel version `5.2.11`. However, this was replaced by the system upgrade with the new version `5.2.14`.
$ ls /lib/modules
5.2.14-arch1-1-ARCH/ extramodules-ARCH/
The current solution of this is to reboot. However, this is not mentioned on the pacman help page https://wiki.archlinux.org/index.php/Pacman which is why I ask for help here.
Thanks!
Last edited by chrisdane (2019-09-16 06:26:02)
Offline
The running kernel is not changed on installation of a new kernel package.
Offline
Moving to NC...
Offline
Make sure the *correct* thing is mounted to /boot before you -Syu and then reboot. Only way to upgrade the running kernel is to do a reboot.
Edit: And arch, unlike eg debian, does not keep the past 200 kernels installed when you update, therefor you won't find the modules for the old kernel after you update it.
Last edited by Mr.Elendig (2019-09-13 09:32:06)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Thank you, I think it would be helpful to find the information
Only way to upgrade the running kernel is to do a reboot.
on the pacman page since various problems may be related to this (as described in my first post).
Offline
Actually there are ways to upgrade a running kernel without rebooting, kexec is one of them.
Settting them up can be tricky though.
The simple & easy method is rebooting.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline