PDA

View Full Version : Yum problems



Gaspode
26th May 2006, 05:15 AM
Hi all,
In my investigations of Linux of various flavors I have installed Fedora C4
on various hard drives,and ,although I follow the same procedures each time I quite often end up with slight but significant differences in results in what is installed and how the system operates.

The latest change is that yum has problems of almost exactly the same type as are explained at this forum >http://www.redhat.com/archives/rhl-list/2005-March/msg06276.html

I am getting >

"Cannot find a valid baseurl for repo: updates-released"

when I run yum , which brings me to another can o' worms ,namely how do I install programs ?.I currently have a .gz file of Thunderbird ,I have installed Thunderbird via "yum install Thunderbird" off the net several times but it takes forever and since I have the file on CD I thought it would (obviously) be quicker just to install it off disc but apparently the Linux version don't come with an installer of its own.I am still finding my way through the minefield of dependencies,repositories,extras etc and am a bit lost here.

I moved the file <thunderbird-1.5.tar.gz> to a separate folder in /home
and extracted it .yes ? , but when I try to run "thunderbird" ,the executable file ,from that folder , the screen just flashes for a second and nothing meaningful happens.I'v obviously got a lot more to learn.

And on that subject , can anyone point me to a really good Linux textbook
which is (1) UP TO DATE and (2) Covers the basics for most distros ?

Any help ,etc etc
Gaspode :-)

bob
26th May 2006, 01:21 PM
Wow! Multiple problems for sure. Well, have you set up yum as described either here: http://stanton-finley.net/fedora_core_4_installation_notes.html or here: http://www.fedorafaq.org/fc4/ and for FC4, these sites are also good:
http://home.gagme.com/greg/linux/fc4-tips.php
http://www.mjmwired.net/resources/mjm-fedora-fc4.html
http://easylinux.info/wiki/Fedora

Yum is certainly the best way to install software. Here's a link to the official 'how-to': http://fedora.redhat.com/docs/yum/
If something isn't available with yum, look for a FC4 .rpm version of it and use this rpm 'how-to': http://www.rpm.org/max-rpm/s1-intro-to-rpm-lets-get-started.html

Then, as to Thunderbird. Yes, you can certainly download and extract it into a directory, as you did. What I'd do next though, is to open a terminal and 'cd' to that directory (in this case: ' cd /home/username/thunderbird' ) and then attempt to run it with commandline ' ./thunderbird' . Even if it fails, it will give you details of the failure so you can try to trace the problem further. Of course, with the failed 'updates', it may be that your system is missing a key update that will apply to Thunderbird - maybe a lib or a different version of some software. So, try to get your Updates working first.

Finally, on Linux textbooks, sorry on that one but I use online material for all mine - it's updated more and I can generally find anything I need. I'm sure others will have good recommendations for you though.

sheridon
26th May 2006, 01:26 PM
I'm still new to linux also, and am running FC5 on one computer and also running FC 4 on another..... After you extracted Thunderbird to a different folder.. did it make an RPM file?

If so you could open terminal, browse to the directory "cd /home/(username)/(directory Tbird is in)"

Then run "rpm -Uvh filename.rpm"

As I said Im still new to linux also, but this should install it. A good site for a reference is

http://www.fedorafaq.org/fc4/

Hope this helps

bob
26th May 2006, 01:29 PM
Sheridon, actually Thunderbird and Firefox are .tar.gz files and the 'rpm' won't work. They're both easily extracted into any directory and then run with a simple command from there.

sheridon
26th May 2006, 01:36 PM
OH, lol, well as I said I still new to this..... Ive been tinkering with linux for about a year and just installed it on 2 of my computers to really start gettin in deep with it....

Figure if its whats loaded Ill have to learn it heh. :p

Nevermind my advice from earlier then :D

bob
26th May 2006, 01:41 PM
No problem and thanks for the post and help attempt. I hope you'll contribute some more when you get a chance - we always need new advice. BTW, I find my 'tips' are off the mark at least 50% of the time but when I really mess up, I just delete the whole thread and ban the original poster to cover it all up :D ... perhaps I should run for public office...

sheridon
26th May 2006, 01:48 PM
Heh, well you have that luxury of doing a coverup heh......

Since we're on the topic of YUM anyhow.. I used the instructions for configuring yum from www.fedorafaq.org.... and it told me to

Run these commands to remove your yum.conf file and replace it with a fresh one (Updated 29 July 2005):
cd /etc
mv -f yum.conf yum.conf.bak
wget http://www.fedorafaq.org/fc4/samples/yum.conf

Now, install my yum configuration (Updated 3 February 2006), using this command:
rpm -Uvh http://www.fedorafaq.org/fc4/yum

...... now Im guessing it changed my default location to get my RPMS from right? If so why would they want to do that? Is it better than the default that comes with FC4 and FC5? I ran "yum update" after I did this configuration also.

bob
26th May 2006, 02:01 PM
Max has his actual config pretty well hidden, but it should really just be adding 'enabled' livna and probably a 'disabled' atrpms to your yum.repos.d so that you can access many of the third party apps. You can also go into Stan's site: http://stanton-finley.net/ and download the addition rpmforge group there. Just make sure you change the 'enabled=1' to 'enabled=0' for each of them, so you don't have conflicts with livna on some software versions. Most of us have both groups in repos.d, but only enable either the rpmforge group or livna for normal updates and use the "yum --enablerepo=(whichever) install (something)" when it's necessary.

Al3xanR0
26th May 2006, 03:40 PM
No problem and thanks for the post and help attempt. I hope you'll contribute some more when you get a chance - we always need new advice. BTW, I find my 'tips' are off the mark at least 50% of the time but when I really mess up, I just delete the whole thread and ban the original poster to cover it all up :D ... perhaps I should run for public office...

Ha! that's funny BoB :D