urpmq --list-url
So the error 5 means that the server refused your connection. As said try another mirror, preferably ftp or http.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
gbvoris wrote:Ken,
I think the problem is in the part that says "(no media.cfg file found)".
retrieving failed: rsync failed: exited with 10
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 ()
# 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
[root@localhost gch3]# urpmi --auto-update
...retrieving failed: rsync failed: exited with 35
...retrieving failed: rsync failed: exited with 35
gch3 wrote:Yep, crops up after updates installed on last go around. Had this problem about 6 months ago and lost several functions.
urpmi.removemedia -a
drakrpm-edit-media
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
Users browsing this forum: No registered users and 1 guest