DSL Embedded :: apt-get problems on embeded setup



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

You need to use apt-get with root privileges.
Try prepending 'sudo', such as
sudo apt-get update

I could have sworn I tried that, but it seems to be working now.
Thanks,
T

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

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.

Next Page...
original here.