started by: ron
Posted by ron on July 10 2006,13:50I want to install .dsl apps, but I gather that apt-get is implemented only in the frugal installs and not the "big" HD install. Is this correct?
Bash told me "apt: command not found", so I tried to "Enable apt" under Tools, and a box flashed on the screen, too quick to read. Trying to enter Synaptic, I get the following error message:
Calling the dpkg restore script...
Downgrading apt back to version 0.5.4...
wget: ftp.debian.org: Host name lookup failure
touch: /var/tmp/synfail: No such file or directory
An error occured while trying to get apt downgrade
[press return to continue]
and the program then quits. It's not surprising that it couldn't get the file, as the computer is not connected to internet. However, I'm curious as to why it needs to "downgrade".
Is there any other way I can install without apt, or else fix apt? I can transfer needed files to the DSL computer.
Thanks in advance
Posted by kerry on July 10 2006,21:03you can grab the dsl-dpkg.dsl which is apt-get. < http://damnsmalllinux.thegeekery.com/mydsl/system/ >
Posted by ron on July 11 2006,13:54Doh! Should've thought of that myself. It works - thanks a lot.
Posted by hdstn on July 12 2006,16:05Ok, now I'm getting frustrated. Same prob as above, d/l'd dsl-dpkg.dsl and tried enabling it in MyDSL. Got nothing. What to do next? Nothing in the menu.
I have a cd full of .deb packages I cannot install either because make is unavailable.
I have a wireless card but until I can get make to install the drivers I'm caught in this crazy loop of needing files and no way of getting them.
Anyway to alter wget to look at the /cdrom? or is there something better I'm just missing as a relative noob to linux.
Posted by kerry on July 12 2006,22:05apt- get is a command line. in teminal you would do> sudo apt-get update < then> sudo apt-get install (package name) < or if your installing local deb's you would use > sudo dpkg -i (package name). just remember you have to be root so you have to use sudo, sudo su to become root or just use the root terminal in the xshells menu.
make sure you read dillo at the start that's the reason it pops up.
Posted by hdstn on July 13 2006,02:35Sadly apt-get is not enabled and trying to enable it errors out in wget because I have no connection to the net which is why I need it so I can get to the net and you see my problem.
dpkg keeps erroring dpkg: /var/lib/dpkg/status: No such file or directory.
*edit* As per a suggestion from another web page, I created both the dir and used touch to create the status file but didn't resolve the error. Where exactly should this directory be in a HD installation? I have it created in both my /home folder and on my hda1 where DSL is installed.
And I did read the Dillo page, thats how I knew to try aptitude and I also tried MyDSL but there again I need an internet connection.
Posted by diddleflop on July 16 2006,00:48
I thought I down loaded dsl-dpkg.dsl.info from the MyDSL but I don't know how to load it. When I try to use Apt-get update it returns an error:
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
I tried using sudo also.
Posted by kerry on July 16 2006,01:47since your using hd install, you have to install dsl's as user dsl. so did you install dsl-dpkg.dsl.info as user dsl? for version 3.0 and up the mydsl load is in the mydsl icon it says "load local mydsl extentions " for older versions the mydsl load is in emelfm.
Posted by kerry on July 16 2006,01:52hdstn, you'll need to download it from another computer then install it locally on the computer with no net. read from the begining of the post.