Check if newer claimed kernel is already installed #4
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
applications/manjaro-settings-manager#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: manjaro
We have this great feature to notify you if a newer kernel as current running one is available. You still get this message even if you already have that kernel installed as second one. So we have to check if there is a newer kernel as those installed available and not only if there is a newer kernel series available as the one you currently run.
Example:
If you have linux315 latest installed it claims linux316 is available which you might have installed for testing purposes ...
Created by: Kirek
This is the desired behaviour, only notify if available version > latest installed (it ignores what are you currently running), I'll check it again later.
Created by: Kirek
Are you sure about the behaviour you described? I don't see anything wrong with the code...
Created by: manjaro
Well, I've all kernels installed. I'm on the unstable branch but it still claims that there is a newer one available. Maybe we should add the version and kernel series to this message, then we know which one is actually available. Maybe you do some like this:
A kernel newer than the latest installed is available:
linux315 3.15.3 > 3.15.5
Created by: Kirek
What's the output of "pacman -Si linux315 linux316" and "pacman -Qi linux315 linux316" ?
Created by: manjaro
Can it be a locales issue, as I have German in my output?
[phil@manjaro testing]$ pacman -Si linux315 linux316 Repositorium : core Name : linux315 Version : 3.15.5-1 Beschreibung : The Linux315 kernel and modules Architektur : i686 URL : http://www.kernel.org/ Lizenzen : GPL2 Gruppen : Nichts Stellt bereit : linux=3.15.5 Hängt ab von : coreutils linux-firmware kmod mkinitcpio>=0.7 Optionale Abhängigkeiten: crda: to set the correct wireless channels of your country Konflikt mit : Nichts Ersetzt : Nichts Größe des Downloads: 54278,80 KiB Installationsgröße: 68379,00 KiB Packer : Philip Mueller Erstellt am : Do 10 Jul 2014 07:11:07 CEST Verifiziert durch: MD5-Summe SHA256-Summe Signatur Repositorium : core Name : linux316 Version : 3.16rc5-1 Beschreibung : The Linux316 kernel and modules Architektur : i686 URL : http://www.kernel.org/ Lizenzen : GPL2 Gruppen : Nichts Stellt bereit : linux=3.16rc5 Hängt ab von : coreutils linux-firmware kmod mkinitcpio>=0.7 Optionale Abhängigkeiten: crda: to set the correct wireless channels of your country Konflikt mit : Nichts Ersetzt : Nichts Größe des Downloads: 54253,51 KiB Installationsgröße: 68502,00 KiB Packer : Philip Mueller Erstellt am : Di 15 Jul 2014 10:44:28 CEST Verifiziert durch: MD5-Summe SHA256-Summe Signatur[phil@manjaro testing]$ pacman -Qi linux315 linux316 Name : linux315 Version : 3.15.5-1 Beschreibung : The Linux315 kernel and modules Architektur : i686 URL : http://www.kernel.org/ Lizenzen : GPL2 Gruppen : Nichts Stellt bereit : linux=3.15.5 Hängt ab von : coreutils linux-firmware kmod mkinitcpio>=0.7 Optionale Abhängigkeiten: crda: to set the correct wireless channels of your country Benötigt von : linux315-ndiswrapper linux315-nvidia linux315-virtualbox-host-modules manjaro-system Optional für: Nichts Konflikt mit : Nichts Ersetzt : Nichts Installationsgröße: 68379,00 KiB Packer : Philip Mueller Erstellt am : Do 10 Jul 2014 07:11:07 CEST Installiert am : Do 10 Jul 2014 18:17:23 CEST Installationsgrund : Ausdrücklich installiert Installations-Skript : Ja Verifiziert durch: Nichts Name : linux316 Version : 3.16rc5-1 Beschreibung : The Linux316 kernel and modules Architektur : i686 URL : http://www.kernel.org/ Lizenzen : GPL2 Gruppen : Nichts Stellt bereit : linux=3.16rc5 Hängt ab von : coreutils linux-firmware kmod mkinitcpio>=0.7 Optionale Abhängigkeiten: crda: to set the correct wireless channels of your country Benötigt von : linux316-ndiswrapper linux316-nvidia linux316-virtualbox-host-modules manjaro-system Optional für: Nichts Konflikt mit : Nichts Ersetzt : Nichts Installationsgröße: 68502,00 KiB Packer : Philip Mueller Erstellt am : Di 15 Jul 2014 10:44:28 CEST Installiert am : Di 15 Jul 2014 10:52:34 CEST Installationsgrund : Ausdrücklich installiert Installations-Skript : Ja Verifiziert durch: NichtsCreated by: Kirek
I don't think it's the locale, I pass lc_messages = c
I'm planning to rework the backend for this, as it is now it may fail for some other corner cases (like missing modules in some kernels), at it does too many calls to pacman.
Created by: Kirek
Can you check if you still have the same problem with the latest git commit
7e663c55c6?Also you can start the daemon in the console to get some debug messages.
Created by: manjaro
Ok, will check if MSM 0.2.0 fixes it.
Created by: manjaro
Seems to been fixed also in KDE 0.8.11-pre1