zilexa
April 8, 2023, 2:40pm
1
I am still on 5.15 and don’t remember ever receiving a notification of a newer LTS kernel.
How can I get a notification?
My Notification settings (unchanged for over a year):
Since the OS is setup to sent emails for example for smartd and cron, best would be to receive an email to the default configured alias.
But automatically updating to the latest LTS kernel when pamac is run or via Add/Remove programs > update would also be nice.
Currently, there is no way for me knowing a new LTS is available. I have to check myself + update myself.
The notifier may need adjustment - personally I don’t use notification for packages - I update at my own pace.
No there is no default which send mail - you can do it if you like - but no default.
Moving from one kernel to another is at the user’s discretion
That is normal - updates within a specific release follows the usual package update - new kernels is installed when the user think it’s necessary.
The kernel is the most crucial part of the system - therefore no automatic roll-over to the next kernel.
Using Arch Linux you are forced a new kernel - you don’t have a choice when the next release hits the repo.
That is my primary reason for using Manjaro.
If your system works well - there is no reason to update - just for the sake of update.
1 Like
zilexa
April 8, 2023, 3:38pm
3
With “send to default” I just meant the default email alias configured in /etc/aliases after adding SMTP server to msmtp
following arch wiki.
So it seems the Manjaro Notifier might need some work.
For my home pc I would love to have a way to use commands to check for & automatically install if available a newer LTS kernel. Does such a command exist?
I already use needrestart
which sends me an email when a reboot is necessary.
Uncheck the top two you do not want unsupported kernels check the two under check new kernels generally the recommended one is the latest lts one.
zilexa
April 8, 2023, 4:12pm
5
@robin0800 Huh?
Are you referring to my screenshot?
Did you read the message? I didn’t receive any notification… also, this is default settings. What you are saying would make sense if it was default. But that’s not relevant or the point of this topic.
Yes your screen shot, as it is set now any new kernel should notify you.
Well there must be something wrong if you get no notifications
.
zilexa
April 8, 2023, 5:04pm
7
Dude, did you actually read this topic? ?
zilexa
April 14, 2023, 7:43am
8
@papajoke @thingsiplay I was wondering if you guys still use this script:
install, i dislike… but can propose:
#!/usr/bin/bash
[[ "$(pacman-conf | awk -F '= ' '/^Architecture/ {print $2}')" != 'x86_64' ]] && exit 0
branch=$(pacman-conf -r core | awk -F'/' '/^Server/ {$(NF=NF-2); print ($NF);exit}')
declare -a eol=($(curl -Ls "https://forum.manjaro.org/c/announcements/${branch}-updates.rss" | awk -F'>| ' '/\[EOL\]/ {print " "$2}' | sort | uniq))
#echo " ${eol[*]}" # not usefull if EOL is not installed
propose(){
declare -a good=($(curl -s "https://gitlab.manjar…
I tried it but it does not return anything. I tried command by command but already had trouble not getting an output from the first command.
I would like to get it working and then slightly modify it, as all I need is a warning about a newer LTS kernel, regardless of the status of the currently installed kernel.
You can use a python script.
There is feed reader parsers - so all you have to do is to parse the xml returned from kernel.org
zilexa
May 6, 2023, 12:31pm
10
I’m sure there is. But I have no programming skills, don’t know anything about Python or feeds. I can do some light bash scripting that’s all
It is easier than you think
Spend your time coding
As a long time developer - using Arch and Manjaro - I can tell from experience - having your workflow broken is extremely stressing - especially due to system issues.
Issues you can avoid and I will share with you - how to avoid them.
Spend your time coding instead of fixing system issues.
Development tools
Users new to Manjaro and development is often trapped with unnecessary problems and issues, due to how Manjaro and Arch package management works.
When using Pytho…
Sample
sudo pacman -Syu python-feedparser
create a python file e.g.
~/kernel-org-parser.py
With content
#!/usr/bin/python
import feedparser
d = feedparser.parse('https://kernel.org/feeds/kdist.xml')
for f in d['entries']:
print(f['title'])
Run it
$ python ~/kernel-org-parser.py
6.3: mainline
6.3.1: stable
6.2.14: stable
6.1.27: longterm
5.15.110: longterm
5.10.179: longterm
5.4.242: longterm
4.19.282: longterm
4.14.314: longterm
next-20230505: linux-next