You are not logged in.

#1 2020-02-07 10:30:27

dmp1ce
Member
Registered: 2014-05-30
Posts: 22
Website

[SOLVED] Can I safely upgrade system while ignoring 'linux' package?

I want to switch to LTS kernel because I cannot install the latest kernel due to a recent ZFS package restrictions. I require ZFS for my system.

Is it a bad idea to run 'pacman -Suy --ignore=linux,linux-headers' to get the system updated and the LTS kernel installed? I would like to keep the 'linux' package around, even though it is out dated, so I know I have a working kernel and ZFS combination.

The command I linked to was suggested here: https://github.com/zfsonlinux/zfs/issue … -582304508

Last edited by dmp1ce (2020-02-09 00:33:54)

Offline

#2 2020-02-07 10:56:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] Can I safely upgrade system while ignoring 'linux' package?

Yes you can, linux is one of the very few packages where ignoring it is generally safe in regards to system stability.

Offline

#3 2020-02-07 11:55:06

tethys
Member
Registered: 2019-08-13
Posts: 94

Re: [SOLVED] Can I safely upgrade system while ignoring 'linux' package?

V1del wrote:

... one of the very few packages where ignoring it is generally safe in regards to system stability.

I have asked myself often the same question. Can you please share which other packages would be safe to ignore when updating?

Offline

#4 2020-02-07 16:12:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] Can I safely upgrade system while ignoring 'linux' package?

What do you intend to do with that information? I don't have many other examples off the top of my head that are inherently safe (other than data only packages, but those aren't usually the ones you worry about when concerned with down- or upgrading) But I do know which are safe in relation to my current system state . But this takes knowledge of how the packages are set up and there's no guarantee for anything unless you know the dependency chain and how packages interact with each other and that will inherently be different from system to system.

I did write up some rules of thumb on a similar question, https://www.reddit.com/r/archlinux/comm … ?context=3 but again this isn't a guarantee for anything, and I'm not proviidng any warranty if you think you know what's safe while it actually isn't.

Offline

#5 2020-02-07 16:30:47

tethys
Member
Registered: 2019-08-13
Posts: 94

Re: [SOLVED] Can I safely upgrade system while ignoring 'linux' package?

Thanks for the reply V1del. My question was just out of curiosity; I always do "pacman -Syu" when updating. As I said, I asked myself the question before, but could come up only with linux (linux and linux-lts coexist on my system).

Offline

#6 2020-02-08 16:56:17

dmp1ce
Member
Registered: 2014-05-30
Posts: 22
Website

Re: [SOLVED] Can I safely upgrade system while ignoring 'linux' package?

`pacman -Suy --ignore=linux` worked great in keeping my system up-to-date while `zfs-linux` is currently out-dated. I think I may at some point delete `linux` if it takes too long for `zfs-linux` to get fixed.

Offline

#7 2020-02-08 17:07:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [SOLVED] Can I safely upgrade system while ignoring 'linux' package?

Please remember to mark your thread as solved by editing the first post and amending the topic title.

https://wiki.archlinux.org/index.php/Co … ow_to_post


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2020-02-08 20:24:53

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: [SOLVED] Can I safely upgrade system while ignoring 'linux' package?

If you use out of tree modules like nvidia proprietary drivers, ensure to keep them builded for your outdated kernel by using, if available, their -dkms variant.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB