Apple TV root XBMC issue solved

I was having all kinds of difficulties with XBMC on my Apple TV2 and was trying to remove it and start all over.

It didn’t work out even when resorting to SSH through terminal.

Then I was able to find a solution over in the FireCore forums.

 

Basically required that I manually remove all the files.

Re: How to deinstall pakages?
liudgervr wrote:

please need some help. Got the same problem.

Apple-TV:~ root# apt-get remove org.xbmc.xbmc-atv2

E: Could not get lock /var/lib/dpkg/lock – open (35: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Apple-TV:~ root# cd var

-sh: cd: var: No such file or directory

Apple-TV:~ root# cd /var

Apple-TV:/var root# dpkg –get-selections > myapps.txt

Apple-TV:/var root# tail myapps.txt

shell-cmds install
sqlite3-lib install
syslogd install
system-cmds install
tar install

uikittools install
unzip install
wget install
zip install
zodttd install

Apple-TV:/var root# dpkg –configure -a
dpkg: status database area is locked by another process

 

What to do?

 

and for the same reason I am unable to install the maintenance update

 

I ran into this same problem tonight, and was able to solve it by removing the package directory manually. It turns out that `rm` was hanging on some files while removing the package directory, so when you try to uninstall again the lock is still in place. If you do a `ps -ef` you should see the offending processes at the bottom like this:

 

0 199 164 0 0:00.28 ttys001 0:00.94 apt-get remove org.xbmc.xbmc-atv2

0 200 199 0 0:00.06 ttys002 0:00.10 /usr/bin/dpkg –status-fd 18 –force-depends –force-remove-reinstreq –force-remove-ess

0 201 200 0 0:00.01 ttys002 0:00.02 /bin/sh /var/lib/dpkg/info/org.xbmc.xbmc-atv2.prerm remove

0 202 201 0 1:49.30 ttys002 2:02.82 rm -rf /Applications/XBMC.frappliance

 

 

To fix this, run `rm -rfv /Applications/XBMC.frappliance`. It will hang periodically on some files, so just pres [Ctrl + C] to terminate the command when you see it stop. Then just rerun the same command and it seems to take off again where the last one failed.

It took me about 10+ times of rerunning that command to remove all the files/directories. Once it’s all gone, you will need to kill the hung `rm` process so that apt-get can fail and remove it’s lock. Just do another `ps -ef` and locate the PID (the second number) for the rm -rf process (mine was 202 above). So I would run `kill 202` to stop the process. Finally just run `apt-get remove org.xbmc.xbmc-atv2` to make sure everything is removed OK, and restart your Apple TV.

Tron Legacy

I find it sad to hear that the new Tron movie has been reviewed very poorly.

Digital Trends

Rotten Tomatoes

Screen Rant

I was really hoping for something better when I originally heard about the project (and blogged about it) nearly 3 years ago.

I still plan on seeing the movie. I mean, even those that hated it thought the special effects are worth it… Still, I was hoping that this would bring a resurgence into the franchise and allow us to move away from those ridiculous vampire movies.

Examples of New HTML5 Features

People are already revisiting  and polishing up their HTML skills because of the exciting possibilities of  HTML5.

Here are some great examples originally posted on Webification.

The new HTML5 provides some interesting features that allow designers to enhance and boost their creativity. The new useful tags will replace many of typical div entries from code, the new canvas support allows you to create fantastic animations without using Flash, etc.

In this post I have collected 15 examples of what we can do with HTML5 and its potentials. Some of these examples work with the support of Javascript but they show how it’s easy to replace Flash with HTML5.

1. How we’ll create forms in HTML5

HTML5 contains new interesting input fields that enable us to perform our work and save much time. In this post we can study in deep the new input fields and all their features.

Link

2. Learning About HTML5 Local Storage

This video tutorial shows how to build a simple to-do list with local storage. HTML5′s local storage is a new functionality which we can save data in browsers even the browser is refreshed or closed.

Link

3. Wave motion

This experiment, made by Hakim el Hattab, makes a wave motion rendered using the canvas element. Each bubble holds a tweet with the word water in it. Clicking on them we can read the tweets.

Link

Continue reading