Skip to content

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.

5 points9 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
5 · 100% up
Kind
Text
ID
eb9hql

Author

17
posts
65
comments
1
media
View profile

11 comments

I should be using sudo pacman -Syu, or something similar

So have you run this command or not? If you did - unless you have put IgnorePkg = linux into your /etc/pacman.conf - linux will update with sudo pacman -Syu every time.

If you didn't run sudo pacman -Syu manually and you don't use another pacman GUI helper (like pamac or something similar) -- your linux package should have stayed the same.

Check your /var/log/pacman.log - when does it say you have updated linux package 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?

12 points

And the reason I am staying downgraded is because of intel gpu bug, related to rc0.

There is linux-lts kernel for that kind of problems.

5 points

Funnily enough, Intel just backported a patch that breaks RC6 to LTS because it apparently fixes another issue.

2 points

How can I switch to the lts version. Would I have to reinstall arch?

0 points

You never ever have to reinstall Arch for anything. Install linux-lts then # 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 with linux /vmlinuz-linux and initrd /initramfs-linux.img accordingly. Then # mkinitcpio -p linux.

7 points

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

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.