You are not logged in.

#1 2016-03-25 07:46:48

lviggiani
Member
Registered: 2014-02-28
Posts: 141

System update with pacaur

Hi,
I've recently switched from yaourt to pacaur.

With yaourt, I used to udate my system (both official and AUR packages) like this

$ yaourt -Syua

With pacaur, according to the documentation, -Syua only updates AUR packages and reading the help, the correct way to update both base packages and AUR packaes to me it seems this

$ pacaur -Syu

However I had the feeling that the above command is only updating base packages (not the AUR ones), so I searched the internet and I found some people saying that -Syu won't update AUR... but is seems to be in conflict with what the help says

$ pacaur -h
usage:  pacaur <operation> [options] [target(s)] -- See also pacaur(8)
operations:
 pacman extension
   -S, -Q           extend pacman operations to the AUR
 AUR specific
   -s, --search     search AUR for matching strings
   -i, --info       view package information
   -d, --download   download target(s) -- pass twice to download AUR dependencies
   -m, --makepkg    download and make target(s)
   -y, --sync       download, make and install target(s)
   -k, --check      check for AUR update(s)
   -u, --update     update AUR package(s)
 general
   -v, --version    display version information
   -h, --help       display help information

options:
 pacman extension - can be used with the -S, -Ss, -Si, -Sii, -Sw, -Su, -Qu, -Sc, -Scc operations
   -a, --aur        only search, build or install target(s) from the AUR

The -S switch "extend pacman operations to the AUR" and the -u switch "update AUR package(s)" whereas the -a switch "only search, build or install target(s) from the AUR".
So the correct way for updatinf both, should be -Syu.
I'm asking so because I had the feeling that the above command was not updating AUR packages...
Can someone confirm please?
Thanks!

Offline

#2 2016-03-25 07:55:07

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: System update with pacaur

just check the output of both, while looking for

:: Starting full system upgrade...
:: Starting AUR upgrade...

Offline

#3 2016-03-25 09:40:09

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: System update with pacaur

The documentation is always right. At least when it conflicts with random dudes on the Internet.
Also have a look at the man page at least once, it's always useful to correctly configure pacaur to your liking.

Offline

Board footer

Powered by FluxBB