Am 03.09.21 um 12:33 schrieb Konstantin Gizdov via arch-general:
On 03/09/2021 13:22, Björn Fries via arch-general wrote:
Hello,
Is it possible to download this single package, without downloading full repository index and probably even updating everything to community-update? manually download package from mirror, install with
On 9/3/21 12:15 PM, Peter Nabbefeld via arch-general wrote: pacman -U filename.pkg.tar.zst Your mileage may vary, but you could add [community-testing] to /etc/pacman.conf but at the bottom of the file. Or at least below [community]. Then you can install things with `pacman -S community-testing/${pkgname}`.
However, this and your general idea are not great advice and will put your system in an unsupported state. Meaning, what you want to do is equivalent to a partial upgrade (like pacman -Sy & pacman -S something) and if you have issues later, Arch Linux support options will probably just refuse to help you. Hence, why it's called an unsupported state.
Thank You for Your advice. The purpose of downloading a package has been only for this time, just to download patchelf-0.13 for testing some other package with the maintainer, so in this special case I had to download a package which should not have many dependencies and as such should not break my installation. However, if I'll get problems, I know I have to downgrade patchelf. Kind regards, Peter