You are not logged in.

#1 2025-04-09 15:28:33

szebenyib
Member
From: LHBP
Registered: 2011-10-18
Posts: 75

[SOLVED] Pinning pacman to a given date

Hi,

I use my pacman.conf like this:

[core]
Include = /etc/pacman.d/mirrorlist
Server = [url]https://archive.archlinux.org/repos/2023/10/01/$repo/os/$arch[/url]

and I expect pacman to install packages from that date from the mirror. However it does not seem to work as it fetches newer versions. What is the caues of that?

Background: I update my system mainly in public holidays but sometimes I need software but cannot insall that as it would require a full system update before that which I do not want due to stability reasons as I use my laptop for work and I cannot afford to deal with regressions any time. How would it be achieveable to keep the system pinned to a date but still be able to install packages from the official repos and the aur?

Last edited by szebenyib (2025-04-09 16:10:33)

Offline

#2 2025-04-09 15:32:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: [SOLVED] Pinning pacman to a given date

You're including the mirrorlist first, so all of those 'Server' entries are before the archive one.

Offline

#3 2025-04-09 16:10:20

szebenyib
Member
From: LHBP
Registered: 2011-10-18
Posts: 75

Re: [SOLVED] Pinning pacman to a given date

Thanks! Marking it as solved

Offline

Board footer

Powered by FluxBB