LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-27-2006, 06:53 PM   #1
fatsheep
Member
 
Registered: Sep 2006
Posts: 79

Rep: Reputation: 15
Problem Installing Firefox


I'm a 64-bit user and as many 64-bit users do I installed 32-bit firefox to get plugins like flash, java, and mplayer working. Unlike most 64-bit users I went the extra mile and replaced 64-bit firefox with 32-bit firefox. BAD MISTAKE - Now all my gecko based applications are brocken. Apparently yelp, epiphany, and all other gecko applications depend on the DEFAULT firefox to work.

I have removed firefox 32-bit and installed it in a seperate directory. Now I'm trying to the 64-bit (default) firefox. I'm running into problems. When I try to install the "firefox" package in synaptic I get this error message:

Quote:
The following problems were found on your system:

E: /var/cache/apt/archives/firefox_1.5.dfsg+1.5.0.7-ubuntu0.6.06_amd64.deb: trying to overwrite `/usr/lib/mozilla-firefox', which is also in package j2re1.4
The funny thing is that the j2re1.4 package isn't installed and /usr/lib/mozilla-firefox does not exist:

Quote:
fatsheep@fatsheep:~$ sudo rm /usr/lib/mozilla-firefox
Password:
rm: cannot remove `/usr/lib/mozilla-firefox': No such file or directory
 
Old 09-28-2006, 01:15 AM   #2
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
Sometimes 2 or more packages contain the same file or directory, as it's difficult for all the maintainers to know what package should have what file/directory in it, so that's what the error is all about.

apt (synaptic, adept or any other package manager) won't fix this as it's dpkg that's giving the error, but it's nothing the CLI can't fix.
Code:
sudo dpkg --force-overwrite-dir --install /var/cache/apt/archives/firefox_1.5.dfsg+1.5.0.7-ubuntu0.6.06_amd64.deb
If any other error comes up then try with "--force-overwrite" as well as "--force-overwrite-dir"

Have a look in the man page for dpkg in the "--force-things" part.
 
Old 09-28-2006, 03:53 PM   #3
fatsheep
Member
 
Registered: Sep 2006
Posts: 79

Original Poster
Rep: Reputation: 15
Turns out all I had to do was install j2re1.4 and then install firefox. I feel rather stupid right now. Anyways thanks for your help.
 
  


Reply



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
Problem installing firefox ssu4716 Linux - Software 1 02-21-2006 01:39 AM
problem installing new firefox jaspreet85 Linux - Software 3 02-05-2006 02:44 PM
Problem when installing Firefox 1.5 seow_ming Linux - Software 6 01-18-2006 10:57 AM
problem installing FireFox djc Linux - Newbie 7 03-18-2005 05:33 AM
problem installing firefox bobotoes Linux - Newbie 2 11-22-2004 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:34 PM.

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
Open Source Consulting | Domain Registration