PDA

View Full Version : Fedora Core 1 - setting local mirror address for UP2DATE



chiefnz
24-08-2004, 03:38 AM
Hi guys,

How or where do I specify the adress Up2Date uses for installing new packages in Fedora Core 1.

I want to use ftp://jetstreamgames.co.nz/pub/dist/fedora/1/i386/os/Fedora/RPMS as the location for Fedora to get new updates from so that I don't use up my jetstream MB'z.

cheers

chiefnz

chiefnz
24-08-2004, 03:42 AM
Ooops sorry I have another question...

In the GRUB boot menu I have these entries....

1) Fedora Core 1 "kernel no. xxxxxx.... nptl"
2) Fedora Core 1 "kernel no. xxxxxx.... nptlsmp"
3) MS Windows XP Home Edition

How do I get rid of the extra entry and which 1 should I get rid of.
Why is it there.. I've never had it before but the last 2 installs I've done they come up and I don't know why.

cheers

chiefnz

chiefnz
24-08-2004, 01:02 PM
Anyone please?

Where all the Linux guru's at?

Don't leave me stranded ;)

cheers

chiefnz

Graham L
24-08-2004, 01:24 PM
I haven't used Fedora --- but there will be a ".conf" file which is what you want to change. Try man up2date (there will be a list of files used at the end), or just ls /etc/up2date* . That might get you going.

In the grub menu, the kernel ending in "smp" is a "symmetric multi processor" version. If you've only got one CPU, you don't need it. (Unless the multi-threaded Pentiums use it?).

chiefnz
24-08-2004, 01:58 PM
Ok thanks Graham, yeah my CPU is Prescott so maybe the Hyper Threading is what's giving me that "symmetric multi processor" you speak of. So I take it there's nothing to worry about.

Also another thing I've noticed is that when Fedora is booting and it goes through starting services or processes one of them "smartd" comes up as failed should I be worried about this... anyone have any ideas.

cheers

chiefnz

Graham L
24-08-2004, 02:11 PM
smartd is the automatic monitoring of hard disks for problems. For it to work, it probably has to have other things running. If they aren't there, it won't run. Have a look at the logs ... dmesg | less, and grep smartd /var/log/messages might show you what is wrong.

It's probably worth making it work. Disks are so big that you can lose a lot if they fail without warning.

chameleon_coder
24-08-2004, 05:11 PM
Hi chiefnz,

I use yum (yellow-dog update manager) for updating in Fedora Core 2 and not up2date, but there are methods to do this and I suggest looking at http://www.fedorafaq.org , which suggests you should use yum but also provides a link to help you use up2date instead if you want to.

If you need help on setting up yum for jetstreamgames, then check out the linux forum on jetstreamgames as that is where they show you how to set it up.

chameleon_coder
24-08-2004, 05:21 PM
smartd never worked for me on a clean install of Fedora from bootup, so I decided to remove all services that I would never need and smartd was one of them.

If you believe there is any reason why you would need SMART then you might look at getting it working, although I turned off SMART in the BIOS as well, as it does degrade hard drive performance.

You say you have 2 kernels, what kernel do you actually run? I have a multiprocessor board so I run 2.6.7-1.494.2.2smp, I also have the latest kernel but it segfaults my nvidia drivers when trying OpenGL games. I think smartd doesn't work with smp kernels.

Jen C
24-08-2004, 07:39 PM
Hi chiefnz,

The up2date configuration file lives in /etc/sysconfig/rhn/sources.

I agree, using yum is easier than using up2date. Yum is a CLI application but they have recently added a GUI frontend for it which is well worth installing. The yum config file can be found here /etc/yum.conf

How to use yum - Introduction (http://fedoranews.org/tchung/howto/2003-11-09-yum-intro.shtml)

GYUM: Graphical User Interface for YUM (http://fedoranews.org/tchung/gyum/)

How do I install software for Fedora? (How to use yum or an RPM) (http://www.fedorafaq.org/fc1/#InstallSoftware).

You should change the default yum.conf to this one (http://www.fedorafaq.org/fc1/samples/yum.conf) so that you have the international mirrors available for US Patent-senstive software eg mp3 support.

If you wish to use the JSG server with yum, have a read of this (http://www.jetstreamgames.co.nz/forums/showthread.php?t=44693). You might need to have two sets of yum.conf - one with the JSG mirror details and the other using the sample yum.conf from the link I posted above. You will need to rename whichever version you wish to use back to yum.conf before running yum as you cannot have two config's with the same name. You will need two because you will not be able to connect to the servers outside the JSG realm once you are logged on so there is no point having those servers included in the conf file.

On the JSG server, there is also dag (http://www.jetstreamgames.co.nz/files/dist/dag/fedora/) repository that you may wish to use as well.