You are not logged in.

#1 2023-07-24 19:54:08

Automath
Member
Registered: 2016-05-16
Posts: 115

How to install a package version that is compatible to my last update

It happens all the time, I need a simple small tool and I don't want to run a system update because I have some work in progress. So, since I know it's not safe to install a package newer to my distribution, how can I find an older package of dos2unix that's compatible with my out to date system without having to upgrade?

Last edited by Automath (2023-07-24 19:54:34)

Offline

#2 2023-07-24 20:00:40

positronik
Member
Registered: 2016-02-08
Posts: 95

Re: How to install a package version that is compatible to my last update

Offline

#3 2023-08-02 22:10:13

Automath
Member
Registered: 2016-05-16
Posts: 115

Re: How to install a package version that is compatible to my last update

Well that's handy but how do I tranlate such to practice?
1. How do I find when was my last full update?
2. How do I specify the proper repository for pacman to download the package?

Offline

#4 2023-08-02 23:28:59

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

Re: How to install a package version that is compatible to my last update

Simplest way would be to put

Server = https://archive.archlinux.org/packages/.all

at the bottom of your mirrorlist.

Online

#5 2023-08-02 23:39:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,462
Website

Re: How to install a package version that is compatible to my last update

Scimmia's recommendation is best, but if for any reason you don't want to do that, you can get the date your db files were updated directly:

date -r /var/lib/pacman/sync/extra.db +%Y/%m/%d

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

Board footer

Powered by FluxBB