Page 1 of 1

Mageia update distribution problem [CLOSED]

PostPosted: Jan 4th, '15, 18:05
by griffin
Mageia updates used to just work, but recently they've been failing repeatedly because the updated package files aren't found yet on the distribution repository. I use mirrors.kernel.org, which is one of the well managed US repositories.

If one ignores the Mageia update notifications for a while (usually a matter of hours), the updated package files are found somewhat later and the updates then process successfully.

This is annoying.

Re: Mageia update distribution problem

PostPosted: Jan 5th, '15, 02:43
by doktor5000
griffin wrote:I use mirrors.kernel.org, which is one of the well managed US repositories.

Well, it breaks pretty often, at least some of the nodes don't rsync correctly. Try another mirror.

What downloader / protocol do you use, and is this about mga4 or cauldron?
Please show the output of
Code: Select all
urpmq --list-media active --list-url

Re: Mageia update distribution problem

PostPosted: Jan 5th, '15, 06:46
by griffin
Mageia update started failing like this only about a month or so ago. I believe it's using curl to retrieve the updates.

Code: Select all
# urpmq --list-media active --list-url
Core Release ftp://mirrors.kernel.org//mageia/distrib/4/x86_64/media/core/release
Core Updates ftp://mirrors.kernel.org//mageia/distrib/4/x86_64/media/core/updates
Nonfree Release ftp://mirrors.kernel.org//mageia/distrib/4/x86_64/media/nonfree/release
Nonfree Updates ftp://mirrors.kernel.org//mageia/distrib/4/x86_64/media/nonfree/updates
Tainted Release ftp://mirrors.kernel.org//mageia/distrib/4/x86_64/media/tainted/release
Tainted Updates ftp://mirrors.kernel.org//mageia/distrib/4/x86_64/media/tainted/updates
Core 32bit Release ftp://mirrors.kernel.org//mageia/distrib/4/i586/media/core/release
Core 32bit Updates ftp://mirrors.kernel.org//mageia/distrib/4/i586/media/core/updates
Nonfree 32bit Release ftp://mirrors.kernel.org//mageia/distrib/4/i586/media/nonfree/release
Nonfree 32bit Updates ftp://mirrors.kernel.org//mageia/distrib/4/i586/media/nonfree/updates
Tainted 32bit Release ftp://mirrors.kernel.org//mageia/distrib/4/i586/media/tainted/release
Tainted 32bit Updates ftp://mirrors.kernel.org//mageia/distrib/4/i586/media/tainted/updates

Re: Mageia update distribution problem

PostPosted: Jan 5th, '15, 12:50
by doktor5000
griffin wrote:I believe it's using curl to retrieve the updates.

You could try to update via
Code: Select all
urpmi --auto-update --wget
to use wget as downloader but I believe the problem is with the mirror.

Re: Mageia update distribution problem

PostPosted: Jan 5th, '15, 13:50
by griffin
Hmm, running "urpmi --auto-update --wget" as root just issued a system log message and hung, so I stopped it with Cntrl-C. However, I know that the ftp mirror site mirrors.kernel.org is available because I can login to it using ncftp. Since Mageia apparently hasn't changed the update process recently, I'll close this topic.

Re: Mageia update distribution problem

PostPosted: Jan 6th, '15, 01:40
by doktor5000
griffin wrote:However, I know that the ftp mirror site mirrors.kernel.org is available because I can login to it using ncftp.

That doesn't say anything about the status of the sync of the Mageia repositories.

Re: Mageia update distribution problem [CLOSED]

PostPosted: Jan 9th, '15, 11:17
by tarakbumba
According to mirror status page, http://mirrors.kernel.org/mageia/ is up-to-date and fine. May be it is a problem with ftp? Please try http://mirrors.kernel.org/mageia/ or another mirror.

Re: Mageia update distribution problem [CLOSED]

PostPosted: Jan 9th, '15, 18:38
by doktor5000
tarakbumba wrote:According to mirror status page, http://mirrors.kernel.org/mageia/ is up-to-date and fine.

That only shows the status for the node it checked. mirrors.kernel.org consists of two nodes, which can be seen via nslookup:

Code: Select all
┌─[doktor5000@Mageia5]─[17:35:16]─[~]
└──╼ nslookup
> server 8.8.8.8
Default server: 8.8.8.8
Address: 8.8.8.8#53
> mirrors.kernel.org
Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
mirrors.kernel.org      canonical name = mirrors.us.kernel.org.
Name:   mirrors.us.kernel.org
Address: 149.20.37.36
Name:   mirrors.us.kernel.org
Address: 198.145.20.143
>


So it depends to which node http://mirrors.kernel.org/mageia/ resolves this. At least in the past there were some issues with one of the nodes.


But the OP already closed this topic ... ;)