I'd like to add the LAMP stack on my Tondio plug. However, whenever I run apt-get install (pkg name), I get the following error:
Could not open lock file /var/cache/apt/archives/lock - open (2 No such file or directory)
I get this even when trying to do apt-get upgrade. Any idea on what I need to do to fix this?
Thanks!
Can't add/upgrade packages
-
- Rookie Tonidoid
- Posts: 5
- Joined: Thu Aug 20, 2009 11:42 am
Re: Can't add/upgrade packages
PLEASE DONT USE INSTRUCTIONS FROM OTHER SITES, THERE IS NO GUARANTEE THAT IT WILL WORK
Looking for a way to move the kernel and file system to the Hard drive I ran into the following:
While it may not be the real cause of your problem it could be related. Anyway, it is one more reason I want to stay away from the internal flash. If we have to add a hard drive why bet on the slow horse, let's make full use of that unit, with all the added advantages of having space to grow, swap space, and all other benefits that disks have over flash.
Of course, this is not for everyone. If you want to use the Plug as it was intended, it is fine. But for those that see big potential in plug computers it really has great possibilities.
Cheers,
Looking for a way to move the kernel and file system to the Hard drive I ran into the following:
While it may not be the real cause of your problem it could be related. Anyway, it is one more reason I want to stay away from the internal flash. If we have to add a hard drive why bet on the slow horse, let's make full use of that unit, with all the added advantages of having space to grow, swap space, and all other benefits that disks have over flash.
Of course, this is not for everyone. If you want to use the Plug as it was intended, it is fine. But for those that see big potential in plug computers it really has great possibilities.
Cheers,
- scott_mebust
- Super Tonidoid
- Posts: 28
- Joined: Sat Aug 29, 2009 9:43 am
Re: Can't add/upgrade packages
By the way, I found that after having done it once, I had to do this a second time. Seems the subdirectories somehow got removed.
Re: Can't add/upgrade packages
The debian package cache directory is on the ramdisk. So when you reboot the plug, all the changes to the ramdisk will be lost
-
- Tonido MVP
- Posts: 193
- Joined: Sun Aug 23, 2009 9:04 pm
Re: Can't add/upgrade packages
Fixing the issue completely is easy.
SSH in and type "nano /etc/rc.local". Scroll down to line 16 (#mkdir -p /var/cache/apt/archives/partial) and remove the "#" in front of the line. CTRL+X to exit, Y to save.
Apt should now be working on reboot.
SSH in and type "nano /etc/rc.local". Scroll down to line 16 (#mkdir -p /var/cache/apt/archives/partial) and remove the "#" in front of the line. CTRL+X to exit, Y to save.
Apt should now be working on reboot.
Re: Can't add/upgrade packages
fixing is not looking easy..
Return to “TonidoPlug Support”
Who is online
Users browsing this forum: No registered users and 15 guests