[SOLVED] Mageia 3 - 64 bit install - Problems updating

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] Mageia 3 - 64 bit install - Problems updating

Postby linuxdad » Jan 16th, '14, 16:56

I was attempting to update the 64-bit installation, and encountered several problems (I needed to add the nfs-utils). When I attempted to add the Updates for the media in the Configure Media menu, I was presented with this error:

Code: Select all
Unable to add medium, errors reported:

..retreiving failed: aria2 failed: exited with 19
unable to access the distribution medium (no media.cfg file found)

Medium:distrb ()


I checked the server, and found:

ns3.IT-Security-inc.com root
[/root] locate media.cfg
/etc/urpmi/mediacfg.d/Official-3-x86_64/media.cfg

Any suggestions on how to proceed from here?

I've read the forum posting https://forums.mageia.org/en/viewtopic.php?f=7&t=6627&p=42864&hilit=configure+media#p42864 but this relates to reporting a bug more than resolving the issue.
Last edited by linuxdad on Jan 17th, '14, 16:50, edited 1 time in total.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: Mageia 3 - 64 bit install - Problems updating

Postby doktor5000 » Jan 16th, '14, 22:10

media.cfg refers to the file on the mirror.

Can you please show output of
Code: Select all
urpmq --dump
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: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 3 - 64 bit install - Problems updating

Postby linuxdad » Jan 16th, '14, 23:27

Absolutely!

Code: Select all
[/root] urpmq --dump
"Core Release" cdrom://x86_64/media/core
"Nonfree Release" cdrom://x86_64/media/nonfree
--mirrorlist '$MIRRORLIST' "Core Release2" media/core/release
--mirrorlist '$MIRRORLIST' "Core Release Debug" media/debug/core/release
--update --mirrorlist '$MIRRORLIST' "Core Updates" media/core/updates
--mirrorlist '$MIRRORLIST' "Core Updates Debug" media/debug/core/updates
--mirrorlist '$MIRRORLIST' "Core Updates Testing" media/core/updates_testing
--mirrorlist '$MIRRORLIST' "Core Updates Testing Debug" media/debug/core/updates_testing
--mirrorlist '$MIRRORLIST' "Core Backports" media/core/backports
--mirrorlist '$MIRRORLIST' "Core Backports Debug" media/debug/core/backports
--mirrorlist '$MIRRORLIST' "Core Backports Testing" media/core/backports_testing
--mirrorlist '$MIRRORLIST' "Core Backports Testing Debug" media/debug/core/backports_testing
--mirrorlist '$MIRRORLIST' "Nonfree Release2" media/nonfree/release
--mirrorlist '$MIRRORLIST' "Nonfree Release Debug" media/debug/nonfree/release
--update --mirrorlist '$MIRRORLIST' "Nonfree Updates" media/nonfree/updates
--mirrorlist '$MIRRORLIST' "Nonfree Updates Debug" media/debug/nonfree/updates
--mirrorlist '$MIRRORLIST' "Nonfree Updates Testing" media/nonfree/updates_testing
--mirrorlist '$MIRRORLIST' "Nonfree Updates Testing Debug" media/debug/nonfree/updates_testing
--mirrorlist '$MIRRORLIST' "Nonfree Backports" media/nonfree/backports
--mirrorlist '$MIRRORLIST' "Nonfree Backports Debug" media/debug/nonfree/backports
--mirrorlist '$MIRRORLIST' "Nonfree Backports Testing" media/nonfree/backports_testing
--mirrorlist '$MIRRORLIST' "Nonfree Backports Testing Debug" media/debug/nonfree/backports_testing
--mirrorlist '$MIRRORLIST' "Tainted Release" media/tainted/release
--mirrorlist '$MIRRORLIST' "Tainted Release Debug" media/debug/tainted/release
--update --mirrorlist '$MIRRORLIST' "Tainted Updates" media/tainted/updates
--mirrorlist '$MIRRORLIST' "Tainted Updates Debug" media/debug/tainted/updates
--mirrorlist '$MIRRORLIST' "Tainted Updates Testing" media/tainted/updates_testing
--mirrorlist '$MIRRORLIST' "Tainted Updates Testing Debug" media/debug/tainted/updates_testing
--mirrorlist '$MIRRORLIST' "Tainted Backports" media/tainted/backports
--mirrorlist '$MIRRORLIST' "Tainted Backports Debug" media/debug/tainted/backports
--mirrorlist '$MIRRORLIST' "Tainted Backports Testing" media/tainted/backports_testing
--mirrorlist '$MIRRORLIST' "Tainted Backports Testing Debug" media/debug/tainted/backports_testing
--mirrorlist '$MIRRORLIST' "Core 32bit Release" media/../../i586/media/core/release
--update --mirrorlist '$MIRRORLIST' "Core 32bit Updates" media/../../i586/media/core/updates
--mirrorlist '$MIRRORLIST' "Core 32bit Updates Testing" media/../../i586/media/core/updates_testing
--mirrorlist '$MIRRORLIST' "Core 32bit Backports" media/../../i586/media/core/backports
--mirrorlist '$MIRRORLIST' "Core 32bit Backports Testing" media/../../i586/media/core/backports_testing
--mirrorlist '$MIRRORLIST' "Nonfree 32bit Release" media/../../i586/media/nonfree/release
--update --mirrorlist '$MIRRORLIST' "Nonfree 32bit Updates" media/../../i586/media/nonfree/updates
--mirrorlist '$MIRRORLIST' "Nonfree 32bit Updates Testing" media/../../i586/media/nonfree/updates_testing
--mirrorlist '$MIRRORLIST' "Nonfree 32bit Backports" media/../../i586/media/nonfree/backports
--mirrorlist '$MIRRORLIST' "Nonfree 32bit Backports Testing" media/../../i586/media/nonfree/backports_testing
--mirrorlist '$MIRRORLIST' "Tainted 32bit Release" media/../../i586/media/tainted/release
--update --mirrorlist '$MIRRORLIST' "Tainted 32bit Updates" media/../../i586/media/tainted/updates
--mirrorlist '$MIRRORLIST' "Tainted 32bit Updates Testing" media/../../i586/media/tainted/updates_testing
--mirrorlist '$MIRRORLIST' "Tainted 32bit Backports" media/../../i586/media/tainted/backports
--mirrorlist '$MIRRORLIST' "Tainted 32bit Backports Testing" media/../../i586/media/tainted/backports_testing


This has me stumped.

Thank you.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: Mageia 3 - 64 bit install - Problems updating

Postby linuxdad » Jan 17th, '14, 16:49

Looks like a reboot, and resetting the DNS has resolved this issue. Thank you.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: [SOLVED] Mageia 3 - 64 bit install - Problems updating

Postby doktor5000 » Jan 17th, '14, 18:56

Well MIRRORLIST is a way to dynamically select a mirror using geolocation everytime urpmi runs.
What sounds good in theory, often selects slow or mirrors which are not that reliable.

After initial installation I'll always remove all repos and specify one mirror directly via
Code: Select all
sudo urpmi.removemedia -a
sudo urpmi.addmedia --distrib --wget 'ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/$VERSION/$ARCH'

(since Mageia2 or 3 you may have to replace $VERSION manually by the actual Mageia version, not sure currently)

And then enable nonfree and tainted repos in one go:
Code: Select all
sudo urpmi.update --no-ignore "Tainted Release" && sudo urpmi.update --no-ignore "Tainted Updates" && sudo urpmi.update --no-ignore "Nonfree Release" && sudo urpmi.update --no-ignore "Nonfree Updates" && sudo urpmi.update -av


You can look at the available mirrors here:
http://mirrors.mageia.org/
Some are known to cause problems more often, e.g. ibiblio and also kernel.org which had issues with its load balancer some time ago.
You could also try one of the faster european mirrors if those in your region don't give good speed/response time or cause issues more
often than once every few months.
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: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest