Check if newer claimed kernel is already installed #4

Closed
opened 2014-07-14 18:48:40 +00:00 by philm · 9 comments
philm commented 2014-07-14 18:48:40 +00:00 (Migrated from gitlab2.manjaro.org)

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: 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 ...
philm commented 2014-07-14 20:25:22 +00:00 (Migrated from gitlab2.manjaro.org)

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* 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.
philm commented 2014-07-14 22:10:27 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Kirek

Are you sure about the behaviour you described? I don't see anything wrong with the code...

*Created by: Kirek* Are you sure about the behaviour you described? I don't see anything wrong with the code...
philm commented 2014-07-15 06:01:02 +00:00 (Migrated from gitlab2.manjaro.org)

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: 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
philm commented 2014-07-15 11:05:04 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Kirek

What's the output of "pacman -Si linux315 linux316" and "pacman -Qi linux315 linux316" ?

*Created by: Kirek* What's the output of "pacman -Si linux315 linux316" and "pacman -Qi linux315 linux316" ?
philm commented 2014-07-15 12:01:08 +00:00 (Migrated from gitlab2.manjaro.org)

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: Nichts
*Created by: manjaro* Can it be a locales issue, as I have German in my output? <pre>[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 <philm|manjaro|org> 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 <philm|manjaro|org> Erstellt am : Di 15 Jul 2014 10:44:28 CEST Verifiziert durch: MD5-Summe SHA256-Summe Signatur </pre> <pre>[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 <philm|manjaro|org> 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 <philm|manjaro|org> 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: Nichts </pre>
philm commented 2014-07-15 14:19:31 +00:00 (Migrated from gitlab2.manjaro.org)

Created 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* 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.
philm commented 2014-07-19 07:13:12 +00:00 (Migrated from gitlab2.manjaro.org)

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: Kirek* Can you check if you still have the same problem with the latest git commit 7e663c55c6049fbce83f51b4a8025960248e16a1? Also you can start the daemon in the console to get some debug messages.
philm commented 2014-07-19 08:24:05 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: manjaro

Ok, will check if MSM 0.2.0 fixes it.

*Created by: manjaro* Ok, will check if MSM 0.2.0 fixes it.
philm commented 2014-07-24 19:15:21 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: manjaro

Seems to been fixed also in KDE 0.8.11-pre1

*Created by: manjaro* Seems to been fixed also in KDE 0.8.11-pre1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
applications/manjaro-settings-manager#4
No description provided.