[SOLVED] Missing media.cfg file

When I try to add mediasources with the command
urpmi.addmedia --distrib --mirrorlist
I get an errormessages rsync failed: ended with 10
can't read distributionmedia (can't find media.cfg file)
My questions are - Where do I locate the file? How do I repear media.cfg file?
I have tried to use the command rpm --rebuilddb which doesn't create media.cfg file.
I have also tried to use Mageia ControlCentral to add media with no success.
urpmi.addmedia --distrib --mirrorlist
I get an errormessages rsync failed: ended with 10
can't read distributionmedia (can't find media.cfg file)
My questions are - Where do I locate the file? How do I repear media.cfg file?
I have tried to use the command rpm --rebuilddb which doesn't create media.cfg file.
I have also tried to use Mageia ControlCentral to add media with no success.