List pacman upgradable packages without "-version"

440 views Asked by At

How could I list all packages that need upgrading without the -version postfix in pacman so I can copy paste a portion for pacman -S.

Current output : acl-2.3.1-3 akonadi-22.12.2-1...etc Required output : acl akonadi...etc

Thanks.

pacman -Qu & garuda-update; Both list versions in some form.

1

There are 1 answers

0
Naji On BEST ANSWER

The following command produces the required output.

checkupdates | cut -d ' ' -f1 | xargs

ps. Partial upgrades aren't recommended, use on your own discretion.