LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Firestarter would not install in my Debian 6.0.6 (https://www.linuxquestions.org/questions/linux-newbie-8/firestarter-would-not-install-in-my-debian-6-0-6-a-4175444514/)

StefanP 01-07-2013 09:57 AM

Firestarter would not install in my Debian 6.0.6
 
I have Debian 6.0.6 and tried to install firestarter. It did not work

apt-get install firestarter

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package firestarter

I added to /etc/apt/source.lst

deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

then I did:

apt-get update

then I did:

apt-get install firestarter

it still did not install firestarter but I got same error messages:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package firestarter

What can I do now?

lykwydchykyn 01-07-2013 10:19 AM

Post your complete sources.list file, if you don't mind.

snowday 01-07-2013 10:30 AM

Do not use Debian "lenny" repos, that is an older version of Debian and won't be compatible! For Debian 6 you must use repos designated "squeeze".

Firestarter is absolutely 100% in the main Debian Squeeze repos as you can confirm here:
http://packages.debian.org/squeeze/firestarter

Therefore I agree with lykwydchykyn that you probably have a misconfigured /etc/apt/sources.list file. Please post the contents of this file here and we will try to help you fix it.

StefanP 01-07-2013 10:33 AM

I suspect there is something here to it:

I have a file named source.lst where it has only:

deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

and a file named sources.list where it has:

#

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1 20120929-15:56]/ squeeze contrib main

deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1 20120929-15:56]/ squeeze contrib main

deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib

# squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ squeeze-updates main contrib
# deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib

snowday 01-07-2013 10:37 AM

I recommend you delete that /etc/apt/sources.lst file you created (it is garbage).

The problem with your /etc/apt/sources.list is that you have only the security updates repo enabled. You also need (at the minimum) the main repo. You may find this site helpful:

http://debgen.simplylinux.ch/

(edit) Oh, and you should comment out the CD-ROM line by typing a # symbol at the start (so you can install apps from the internet instead of the Debian install CD/DVD).

StefanP 01-07-2013 10:49 AM

I did what you said, deleted the garbage and enabled the main repo
Still nothing seems to work:

root@Pascaru:/home/parents/Documents# apt-get update
Hit http://ftp.debian.org squeeze-updates Release.gpg
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://ftp.debian.org/debian/ squeeze-updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_CA
Ign http://ftp.debian.org/debian/ squeeze-updates/contrib Translation-en_CA
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_CA
Hit http://security.debian.org squeeze/updates Release
Ign http://ftp.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.debian.org/debian/ squeeze-updates/main Translation-en_CA
Hit http://ftp.debian.org squeeze-updates Release
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/contrib Sources
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://security.debian.org squeeze/updates/contrib i386 Packages
Hit http://ftp.debian.org squeeze-updates/main Sources/DiffIndex
Hit http://ftp.debian.org squeeze-updates/contrib Sources
Hit http://ftp.debian.org squeeze-updates/main i386 Packages/DiffIndex
Hit http://ftp.debian.org squeeze-updates/contrib i386 Packages
Hit http://ftp.debian.org squeeze-updates/main i386 Packages
Hit http://dl.google.com stable Release.gpg
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en_CA
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main i386 Packages
Reading package lists... Done
root@Pascaru:/home/parents/Documents# apt-get install firestarter
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package firestarter
root@Pascaru:/home/parents/Documents#

snowday 01-07-2013 11:03 AM

It does not appear you have successfully enabled main as it doesn't show in your 'apt-get update' output. Can you post your new sources.list?

StefanP 01-07-2013 11:19 AM

I used the website you gave me and updated. It works now. Thanks a lot.


All times are GMT -5. The time now is 10:44 AM.