You are not logged in.
I am sorry if this is a real newbie question, but I have searched for the answer and cannot find it.
I have pacman, packer and apper installed at present.
What I would like to do is:
1) List all the AUR packages installed
# pacman -Qqm
2) Check the ones that have updates available
3) Update the ones that I chose to update from the list returned by 2)
I am sure that this is easy but I could do with some help with 2) and 3)
Thanks
Andrew
Last edited by fdservices (2014-01-27 11:57:47)
Offline
cower?
Offline
I think packer can do it, if not https://wiki.archlinux.org/index.php/AUR_Helpers
How exactly were you using packer?
Last edited by karol (2013-10-16 12:51:11)
Offline
$ packer -Syu --aurwill do it for you.
Offline
1) skip
2) Something like:
# pacman -Syu
$ yes no | packer -Su3)
packer -S choose from list returned by 2)Offline
You shouldn't cherry-pick updates. You should always update all packages.
Offline
Of course not, but he asked that question?
One day one may has a huge, still working aur package and some small non working ones and no time to compile.
But you should know what you are doing and compile that other package asap.
Offline
# packer -Syu --auronly tries to update all AUR packages and does not allow for one package only.
similarly
# pacman -Syu upgrades all packages except AUR
$ yes no | packer -Su you've lost me on this one, packer -Su does not accept a package name and tries to upgrade all packages except AUR
I think I can do it with pacman -Su --auronly, but it is not too easy.
It returns:
warning: packagename is up to date -- reinstalling
Aur Targets (1): packagename
Proceed with installation? [Y/n] so I could parse the result, answer no if it was up to date and ask if it was not up to date.
Hmm
Andrew
Offline
yaourt -Syua foo
Offline
Sure, e.g. there may be an update that just fixes a bug for the 64-bit architecture. I use 32-bit, so I don't care about this update.
You can ignore packages from the repos and from the AUR, but OP may not be able to discern when it's OK to do so.
I think I can do it with pacman -Su --auronly, but it is not too easy.
I think you mean 'packer' here.
Last edited by karol (2013-10-16 13:10:57)
Offline
In an ideal world we might be able to update all AUR packages without further thought, but, I am afraid, there are several up there which simply do not work as expected without a few tweaks to the PKGBUILD, and yes, I do post the problems, and no, they are not always corrected.
So on the principle of Arch users look after themselves (that is probably my principal) I take control and look before leaping ![]()
Thanks for the comments
Andrew
Offline
$ packer -Syu --aurwill do it for you.
--auronly
If you want to programmatically find the available updates without applying them, then, as wirr said,
yes no | packer -Syu --auronlyNo need to update pacman beforehand.
There is also aurcheck which lists out of date AUR packages.
Edit: wow, people wrote a lot of posts while I was typing this
Last edited by SidK (2013-10-16 13:13:42)
Offline
Hi karol
Sure, e.g. there may be an update that just fixes a bug for the 64-bit architecture. I use 32-bit, so I don't care about this update.
You can ignore packages from the repos and from the AUR, but OP may not be able to discern when it's OK to do so.
fdservices wrote:
I think I can do it with pacman -Su --auronly, but it is not too easy.
I think you mean 'packer' here.
Yes, I think I did ![]()
Andrew
Offline
Please can someone explain this to me
yes no | packer -Syu --auronly
What does "yes no" pipe to packer?
OK I have it - "yes" is the command and it repeatedly send "no" to packer - that is really counter-intuitive!
There are some very clever people out there. ![]()
Andrew
Offline