Click to See Complete Forum and Search --> : RHN not working
orufet
04-15-2004, 11:02 AM
When I try to register my Fedora system with the Red Hat Network, the keys appear in the corner for root privileges, and after a while they disappear, so I figure it worked or something. But, whenever I try to use up2date, it tells me to register with RHN and the same thing happens. Why is it doing this?
ph34r
04-15-2004, 11:22 AM
Just use apt (my preferred one) or yum to keep up to date and add new packages.
Icarus
04-15-2004, 12:20 PM
You just need to register a pgp key with their servers to verify the packages.
I can't remember but I think it's "redhat-config-rhn --register"? I think there is a GUI link in the menu that works better then my memory right now :)
orufet
04-15-2004, 06:29 PM
$ yum check-update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Error - /var/cache/yum/base/header.info cannot be found
Please ask your sysadmin to update the headers on this system.
Since I am the administrator....what do I do? It's not exactly a clear error.
Icarus
04-15-2004, 07:40 PM
Originally posted by orufet
Error - /var/cache/yum/base/header.info cannot be found
Please ask your sysadmin to update the headers on this system. Would be clearer if it said
Can not find /var/cache/yum/base/header.info
Where is it?!?
You need to run
# yum update
first to generate the hearder files. This takes a while the first time so go make a sandwich or some coffee when you run it :)
orufet
04-15-2004, 08:28 PM
$ yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Error - /var/cache/yum/base/header.info cannot be found
Please ask your sysadmin to update the headers on this system.
I'm not sure I understand what you mean...
Icarus
04-15-2004, 09:12 PM
you need to e logged on as root
I see you have a $ on the prompt, it needs to be a # ;)
Try
su -
then try yum again
kedman
05-12-2004, 06:05 AM
HI I have this problem with the update.
As I'm using Fed core 1 I assume its using Yum.
It all starts ok but then I get the error
'package has wrong key and may have been tampered with'
How do I reset this? I have tried from the CL as well and ran yum update ( takes a while)
Any ideas?
Cheers
Kedman :)
Just got this error on CL:
************************************************
kernel-0-2.4.22-1.2188.np 100% |=========================| 12 kB 02:11
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.4.22-1.2188.nptl.athlon.hdr
************************************************** **
Cheers
K
Icarus
05-12-2004, 07:09 AM
kedman, try a yum clean and see if that helps
Sounds like you got a bum header and clean will remove them all so yum update will grab a fresh copy
kedman
05-12-2004, 07:49 AM
Now that sounds good!!
Got all this:
************************
error: rpmts_HdrFromFdno: MD5 digest: BAD Expected(856ec70006a3469d7ae0df8a2b8920c7) != (6011272d7d965c076cc712a6157b72ff)
xmms-1.2.10-1.p.i386.rpm 100% |=========================| 752 kB 02:52
error: rpmts_HdrFromFdno: MD5 digest: BAD Expected(856ec70006a3469d7ae0df8a2b8920c7) != (2d79ff8577bace90a9a8d465ec751d88)
**********************************************
Trying it now
Cheers
K
Icarus
05-12-2004, 09:00 AM
Let us know if that works, I'm guessing and hoping it does as I've never had a corrupt header ;)
kedman
06-01-2004, 04:47 AM
Originally posted by Icarus
Let us know if that works, I'm guessing and hoping it does as I've never had a corrupt header ;)
All worked fine after the above and a reboot
Cheers
kedman :)