[SOLVED] dnf synchronize cache fails

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] dnf synchronize cache fails

Postby magfan » Apr 13th, '21, 10:05

How can I force dnf to synchronize the cache for the repos? Or is it possible to create a new cache?

Code: Select all
# dnf update --refresh
Mageia 7 - x86_64 - Nonfree                                                                                                                             0.0  B/s |   0  B     00:04   
Failed to synchronize cache for repo 'mageia-x86_64-nonfree'
Mageia 7 - x86_64 - Nonfree - Updates                                                                                                                   0.0  B/s |   0  B     00:04   
Failed to synchronize cache for repo 'updates-x86_64-nonfree'
Schnellster Mirror wird ermittelt (1 Hosts).. done.                          [      ===                                                               ] ---  B/s |   0  B     --:-- ETA
Mageia 7 - x86_64                                                                                                                                       0.0  B/s |   0  B     02:18   
Failed to synchronize cache for repo 'mageia-x86_64'
Mageia 7 - x86_64 - Updates                                                                                                                             0.0  B/s |   0  B     01:57   
Failed to synchronize cache for repo 'updates-x86_64'
Ignoring repositories: mageia-x86_64-nonfree, updates-x86_64-nonfree, mageia-x86_64, updates-x86_64
Abhängigkeiten sind aufgelöst.
Nichts zu tun.
Fertig.
#


Code: Select all
# cat /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
proxy=xxxx:80
proxy_username=yyyy
proxy_password=zzzz
sslverify=false
fastestmirror=true
zchunk=false
#
Last edited by magfan on Apr 15th, '21, 09:42, edited 1 time in total.
magfan
 
Posts: 332
Joined: Apr 3rd, '12, 12:33

Re: dnf synchronize cache fails

Postby doktor5000 » Apr 13th, '21, 18:17

What's the output of
Code: Select all
dnf -v makecache
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

[SOLVED] Re: dnf synchronize cache fails

Postby magfan » Apr 14th, '21, 19:39

@doktor5000: Thank you! Now it is working. Additionally I had to increase the timeout to 60 sec.
magfan
 
Posts: 332
Joined: Apr 3rd, '12, 12:33

Re: dnf synchronize cache fails

Postby isadora » Apr 15th, '21, 09:33

Please, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)a
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2742
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron