Protect certain packages until full system upgrade

I just use U.

U

alias U='sudo pacman --sync --refresh --sysupgrade && flatpak update'

Absolutely not!
On the contrary, I tried to make this subject intent, so it might make you not forget it, thus making the script practically obsolete.
It is a technic I’ve learned from school days. :stuck_out_tongue_winking_eye:

I hope people don’t have to use a script like that. Rather being cautious when doing Administrative jobs.

Everyone should do whatever suites their workflow. :person_shrugging:

1 Like

I just don’t use sudo pacman -Sy just like I don’t use sudo rm -rf /

2 Likes

Let me share some experience. It’s not always our mistakes to fear from.
For example, if you have installed appstream related utilities (gnome-software, discover), they update system DBs by default (unless configured otherwise), without user’s knowledge. This is equivalent to running pacman -Sy in the background.
It is more important to ensure the above doesn’t happen in your system, than using a not-so-silly bash script. IMHO, of course. :person_shrugging:

This is not Arch Linux.

Arch is only Arch if installed in a manner which entities you to help from their forums.

We are an Arch based distribution though.

Arch maintainers are correct.

The best way to not update some packages is to just wait until you are ready to update and then just update.

As noted, partial updates are not supported.

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.