apt-get problems on embeded setup


Forum: DSL Embedded
Topic: apt-get problems on embeded setup
started by: Tangled_Kid

Posted by Tangled_Kid on Mar. 29 2007,21:07
I've installed the dsl-dpkg.unc on my laptop, but when I try to run apt-get it tells me that it can't access the lock file.  When I look for this, I find it's under a symbolic link that points to /KNOPPIX/..., & so is on a read only filesystem.  How do I get around this.

Am a newbie to Linux, so please use simple instructions/advice.

Thanks,

T

Posted by ^thehatsrule^ on Mar. 29 2007,23:20
You need to use apt-get with root privileges.
Try prepending 'sudo', such as
sudo apt-get update

Posted by Tangled_Kid on Mar. 30 2007,00:47
I could have sworn I tried that, but it seems to be working now.
Thanks,
T

Posted by Tangled_Kid on Mar. 30 2007,01:06
I spoke too soon.  When I run it as using sudo I get...

Hit < http://archive.debian.org > woody/main Packages
...
E: Could not open lock file /var/lib/dpkg/lock - open (2 No such file or directory)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

if I run ls -l on the /var/lib/ dir I get...
lrwxrwxrwx   1 root   root   21 Mar 30 05:05 dpkg -> /KNOPPIX/var/lib/dpkg

if I try to go to /var/lib/dpkg using cd I get the error "bash: cd: /var/lib/dpkg: No such file or directory"

(& if anyone could tell me how to copy & paste from the terminal, that you be wonderful)

Thanks,

T

Posted by ^thehatsrule^ on Mar. 31 2007,22:46
I haven't used the unc package a lot yet to be familiar with it, but perhaps linking it to the /ramdisk might work.. (there may be existing solutions in forum searches though)

Also, please read the startup page in dillo.

Posted by Tangled_Kid on April 01 2007,10:17
Sorry, am a complete newbie, so can you expand on how I 'link it to the /ramdisk, & also where I'd find the startup page to open?

Thanks,

T

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.