[solved] clamav-db download timeout error

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] clamav-db download timeout error

Postby Spinnifex » Mar 21st, '24, 03:34

Hello

When I try to install
Code: Select all
clamav

I get the
Code: Select all
clamav-db
too. Unfortunately I get a timeout error at 99%.
I've tried this for several times via
Code: Select all
dnf
and MCC.
Same result.
Here is the result
Code: Select all
(1/2): clamav-1.0.5-1.1.mga9.x86_64.rpm                                      374 kB/s | 2.3 MB     00:06   
[MIRROR] clamav-db-1.0.5-1.1.mga9.noarch.rpm: Curl error (28): Timeout was reached for ftp://ftp5.gwdg.de/pub/linux/mageia/distrib/9/x86_64/media/core/updates/clamav-db-1.0.5-1.1.mga9.noarch.rpm [FTP response timeout]

:|

The server is always gwdg. Maybe I should try an other server?
How Can I setup this?

Best regards.

Spi
Last edited by Spinnifex on Mar 24th, '24, 22:38, edited 1 time in total.
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: clamav-db download timeout error

Postby Germ » Mar 21st, '24, 14:31

I would try another mirror. And I would change it to http. Not sure why but I have had problems with ftp in the past.
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 718
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

Re: clamav-db download timeout error

Postby morgano » Mar 21st, '24, 15:25

Maybe I should try an other server?
How Can I setup this?


For dnf, see https://wiki.mageia.org/en/Using_DNF

For urpmi & drakrpm:
Code: Select all
$ sudo urpmi.removemedia -a
$ sudo urpmi.addmedia --distrib https://ftp.acc.umu.se/mirror/mageia/distrib/9/x86_64/

(Or specify another server)
umu.se is "never" down nor late, and always fast (for me)

You can also use drakrpm-edit-media
https://doc.mageia.org/mcc/9/en/content ... edit-media
Anyway, that panel is good to enable/disable medias for urpmi/drakrpm

https://wiki.mageia.org/en/Install_medi ... _beginners
https://wiki.mageia.org/en/Software_management
https://wiki.mageia.org/en/Installing_a ... g_software
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1488
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: clamav-db download timeout error

Postby Spinnifex » Mar 21st, '24, 23:29

Hello.

Thanks for the answers!
And for the links!

I did setup a new mirror
via MCC. This was successfull.
What I not know so far is which server the MCC use to load the lib.

Is there an option for dnf to show the used mirror ?
If looked through the documentation of DNF and found nothing.

Thanks!

Spinni
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: clamav-db download timeout error

Postby doktor5000 » Mar 22nd, '24, 02:51

dnf doesn't know the used mirror, it just selects the fastest from a list of mirrors. If you don't add some debug code, it cannot display the url: https://unix.stackexchange.com/a/252765/83329
You can only look it up afterwards in /var/log/dnf.librepo.log or look at e.g.
Code: Select all
dnf -v repolist --enabled
and filter out the base URLs at the time of running this command, this might change for the actual download.
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: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: clamav-db download timeout error

Postby Spinnifex » Mar 24th, '24, 19:51

Hello.

Thank you!

doktor5000 wrote:
Code: Select all
dnf -v repolist --enabled

tells me about :)
Curiously the gwdg server was not anymore listed.
The last server I added was listed too.

So if dnf only takes the fastest mirror, there is a chance that adding new mirror server did not
help , since dnf always choose the - not working - server as in case of
Code: Select all
clamav
?

Regards
Spinni
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: clamav-db download timeout error

Postby doktor5000 » Mar 24th, '24, 20:15

Sorry I don't understand what you're asking.
Also keep in mind that you only get the URL of the mirror server at the time of running that command, that does not have to be the same mirror which is selected earlier/later for actual package downloads.
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: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: clamav-db download timeout error

Postby Spinnifex » Mar 24th, '24, 20:21

Hello

If you have a list of 5 mirros and the fastest mirror produce a timeout everyime you
try then even if those 4 other may work dnf will not choose them.
Is this possible was may question.

doktor5000 wrote:Also keep in mind that you only get the URL of the mirror server at the time of running that command, that does not have to be the same mirror which is selected earlier/later for actual package downloads.

Oh I see.
Thanks.

Spinni
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: clamav-db download timeout error

Postby doktor5000 » Mar 24th, '24, 21:35

When told to use the fastest mirror (checked via http ping response time) dnf will always use the fastest one. fastestmirror=1 is configured by default in our repo configs /etc/yum.repos.d/mageia*.repo
You could try to disable fastest mirror plugin to see if that helps, via
Code: Select all
--setopt=fastestmirror=0
option for dnf command
I'm not aware about a workaround for that, as the failovermethod configuration option which was supported by yum has been removed for dnf. You can only configure the number of retries and the wait between retries.

Apart from that, according to https://mirrors.mageia.org/status that mirror ftp5.gwdg.de is not up-to-date. You could try contacting the mirror admins ( instructions at https://ftp5.gwdg.de/ ) so maybe they can trigger an rsync again.
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: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: clamav-db download timeout error

Postby Spinnifex » Mar 24th, '24, 22:37

Hello.

Thanks for the detailled Info!

Best regards.
Spinni
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron