Failure in Software Install

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

Failure in Software Install

Postby pvossen » Jul 1st, '12, 09:24

I keep on getting a rsync error and I can't seem to install my software. I changed mirrors, but that
doesn't seem to help. The message is, " retrieving failed: rsync failed: exited with 10 ". Any ideas
how to fix the problem?

Patrick
pvossen
 
Posts: 13
Joined: Sep 8th, '11, 22:37
Location: Nebraska, USA

Re: Failure in Software Install

Postby ah7013 » Jul 1st, '12, 13:41

Could you post in code tags:
Code: Select all
urpmq --list-url

Have you tried with a http or ftp mirror?
Mageia 2 x86_64, KDE 4.8.5 on a Thinkpad Edge E520 - Intel Core i7-2640M 2.8GHZ, 16GB DDR3 RAM 1333MHz
Mageia 2 x86_64, KDE 4.8.5 on a Dell Studio 1555 - Intel Core 2 Duo T6600 2.2GHz, 8GB DDR2 RAM 800MHz
User avatar
ah7013
 
Posts: 74
Joined: Apr 9th, '11, 05:02
Location: Adelaide, Australia

Re: Failure in Software Install

Postby wintpe » Jul 1st, '12, 17:38

must admit i did not notice that mageia2 was using rsync at first and kept thinking it was the old mirrors not in sync yet problem.

however i have an outgoing firewall in my Lab and it blocks anything i dont know about going out (yes im a bit paranoid)

anyhow it was that i had not added rsyncs port to the outgoing firewall rules.

maybe you have a similar problem.

regards peter

ps

rsync 873/tcp
rsync 873/udp


uses the above service ports
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Failure in Software Install

Postby gbvoris » Sep 20th, '12, 05:54

I get a similar error Unable to add medium, errors reported:

...retrieving failed: rsync failed: exited with 5
unable to access the distribution medium (no media.cfg file found)

This is a fresh install of 2.
gbvoris
 
Posts: 42
Joined: Sep 17th, '11, 03:03

Re: Failure in Software Install

Postby Ken-Bergen » Sep 20th, '12, 06:20

This is a list of rsync exit codes (rsync status codes / rsync error codes).

0 Success
1 Syntax or usage error
2 Protocol incompatibility
3 Errors selecting input/output files, dirs
4 Requested action not supported: an attempt was made to manipulate 64-bit files on a platform
that cannot support them; or an option was specified that is supported by the client and not by the server.
5 Error starting client-server protocol
6 Daemon unable to append to log-file
10 Error in socket I/O
11 Error in file I/O
12 Error in rsync protocol data stream
13 Errors with program diagnostics
14 Error in IPC code
20 Received SIGUSR1 or SIGINT
21 Some error returned by waitpid()
22 Error allocating core memory buffers
23 Partial transfer due to error
24 Partial transfer due to vanished source files
25 The --max-delete limit stopped deletions
30 Timeout in data send/receive
35 Timeout waiting for daemon connection
So the error 5 means that the server refused your connection. As said try another mirror, preferably ftp or http.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Failure in Software Install

Postby gbvoris » Sep 25th, '12, 04:39

Ken,
I think the problem is in the part that says "(no media.cfg file found)". The dvd doesn't even play known good video dvd's.
gbvoris
 
Posts: 42
Joined: Sep 17th, '11, 03:03

Re: Failure in Software Install

Postby Ken-Bergen » Sep 25th, '12, 06:56

gbvoris wrote:Ken,
I think the problem is in the part that says "(no media.cfg file found)".

Yes.
Of course if the server refuses your connection urpm will not receive a media.cfg file. :shock:
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Failure in Software Install

Postby gbvoris » Sep 26th, '12, 14:45

LOT to learn, the media.cfg file is not refering to the config file for the dvd? That is when I get it.
gbvoris
 
Posts: 42
Joined: Sep 17th, '11, 03:03

Re: Failure in Software Install

Postby doktor5000 » Sep 29th, '12, 10:44

No it is referring to the media.cfg from the server which it tries to connect.

You may want to read https://wiki.mageia.org/en/Software_management
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: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

[solved] Re: Failure in Software Install

Postby dedanna1029 » Jun 21st, '13, 06:05

URPMI was running very smoothly in Mageia 3 until last week. I don't know what's changed, but I'm getting a lot of
Code: Select all
retrieving failed: rsync failed: exited with 10

This when I run urpmi --auto-update (my own preferred way to update).

The strange thing is in MCC I changed all media to use aria2 for updates (well, the first Core Release one, the rest it wouldn't let me change), it's still insisting on using rsync both if I use the GUI to update, and if I use urpmi --auto-update from console, from the one source, even.

Any clues to be found here? The google repos are working, but they are http. I'm set to ftp for the rest, never had this issue before on that setting. Is something up with ftp?

Thanks.

Edit: I've just removed my sources in MCC, closed MCC, then re-opened it, tried to add new sources. Right off the bat, a dialog box popped up, and wouldn't let me go any further:
Code: Select all
Unable to add medium, errors reported:

...retrieving failed: rsync failed: exited with 10
unable to access the distribution medium (no media.cfg file found)

Medium: distrib ()


Edit 2: This is resolved. What I did, was to remove all of my sources in MCC. I then ran rpm --rebuilddb, then made a script out of the code here, ran the script as root, that re-added the sources without issue, then ran urpmi --auto-update as usual. Turns out there's a urpmi update right off the bat. Working fine, there's several packages to update now.

Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
dedanna1029
 
Posts: 99
Joined: Jan 1st, '13, 17:35

Re: Failure in Software Install

Postby dedanna1029 » Jun 27th, '13, 18:01

It updated twice, then right back to this same issue again.

If someone could explain in detail what I should do to cure this, it would be much appreciated.

Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
dedanna1029
 
Posts: 99
Joined: Jan 1st, '13, 17:35

Re: Failure in Software Install

Postby NorthernDean » Feb 3rd, '16, 19:50

Same problem seen for last few months on my Mageia 5. Seems the RSYNC mirrors have (all?) gone away. I changed to HTTP mirrors. First I checked at https://mirrors.mageia.org and picked one. Then I took the RSYNC scripts at https://wiki.mageia.org/en/Finding_Mage ... ervice.org and modified for HTTP retrieval. Now it looks like below. So far, so good. I can do "urpmi --auto-update" and updates are streaming in! Seems to work.

Code: Select all
# Define urpmi configuration for whichever Mageia version is locally running, using defined HTTP server
# (copy & paste, run as root)

export PATH=/usr/sbin:${PATH}
echo urpmi.removemedia -a    # remove any existing urpmi configuration
urpmi.removemedia -a    # remove any existing urpmi configuration

http_server=mirrors.kernel.org   ## modify this line for your preferred server ##

mgaver=$(grep release /etc/release | awk '{print $3}')
arch=$(uname -m | sed -e "s/i.86/i586/")

# define the core urpmi source
echo urpmi.addmedia --distrib http://${http_server}/mageia/distrib/${mgaver}/${arch}/
urpmi.addmedia --distrib http://${http_server}/mageia/distrib/${mgaver}/${arch}/
 
# Optional: add the "nonfree" and "nonfree-updates" urpmi sources
echo urpmi.addmedia nonfree http://${http_server}/mageia/distrib/${mgaver}/${arch}/media/nonfree/release/
urpmi.addmedia nonfree http://${http_server}/mageia/distrib/${mgaver}/${arch}/media/nonfree/release/
echo urpmi.addmedia --update non-free-updates http://${http_server}/mageia/distrib/${mgaver}/${arch}/media/nonfree/updates/
urpmi.addmedia --update non-free-updates http://${http_server}/mageia/distrib/${mgaver}/${arch}/media/nonfree/updates/
 
# Optional: add the "tainted" and "tainted-updates" urpmi sources
echo urpmi.addmedia tainted http://${http_server}/mageia/distrib/${mgaver}/${arch}/media/tainted/release/
urpmi.addmedia tainted http://${http_server}/mageia/distrib/${mgaver}/${arch}/media/tainted/release/
echo urpmi.addmedia --update tainted-updates http://${http_server}/mageia/distrib/${mgaver}/${arch}/media/tainted/updates/
urpmi.addmedia --update tainted-updates http://${http_server}/mageia/distrib/${mgaver}/${arch}/media/tainted/updates/

# Optional: add the non-Mageia Google Talk Plugin urpmi source
echo urpmi.addmedia --update google-talkplugin http://dl.google.com/linux/talkplugin/rpm/stable/$(uname -m | sed -e "s/i.86/i386/")
urpmi.addmedia --update google-talkplugin http://dl.google.com/linux/talkplugin/rpm/stable/$(uname -m | sed -e "s/i.86/i386/")

# Optional: add the non-Mageia Google Chrome urpmi source
echo urpmi.addmedia --update google-chrome http://dl.google.com/linux/chrome/rpm/stable/$(uname -m | sed -e "s/i.86/i386/")
urpmi.addmedia --update google-chrome http://dl.google.com/linux/chrome/rpm/stable/$(uname -m | sed -e "s/i.86/i386/")

# end of paste
NorthernDean
 
Posts: 1
Joined: Feb 3rd, '16, 19:42

Re: Failure in Software Install

Postby dedanna1029 » Feb 20th, '16, 06:18

Interesting. I've not had this issue with 5 at all. I've had other urpmi issues, but this isn't one of them.
Nice necrobumping, however.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
dedanna1029
 
Posts: 99
Joined: Jan 1st, '13, 17:35

Re: Failure in Software Install

Postby gch3 » Mar 10th, '16, 14:46

Code: Select all
[root@localhost gch3]# urpmi --auto-update
...retrieving failed: rsync failed: exited with 35

...retrieving failed: rsync failed: exited with 35


Yep, crops up after updates installed on last go around. Had this problem about 6 months ago and lost several functions. After fooling around a little while got all back but MCC gui. However could run in terminal.
Well can't do that now since last weeks updates, actually believe it has something to do with Google updates but can't nail it down. Regardless, can't use a distro that you can't up-date when needed, so looking for alternatives. This has been going on too long. Been using Mandrake, Mandriva, Mageia a long time but might be time to change.
Last edited by isadora on Mar 10th, '16, 14:59, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Failure in Software Install

Postby ozky » Mar 10th, '16, 17:27

Please see this video to use code tags when you paste commands in forum.
ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Failure in Software Install

Postby doktor5000 » Mar 11th, '16, 00:10

gch3 wrote:Yep, crops up after updates installed on last go around. Had this problem about 6 months ago and lost several functions.

Why didn't you ask for the problem when it showed up?

Simply removing all repos and adding ftp or http ones would have fixed that easily 6 months ago.

Please do the following as root
Code: Select all
urpmi.removemedia -a
drakrpm-edit-media
-> File -> Add a specific media mirror -> choose one of the FTP or HHTP mirrors near your location.

Or do it from the command-line:
Code: Select all
urpmi.removemedia -a
urpmi.addmedia --distrib --wget 'ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/$RELEASE/$ARCH'
urpmi.update --no-ignore "Tainted Release" && urpmi.update --no-ignore "Tainted Updates" && urpmi.update --no-ignore "Nonfree Release" && urpmi.update --no-ignore "Nonfree Updates" && urpmi.update -a
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: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Failure in Software Install

Postby gch3 » Mar 11th, '16, 06:35

Thanks for the reply Doc but did that 6 months ago and then it went out again day before yesterday, wound up doing the same before your reply and all is working again except the MCC icon activation from the GUI, ( see next question on board). I'm beginning to believe there's an issue with Google updates that's affecting this. Both times I've lost the ability to update have been right after doing updates that were for Google. One time it was solely a Google update involved. This time I tried using an FTP mirror and it failed but went back and installed under an HTTP mirror and everything worked, at least in the terminal. So could be a mirror problem. Haven't been able to figure it out yet nor why the MCC icon won't activate off the desktop but does and works when accessed from the terminal.
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Failure in Software Install

Postby doktor5000 » Mar 11th, '16, 20:08

What google updates? How does that relate to Mageia repos?
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: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Failure in Software Install

Postby gch3 » Mar 12th, '16, 02:21

Last one was google-chrome-stable 49.0.2623.87 x 86_64

Could be just a coincidence but the first time it crashed out around 6 months ago that was the only update. This time there was more than one but google updated again.
Regardless I went with HTTP on the mirrors this time and got it working again. Just can't get the path from the desktop icon on MCC to connect. Everything works through the terminal.
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Failure in Software Install

Postby doktor5000 » Mar 12th, '16, 02:26

google-chrome-stable comes from Google repositories, not from Mageia repositories. Nothing we can do about that.
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: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Failure in Software Install

Postby gch3 » Mar 12th, '16, 03:22

Not a problem, I just use Chrome because of flash anyway. Actually prefer Firefox but they don't support flashplayer so I would occasionally miss some video. I'll deal with it.

Still would be nice to get the MCC icon to work off the desktop. Catch that later too I guess.
gch3
 
Posts: 70
Joined: Dec 25th, '13, 21:06

Re: Failure in Software Install

Postby kirmonkey » Nov 18th, '16, 15:17

The Doktors solution worked for me. I'd imagine it's an issue with my normal mirror (mirrorservice.org).

No Chrome was involved in solving this problem! :)

The Monkey
kirmonkey
 
Posts: 22
Joined: Sep 26th, '11, 14:17
Location: United Kingdom


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron