> On 2 Jul 2022, at 08:58, Tim via users <users@lists.fedoraproject.org> wrote:
> 
> Tim:
>>> I can't remember if there's a "practice only" kind of option.
> 
> Joe Zeff:
>> Instead of using dnf -y use dnf -n.
> 
> Doing a no instead of yes just abandons the download and install, the
> kind of thing I'd already described.  I was thinking of whether there
> was an option that went through the *whole* procedure, but without
> actually doing it.  Not that you need to do that, but some things have
> that feature.

If think you looking for the

$ dnf check-update

Also you can pull lots of interesting information with the

$ dnf repolist
$ dnf repoquery

I use repoquery a lot like this to list the contents of one repo:

For example:

$ dnf repoquery --disablerepo=* --enablerepo=fedora-cisco-openh264
Last metadata expiration check: 0:05:18 ago on Sat 02 Jul 2022 19:28:07 BST.
gstreamer1-plugin-openh264-0:1.20.0-1.fc36.x86_64
mozilla-openh264-0:2.2.0-1.fc36.x86_64
openh264-0:2.2.0-1.fc36.x86_64
openh264-devel-0:2.2.0-1.fc36.x86_64

You can also add the options to set exclude options and see what they would do.

$ dnf repoquery --disablerepo=* --enablerepo=fedora-cisco-openh264 
--setopt=excludepkgs=openh264-devel
Last metadata expiration check: 0:08:29 ago on Sat 02 Jul 2022 19:28:07 BST.
gstreamer1-plugin-openh264-0:1.20.0-1.fc36.x86_64
mozilla-openh264-0:2.2.0-1.fc36.x86_64
openh264-0:2.2.0-1.fc36.x86_64

Barry



> 
> -- 
> 
> uname -rsvp
> Linux 3.10.0-1160.66.1.el7.x86_64 #1 SMP Wed May 18 16:02:34 UTC 2022 x86_64
> 
> Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
> I will only get to see the messages that are posted to the mailing list.
> 
> _______________________________________________
> 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 on the list, report it: 
> https://pagure.io/fedora-infrastructure
_______________________________________________
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 on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to