LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-25-2006, 09:02 PM   #1
v3rtex7740
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Rep: Reputation: 0
firefox - pulling my hair out


Okay, I'm new, haven't even mastered all the commands yet, but still, is there something wrong with firefox on linux?

I'm using Debian (Etch) on Linux. I downloaded the tar file from mozilla.com for linux, extracted it, and now I don't know what to do.

-I tried running EVERY shell script and executable in the file.

-I tried overwriting the old firefox directory with the new files.

-I tried using apt-get for the latest, version, it says it *IS* the latest version, 1.0.7 ... GRRR

-I downloaded this 'linux installer' from the firefox site, I can't make heads or tails of it.

-I tried running ./firefox from the command line, says there is a missing library entry.

I swear, every other program installs with EASE on Debian. In fact, this is the ONLY program i have had trouble getting to work. Is there some sort of update I can do for my library files?

I'm pulling my hair out here.
 
Old 03-25-2006, 09:22 PM   #2
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
Hello v3rtex7740,

Can you please post the output of ./firefox command ? Exactly what message you get.

Meanwhile you do so, one request. STOP pulling out your hairs

Thanks
 
Old 03-25-2006, 09:34 PM   #3
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
did you try installing or reinstalling the missing library?
 
Old 03-25-2006, 09:54 PM   #4
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,541

Rep: Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878
That's wierd cause I have Etch and apt-get gives me version: Debian/1.5.dfsg+1.5.0.1-4 Firefox/1.5.0.1

When did you install Etch and did you run apt-get update? What do you have in sources.list and /etc/apt/apt.conf?
 
Old 03-25-2006, 11:39 PM   #5
v3rtex7740
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
okay, I am going to bed, I will reboot into linux tomorrow and provide the requested information.
 
Old 03-26-2006, 08:34 PM   #6
v3rtex7740
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Wow, I can't post URLS to other sites until i have 5 posts? Gawd, the URL I'm trying to post is what's in my sources.list file, ARG.

POST #3
 
Old 03-26-2006, 08:34 PM   #7
v3rtex7740
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Post# 4

...............................
 
Old 03-26-2006, 08:35 PM   #8
v3rtex7740
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
POST # 5

....... I have to wait 22 seconds... laff...
 
Old 03-26-2006, 08:36 PM   #9
v3rtex7740
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Alrighty then. I'll answer the questions best I can...

Quote:
Can you please post the output of ./firefox command ? Exactly what message you get.
I get this:

./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Quote:
Meanwhile you do so, one request. STOP pulling out your hairs
It's not any worse than when I'm dealing with Windows... In 4 days, Linux has shown me that my computer is in fact NOT a piece of dirt.
Quote:
did you try installing or reinstalling the missing library?
I do not know what library or where to get it...

Quote:
When did you install Etch and did you run apt-get update? What do you have in sources.list and /etc/apt/apt.conf?
-I installed Etch four days ago.

-I ran the update, and tried to upgrade and install. Here is what got shown in my terminal:


Code:
Raider:/# apt-get update
Get: 1 http://http.us.debian.org stable Release.gpg [189B]
Get: 2 http://security.debian.org stable/updates Release.gpg [189B]
Hit http://http.us.debian.org stable Release
Hit http://security.debian.org stable/updates Release
Get: 3 http://non-us.debian.org stable/non-US Release.gpg [197B]
Hit http://non-us.debian.org stable/non-US Release
Ign http://security.debian.org stable/updates/main Packages
Ign http://http.us.debian.org stable/main Packages
Ign http://security.debian.org stable/updates/contrib Packages
Ign http://security.debian.org stable/updates/non-free Packages
Ign http://http.us.debian.org stable/contrib Packages
Ign http://http.us.debian.org stable/non-free Packages
Ign http://non-us.debian.org stable/non-US/main Packages
Hit http://security.debian.org stable/updates/main Packages
Hit http://http.us.debian.org stable/main Packages
Hit http://security.debian.org stable/updates/contrib Packages
Ign http://non-us.debian.org stable/non-US/contrib Packages
Ign http://non-us.debian.org stable/non-US/non-free Packages
Hit http://http.us.debian.org stable/contrib Packages
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://http.us.debian.org stable/non-free Packages
Hit http://non-us.debian.org stable/non-US/main Packages
Hit http://non-us.debian.org stable/non-US/contrib Packages
Hit http://non-us.debian.org stable/non-US/non-free Packages
Fetched 3B in 0s (3B/s)
Reading package lists... Done
Raider:/# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Raider:/# apt-get install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Raider:/#
Yes I'm running as root. I'm trying to learn Linux. If I mess up I'll reinstall, no biggie. But I havn't really changed anything, and I've been careful when I run root. I don't need the lecture.

-here are the contents of my sources.list file:

Code:
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
-here are the contents of my apt.conf file:

Code:
APT::Authentication::TrustCDROM "true";
Acquire::::Proxy "false";
------

Please, if I'm going to have to use the command line to fix this, give me the exact line to write. I'm command line impaired. I'm 18 and for the last decade I've been coddled by the pretty Windows GUI. So you should be able to understand how alien Linux can seem to me.

-----

Unrelated: Is my GUI pronounced GNOME as in "garden gnome" or is it pronounced "gee-nome"?

Last edited by v3rtex7740; 03-26-2006 at 08:40 PM.
 
Old 03-26-2006, 09:41 PM   #10
apt-get-dude
Member
 
Registered: Mar 2006
Posts: 98

Rep: Reputation: 15
install opera or use konqueror
 
Old 03-26-2006, 09:53 PM   #11
v3rtex7740
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
No. In Windows, i learned to love Firefox, the best browser I have ever tried. Better than Opera. And it's free. No ads. No money. And it's open source. Firefox is THE browser for me to have. I want it. I need it.
 
Old 03-26-2006, 11:02 PM   #12
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
You do not have etch, your apt-get update command shows you are using stable, which is sarge. To get etch or sid, become root in a terminal with the su command, then edit the /etc/apt/sources.lst file. Everywhere that you see stable, make it testing (etch) or unstable (sid). Testing is the middle ground, and sid is bleeding edge new. Once that change is made, run:

Code:
apt-get update
apt-get dist-upgrade
At that point, you should have a functional firefox. I use sid, and it currently installs 1.5.0.1-4. Not sure about etch/testing. Probably the same, or just slightly older.

peace,
JimBass
 
Old 03-27-2006, 12:04 AM   #13
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,541

Rep: Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878
It's likely that when you upgrade, this will be resolved anyway, but for future reference: to install a missing library first you have to figure out the debian package name. The error message said you're missing libstdc++.so.5 so you should search for something wih libstdc++ in the name. To do that use the command:
Code:
apt-cache search libstdc++
This will give you a whole list of libraries, cause there are development versions, debugging versions, and multiple versions of each of these. In this case you probably want libstdc++5,
Code:
apt-get install libstdc++5
Possibly libstdc++6 would work also, I don't know if they are backwards compatible. You could try and see.
 
Old 03-27-2006, 08:52 PM   #14
v3rtex7740
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Okay, I changed my sources.list as specified. I ran the apt-get update and dist-upgrade commands. It did a LOT of stuff for like 10 minutes. I rebooted. Firefox is still ver. 1.0.7

Now when I try to run the commands again I get this:

apt-get upgrade:
Code:
Raider:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_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
Raider:~# apt-get update
Get: 1 http://security.debian.org testing/updates Release.gpg [189B]
Get: 2 http://security.debian.org testing/updates Release [18.5kB]
Get: 3 http://http.us.debian.org testing Release.gpg [189B]
Hit http://http.us.debian.org testing Release
Ign http://non-us.debian.org testing/non-US Release.gpg
Hit http://http.us.debian.org testing/main Packages
Hit http://http.us.debian.org testing/contrib Packages
Hit http://http.us.debian.org testing/non-free Packages
Ign http://non-us.debian.org testing/non-US Release
Ign http://security.debian.org testing/updates/main Packages
Ign http://security.debian.org testing/updates/contrib Packages
Ign http://security.debian.org testing/updates/non-free Packages
Ign http://non-us.debian.org testing/non-US/main Packages
Hit http://security.debian.org testing/updates/main Packages
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/non-free Packages
Ign http://non-us.debian.org testing/non-US/contrib Packages
Ign http://non-us.debian.org testing/non-US/non-free Packages
Errhttp://non-us.debian.org testing/non-US/main Packages
  404 Not Found
Errhttp://non-us.debian.org testing/non-US/contrib Packages
  404 Not Found
Errhttp://non-us.debian.org testing/non-US/non-free Packages
  404 Not Found
Fetched 18.6kB in 0s (19.5kB/s)
Failed to fetch http://non-us.debian.org/debian-non-US/dists/testing/non-US/main/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://non-us.debian.org/debian-non-US/dists/testing/non-US/contrib/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://non-us.debian.org/debian-non-US/dists/testing/non-US/non-free/binary-i386/Packages.gz  404 Not Found
Reading package lists... Done
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_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.
When I run apt-get update I get this:
Code:
Raider:~# apt-get update
Get: 1 http://security.debian.org testing/updates Release.gpg [189B]
Hit http://security.debian.org testing/updates Release
Ign http://non-us.debian.org testing/non-US Release.gpg
Ign http://security.debian.org testing/updates/main Packages
Ign http://non-us.debian.org testing/non-US Release
Ign http://security.debian.org testing/updates/contrib Packages
Ign http://security.debian.org testing/updates/non-free Packages
Hit http://security.debian.org testing/updates/main Packages
Ign http://non-us.debian.org testing/non-US/main Packages
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/non-free Packages
Ign http://non-us.debian.org testing/non-US/contrib Packages
Ign http://non-us.debian.org testing/non-US/non-free Packages
Errhttp://non-us.debian.org testing/non-US/main Packages
  404 Not Found
Errhttp://non-us.debian.org testing/non-US/contrib Packages
  404 Not Found
Errhttp://non-us.debian.org testing/non-US/non-free Packages
  404 Not Found
Get: 2 http://http.us.debian.org testing Release.gpg [189B]
Hit http://http.us.debian.org testing Release
Hit http://http.us.debian.org testing/main Packages
Hit http://http.us.debian.org testing/contrib Packages
Hit http://http.us.debian.org testing/non-free Packages
Fetched 2B in 3s (1B/s)
Failed to fetch http://non-us.debian.org/debian-non-US/dists/testing/non-US/main/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://non-us.debian.org/debian-non-US/dists/testing/non-US/contrib/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://non-us.debian.org/debian-non-US/dists/testing/non-US/non-free/binary-i386/Packages.gz  404 Not Found
Reading package lists... Done
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_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.
When I run apt-get dist-upgrade again i get this:
Code:
Raider:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade...Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_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
I'm at my wit's end here. I mean, from my own uneducated opinion it almost looks like I'm still using the wrong sources. I just can't belive that there isn't some place where apt-get sources are posted for everyone to see and use, like a most popular list or something, it would seem logical...

Also, when i run the command: apt-get install libstdc++5

i get this:
Code:
Raider:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade...Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_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
Raider:~#
Raider:~# apt-get install libstdc++5
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  gcc-3.3-base
The following NEW packages will be installed
  gcc-3.3-base libstdc++5
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 446kB of archives.
After unpacking 1008kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 http://http.us.debian.org testing/main gcc-3.3-base 1:3.3.6-10 [150kB]
Get: 2 http://http.us.debian.org testing/main libstdc++5 1:3.3.6-10 [296kB]
Fetched 446kB in 1s (264kB/s)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
Selecting previously deselected package gcc-3.3-base.
(Reading database ... 61948 files and directories currently installed.)
Unpacking gcc-3.3-base (from .../gcc-3.3-base_1%3a3.3.6-10_i386.deb) ...
Selecting previously deselected package libstdc++5.
Unpacking libstdc++5 (from .../libstdc++5_1%3a3.3.6-10_i386.deb) ...
Setting up gcc-3.3-base (3.3.6-10) ...
Setting up libstdc++5 (3.3.6-10) ...

W: Couldn't stat source package list http://non-us.debian.org testing/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org testing/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_testing_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
I honestly don't know what anything there means. Thanks for the help I've gotten so far. Any other hints/tips would be appreciated. Thanks.
 
Old 03-27-2006, 09:10 PM   #15
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
These 3 sources aren't working, so remove them from your sources.lst file:

http://non-us.debian.org testing/non-US/main
http://non-us.debian.org testing/non-US/contrib
http://non-us.debian.org testing/non-US/non-free

Then apt-get update, and apt-get dist-upgrade again. Just apt-get upgrade is expecting you to tell the machine what you want upgraded. Without the dist-upgrade it doesn't know to just update everything.

If you had used the search feature, you would have found this sticky on the debian forum, where people post the contents of their sources.lst file:
http://www.linuxquestions.org/questi...d.php?t=330913

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pulling my hair out with Ath0 FXRS Linux - Networking 3 09-23-2004 06:39 PM
I'm pulling my hair out here.. Emanon247 Linux - Newbie 3 07-20-2004 02:17 PM
aaaaaahhhhhhh im pulling my hair out!! BajaNick General 14 08-26-2003 04:06 PM
Pulling out hair again... Ludacris Linux - Networking 8 12-22-2002 02:21 AM
URghh!!! pulling out hair! Ůmegaflops Linux - Newbie 4 05-28-2002 05:26 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration