[SOLVED] pacman -Syyu or pacman -Syyuu ? 28 April 2022, 07:21:59 Hello,I usually update my system using the command : Code: [Select]sudo pacman -SyyuIs it better to systematically use :Code: [Select]pacman -SyyuuI couldn't find any info on this... Last Edit: 03 May 2022, 03:53:22 by tintin
Re: pacman -Syyu or pacman -Syyuu ? Reply #1 – 28 April 2022, 07:56:59 Quoteman pacman(...) -u, --sysupgrade Pass this option twice to enable package downgrades; in this case, pacman will select sync packages whose versions do not match with the local versions. This can be useful when the user switches from a testing repository to a stable one.So as long as you don't use a testing repository or AUR packages, you don't need the double u. 1 Likes
Re: pacman -Syyu or pacman -Syyuu ? Reply #2 – 28 April 2022, 08:28:16 Quote from: tintin – on 28 April 2022, 07:21:59I couldn't find any info on this...The best answer to your question can be found here . 1 Likes
Re: pacman -Syyu or pacman -Syyuu ? Reply #3 – 28 April 2022, 08:52:20 Quote from: Everyone – on 28 April 2022, 07:56:59So as long as you don't use a testing repository or AUR packages, you don't need the double u.Oops, I hadn't seen that note from man pacman... Thank you !I don't use "testing" packages, but I need some AUR packages like:kim4, key-mon, gmsh-bin, gimp-plugin-bimp, deadbeef-gitSo, if I understood correctly, I should use:sudo pacman -Syyuu 1 Likes
Re: pacman -Syyu or pacman -Syyuu ? Reply #4 – 28 April 2022, 09:25:21 Code: [Select]pacman -Syuis the "everyday update" command. It downloads a fresh copy of master database and upgrades packages that are out-of-date.Sometimes, you need -yy if your pacman database is corrupt but otherwise "fresh" (up-to-date) with the server.You will need -uu if some packages need to be downgraded. This can happen in already mentioned situations above, but also it is sometimes needed due to package versioning mistake. Maintainers are only humans, and it happens.Aside from pacman manpage, this is the definitive source on pacman: https://wiki.archlinux.org/title/Pacman 2 Likes
Re: pacman -Syyu or pacman -Syyuu ? Reply #5 – 28 April 2022, 16:04:33 Another less frequently mentioned thing from that page:"Restart or reboot after upgradesUpgrades are typically not applied to existing processes. You must restart processes to fully apply the upgrade."It's better to upgrade before you are about to shutdown rather than when you start up, because if some app and it's dependencies are updated, and it's already running, the running version will still be the old one and if it tries to access it's deps when you use it further it can cause problems or crashes. (At one time I often updated after startup so can confirm it does cause problems occasionally )uu might break things in some circumstances and yy is a waste of time, electricity and bandwidth downloading things you already have, they are only needed very rarely if there has been an error. 2 Likes
Re: pacman -Syyu or pacman -Syyuu ? Reply #6 – 28 April 2022, 16:19:30 Thank you all for these detailed explanations and wise advice.For the past three years I've been updating using sudo pacman -Syyu and everything has always worked fine.The pacman -Syu command would have probably warned me of a possible corrupted database, which I should have repaired anyway with the -Syyu option.
Re: pacman -Syyu or pacman -Syyuu ? Reply #7 – 30 April 2022, 04:39:40 Using "pacman -Syyu" is frowned upon unless you actually have a corrupt repo database on your computer. There are 2 negative side effects to always using it. First of all it forces the redownload of repos that have not changed. This means that even though the repo on the server and the repo on your computer are the same, it has to redownload it. This makes updating slower since it forces pacman to redownload the same good files that are already on your computer. The other negative effects the Artix project and all of our users. Because you are forcing the redownload of all files constantly, you put more strain and load on the mirrors. This makes the mirrors slower for everyone including yourself.Just use "pacman -Syu" for normal update purposes.Use "pacman -Syyu" when you have a corrupted database on your system.Use "pacman -Syuu" when you need to downgrade a package to an older version by force. 3 Likes
Re: pacman -Syyu or pacman -Syyuu ? Reply #8 – 30 April 2022, 05:41:14 Quote from: Chris Cromer – on 30 April 2022, 04:39:40Just use "pacman -Syu" for normal update purposes.Use "pacman -Syyu" when you have a corrupted database on your system.Use "pacman -Syuu" when you need to downgrade a package to an older version by force.Thanks very much !I have taken note of all the advice and suggestions, as well as the relevant summary from you.
Re: [SOLVED] pacman -Syyu or pacman -Syyuu ? Reply #9 – 17 October 2022, 19:41:44 Quote from: tintin – on 28 April 2022, 08:52:20I don't use "testing" packages, but I need some AUR packages like:kim4, key-mon, gmsh-bin, gimp-plugin-bimp, deadbeef-gitHello, I'm a new Artix user and don't know about Arch as well. How do I install deadbeef player? I'm using it on Debian and Void Linux.Thanks in advance!
Re: [SOLVED] pacman -Syyu or pacman -Syyuu ? Reply #10 – 18 October 2022, 03:37:37 Quote from: TheExplorer – on 17 October 2022, 19:41:44Hello, I'm a new Artix user and don't know about Arch as well. How do I install deadbeef player? I'm using it on Debian and Void Linux.Thanks in advance!Hello and welcome,Rather than replying to an old resolved topic, you could have started a new thread. My two favorite readers are audacious and deadbeef.Currently I'm using audacious, because deadbeef bugged in the playlist.You can download deadbeef here:https://sourceforge.net/projects/deadbeef/files/travis/linux/1.9.2/deadbeef-static-1.9.2-1-x86_64.pkg.tar.xz/downloadAnd then :Code: [Select]sudo pacman -U /path/to/deadbeef-static-1.9.2-1-x86_64.pkg.tar.xzAudacious is in the arch repositories:https://wiki.artixlinux.org/Main/Repositories Last Edit: 19 October 2022, 06:11:39 by tintin