trying to find apt-getForum: DSL-N Topic: trying to find apt-get started by: andre75 Posted by andre75 on Feb. 10 2007,04:36
In another thread in this part of the forum it was suggested that apt-get is in the dsl.mydsl package, but not on my install.I have a fresh downloaded dsl-n full hdd install. How do I get apt-get? I guess this: < http://damnsmalllinux.org/wiki/index.php/Apt-get > is outdated, since I don't have this menu entry and dpkg-restore is not on my system either. Posted by andre75 on Feb. 10 2007,05:15
Um. I downloaded the dsl-dpkg extension and installed it. I then ran apt-get update and got this:E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory) E: Unable to lock the list directory So i created the directories and got the next set of errors.: Lists directory and Archive directories missing UPDATE: Just kept creating the dirs it was asking for. Now it seems to work. Posted by ^thehatsrule^ on Feb. 10 2007,06:09
I think you could've just ran apt-get update ..?
Posted by andre75 on Feb. 10 2007,09:34
Nope. Thats exactly what I tried and what didn't work. The apt dirs were missing. Something is defenitely wrong with my system. I tried apt-get install wget and I get this:
So I go and try apt-get install perl and get this:
Which makes absolutely no sense to me, but just to be sure I type: apt-get install perl-base and get:
Same with apache:
Not to mention that it can't even find the package apache2 . So I am really puzzled now. I tried the standard sources: deb < http://mirror.aarnet.edu.au/debian > oldstable main contrib non-free and those suggested by another member: deb < http://archive.debian.org/debian-archive/ > woody main contrib non-free The result is pretty much the same for both. I ran apt-get update whenever I switched the sources. Any more ideas? Posted by ^thehatsrule^ on Feb. 10 2007,16:41
Just saw you were running dsl-n... I think there was some different setup with it - check the "old" dsl-n forums maybe.
Posted by andre75 on Feb. 10 2007,19:31
Seems like the solution is to copy files from another linux distri (I have none): < http://www.damnsmalllinux.org/dsl-n....=aptget > I probably will have to install DSL now that I read this. I thought the only difference between DSL and DSL-N is that the latter includes more programs and hence is bigger? UPDATE: ?!$#! I tried to copy the files from the DSL cd, but couldn't get it mounted so I just installed DSL on my hdd, just to realize that it wouldn't recognize my usb keyboard. So back to installing dsl-n and trying to ftp the files over to the box. Posted by ^thehatsrule^ on Feb. 10 2007,22:26
See < http://damnsmalllinux.org/dsl-n/ > for some main differences.
Posted by andre75 on Feb. 10 2007,23:00
I found the solution I followed these steps: < http://www.damnsmalllinux.org/dsl-n....=aptget > (I booted a second machine on dsl and copied the files over except for /usr/sbin/dpkg-restore which doesn't exist. Instead I downloaded dsl-dpkg.dsl from here: < http://distro.ibiblio.org/pub....m > and installed it. I also skipped the step that says: do: dpkg-restore Other than that I followed it to the letter and this got apt-get working. Now I am struggling with Apache2, sigh. I guess I will go and buy a book now Andre Posted by ^thehatsrule^ on Feb. 11 2007,03:44
There's an apache2 package extension in mydsl that you could try... but keep in mind that it was made for dsl.Mods: if it matters, i think this thread should be moved to the dsl-n section. |