On Tue, Jul 9, 2024 at 4:49 PM Chris Adams <li...@cmadams.net> wrote:
>
> Once upon a time, Jeffrey Walton <noloa...@gmail.com> said:
> > I need to learn the previous version of git for `dnf downgrade`, but I
> > don't know how to find the info. Assuming the previous version was *-1
> > was not helpful:
>
> In general, only one or two version+release of a package will be
> available in the regular repos, a version in the initial distribution
> release, plus a version in the updates repo (if there's been an update
> since the distro release).  There may sometimes be a newer version
> available in the updates-testing repo.
>
> So if you have a version from updates, the only available version to
> downgrade to with dnf will be the initial distro release version, which
> you can get with just "dnf downgrade git" (no version+release required).
>
> If you need an intermediate version (for example, if there was a version
> in updates that was replaced by the version you have), you'll have to go
> to koji and find it, download the appropriate package(s), and
> "dnf localinstall" them.
>
> https://koji.fedoraproject.org/koji/packageinfo?packageID=1864

Thanks Chris.

`dnf downgrade git` worked fine. Thanks for that. The downgrade
revealed the previous version was git-2.44.0-1.fc40, which I was able
to `dnf versionlock` after the downgrade.

Jeff
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-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/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to