39

Is it possible to use dnf (or another utility) to search repositories of different releases of Fedora?

For instance to search my current release for all versions of a package I can do dnf --showduplicates list <package name>. Is it possible to do something along the lines of:

dnf --showduplicates list [--fedora29] <package name>

Where the argument [--fedora29] can be used to specify the version of Fedora that I would like to search?

If this is not possible to do using dnf is there a different command line tool that I can use?

0

1 Answer 1

43

You can pass dnf a --releasever= argument to override the version.

For the particular command you gave as an example, use the following:

 dnf --releasever=29 --showduplicates list $pkgname 
2

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.