Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

why do I get this error message /opt/firefox/run-mozilla.sh: 399: /opt/firefox/firefox-bin: not found

  • 3 antwoorden
  • 1 heeft dit probleem
  • 1 weergave
  • Laatste antwoord van Vivek

more options

kubuntu 10.04 firefox 10.0.2

I downloaded and installed firefox 10.0.2 but when I... 1. click the desktop icon nothing happens. 2. use terminal mode and type firefox I get the following error message: /opt/firefox/run-mozilla.sh: 399: /opt/firefox/firefox-bin: not found

How do I fix this?

kubuntu 10.04 firefox 10.0.2 I downloaded and installed firefox 10.0.2 but when I... 1. click the desktop icon nothing happens. 2. use terminal mode and type firefox I get the following error message: /opt/firefox/run-mozilla.sh: 399: /opt/firefox/firefox-bin: not found How do I fix this?

Gekozen oplossing

In short, I used kpackagekit to uninstall firefox. Then used synaptic to uninstall firefox. After that I manually scanned the computer for residual DIRs. In the end, I noticed that I still had 3 DIRs containing firefox: /opt/firefox, /usr/lib/firefox-10.0.1, /usr/lib64/firefox-10.0.1

So removing firefox didn't work as expected.

As it turns out, the copy of firefox residing in /opt/firefox is v3.5.3, but I have a current version in /usr/lib and /usrlib64. For some reason the, new install didn't replace the copy in /opt/firefox and the /usr/bin scripts firefox and run-mozilla.sh point to /opt/firefox.

So when I use terminal mode and type firefox I get the cited error message. When I use my desktop icon it hangs.

My remedy for this was to due the following:

1. track down the location of the desktop icon: /usr/share/applications/firefox.desktop

2. edit the file: sudo pico /usr/share/applications/firefox.desktop

3. modify entry to: EXEC=/usr/lib/firefox-10.0.1 /firefox.sh u% ( save and exit)

4. modify terminal command: firefox

5. track down the location of the firefox command: /usr/bin/firefox and /usr/bin/ firefox.ubuntu

6. remove symbolic link: rm /usr/bin/firefox

7. remove symbolic link: rm /usr/bin/firefox

8. create new symbolic link: ln -sT /usr/lib/firefox-10.0.1/firefox.sh firefox

9. create new symbolic link: ln -sT /usr/lib/firefox-10.0.1/firefox.sh firefox.ubuntu

Everything works now as it should.

I believe the cause of this problem was related to the fact that the mozilla-team made a change to the location of their upgrade/update libraries which affected the entries in the file: /etc/apt/sources.list. When the ppa library location changed, my kubuntu version 10.04 didn't make this change and residual copies of firefox were left behind and DIRs /usr/bin and /opt/firefox were not modified.

Perhaps my experience will help others that tread this path.

Maybe somebody can explain to me why we need 3 DIRs for firefox: /opt/fire ; /usr/lib ; /usr/lib64

Dit antwoord in context lezen 👍 0

Alle antwoorden (3)

more options

Hi,

You can try to click the firefox script file in the downloaded package or make a new link to it. Please see this and this. You can also try to update/reinstall the customized Firefox in Kubuntu via the Update Manager/Software Center/Package Manager.

more options

Gekozen oplossing

In short, I used kpackagekit to uninstall firefox. Then used synaptic to uninstall firefox. After that I manually scanned the computer for residual DIRs. In the end, I noticed that I still had 3 DIRs containing firefox: /opt/firefox, /usr/lib/firefox-10.0.1, /usr/lib64/firefox-10.0.1

So removing firefox didn't work as expected.

As it turns out, the copy of firefox residing in /opt/firefox is v3.5.3, but I have a current version in /usr/lib and /usrlib64. For some reason the, new install didn't replace the copy in /opt/firefox and the /usr/bin scripts firefox and run-mozilla.sh point to /opt/firefox.

So when I use terminal mode and type firefox I get the cited error message. When I use my desktop icon it hangs.

My remedy for this was to due the following:

1. track down the location of the desktop icon: /usr/share/applications/firefox.desktop

2. edit the file: sudo pico /usr/share/applications/firefox.desktop

3. modify entry to: EXEC=/usr/lib/firefox-10.0.1 /firefox.sh u% ( save and exit)

4. modify terminal command: firefox

5. track down the location of the firefox command: /usr/bin/firefox and /usr/bin/ firefox.ubuntu

6. remove symbolic link: rm /usr/bin/firefox

7. remove symbolic link: rm /usr/bin/firefox

8. create new symbolic link: ln -sT /usr/lib/firefox-10.0.1/firefox.sh firefox

9. create new symbolic link: ln -sT /usr/lib/firefox-10.0.1/firefox.sh firefox.ubuntu

Everything works now as it should.

I believe the cause of this problem was related to the fact that the mozilla-team made a change to the location of their upgrade/update libraries which affected the entries in the file: /etc/apt/sources.list. When the ppa library location changed, my kubuntu version 10.04 didn't make this change and residual copies of firefox were left behind and DIRs /usr/bin and /opt/firefox were not modified.

Perhaps my experience will help others that tread this path.

Maybe somebody can explain to me why we need 3 DIRs for firefox: /opt/fire ; /usr/lib ; /usr/lib64

Bewerkt door owlseeker op

more options

Thanks for posting a detailed explanation. Your concerns seem valid. As you have noted ideally the .desktop file should have been updated by the package installed via the package manager. Please note that it would also be helpful to post in the Kubuntu support.