Last active
July 20, 2023 01:29
-
-
Save ktprezes/2e752cbe4b3e0e5b61adf61bd6169aae to your computer and use it in GitHub Desktop.
Linux - bash - pacman - update packages FROM SPECIFIC REPOSITORY ONLY
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Linux, bash, pacman | |
* how to upgrade packages only from specific repository - eg. 'core' | |
* of course you can change 'core' to any other desired ;) | |
*/ | |
pacman -S --needed $(comm -12 <(pacman -Qq | sort) <(pacman -Slq core | sort)) | |
/* | |
* longer description of this command - see: | |
* https://github.com/ktprezes/just-some-notes/blob/master/Linux/linux-pacman.md#specificrepoupdate | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment