Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: dpkg and apt-get help< Next Oldest | Next Newest >
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Jan. 11 2008,15:27 QUOTE

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?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Jan. 11 2008,15:46 QUOTE

Quote
W: You may want to run apt-get update to correct these problems
Did you try this?
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Feb. 01 2008,13:54 QUOTE

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.)
Back to top
Profile PM 
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Mar. 28 2008,15:11 QUOTE

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
Back to top
Profile PM 
3 replies since Jan. 11 2008,15:27 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: dpkg and apt-get help

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code