Understanding and reading SSH output.
There are many threads in here that show people trying to install/use SSH (if it be via putty or terminal) and hitting errors but still carrying on with the commands. If ONE of the lines fails it normally means the ones after will as well, so here are things to look out for when using terminal so that you know what the output of the commands you are running are:

wget 404 error
Apple-TV:~ root# wget http://dl.dropbox.com/u/14341410/org.xbmc.xbmc-atv2_11.0-4_iphoneos-arm.deb
--2012-04-13 10:19:02--  http://dl.dropbox.com/u/14341410/org.xbmc.xbmc-atv2_11.0-4_iphoneos-arm.deb
Resolving dl.dropbox.com...,,, ...
Connecting to dl.dropbox.com||:80... connected.
HTTP request sent, awaiting response... 404 NOT FOUND
2012-04-13 10:19:03 ERROR 404: NOT FOUND.
This is when a file cannot be found, most of the time because something has been spelt wrong (notice the 11.0-4 when it should be 11.0-3).

One letter/number wrong can cause this error so always be careful of what you are typing

POSIX: Operation Timed Out
Apple-TV:~ root# apt-get update
Hit http://cydia.zodttd.com stable Release.gpg
Hit http://apt.thebigboss.org stable Release.gpg
Hit http://apt.saurik.com tangelo-3.7 Release.gpg
Hit http://apt.modmyi.com stable Release.gpg
Hit http://cydia.zodttd.com stable Release
Hit http://nitosoft.com Release.gpg
Hit http://apt.thebigboss.org stable Release
Hit http://apt.saurik.com tangelo-3.7 Release
Get:1 http://apt.modmyi.com stable Release [1334B]
Hit http://apt.awkwardtv.org stable Release.gpg
Hit http://nitosoft.com Release
Hit http://cydia.zodttd.com stable/main Packages/DiffIndex
Hit http://apt.awkwardtv.org stable Release
Hit http://apt.thebigboss.org stable/main Packages/DiffIndex
Hit http://apt.modmyi.com stable/main Packages/DiffIndex
Ign http://apt.saurik.com tangelo-3.7/main Packages/DiffIndex
Hit http://apt.saurik.com tangelo-3.7/main Packages
Ign http://nitosoft.com Packages/DiffIndex
Hit http://apt.awkwardtv.org stable/main Packages/DiffIndex
Hit http://nitosoft.com Packages
Err http://mirrors.xbmc.org ./ Release.gpg
POSIX: Operation timed out
Ign http://mirrors.xbmc.org ./ Release
Ign http://mirrors.xbmc.org ./ Packages
Ign http://mirrors.xbmc.org ./ Packages
Err http://mirrors.xbmc.org ./ Packages
POSIX: Operation timed out
Fetched 1334B in 6min 49s (3B/s)
W: Failed to fetch http://mirrors.xbmc.org/apt/atv2/./Release.gpg POSIX: Operation timed out

W: Failed to fetch http://mirrors.xbmc.org/apt/atv2/./Packages.gz POSIX: Operation timed out

E: Some index files failed to download, they have been ignored, or old ones used instead.
This is a rarer one but this will be when a server cannot be reached, this is normally nothing to do with anything you have entered, just that the server the other end may be down.

The only time i've seen this is when Eden was released so XBMC was pretty busy when people were updating. Just wait a while and try again later when it might be a bit quieter.

dpkg -i: No Sure File Or Directory error
Apple-TV:~ root# dpkg -i http://dl.dropbox.com/u/14341410/org.xbmc.xbmc-atv2_11.0-4_iphoneos-arm.debdpkg: error processing http://dl.dropbox.com/u/14341410/org.xbmc.xbmc-atv2_11.0-4_iphoneos-arm.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
This one is basically like the wget 404 error. The file you are trying to depackage to install cannot be found. Either something is spelt wrong (same example before, there is 10.0-4 and not 10.0-3) or you are in the wrong folder as to where you downloaded the file.

Again, CHECK YOUR SPELLING! Everything must be perfect for it to work. Also you may be in the wrong directory as to where it was originally downloaded. You can check what files are in the current folder you are in using the
(That is Ls incase it is hard to read with the font) and this will display all the files and folders in that directory. Folders are in purple text and files are a mixture of other colours (if you are using terminal on a Mac). Also you can move around folder in terminal using the
command. e.g. if you are in the var/root/ (the default folder when you log in with root) folder and you want to move to the mobile folder you can use
Apple-TV:~ root# cd /var/mobile
Apple-TV:/var/mobile root#
You can then check the files in that folder are there by using ls, e.g.
Apple-TV:/var/mobile root# ls
Applications/  DSCN0586.JPG  Documents/  Downloads/  Library/  Media/  Updates/

Hope this helps some people.
Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
Very awesome. Will link to this on the wiki once I'm at a computer (on phone now).
Should stop a lot of install help threads if it is read, think I covered most things, if anything needs to be added then say and i'll edit it.
Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
This is a fantastic little thread and still relevant nearly a year on.

Quick question for you.

I am trying to downgrade from Frodo to Eden and have saved the .deb files locally on an old iMac

Installed of going to the pain of transferring deb file to ATV2, is it possible to dpkg - i the file from the local machine?

I am using Terminal and have tried a number of things but cannot get it to read a local file.
No, you need to have the deb file on the ATV2.
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
Understanding and reading SSH output.00