Re: Access superseded Fedora RPMs

2023-09-09 Thread Miro Hrončok

On 08. 09. 23 21:58, Kai A. Hiller wrote:

Is there a Fedora-canonical way of finding and attaining these superseded RPMs?


Hello, you can obtain any package ever shipped in Fedora from Koji.

First, you need to find out a source package:

$ rpm -qi python3-pip
...
Source RPM  : python-pip-22.2.2-3.fc37.src.rpm
...

Then, you can download it from Koji:

$ koji download-build --arch=x86_64 --arch=noarch python-pip-22.2.2-3.fc37
Downloading [1/3]: python-pip-doc-22.2.2-3.fc37.noarch.rpm
[] 100% 390.29 KiB / 390.29 KiB
Downloading [2/3]: python-pip-wheel-22.2.2-3.fc37.noarch.rpm
[] 100% 1.42 MiB / 1.42 MiB
Downloading [3/3]: python3-pip-22.2.2-3.fc37.noarch.rpm
[] 100% 2.85 MiB / 2.85 MiB


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
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


Re: Access superseded Fedora RPMs

2023-09-09 Thread Leigh Scott
> Am 08.09.23 um 22:32 schrieb Michel Lind:
> 
> Are you sure it's working?
> 
> [root ~]# dnf --enablerepo=updates-archive list firefox*
> Letzte Prüfung auf abgelaufene Metadaten: vor 0:04:10 am Sa 09 Sep 2023 
> 09:39:57 CEST.
> Installierte Pakete
> firefox.x86_64 117.0-1.fc37 @@commandline
> firefox-langpacks.x86_64 117.0-1.fc37 
> @@commandline
> Verfügbare Pakete
> firefox-pkcs11-loader.x86_64 
> 3.13.6-8.fc37    fedora
> firefox-wayland.x86_64 117.0-1.fc37 updates
> firefox-wayland.x86_64 117.0-1.fc37 
> updates-archive
> firefox-x11.x86_64 117.0-1.fc37 updates
> firefox-x11.x86_64 117.0-1.fc37 
> updates-archive
> [root ~]#
> 
> The Base URL accessed via firefox gives out an ACCESS DENIED. That may 
> be intended, but isn't helpfull ;)
> 
> best regards,
> Marius Schwarz

Try using showduplicates

dnf  --enablerepo=updates-archive --showduplicates list firefox*
___
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


Re: Access superseded Fedora RPMs

2023-09-09 Thread Miroslav Suchý

Dne 08. 09. 23 v 21:58 Kai A. Hiller napsal(a):
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?) 


https://github.com/Katello/katello

It can do this and much more. It is also very huge project and resource 
intensive.

--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
___
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


Re: Access superseded Fedora RPMs

2023-09-09 Thread Samuel Sieb

On 9/9/23 01:05, Marius Schwarz wrote:

Am 08.09.23 um 22:32 schrieb Michel Lind:

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.



Are you sure it's working?

[root ~]# dnf --enablerepo=updates-archive list firefox*
Letzte Prüfung auf abgelaufene Metadaten: vor 0:04:10 am Sa 09 Sep 2023 
09:39:57 CEST.

Installierte Pakete
firefox.x86_64 117.0-1.fc37 @@commandline
firefox-langpacks.x86_64 117.0-1.fc37 @@commandline
Verfügbare Pakete
firefox-pkcs11-loader.x86_64 
3.13.6-8.fc37    fedora

firefox-wayland.x86_64 117.0-1.fc37 updates
firefox-wayland.x86_64 117.0-1.fc37 updates-archive
firefox-x11.x86_64 117.0-1.fc37 updates
firefox-x11.x86_64 117.0-1.fc37 updates-archive
[root ~]#


dnf repoquery firefox
(the archive is automatically enabled when installed)
___
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


Re: Access superseded Fedora RPMs

2023-09-09 Thread Marius Schwarz

Am 08.09.23 um 22:32 schrieb Michel Lind:

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.



Are you sure it's working?

[root ~]# dnf --enablerepo=updates-archive list firefox*
Letzte Prüfung auf abgelaufene Metadaten: vor 0:04:10 am Sa 09 Sep 2023 
09:39:57 CEST.

Installierte Pakete
firefox.x86_64 117.0-1.fc37 @@commandline
firefox-langpacks.x86_64 117.0-1.fc37 
@@commandline

Verfügbare Pakete
firefox-pkcs11-loader.x86_64 
3.13.6-8.fc37    fedora

firefox-wayland.x86_64 117.0-1.fc37 updates
firefox-wayland.x86_64 117.0-1.fc37 
updates-archive

firefox-x11.x86_64 117.0-1.fc37 updates
firefox-x11.x86_64 117.0-1.fc37 
updates-archive

[root ~]#

The Base URL accessed via firefox gives out an ACCESS DENIED. That may 
be intended, but isn't helpfull ;)


best regards,
Marius Schwarz
___
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


Re: Access superseded Fedora RPMs

2023-09-08 Thread Samuel Sieb

On 2023-09-08 12:58, Kai A. Hiller wrote:
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?


The only versions available are the initially released version in the 
"fedora" repo and the *latest* version in the "fedora-updates" repo. 
Any updates other than the latest are only available in koji for a 
limited time.


(Alternatively, I was thinking about hosting a private, modified mirror 
that serves all versions of an RPM. Does that sound like a good idea?)


If you need the intermediate versions, that's a good option.
___
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


Re: Access superseded Fedora RPMs

2023-09-08 Thread Michel Lind
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


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


Access superseded Fedora RPMs

2023-09-08 Thread Kai A. Hiller

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?)


Kind regards
Kai
___
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