You are not logged in.
After each `pacman -Sy' synchronization, is there a easy way to find out what packages in the system are upgradable?
Offline
pacman -Su. To make it one less step, pacman -Syu will sync then check to see if anything needs updating. It will prompt you if you would like the necessary packages updated.
Offline
Doing a
pacman -Syu
will sync up with the repositories and then upgrade all the packages on your computer that need upgrading. It will display all the packages that need upgrading and ask you if you want to upgrade them, so you can exit without upgrading if you change your mind.
Be sure to check out the pacman wiki and the wiki and forums if your unsure about programs in the future.
Edit: wow, beat me to the punch
Offline
If you would like an easier way, there has been a feature request for something like a <code>--pretend</code> option for pacman. There's a thread about it here: pacman --pretend or something similiar?. Feel free to add a comment with your opinion...the link to the flyspray report is in that thread as well. I really hope it will get implemented in a future release...
Offline
It is implemented currently.
pacman -Syu
# push n when it asks to install
Offline
It is implemented currently.
pacman -Syu # push n when it asks to install
Or a more automatic way:
yes n|pacman -Syu; echo -e \n\n
(the echo part is not necesarry, just to add a couple of extra lines after the pacman output)
Offline
Well, I don't want to rehash the argument here...I understand there are ways to do it, but nothing simple, safe, and user-friendly. The reasons for not just doing <code>pacman -Syu</code> and hitting '<code>n</code>' are laid out in the other thread. Basically it would be nice to have more informative output that is able to be run by a non-priviledged user with no risk of accidentally upgrading the system. There are definitely two differing opinions on the topic...
Offline