LinuxQuestions.org
Register a domain and help support LQ
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-2007, 08:43 AM   #16
ediblespread
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0

Once again, G_F to the rescue! (Honestly, you guysm ust be sick to death of me by now.)

Quote:
id you place a link to the program on your desktop or did you copy the binary there?
Copied the binary, which explains why it wont run. So, how does one place a link to it then?

Quote:
For the restarting I'd assume that this be gone if you place/edit the firefox symlink in /usr/bin to point to your firefox 2 binary (and maybe uninstall ff 1.5, this might be an issue because if firefox 1.5 is in the PATH and if you try to restart ff 2 it runs ff 1.5 noticing this is a different binary and thus stopping.
Not quite sure what you mean. I had a look under my "Bin" (as in the Stepen\Bin), but there seems to be nothing there. Theres stuff in the... err, main bin (not sure what to call it), but thats lots of stuff, and I see nothing abotu firefox symlink. As for uninstalling the original Firefox, ive got to find it first - where does openSUSE actually keep its original programs???

EDIT: I found a bin under usr - is this it? It has a firefox link thing, but wont let me edit it; probably need to be root to do so. However, since thios is a learning thing, can the terminal be used to make me root and do this, without having to log in as it?

Last edited by ediblespread; 03-25-2007 at 09:07 AM.
 
Old 03-25-2007, 09:43 AM   #17
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 35
Quote:
I found a bin under usr - is this it? It has a firefox link thing, but wont let me edit it; probably need to be root to do so. However, since thios is a learning thing, can the terminal be used to make me root and do this, without having to log in as it?
Yeah that's it. To become root just type
Code:
su
and enter your root password.

Btw the bin directories (/bin, /usr/bin, maybe also /usr/local/bin and /sbin, /usr/sbin and maybe /usr/local/sbin are the directories for the binaries, thus the name bin.

What desktop are you running? KDE?

To uninstall software use YaST.
 
Old 03-25-2007, 10:15 AM   #18
ediblespread
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Im using Gnome. Sorry, thought Id already mentioned that . And I have no idea about commands to change the properties of the symlink, so help on that would be great.


*slaps hinmself for not thinking about using Yast to uninstall software*

But I have one problem with using Yast - can you search in just the areas where the file should be - i.e. I dont want to go delete Firefox 2.0.0.3 as well by mistake
 
Old 03-25-2007, 11:19 AM   #19
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
ediblespread,

if Yast asks for the CD/DVD when you're trying to install software, it's because you didn't disable CD/DVD as a software source (I did mention this). If you take a look at the list of software sources in Yast, you'll see that CD/DVD status is "on" while it should be "off"; turn if off and Yast has no choice but to get everything from the net.

You should be able to remove your older firefox by unchecking the item in Yast. This will not remove the newer one since you installed it manually; Yast can only remove stuff it installed itself. Just have a closer a look at the firefox item in Yast, that should show its version number as well; and at the bottom of the page, there is a version tab which shows all available versions. If there is a 2.0, you can install it by selecting that version, then checking the firefox box again.

One more remark: use yast whenever possible; installing things manually is a very very bad option and shouldnt' even be considered unless you're absolutely certain that a package is not available from any of the repositories. This firefox should be OK but any other package may create a complete mess that you'll never be able to sort out again...
 
Old 03-25-2007, 11:34 AM   #20
ediblespread
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Jay, thanks. Im trying that now. One thing then: you did mention disabling it, but I cannot find out how to - only where I see anything mentioning CD/DVD is when you are actually trying to add a repositary...

Only thing left then:

How do I re-write the symlink to target somewhere else? Failing that, I assume I can just move my firefox folder into the usr/lib folder now?
 
Old 03-25-2007, 11:45 AM   #21
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 35
Quote:
How do I re-write the symlink to target somewhere else? Failing that, I assume I can just move my firefox folder into the usr/lib folder now?
Don't do that. Either install ff 2 with YaST or keep the one you already installed. The symlinking works like this:

-Go to /usr/bin
-Delete old symlink
-Create new by issueing
Code:
ln -s /path/to/firefox/binary firefox
All of this has to be done as root.

I usually have my firefox in /opt/firefox.

Last edited by General Failure; 03-25-2007 at 11:47 AM.
 
Old 03-25-2007, 12:06 PM   #22
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Yes, the cd/dvd should be disabled where you add your software repositories. I've forgotten all about Suse 10.1 by now but Suse 10.2 has a button at the bottom right corner of the add software window which allows checking/unchecking software sources.

I've also found an explanation why you may not be able to find an update to firefox in yast: Suse apparently does not offer any "major updates": you may be able to update from 1.5 to, say, 1.5.1 or 1.6 while using Suse 10.1 - but if you want to upgrade to firefox 2, you'd have to get Suse 10.2 instead.

As or editing symlinks, you should be very very careful. Symlinks string together bits of software so if you break one, you may find that several things suddenly stop functioning. Figuring out just why can be a major source of headaches. If you do want to make the symlink you need to do this (as root):

ln -s /path/to/your/firefox directory/firefox /usr/bin/firefox

You can also avoid all the symlinking by doing this:

launch alacarte (just type it into a terminal; you may need to install it first)
select the Internet section and Add New Item
in the box that pops up your specify name (firefox 2) and command (/path/to/firefox/firefox - e.g. if firefox is in /usr/local, you need /usr/local/firefox/firefox). You may also want to give it a menu icon by pressing the "no icon" button and browsing for the firefox icon; I imagine it has to be under /usr/share/pixmaps.
close alacarte

Firefox should now appear on your menu; if you want a shortcut, you can place it on the taskbar by right-clicking the desktop, selecting "add to panel" and "choose application from menu". This will add a neat small icon to the taskbar instead of the desktop - but well that's just what I like, I'm none too fond of having my desktop cluttered with all sorts of icons. Your preferences may vary of course.
 
Old 03-25-2007, 01:08 PM   #23
ediblespread
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Success!

I got so fed up of mucking around with stuff, I decided to re-try the update through YaST way, by using a repository that I found floating about somewhere on the web. I stuck that in, turned off the only repository i could find that had CD in it (I assume this was the whole CD issue), and hit accept. And it froze... well, half froze - it refused to acknowledge that it was finished. So, it was terminal --> xkill... Yet, when I loaded it back up for another go, there was the repository sitting there, looking very smug!

So, I went to software manager and tried updating it. Twenty minutes later it claimed to have finished, but refused to do anything - everything but abort was greyed out, and even that didnt actually do anything when you clicked on it. So, I tried to get a terminal up, but couldnt, so I just shut it down, deciding I was defeated.

Anyway, when I booted it back up, I ran firefox (the old version, I had deleted all content of 2.0.0.3, and what did it say? "Beagel 0.5 isn't compatible with your new version of Firefox". Heart in mouth, I choose to ignore this and loaded it up. And amazingly, it has updated itself to 2.0.0.3!

So, thanks guys, you've been great.

Moral of the story? YaST is a bug-filled piece of s***, that I do not look forward to working with. It is too soon to see if it will ruin my Linux experience however.

Anyway, thanks to everyone.
 
Old 03-25-2007, 01:47 PM   #24
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Glad to hear you got it working at last.

One remark, though. I do think Yast is quite reliable but I also see a lot of newcomers complaining about it. The main reason, from what I can see, is that those people haven't figured out the logic of it all.

Linux relies on a complex set of connections between various packages, with one requiring another to function properly, and that other one probably requiring other packages yet itself. Now if you're not careful, you can introduce package versions that none of the other software packages know how to handle; consequence: dependency errors and/or broken software. I imagine this is why beagle started complaining about being unable to support firefox 2: that specific version of beagle was written for firefox 1.5 (which may go for other packages as well), not firefox 2. So you should now have to update beagle too; and if other packages rely on beagle, those need to be updated as well and on and on and on.

That's why you should always stick to the updates that are available from the repositories for your release (10.1); install from 10.0 or 10.2 repositories and you're well on your way to dependency hell. So: either stick with what you can get for your specific release or do a full system upgrade to a later release.

I'm just spelling out what you may have already unleashed by installing firefox from just any repository. I hope I'm wrong.

Last edited by jay73; 03-25-2007 at 01:53 PM.
 
Old 03-25-2007, 02:52 PM   #25
ediblespread
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Im not planning to update Beagle. From what I can see, it does absolutely nothing useful. So, unless anything else starts complaining about it, im cool.

My biggest problem with YaST is the time its taking to do anything, and the way it seems to be crashing...
 
Old 03-25-2007, 03:14 PM   #26
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
If you don't like yast, you can always install smart (+smartgui if you want a graphical frontend). It does largely the same, in fact, it's far more convenient. Not sure whether that was already available for 10.1,though.
 
Old 03-25-2007, 06:08 PM   #27
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 35
Good to hear you got it working now.

jay73: I remember yast in console mode (ncurses or something, suse 6, dunno if they still have it?) and even back then it was just as ediblespread describes. And additionally: dependency hell... That's one point why I like slackware so much
 
  


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
A few newbie questions about general packages trxdraxon Linux - Newbie 2 01-12-2006 11:27 PM
General Questions From A Desperate Newbie! Periculum Debian 5 09-19-2005 01:41 PM
Newbie OpenSuSE questions juyce SUSE / openSUSE 1 09-18-2005 03:22 PM
General Questions From A Newbie....gawd, I Need Help!!! mannymann Linux - Newbie 35 05-11-2004 01:14 PM
General RedHat 8.0 newbie questions jMack Linux - Newbie 7 12-17-2002 08:27 PM


All times are GMT -5. The time now is 04:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration