Packagers,
Recently I needed to test to see if the new version of Wine-8.0rc4 broke my games.
"dnf downgrade wine" should do the trick.
Wait... # dnf list --showduplicates wine | column -t Available Packages wine.i686 7.2-1.fc36 fedora wine.x86_64 7.2-1.fc36 fedora wine.i686 8.0-0.rc4.1.fc36 updates wine.x86_64 8.0-0.rc4.1.fc36 updates
Wine-7.2 is much older. But where did the previous versions (7.22) go? Why are old versions being removed from the repo? Is there another repo we can use to access all package versions?
-Travis
V Mon, Jan 23, 2023 at 10:39:48AM -0500, Travis Sidelinger napsal(a):
But where did the previous versions (7.22) go?
Replaced by a next update.
Is there another repo we can use to access all package versions?
You can retrive historical packages from Fedor build system called Koji https://koji.fedoraproject.org/koji/packageinfo?packageID=4106.
-- Petr
Thanks Petr.
I was able to find the package at that location, download them, and build a local repo. https://koji.fedoraproject.org/koji/packageinfo?packageID=4106.
So why are older package versions being removed? Why not keep them? Yum/rpm can handle that quite well.
-Travis
On Mon, Jan 23, 2023 at 10:49 AM Petr Pisar ppisar@redhat.com wrote:
V Mon, Jan 23, 2023 at 10:39:48AM -0500, Travis Sidelinger napsal(a):
But where did the previous versions (7.22) go?
Replaced by a next update.
Is there another repo we can use to access all package versions?
You can retrive historical packages from Fedor build system called Koji https://koji.fedoraproject.org/koji/packageinfo?packageID=4106.
-- Petr
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@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/packaging@lists.fedoraproject.... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Mon, 2023-01-23 at 11:08 -0500, Travis Sidelinger wrote:
Thanks Petr.
I was able to find the package at that location, download them, and build a local repo. https://koji.fedoraproject.org/koji/packageinfo?packageID=4106.
So why are older package versions being removed? Why not keep them?
save disk space etc
Yum/rpm can handle that quite well.
you may download all wine package with koji ( koji-1.31.1-1.fc37.noarch package or with bodhi ( bodhi-client-6.0.1-4.fc37.noarch )
as root mkdir rpms cd rpms/
koji download-build -a x86_64 -a noarch wine-7.22-2.fc37 or bodhi updates download --updateid FEDORA-2022-6520ef0a4b
createrepo_c . cd .. dnf --disablerepo='*' --enablerepo=abc --repofrompath=abc,rpms update - -nogpg
-Travis
On Mon, Jan 23, 2023 at 10:49 AM Petr Pisar ppisar@redhat.com wrote:
V Mon, Jan 23, 2023 at 10:39:48AM -0500, Travis Sidelinger napsal(a):
But where did the previous versions (7.22) go?
Replaced by a next update.
Is there another repo we can use to access all package versions?
You can retrive historical packages from Fedor build system called Koji https://koji.fedoraproject.org/koji/packageinfo?packageID=4106.
-- Petr
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@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/packaging@lists.fedoraproject.... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@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/packaging@lists.fedoraproject.... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Saving space? I guess, figured historic integrity would be far more important. What happens when someone does "dnf reinstall <package-name>", and that package version is not available in the repo? I'm sorry, I disagree. Historical integrity should be much more important. Especially with Fedora where major versions change mid lifecycle. Maybe I just need to start pulling my own reposync and store the versions myself.
As for building yum repos, yup, been there hundreds of times.
-Travis
On Mon, Jan 23, 2023 at 12:40 PM Sérgio Basto sergio@serjux.com wrote:
On Mon, 2023-01-23 at 11:08 -0500, Travis Sidelinger wrote:
Thanks Petr.
I was able to find the package at that location, download them, and build a local repo. https://koji.fedoraproject.org/koji/packageinfo?packageID=4106.
So why are older package versions being removed? Why not keep them?
save disk space etc
Yum/rpm can handle that quite well.
you may download all wine package with koji ( koji-1.31.1-1.fc37.noarch package or with bodhi ( bodhi-client-6.0.1-4.fc37.noarch )
as root mkdir rpms cd rpms/
koji download-build -a x86_64 -a noarch wine-7.22-2.fc37 or bodhi updates download --updateid FEDORA-2022-6520ef0a4b
createrepo_c . cd .. dnf --disablerepo='*' --enablerepo=abc --repofrompath=abc,rpms update - -nogpg
-Travis
On Mon, Jan 23, 2023 at 10:49 AM Petr Pisar ppisar@redhat.com wrote:
V Mon, Jan 23, 2023 at 10:39:48AM -0500, Travis Sidelinger napsal(a):
But where did the previous versions (7.22) go?
Replaced by a next update.
Is there another repo we can use to access all package versions?
You can retrive historical packages from Fedor build system called Koji https://koji.fedoraproject.org/koji/packageinfo?packageID=4106.
-- Petr
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@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/packaging@lists.fedoraproject....
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@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/packaging@lists.fedoraproject....
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- Sérgio M. B. _______________________________________________ packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@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/packaging@lists.fedoraproject.... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Dne 23. 01. 23 v 18:53 Travis Sidelinger napsal(a):
Saving space? I guess, figured historic integrity would be far more important.
Different people, different views.
But if you need it then you can use
https://fedoramagazine.org/use-the-dnf-local-plugin-to-speed-up-your-home-la...
it does exactly what you want.
Miroslav
On Mon, Jan 23, 2023 at 11:08:39AM -0500, Travis Sidelinger wrote:
Thanks Petr.
I was able to find the package at that location, download them, and build a local repo. https://koji.fedoraproject.org/koji/packageinfo?packageID=4106.
So why are older package versions being removed? Why not keep them? Yum/rpm can handle that quite well.
There's 3 big reasons:
1. Including everyhing would make updates repos really really big and cause problems for our mirror network.
2. Our tooling. Updates repos aren't 'added to', they are created completely with every push. Our buildsystem has no concept of 'newer' or 'older' only whats tagged into a tag and what order it's tagged. So, to include the previous version we would have to rework how our tools work.
3. There has been reistance in the past to including old versions because they may well be insecure/have serious bugs. If you then get someone to downgrade to that version they become vulnerable or hit the big bug.
In short, it's just not easy... but perhaps we will revisit it someday.
kevin
On 23/01/2023 15:39, Travis Sidelinger wrote:
Recently I needed to test to see if the new version of Wine-8.0rc4 broke my games.
"dnf downgrade wine" should do the trick.
Wait... # dnf list --showduplicates wine | column -t Available Packages wine.i686 7.2-1.fc36 fedora wine.x86_64 7.2-1.fc36 fedora wine.i686 8.0-0.rc4.1.fc36 updates wine.x86_64 8.0-0.rc4.1.fc36 updates
Wine-7.2 is much older. But where did the previous versions (7.22) go? Why are old versions being removed from the repo?
There are only ever two versions - the base version that the release shipped with and the most recent update.
The updates repository does not keep old versions.
Tom
packaging@lists.fedoraproject.org