I know that pacman -Su
upgrades all packages. But how can I get just the list of packages that need upgrading?
How to determine which packages need upgrading in Arch Linux
arch-linux
arch-linux
I know that pacman -Su
upgrades all packages. But how can I get just the list of packages that need upgrading?
Best Answer
Looking at the man page something like
to sync the database up to the latest version followed by
to
Please note that syncing the package list like this will leave you in a situation where you should not install or upgrade single packages, until you have performed the next full update.
In general you should not upgrade individual packages, because partial upgrades are not supported in Arch or Manjaro. If you see a package that needs upgrading, you should really run
pacman -Syu
to upgrade all the packages at once.While installing or upgrading a single package might work sometimes, there is a danger that it will upgrade a library it depends on, and that library upgrade could cause another package to break.