PDA

View Full Version : DamnSmallLinux and apt-get problem



Steve Cronje
04-06-2003, 08:19 PM
Newbie question alert:

I am trying to remaster DamnSmallLinux:
http://www.damnsmalllinux.org/index.html

Mains reason is that I am doing it on a computer with not too much disk space 2.5 gig avialable) or memory (64MB).

I have place a copy of DSL on the hard drive using these instructions:
http://www.knoppix.net/forum/viewtopic.php?t=1418

My problem arises when I run apt-get <anything>. It gives an error, stating that it cannot find various files, the first one being /var/lib/dpkg/lock. When I creat this directory, which does not exist, the next error arises, this time about not having access to /var/lib/dpkg/status.

Can anyone point me in a direction that is not into the ditches I seem to get into? :D

Thanx!
Steve

John
04-06-2003, 08:51 PM
Hi Steve,
You need to download the compressed /dpkg from my website.
It's at www.damnsmalllinux.org/dpkg.tar.gz
Just move it to ./(cloop)/var/lib/ and uncompress it. Then you will have to run 'apt-get update'.
John

Steve Cronje
04-06-2003, 09:15 PM
Sheesh!

Thanks John, I had read about that, but I guess the bio-ram refresh didn't too well!

I'll get it right away.
Steve

Steve Cronje
04-06-2003, 09:55 PM
That's working now - Thanx!

Steve

Tibo
12-08-2003, 07:03 PM
That's working now - Thanx!

Steve

Hi Steve, hi all.
I'm trying to use a apt-get and I can't do it. I get the www.damnsmalllinux.org/dpkg.tar.gz and uncompress it on /var/lib and it doesn't work.

Can Somebody help me?

When I do apt-get update, the system doesn't connect and doesn't get the list of packages.

Thanks.

TyphoonMentat
01-01-2004, 08:58 PM
Did you copy dpkg.tar.gz to /var/lib, then extract it? If that's not working, try downloading it again, or type "dpkg-restore" when you're connected to the internet in DSL.
dpkg-restore will set up everything for you, but if you're manually extracting dpkg.tar.gz, you need to run apt-get update afterwards.