You are not logged in.
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
Offline
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
Simplest way would be to put
Server = https://archive.archlinux.org/packages/.allat the bottom of your mirrorlist.
Online
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
Offline