Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: apt-get problems on embeded setup< Next Oldest | Next Newest >
Tangled_Kid Offline





Group: Members
Posts: 11
Joined: Mar. 2007
Posted: Mar. 29 2007,21:07 QUOTE

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
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Mar. 29 2007,23:20 QUOTE

You need to use apt-get with root privileges.
Try prepending 'sudo', such as
sudo apt-get update
Back to top
Profile PM 
Tangled_Kid Offline





Group: Members
Posts: 11
Joined: Mar. 2007
Posted: Mar. 30 2007,00:47 QUOTE

I could have sworn I tried that, but it seems to be working now.
Thanks,
T
Back to top
Profile PM 
Tangled_Kid Offline





Group: Members
Posts: 11
Joined: Mar. 2007
Posted: Mar. 30 2007,01:06 QUOTE

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
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Mar. 31 2007,22:46 QUOTE

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.
Back to top
Profile PM 
5 replies since Mar. 29 2007,21:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: apt-get problems on embeded setup

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code