[SOLVED] Method mirror has died unexpectedly!
| 
				
				 
					Solved: Method mirror has died unexpectedly!
				 
			 | 
		
| 
				 
					29th May, 2013, 03:16 AM 
				 
				
Post: #1 
			 | 
		|||
				
  | 
		|||
| 
				Method mirror has died unexpectedly! 
				 
					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?  | 
		|||
| 
				 
					29th May, 2013, 04:53 AM 
				 
				
Post: #2 
			 | 
		|||
				
  | 
		|||
| 
				Method mirror has died unexpectedly! 
				 
					Can you do a sudo apt-get update first?
				 
				
				
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here  | 
		|||
| 
				 
					29th May, 2013, 05:15 AM 
				 
				
Post: #3 
			 | 
		|||
				
  | 
		|||
| 
				RE: Method mirror has died unexpectedly! 
				 
					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...  | 
		|||
| 
				 
					29th May, 2013, 06:11 AM 
				 
				
Post: #4 
			 | 
		|||
				
  | 
		|||
| 
				Method mirror has died unexpectedly! 
				 
					Try a sudo apt-get clean, there seems to be a lot of content in your /usr folder
				 
				
				
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here  | 
		|||
| 
				 
					29th May, 2013, 06:13 AM 
				 
				
Post: #5 
			 | 
		|||
				
  | 
		|||
| 
				RE: Method mirror has died unexpectedly! 
				 
					did it, i went from 37M free to 72M free: 
				
				
				
			Code: xbian@xbian / $ df -hsolved: 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.  | 
		|||
| 
				 
					2nd Jun, 2013, 08:15 AM 
				 
				
Post: #6 
			 | 
		|||
				
  | 
		|||
				RE: Method mirror has died unexpectedly! 
				(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) Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here  | 
		|||
| 
				
	 
					« Next Oldest | Next Newest »
				 
			 |