![]() |
Firefox 1.5 to 2.0 upgrade problems
I'm using Mandriva 2008.
Attempting an upgrade to Firefox 2.0. I install the RPM's, clicking on the dektop icons still give me 1.5. Now the tricky bit..... I installed 1.5 from source (yes I know...not a good idea). So i'm guessing my RPM database doens't really know i have 1.5 installed. How do i get rid of 1.5, and ensure the 2.0 stuff works ??? I have a horid feeling the whole thing is in a dreadful mess, with various executables scattered all over the place. I'm a moderate newbie BTW, but not scared of the command line if necssary !!!!!!!!!!!! Ken P.S. happy to post concise solution (if I find one ) to hrlp others. |
Quote:
http://www.asic-linux.com.mx/~izto/c...l/download.php Then install FireFox 2.0 from the 2.0 rpm package. -------------------- Steve Stites |
Quote:
An RPM will install and uninstall to and from /usr by default once you make it. I'd rerun make install on 1.5 and redirect the output into a file make install > firefoxinstall.log At the end of firefoxinstall.log you'll see all the file copies make did. It will copy a large block of freshly compiled stuff to a destination location usually with wildcards. You can do an ls -1 [wildcard] with the same wildcard used in the make file in the source directory to get your file list and feed that to rm: cd [to location in make output where files got copied] ls -1 [srcdirectory]/[wildcard used in make] | xargs rm -f and walk through this list. Start at the end of the list and work your way backwards through the log. What this does is feed the list of files in srcdirectory to rm -f in the current directory, producing a list of filenames in the source directory you need to delete in the current one. This will surgically remove everything the make script put there from that source directory, using the same directory of files and wildcard make did when it put them there. Afterwards run ldconfig again. This sounds like a lot of work but it's not. There's usually only around 6-7 file copy commands you need to worry about. /on soapbox Compiling your network apps and servers from source is not a mistake and don't let anyone tell you it is 8)Sometimes it's the only way possible to get the feature set you want. When 0day comes for one of your services, and you can't use them until someone gets a package released, you will understand. /off soapbox -Viz |
Quote:
----------------- Steve Stties |
Thanks for the help.
Ok, Thank you for your help.
Can't Firefox 1.5 and 2.0 co-exist ?? I haven't (yet) tried your suggestion rg.viza...mainly 'cos it looks a littel daunting, and i haven't been able to get checkinstall to create an RPM. Whats been really cinfusing me is that the Mandriva RPM front end hasn't been telling me that the install of Firefox 2.0 hasn't been working. So I have downloaded the RPM and installed from the command line and get the following :- "root@localhost ken]# urpmi mozilla-firefox-2.0.0.11-1.1mdv2008.0.i586.rpm unable to retrieve pathname for removable medium "Mandriva Linux - 2008.0 (Free) - Installer" unable to retrieve pathname for removable medium "Mandriva Linux - 2008.0 (Free) - Installer (contrib)" installing mozilla-firefox-2.0.0.11-1.1mdv2008.0.i586.rpm Preparing... ############################################# 1/1: mozilla-firefox ############################################# error: unpacking of archive failed on file /usr/bin/firefox: cpio: rename failed - Is a directory" I know the "unable to retrieve" lines are not the problem as I always get them. I am considering just deleting the /usr/bin/firefox directory completely..but am concerned about becoming browserless. Well not quite, but i don't really like Konqueror ! |
Fixed
I renamed the /usr/lib/firefox directory and the RPM installed just fine !!!!
|
| All times are GMT -5. The time now is 01:41 AM. |