Page 1 of 1

Failure in Software Install

PostPosted: Jul 1st, '12, 09:24
by pvossen
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

Re: Failure in Software Install

PostPosted: Jul 1st, '12, 13:41
by ah7013
Could you post in code tags:
Code: Select all
urpmq --list-url

Have you tried with a http or ftp mirror?

Re: Failure in Software Install

PostPosted: Jul 1st, '12, 17:38
by wintpe
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

Re: Failure in Software Install

PostPosted: Sep 20th, '12, 05:54
by gbvoris
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.

Re: Failure in Software Install

PostPosted: Sep 20th, '12, 06:20
by Ken-Bergen
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.

Re: Failure in Software Install

PostPosted: Sep 25th, '12, 04:39
by gbvoris
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.

Re: Failure in Software Install

PostPosted: Sep 25th, '12, 06:56
by Ken-Bergen
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:

Re: Failure in Software Install

PostPosted: Sep 26th, '12, 14:45
by gbvoris
LOT to learn, the media.cfg file is not refering to the config file for the dvd? That is when I get it.

Re: Failure in Software Install

PostPosted: Sep 29th, '12, 10:44
by doktor5000
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

[solved] Re: Failure in Software Install

PostPosted: Jun 21st, '13, 06:05
by dedanna1029
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.

Re: Failure in Software Install

PostPosted: Jun 27th, '13, 18:01
by dedanna1029
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.

Re: Failure in Software Install

PostPosted: Feb 3rd, '16, 19:50
by NorthernDean
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

Re: Failure in Software Install

PostPosted: Feb 20th, '16, 06:18
by dedanna1029
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.

Re: Failure in Software Install

PostPosted: Mar 10th, '16, 14:46
by gch3
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.

Re: Failure in Software Install

PostPosted: Mar 10th, '16, 17:27
by ozky
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

Re: Failure in Software Install

PostPosted: Mar 11th, '16, 00:10
by doktor5000
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

Re: Failure in Software Install

PostPosted: Mar 11th, '16, 06:35
by gch3
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.

Re: Failure in Software Install

PostPosted: Mar 11th, '16, 20:08
by doktor5000
What google updates? How does that relate to Mageia repos?

Re: Failure in Software Install

PostPosted: Mar 12th, '16, 02:21
by gch3
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.

Re: Failure in Software Install

PostPosted: Mar 12th, '16, 02:26
by doktor5000
google-chrome-stable comes from Google repositories, not from Mageia repositories. Nothing we can do about that.

Re: Failure in Software Install

PostPosted: Mar 12th, '16, 03:22
by gch3
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.

Re: Failure in Software Install

PostPosted: Nov 18th, '16, 15:17
by kirmonkey
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