installation trouble
#1
Hi, all.
Trying a brand new install of XBMC to a apple TV 2 with 5.3. The Apple TV is jail broken with FireCore (seas0nPass).

I attempted to follow the direction from the How-To, running the ssh through terminal on my Macbook, using ssh mobile@my #
Then at next prompt entered the password, then the first line in the instructions.

I end up with this code:

Apple-TV:~ mobile$ apt-get instal wget
E: Invalid operation instal
Apple-TV:~ mobile$

Hope you can help Smile
Reply
#2
install

with two L's
Reply
#3
Wow. Didn't catch that one. Thanks!

Now, back to my original trouble (the one I had initially before the above problem occurred)

After I type the prompt in properly as you indicated above, i get this:

Apple-TV:~ mobile$ apt-get install wget
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Apple-TV:~ mobile$
Reply
#4
read the error... you are not root

try 'sudo apt-get install wget'

EDIT: besides that, why woudl you use ssh mobile@IP when instructions clearly say it should be root??

http://wiki.xbmc.org/index.php?title=HOW..._2#ATV_5.x
Reply
#5
I will try it. TY
I actually read on another page (followup on the ssh http://wiki.xbmc.org/index.php?title=XBM...ic_FAQ#SSH) that I should use "mobile" unless updating...

[To SSH into an iOS device open your SSH application and type in:
ssh [email protected]
For most things you can and should use "mobile" as the user, as shown above. For some tasks, such as upgrading XBMC itself, you will need to replace "mobile" with "root".]
Reply
#6
as far as I see in your original post you are trying to install XBMC on ATV2 and the instructions for that are in the link I gave you above.
Reply
#7
did not work Sad Obviously a newbie here. Don't know all the tricks or lingo. Just trying to work my way thru it.
Appreciate any help you all give!

New error:

Apple-TV:~ mobile$ sudo apt-get install wget
-sh: sudo: command not found
Apple-TV:~ mobile$
Reply
#8
please, please read the instructions on how to install XBMC on ATV2 in the link I gave you... it says to use root as user, so your first command would be 'ssh root@IP'
Reply
#9
I was originally getting an error with root. I've just tried it again and am on the move, now.

It went all the way to reboot, but now the Apple TV will not start up. The light flashes but the screen is black. Sad

Got it!
had to do the Boot Tethered again to get it back and now XBMC icon is there.
Thanks Amet, and Ned Scott, for the help!
Reply
#10
Great to hear it worked out. No worries man, a lot of us cut our teeth on the command line doing XBMC related stuff :)
Reply
#11
Can I use this thread? I am getting a similar error, although I am root:

[email protected]'s password:
Apple-TV:~ root# apt-get install wget
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
Apple-TV:~ root#

The /var/lib folder was not there, creating it and the folders below didn't help:

Apple-TV:~ root# cd /var/lib
Apple-TV:/var/lib root# ls
dpkg/
Apple-TV:/var/lib root# cd dpkg/
Apple-TV:/var/lib/dpkg root# mkdir status
Apple-TV:/var/lib/dpkg root# apt-get install wget
Reading package lists... Error!
E: Couldn't make mmap of 68 bytes - mmap (22: Invalid argument)
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
Apple-TV:/var/lib/dpkg root#


I am trying to upgrade from 12.2 to 12.3, on a ATV with 4.1.

Any ideas please??
Keith

XBMC on Acer Revo, Windows 7.
ATV2.
Intel NUC, Windows 7
Gateway Laptop when traveling...
Reply
#12
I have ATV2 with a 5.3 version of firmware. I have jailbroken the ATV and it has FC in settings. I am receiving an error message

minimich:~ brianmck$ ssh [email protected]
\[email protected]'s password:
Apple-TV:~ root# apt-get install wget
Reading package lists... Done
Building dependency tree... Done
wget is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Apple-TV:~ root# wget -o- http://apt.awkwardtv.org/awkwardtv.pub | apt-key add -
/usr/bin/apt-key: line 161: run-parts: command not found
gpg: no valid OpenPGP data found.
Apple-TV:~ root#


Any ideas?
Reply
#13
I just upgraded 2 ATV2 from 4.4.4 to 5.3 the GUI is much smoother. anyway after I JB the ATV2, hook it back to the TV, install NitoTV by running Nito Installer from your computer then install XBMC from NitoTV. Its the simplest JB to XBMC install ever.
Reply
#14
(2014-01-07, 21:10)tanglin Wrote: Can I use this thread? I am getting a similar error, although I am root:

[email protected]'s password:
Apple-TV:~ root# apt-get install wget
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
Apple-TV:~ root#

The /var/lib folder was not there, creating it and the folders below didn't help:

Apple-TV:~ root# cd /var/lib
Apple-TV:/var/lib root# ls
dpkg/
Apple-TV:/var/lib root# cd dpkg/
Apple-TV:/var/lib/dpkg root# mkdir status
Apple-TV:/var/lib/dpkg root# apt-get install wget
Reading package lists... Error!
E: Couldn't make mmap of 68 bytes - mmap (22: Invalid argument)
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
Apple-TV:/var/lib/dpkg root#


I am trying to upgrade from 12.2 to 12.3, on a ATV with 4.1.

Any ideas please??

Did anyone ever figure out a solution to this "Couldnt't make mmap" error?
Reply

Logout Mark Read Team Forum Stats Members Help
installation trouble0