trying to find apt-get


Forum: 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
Quote (^thehatsrule^ @ Feb. 10 2007,01:09)
I think you could've just ran apt-get update ..?

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:

Code Sample

After unpacking 1233kB of additional disk space will be used.
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
dpkg: `install-info' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)

So I go and try
apt-get install perl and get this:

Code Sample

The following packages have unmet dependencies:
 perl: Depends: perl-base (= 5.6.1-8.9) but 5.8.0-18 is to be installed
E: Broken packages

Which makes absolutely no sense to me, but just to be sure I type:
apt-get install perl-base and get:
Code Sample

perl-base is already the newest version.


Same with apache:
Code Sample

The following packages have unmet dependencies:
 apache: Depends: apache-common (>= 1.3.26-0) but it is not going to be installed
         Depends: apache-common (< 1.3.27-0) but it is not going to be installed
         Depends: perl5 or
                  perl but it is not going to be installed
E: Broken packages


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
Quote (^thehatsrule^ @ Feb. 10 2007,11:41)
Just saw you were running dsl-n... I think there was some different setup with it - check the "old" dsl-n forums maybe.

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:
?!$#!  :angry: 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 :cool:

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.

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