You are not logged in.
Pages: 1
hi,
i was just wondering if pacman had a way to update the "upgradable packages" list, and is there a way to see the upgradable packages.
the only thing i found about pacman in the archwiki was -Syu but that seams to upgrade the packages when all i want is to know which packages can be upgraded
i come from debian where i used the aptitude package manager
aptitude update would update the packages list, aptitude search "~U" would list the packages that can be upgraded and dist-upgrade upgraded the packages (Sort of like -Syu)
so, is there any way to get similar outputs using pacman?
Last edited by red-guy (2011-03-21 07:40:16)
Offline
Offline
thanks, so from the pacman man i get that -Sy is the equivalent of update and -u serves as the outdated package list, am i correct?
if i "pacman -u" i get operation not specified and if i -Sy -u it's the same as -Syu
but if i pacman -Q -u i get nothing, which seams to be what i'm looking for, can anyone confirm that this is the case?
Last edited by red-guy (2011-03-21 07:38:28)
Offline
The link I posted was to the Query flag: pacman -Qu will give you:
-u, --upgrades
Restrict or filter output to packages that are out of date on the local system. (Only package versions are used to find outdated packages, replacements are not checked here.) This option works best if the sync database is refreshed using -Sy.
S is the sync flag. -Sy syncs the database and Syu syncs & updates...
Offline
ok, thank you, it's just what i was looking for
Offline
Pages: 1