Nitotv update fails, can't lock /var/lib/dpkg/lock
#1
This started happening recently, I can't update anything through Nitotv. The errors say permission denied and "Are you root?"

I tried doing chmod 777 on the lock file and it gets a bit further, then it fails trying to access the apt folders (sorry, don't have it in front of me). I tried ssh'ing in as mobile instead of root and I get exactly the same errors if I try to, say, apt-get install com.nito.nitotv.

It looks like NitoTV isn't running as root. Is it supposed to?
Reply
#2
You should probably ask on the NitoTV website.
Reply
#3
If I could find a forum or support area I would, but there seems to be just a wiki, this was the only option I could think of. FWIW many uninstalls and installs later it's now OK, except the icon is blank. Consider it solved.
Reply
#4
Try this:
ssh into the ATV2, then:

1. apt-get update
2. apt-get -u upgrade
3. Reboot (or reboot)

If this dont work, try SFTP to ATV2, then navigate to /private/var/lib/apt/lists -> delete "lock" file and run the command above.

Worked for me.
S@
Reply

Logout Mark Read Team Forum Stats Members Help
Nitotv update fails, can't lock /var/lib/dpkg/lock0