Ask Your Question
1

Why does dnf do this?

asked 2017-12-11 22:20:06 -0500

byerlythomas2 gravatar image

Hi,

I am new to Fedora, I just got done installing it on my system. When I went to search for KeepassX to see if it was in the repositories it said it was updating something and I have no idea what it's updating or what it's doing or why.

Terminal output:

dnf search keepassx
Fedora 27 - x86_64 - Updates                                                69 kB/s |  12 MB     02:53    
Fedora 27 - x86_64                88% [=============================    ]  98 kB/s |  52 MB     01:09 ET

I apologize if this is a dumb question, I'm new to Fedora.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
5

answered 2017-12-12 01:28:45 -0500

sideburns gravatar image

Welcome to ask.fedora! That's a good question, and easily answered: dnf sometimes has to get the latest information about what's in the various repositories so that it can give you an up-to-date answer.

edit flag offensive delete link more

Comments

Thanks a lot!

byerlythomas2 gravatar imagebyerlythomas2 ( 2017-12-12 16:11:08 -0500 )edit
2

answered 2017-12-12 09:32:48 -0500

florian gravatar image

updated 2017-12-12 09:39:38 -0500

In addition to @sideburns' valuable answer, I'd like to link some background documentation...

For more information about DNF's metadata/cache, you may want to read in DNF's documentation about metadata refresh here.

You can define the desired age of your metadata according to those instructions here

Since your connection to the mirror was kind of slow (<100 kb/sec), you can follow this Q/A to learn how to install a package without updating the cache.

edit flag offensive delete link more

Comments

Thanks for the answer!

byerlythomas2 gravatar imagebyerlythomas2 ( 2017-12-12 16:11:23 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-12-11 22:20:06 -0500

Seen: 111 times

Last updated: Dec 12 '17