Apt-get :: dpkg and apt-get help



Hi all
i'm using a dsl-n installed on HDD (well, a 1 giga flash disc but... similar to hdd :) )
i ever had problem with dpkg, problem resolving dependecies and installing something (ie i try to install libc6 and it says missed dependecy: need libc6 -_- )

now, i installed dsl-dpkg.dsl dsl package (the one found on ftp://ibiblio.org/pub/Linux/distributions/damnsmall/mydsl/ and auto-installed putting it into /mydsl folder)
and it also installed apt-get

this "new dpkg" well (where new=newer than one i used before :) ) give some weird error:
Code Sample
# dpkg -i <one package i tried to install>
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.

googling here and there i found this is a path problem
if i type # echo $PATH
Code Sample
# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games:/sbin/:/usr/sbin/:/usr/local/sbin/:/sbin:/usr/sbin:/usr/local/sbin
so seems there is NOT path problem

trying to install using apt-get i got problem too:
Code Sample
apt-get install cups
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://archive.debian.org woody/main Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_woody_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org woody/contrib Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_woody_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org woody/non-free Packages (/var/lib/apt/lists/archive.debian.org_debian-archive_dists_woody_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package cups
i already edited (well, created) sources.list; i created by mkdir and mkdirhier the directory apt-get need to use
etc

but still does'nt work
can you help me out for this?

Quote
W: You may want to run apt-get update to correct these problems
Did you try this?

Hi Divago:
Could you please check your '/etc/apt/sources.list' file?
In case you are using this URL:
Code Sample
deb http://archive.debian.org/debian woody main
You should change the URL to:
Code Sample
deb http://archive.debian.org/debian-archive woody main

p.s.
Do make sure to run 'apt-get update' every time you make any changes to '/etc/apt/sources.list'.

Edited 2008-02-20
There was a serious mistake in my example above.
(Fixed.)

Quote (stupid_idiot @ Feb. 01 2008,08:54)
Hi Divago:
Could you please check your '/etc/apt/sources.list' file?

sorry i reply only after soooo looooong time[QUOTE][/QUOTE]There is no "/etc/apt" source files in my system >_<
btw i resolved it using cups already installed (the one already inside dsln) just changing configuration and install proprierties, without using apt-get


original here.