#554 Possible improvement of "Using the DNF software package manager"
Closed: complete a year ago by hankuoffroad. Opened a year ago by pboy.

Regarding Using the DNF software package manager

The following suggestion is taken from a thread on discussion

" Fedora RPM
(Description)

For this one, I want the document can highlight the difference of
$ sudo dnf install
$ dnf install
$ sudo dnf search
$ dnf search

Last time I checked, even after $dnf serach, then following by $sudo dnf install, dnf still need to download and precess all the meta data again. As those are separate between different users."

See:
https://discussion.fedoraproject.org/t/46229/5


With or without sudo, both commands do not force a sync of expired metadata.

To synchronize all enabled repositories, run dnf search or install with the --refresh or the --cacheonly switch as you wish.

There is a thread on DNF expiration check.

https://ask.fedoraproject.org/t/dnf-expiration-check/26820/3

Upstream doc on Metadata Synchronization will do.

https://dnf.readthedocs.io/en/latest/command_ref.html#metadata-synchronization-label

search command is supposed to run without sudo. No need for additional comments in QD.

Metadata Update from @hankuoffroad:
- Issue close_status updated to: complete
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata