PDA

View Full Version : Problem updating FC2 via Red Hat updater program


james016
21st July 2004, 09:20 PM
Hello,

I've recently installed Fedora Core 2 and am having problems downloading the available updates. The notification icon appears by the clock and a right click it and run up2date. It goes through the process and eventaually gets to the screen which displays the websites I'm subscribed to or can subscribe to. I click next to download the updates. A progress window appears sayings is receiving info on headers or something like that. I'm not at the machine so I can't say at the mo. The problem is that it just sits there and does nothing. I left it running overnight and it made no progress at all.

Do I need to configure something or are the update servers being really slow at the moment? Do I need to open a port on my firewall?

Any help would be fanatastic.

Also is there a way of seeing what IP address my PC has? It gets a DHCP from my router.

P/S I'm a complete n00b at Linux so please make any advice as simple as possible. Thanks


james016

Hietu
21st July 2004, 09:27 PM
Hi!

I think the best solution is to use YUM (http://www.fedorafaq.org/#installsoftware)... up2date is phasing out and it is laggy, crappy and so on :)
I think YUM does not require any ports opened in the firewall, at least I didnt have to :)

In the fedorafaq (http://www.fedorafaq.org/) you will find a lot of help to basic things...

You can see your IP by opening Terminal and type ifconfig

imdeemvp
21st July 2004, 09:33 PM

i dont use the option...i use yum and this is how:

1. open terminal or shell
2. type: su than password (su will make you root su=super user)
3. type: yum update and let it do its thing.....and answer "y" (=yes)
:D

james016
21st July 2004, 09:35 PM
Thanks for the replies. I'll try it when I get home.

superbnerd
21st July 2004, 09:36 PM
alternatively, type yum -y update that will make it install the updates without stopping and asking.

jacob0709
21st July 2004, 10:54 PM
i got a problem while i was updating with yum:

.....Unable to satisfy dependencies
Package gkrellm-wireless needs gkrellm = 2.1.28-3, this is not available.

but when using up2date it was okay.

strange.......

superbnerd
21st July 2004, 11:05 PM
strange indeed. I had the same problem, but I was not aware up2dat solved the dep prob. So I just uninstalled gkrellm-wireless. strange indeed.

jacob0709
22nd July 2004, 12:57 AM
hmm???

this is getting weirder by the minute.

up2date did solve the dependency at least for my computer.:comfused:

ilja
22nd July 2004, 12:59 AM
do you have the same repositories in up2date and yum?

jacob0709
22nd July 2004, 01:05 AM
uhmmmmm

guess not.:p:p

james016
22nd July 2004, 08:53 PM
The yum thing worked a treat. I saw a guide on how to configure up2date for mirror sites but the guide vanished last night as I was reading it. I think I got the jist of it.

"You can see your IP by opening Terminal and type ifconfig"

This didn't work. Unknown command and it's not in the list when you press TAB twice. I can look it up in the router but doing it from the OS is more convinent

ilja
22nd July 2004, 08:54 PM
su -

you need to be root with path set

james016
22nd July 2004, 09:00 PM
su -

you need to be root with path set

What does path set mean? :confused:

ilja
22nd July 2004, 09:20 PM
if you add the - after su the path will be set automatically. Read the bash howto for more information.

stray
22nd July 2004, 09:26 PM
Different users can have different directory paths enabled which are used to search for executables. so, if you type "ls", your shell will check the directories in your executable path for a file called ls and try to execute it. The list of directories in a user's path can be checked by doing echo $PATH.

Now, ifconfig usually resided in the /sbin/ directory.

If you become root, /sbin/ will be in your path; as a regular user, it probably is not.

However, to check your IP address, you don't need to run ifconfig as root (you only need to be root to change settings, not to display them). You can just call it from the command line using it's full path, namely /sbin/ifconfig.

Don't become root if you don't need to.

stray

ilja
22nd July 2004, 09:29 PM
so the command would be :
/sbin/ifconfig

thank you stray.

james016
23rd July 2004, 12:52 AM
I get it now, I think. :)

dragon
1st September 2004, 01:59 PM
There is a post about using mirrors in up2date here:
http://www.fedoraforum.org/forum/showthread.php?t=20426

Not using mirrors is probably the main problem causing the slowness.

Cheers,

Dragon