Search code examples
linuxarchlinuxpacman-package-manager

List pacman upgradable packages without "-version"


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.


Solution

  • The following command produces the required output.

    checkupdates | cut -d ' ' -f1 | xargs
    

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