Hi Kai,

On Fri, Sep 08, 2023 at 09:58:58PM +0200, Kai A. Hiller wrote:
> Hello,
> 
> I’m trying to recreate – on the level of RPMs – a Fedora system as resolved
> by DNF at an earlier moment in time (think lockfile). Collecting a list of
> the installed RPMs and their versions for a given system is easily done via
> `dnf list installed`; though, afaict these RPMs in their exact versions may
> no longer be available at Fedora mirrors at a later point in time. This
> leads to my question: Is there a Fedora-canonical way of finding and
> attaining these superseded RPMs?
> 
> (Alternatively, I was thinking about hosting a private, modified mirror that
> serves all versions of an RPM. Does that sound like a good idea?)
>
Try installing fedora-repos-archive -- you'll get a repo definition for
fedora-updates-archive, which has all versions of released updates
rather than just the latest.
IIRC it was added on the request of CoreOS.

Best regards,

-- 
Michel Lind (né Salim)
identities: https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to