Pacman Commands/Tricks & Tips

Please add anything that can be helpful.

Here s something that can be of some help to users;

https://wiki.archlinux.org/index.php/Pacman

2 Likes

This one can also be of some help;

https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks

1 Like

Good work at @altman.

1 Like

Appreciated @Dobbie03

1 Like

Thx, was wondering where to put this thread, you got the answer @Dobbie03 .

1 Like

Commands that I always use after every times that I use AL in terminal ;

sudo pacman -Scc
sudo pacman -Syu

Edited as per @Head_on_a_Stick recommandations.

Not the best guide, the first and second commands it lists are absolutely contra-indicated and can break Arch-based systems.

https://wiki.archlinux.org/index.php/System_maintenance#Partial_upgrades_are_unsupported

3 Likes

Thx for the warning @Head_on_a_Stick . Edited as well.

Also thx for the link provided.

1 Like

Sorry altman, I didn’t mean that pacman -Syyu was a bad idea. I was referring to pacman -Sy without the -u option added at the same time, which is known as a “partial upgrade” and can cause problems if a package is installed afterwards before a full upgrade is performed.

The pacman -Syyu command won’t break your system (unless the upgrade pulls in a new package with a bug), it just hits the Arch mirrors unnecessarily.

1 Like

Hey cool, so if a package has a bug, will it be updated anyways !

Like there s no package that I know of on Arch like apt-listbugs in Debian, as it can lead to some issues of some sort, even bad updates.

No, there isn’t. Arch-based users are the guinea pigs for new bugs — thanks for testing! :grin:

You can check the Arch forums for any new problems that might crop up, users tend to report them pretty quickly.

3 Likes

Thx for the comeback @Head_on_a_Stick , it s an Hit &Miss case ! lol

Yep, should watch the Arch forum more often for issues I think.

1 Like