You are not logged in.
Hi there. I have arch linux installed as a virtual machine and I use it from time to time. It's okay for me to have not fully up-to-date packages and kernel in that system. After a while when I try to install some packages it requires me to update packages it depends on, because pacman installs the latest version of a package that may depend on newer versions of dependencies. It may be annoying because sometimes it requires me to update such a low level packages like glibc, which can break dependent packages and sometimes I end up with upgrading the entire system.
I wonder if there is a way to install package version that match current system environment, so it depends on package versions that are already installed and not requires me to upgrade anything else?
Thanks in advance!
P.S.: I know that upgrading the entire system is taking less than 20 minutes, but sometimes I use the system once a month and I don't want to wait for the full system upgrade to install a small single package.
Offline
If you don't want to update the entire system, you're using tho wrong distro.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
If you don't want to update the entire system, you're using tho wrong distro.
Got it, thanks
Offline
add this to the end of your '/etc/pacman.d/mirrorlist'
Server = https://archive.archlinux.org/packages/.allOffline
That's not a fix and will generally lead to the same problems and depend on luck on whether you avoid an ABI break.
Offline
That's not a fix and will generally lead to the same problems and depend on luck on whether you avoid an ABI break.
How so? You don't update your databases, so the system should be consistent.
Online
Ah right, if you do consistently just -S it should be safe, sorry for the noise
Offline
Except based on the description of the OP, they are already doing database updates without updating the system (i.e., they are doing some variation of `pacman -Sy`).
... when I try to install some packages it requires me to update packages it depends on, because pacman installs the latest version of a package that may depend on newer versions of dependencies
This would not happen if one was just using `pacman -S $pkg` on an aging database. The OP would either get a 404 for the package, or the succesfully downloaded package would be appropriate for the versions of dependencies already on their system. So using the archive/.all link will result in (more) problems as this would only solve the 404 error for older packages which is not what the OP is facing.
Last edited by Trilby (2022-08-02 12:55:11)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
At this point, let's wait for a response from user456132.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline