Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 3 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Giải pháp được chọn

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

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (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

Giải pháp được chọn

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

Được chỉnh sửa bởi owlseeker vào

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.