Is Linux package supposed to update by itself
I know that to update the system I should be using sudo pacman -Syu, or something similar. And that would update my packages.
But I haven't done that in some time and the Linux package and linux-headers keep updating to the latest version without me doing anything. I would downgrade the package, because I was having some issues with a version and later I would see that it updated itself back! More so that it updated itself to the next version with having to update explicitly!
I don't know if this is intended behavior or is there something wrong.
I have two arch systems and they both done that.
EDIT: Turns out I was using a cron job to update every so often. :) And the reason I am staying downgraded is because of intel gpu bug, related to rc0. The screen would hang for a while and it is not worth it to fix it imo.
Thanks you all for the help! EDIT 2: I noticed in the pacman.log file that ALPM is doing stuff, updating y packages. Is this normal? Or is it another automated script?
Edited 16 Dec 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 5 · 100% up
- Kind
- Text
- ID
- eb9hql
11 comments
So have you run this command or not? If you did - unless you have put
IgnorePkg = linuxinto your/etc/pacman.conf-linuxwill update withsudo pacman -Syuevery time.If you didn't run
sudo pacman -Syumanually and you don't use another pacman GUI helper (like pamac or something similar) -- yourlinuxpackage should have stayed the same.Check your
/var/log/pacman.log- when does it say you have updatedlinuxpackage last? What is the timestamp of the last record there?Another reason could be one of the unofficial auto-update scripts (not recommeded). Did you install anything like that?
Deleted before we saved it.
Exactly it! A cron job
Deleted before we saved it.
There is linux-lts kernel for that kind of problems.
Funnily enough, Intel just backported a patch that breaks RC6 to LTS because it apparently fixes another issue.
How can I switch to the lts version. Would I have to reinstall arch?
You never ever have to reinstall Arch for anything. Install
linux-ltsthen# grub-mkconfig -o /boot/grub/grub.cfg. Or if you're using systemd-boot, create another entry in /boot/loader/entries. For example arch-lts.conf. Just copy your original arch.conf and modify lines withlinux /vmlinuz-linuxandinitrd /initramfs-linux.imgaccordingly. Then# mkinitcpio -p linux.I don't think updating your kernel with a cron job is a good idea. First of all, arch does not support partial updates.
Second, what if something goes wrong? You just boot up your system one day and it's broken. Why use arch then? install windows if that's what you want
Well you shouldn't be keeping old packages, or restoring to old ones, they don't update without you running the commands but since you're thinking about it now I'd go ahead and update your systems