Skip to content

Add "inverted" selection --upgrademenu flag #1583

Description

@AmmoniumX

Summary

Having a flag like --upgrademenu except that you choose what to install instead of what to skip would be useful for AUR interaction.

Use case

I have a shell alias defined as such to updgrade my system:

alias sys-upgrade='paru -Syu --repo && paru -Syu --aur --upgrademenu'

It syncs/upgrades all packages from the enabled repositories, and lets me select which AUR packages to exclude from installation. This is my preferred system maintenance method, since I do not necessarily want or need to update AUR packages all of the time, especially with the associated security concerns that have been getting more and more important lately. None of my AUR packages are system dependencies, only end-user applications, so this does not violate the "no partial upgrades" arch recommendation.

The issue with this is that I have to select the AUR pacakge updates I do not want to install, except the ones that I do. Therefore, an alternative flag such as ``--reverse-upgrademenu`, where you select which packages you want to install, would serve my use case much more naturally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions