[arch-general] Is it possible to download only one single update from community-testing?
Hello, I noticed an update on community-testing which is not (yet) available in community repository. Is it possible to download this single package, without downloading full repository index and probably even updating everything to community-update? I looked at https://wiki.archlinux.org/title/Pacman, https://wiki.archlinux.org/title/Frequently_asked_questions#Package_manageme..., https://wiki.archlinux.org/title/Pacman/Tips_and_tricks, but it seems I missed sth. Kind regards Peter
Hello, On 9/3/21 12:15 PM, Peter Nabbefeld via arch-general wrote:
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 pacman -U filename.pkg.tar.zst
On 03/09/2021 13:22, Björn Fries via arch-general wrote:
Hello,
On 9/3/21 12:15 PM, Peter Nabbefeld via arch-general wrote:
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 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. -- Regards, Konstantin
Thank You for the quick answer! Usually all I do is using pacman, I never used the mirrorlist to get a package ... Kind regards, Peter Am 03.09.21 um 12:22 schrieb Björn Fries via arch-general:
Hello,
On 9/3/21 12:15 PM, Peter Nabbefeld via arch-general wrote:
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 pacman -U filename.pkg.tar.zst
Hello, On 9/3/21 12:33 PM, Peter Nabbefeld via arch-general wrote:
Thank You for the quick answer! Usually all I do is using pacman, I never used the mirrorlist to get a package ...
Just search your package at https://archlinux.org/packages/ and click "Download from mirror" On 9/3/21 12:33 PM, Konstantin Gizdov wrote:
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.
If the package doesn't need any dependencies from -testing it should be everything back to a supported state once the package moves out of testing.
manually download package from mirror, install with pacman -U filename.pkg.tar.zst You may -U a URL directly: $ sudo pacman -U 'https://archlinux.org/packages/community-testing/x86_64/PKGNAME/download'
On Fri, Sep 03, 2021 at 20:17:25 +0200, mpan via arch-general wrote:
You may -U a URL directly: $ sudo pacman -U 'https://archlinux.org/packages/community-testing/x86_64/PKGNAME/download'
For completeness, better add a trailing slash, if using ParallelDownloads: https://bugs.archlinux.org/task/71464 Geert
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
Am 03.09.21 um 12:37 schrieb Björn Fries via arch-general:
Hello,
On 9/3/21 12:33 PM, Peter Nabbefeld via arch-general wrote:
Thank You for the quick answer! Usually all I do is using pacman, I never used the mirrorlist to get a package ...
Just search your package at https://archlinux.org/packages/ and click "Download from mirror"
Thank You, I've never noticed that link - sometimes it's worth to just look in unexpected places :) Kind regards, Peter
On 9/3/21 12:33 PM, Konstantin Gizdov wrote:
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.
If the package doesn't need any dependencies from -testing it should be everything back to a supported state once the package moves out of testing.
Am 03.09.21 um 21:13 schrieb Geert Hendrickx via arch-general:
On Fri, Sep 03, 2021 at 20:17:25 +0200, mpan via arch-general wrote:
You may -U a URL directly: $ sudo pacman -U 'https://archlinux.org/packages/community-testing/x86_64/PKGNAME/download'
For completeness, better add a trailing slash, if using ParallelDownloads: https://bugs.archlinux.org/task/71464
Geert Thank You both, that's an interesting alternative, especially for writing helper scripts.
Kind regards, Peter
participants (5)
-
Björn Fries
-
Geert Hendrickx
-
Konstantin Gizdov
-
mpan
-
Peter Nabbefeld