LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apt-get and linspire (https://www.linuxquestions.org/questions/linux-software-2/apt-get-and-linspire-769325/)

paul62 11-15-2009 02:55 PM

apt-get and linspire
 
How can I be sure apt-get is working. I have not been able ot download and install any programs? I also have not been able to get my cnr client to work. I am using linspire oem. I have at@t 2wire and have verified that the fire wall is down on the modem. I would like to be able to use agt-get to install firestarter, and I am not havving any luck. I alos have verified that there is no firewall running on my system. I would appreciate the help.

repo 11-15-2009 03:18 PM

Quote:

I would like to be able to use agt-get to install firestarter, and I am not havving any luck
errormessages ?

paul62 11-15-2009 03:32 PM

I am getting the message "couldn't find firestarter" it seems that I am getting the message to fast.

repo 11-15-2009 03:34 PM

please post the output from
Code:

apt-get update
apt-get install firestarter


paul62 11-15-2009 04:41 PM

here is the output that I am getting
pc1:~# apt-get update
Reading Package Lists... Done
Building Dependency Tree... Done
pc1:~# apt-get install firestarter
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package firestarter

repo 11-15-2009 04:42 PM

Could you post the output from
Code:

cat /etc/apt/sources.list

paul62 11-15-2009 06:02 PM

pc1:~# cat /etc/apt/sources.list
# If you uncomment the lines below you can use apt-get to install packages
# from the Debian distribution. However, PLEASE NOTE that you may pull in
# packages which are incompatible with the LindowsOS distribution, and will
# cause the CNR installer to stop working.

#deb ftp://ftp.us.debian.org/debian sarge main contrib non-free
#deb ftp://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free

repo 11-15-2009 06:04 PM

remove the # for these lines
so it looks like

Code:

deb ftp://ftp.us.debian.org/debian sarge main contrib non-free
deb ftp://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free

Then do

Code:

apt-get update
apt-get install firestarter


paul62 11-16-2009 04:44 AM

How could I open the configuration file

repo 11-16-2009 04:45 AM

en a terminal
become root
type
Code:

vi /etc/apt/sources.list
or if you have nano installed
Code:

nano /etc/apt/sources.list

paul62 11-16-2009 09:12 AM

I am still having problems
I did what you said and than I tried to run apt-get update
apt-get install firestarter
and this was the output
pc1:~# apt-get update
Get:1 ftp://ftp.us.debian.org sarge/main Packages
Err ftp://ftp.us.debian.org sarge/main Packages
Unable to fetch file, server said 'Failed to open file. ' [IP: 64.50.236.52 21]
Get:2 ftp://ftp.us.debian.org sarge/main Release
Ign ftp://ftp.us.debian.org sarge/main Release
Get:3 ftp://ftp.us.debian.org sarge/contrib Packages
Err ftp://ftp.us.debian.org sarge/contrib Packages
Unable to fetch file, server said 'Failed to open file. ' [IP: 64.50.236.52 21]
Get:4 ftp://ftp.us.debian.org sarge/contrib Release
Err ftp://non-us.debian.org sarge/non-US/main Packages
Could not resolve 'non-us.debian.org'
Ign ftp://ftp.us.debian.org sarge/contrib Release
Get:5 ftp://ftp.us.debian.org sarge/non-free Packages
Err ftp://ftp.us.debian.org sarge/non-free Packages
Unable to fetch file, server said 'Failed to open file. ' [IP: 64.50.236.52 21]
Get:6 ftp://ftp.us.debian.org sarge/non-free Release
Ign ftp://ftp.us.debian.org sarge/non-free Release
Err ftp://non-us.debian.org sarge/non-US/main Release
Could not resolve 'non-us.debian.org'
Err ftp://non-us.debian.org sarge/non-US/contrib Packages
Could not resolve 'non-us.debian.org'
Err ftp://non-us.debian.org sarge/non-US/contrib Release
Could not resolve 'non-us.debian.org'
Err ftp://non-us.debian.org sarge/non-US/non-free Packages
Could not resolve 'non-us.debian.org'
Err ftp://non-us.debian.org sarge/non-US/non-free Release
Could not resolve 'non-us.debian.org'
Failed to fetch ftp://ftp.us.debian.org/debian/dists...-i386/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 64.50.236.52 21]
Failed to fetch ftp://ftp.us.debian.org/debian/dists...-i386/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 64.50.236.52 21]
Failed to fetch ftp://ftp.us.debian.org/debian/dists...-i386/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 64.50.236.52 21]
Failed to fetch ftp://non-us.debian.org/debian-non-U...-i386/Packages Could not resolve 'non-us.debian.org'
Failed to fetch ftp://non-us.debian.org/debian-non-U...y-i386/Release Could not resolve 'non-us.debian.org'
Failed to fetch ftp://non-us.debian.org/debian-non-U...-i386/Packages Could not resolve 'non-us.debian.org'
Failed to fetch ftp://non-us.debian.org/debian-non-U...y-i386/Release Could not resolve 'non-us.debian.org'
Failed to fetch ftp://non-us.debian.org/debian-non-U...-i386/Packages Could not resolve 'non-us.debian.org'
Failed to fetch ftp://non-us.debian.org/debian-non-U...y-i386/Release Could not resolve 'non-us.debian.org'
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list ftp://ftp.us.debian.org sarge/main Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.us.debian.org sarge/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_sarge_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.us.debian.org sarge/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_sarge_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://non-us.debian.org sarge/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://non-us.debian.org sarge/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://non-us.debian.org sarge/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_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: Some index files failed to download, they have been ignored, or old ones used instead.
pc1:~# apt-get install firestarter
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list ftp://ftp.us.debian.org sarge/main Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.us.debian.org sarge/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_sarge_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.us.debian.org sarge/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_sarge_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://non-us.debian.org sarge/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://non-us.debian.org sarge/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://non-us.debian.org sarge/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_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 firestarter

repo 11-16-2009 10:34 AM

ftp://non-us.debian.org doesn't work any more
use a mirror
http://www.debian.org/mirror/list
or take a look at
http://www.community.cnr.com/docs/DOC-1035

paul62 11-16-2009 02:16 PM

Thsi si the output of what I am getting from apt-get update
apt-get install firestarter

pc1:~# cd '/root'
pc1:~# apt-get update
Get:1 ftp://ftp.us.debian.org main/contrib Packages
Err ftp://ftp.us.debian.org main/contrib Packages
Unable to fetch file, server said 'Failed to open file. ' [IP: 149.20.20.135 21]
Get:2 ftp://ftp.us.debian.org main/contrib Release
Ign ftp://ftp.us.debian.org main/contrib Release
Get:3 ftp://ftp.us.debian.org main/non-free Packages
Err ftp://ftp.us.debian.org main/non-free Packages
Unable to fetch file, server said 'Failed to open file. ' [IP: 149.20.20.135 21]
Get:4 ftp://ftp.us.debian.org main/non-free Release
Ign ftp://ftp.us.debian.org main/non-free Release
Failed to fetch ftp://ftp.us.debian.org/debian/dists...-i386/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 149.20.20.135 21]
Failed to fetch ftp://ftp.us.debian.org/debian/dists...-i386/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 149.20.20.135 21]
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list ftp://ftp.us.debian.org main/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_main_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.us.debian.org main/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_main_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: Some index files failed to download, they have been ignored, or old ones used instead.
pc1:~# apt-get install firestarter
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list ftp://ftp.us.debian.org main/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_main_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.us.debian.org main/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_main_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 firestarter
pc1:~#

paul62 11-16-2009 02:17 PM

Here is what my souces list looks like now that I edited it,
# If you uncomment the lines below you can use apt-get to install packages
# from the Debian distribution. However, PLEASE NOTE that you may pull in
# packages which are incompatible with the LindowsOS distribution, and will
# cause the CNR installer to stop working.

deb ftp://ftp.us.debian.org/debian main contrib non-free

is this correct?

repo 11-16-2009 02:35 PM

try
deb http://ftp.us.debian.org/debian stable main non-free contrib


All times are GMT -5. The time now is 08:43 AM.