You are not logged in.

#1 2008-01-22 09:35:29

zyrax
Member
Registered: 2005-12-07
Posts: 12

List updated packages without installing

Is there any way to make pacman/yaourt to only output the new packages found at the repositories? To be used in a statusmail going out automaticly.

Like doing a -Suy without upgrading anything, just showing the result.

Any idea?


/F

Offline

#2 2008-01-22 10:59:45

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: List updated packages without installing

-u, --upgrades
           Lists all packages that are out of date on the local system. This option works best if the sync database is refreshed using -Sy.

From the pacman man page, under the "Query options" heading. So, I think it's possible. It would be like:

pacman -Sy && pacman -Qu

Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

Board footer

Powered by FluxBB