[SOLVED] Method mirror has died unexpectedly! - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Configuration (/forum-17.html) +--- Thread: [SOLVED] Method mirror has died unexpectedly! (/thread-939.html) |
Method mirror has died unexpectedly! - effemmeffe - 29th May, 2013 03:16 AM Today I saw a message in XBMC telling me that there is some package upgrade available, so I went on my Mac a opened a ssh session and got this error: xbian@xbian ~ $ sudo apt-get update Hit http://archive.raspberrypi.org wheezy Release.gpg Hit http://mirrordirector.raspbian.org wheezy Release.gpg Hit http://archive.raspberrypi.org wheezy Release Hit http://mirrordirector.raspbian.org wheezy Release E: Method mirror has died unexpectedly! E: Sub-process mirror received a segmentation fault. xbian@xbian ~ $ Any idea on what's wrong? Method mirror has died unexpectedly! - Koenkk - 29th May, 2013 04:53 AM Can you do a sudo apt-get update first? RE: Method mirror has died unexpectedly! - effemmeffe - 29th May, 2013 05:15 AM At the end I found the problem: my sd was full. I removed some files from /home/xbian and now I'm able to update & upgrade. But the problem just changed: why is my 8G SD is (now almost) full? Quote:xbian@xbian / $ df -h Quote:xbian@xbian / $ sudo du -s * --exclude=media | sort -n adding the biggest directories I am hardly near to 8G. I found in the forum an user which had the same issue and I copied the command line he used: Quote:xbian@xbian / $ sudo find // -xdev -type f -size +10000000c -exec ls -ladh {} \; Apparently there are no reason for my sd to be full. I also checked and the partition is already resized to maximum. Any help? I'm drowning here... Method mirror has died unexpectedly! - Koenkk - 29th May, 2013 06:11 AM Try a sudo apt-get clean, there seems to be a lot of content in your /usr folder RE: Method mirror has died unexpectedly! - effemmeffe - 29th May, 2013 06:13 AM did it, i went from 37M free to 72M free: Code: xbian@xbian / $ df -h solved: it was a cronjob that tries to write a full sd backup on a network share. if the network is not available the cronjob creates the file on a directory with the same name of the mountpint, then when the network share is available again the file is hidden. RE: Method mirror has died unexpectedly! - mk01 - 2nd Jun, 2013 08:15 AM (29th May, 2013 06:13 AM)effemmeffe Wrote: solved: it was a cronjob that tries to write a full sd backup on a network share. if the network is not available the cronjob creates the file on a directory with the same name of the mountpint, then when the network share is available again the file is hidden. do a test before you do the backup. you can test for mountpoint existence like this: mountpoint -q /path/to/network_mount || { echo "network not available"; exit 1; } this way the script will exit without trying to backups if the network share is not mounted. ( ... nicer output "du -xhd1 /" -x will not descent into different filesystem (mount), -h human readable numbers (G/M/K), -d deepness level) |