LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-13-2004, 07:00 AM   #1
wjn
Member
 
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54

Rep: Reputation: 15
Yarrow Up2date confusion


Hi, everybody.

I see a pile of threads here about up2date problems with Yarrow. Here's another one.

I have looked through most of them and I still can't detect a clear answer to how this is supposed to work.

What's happening is that the process hangs either during the download or the install. If it hangs during the install I eventually get a message relating to a GPG key that is missing and the file has been tampered with or corrupt. I looked through some threads here for some insight on keys and still haven't been able to find the answer. By the way, when I tried to list the keys installed on this box the output was nothing.


Following is a listing of my /etc/sysconfig/rhn/sources file.

### this describes the various package repos up2date will look into
### for packages. It currently supports apt-rpm repos, yum repos,
### and "dir" repos


### format is one repo entry per line, # starts comments, the
### first word on each line is the type of repo.

### the defalt rhn (using "default" as the url means
### use the one in the up2date config file
#up2date default

### When a channel-label is required for the non up2date repo's,
### the label is soley used as an internal identifier and is not
### based on the url or any other info from the repo.

### an apt style repo, this time arjanv's 2.6 kernel repo
### format is:
### type channel-label service:server path repo name

#apt arjan-2.6-kernel-i386 http://people.redhat.com ~arjanv/2.5/ kernel

### Note that for apt repos, there can be multiple repo names specificed
### space seperated.

### an yum style repo
### format:
### type channel-label url
###yum fedora-core-1 http://download.fedora.redhat.com/pu...core/1/i386/os
###yum updates-released http://download.fedora.redhat.com/pu...updates/1/i386
yum fedora-core-1 http://download.fedora.redhat.com/pu...updates/1/i386

#yum updates-released http://mirrors.kernel.org/fedora.us/.../fedora/1/i386
#yum updates-testing http://fedora.redhat.com/updates/testing/fedora-core-1

### an local directory full of packages
### format
#dir my-favorite-rpms-i386-9 /var/spool/RPMS/


# multiple versions of all repos except "up2date" can be used. Depenencies
# can be resolved "cross-repo" if need be.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is the content of my yum.conf file:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
#pkgpolicy=newest
gpgcheck=0
distroverpkg=redhat-release
tolerant=1
exactarch=1

[base]
# name=Red Hat Linux $releasever - $basearch - Base
# baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/


[updates]
# name=Red Hat Linux $releasever - Updates
# baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$releasever/

[fedora-us-1]
name=Fedora Core 1 -- Fedora US mirror
baseurl=http://SERVERNAME/fedora/fedora/1/i386/yum/os
[fedora-us-1-updates]
name=Fedora Core 1 updates -- Fedora US mirror
baseurl=http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/1/i386/RPMS.stable/
[fedora-us-1-stable]
name=Fedora Linux (stable) for Fedora Core 1 -- Fedora US mirror
baseurl=http://mirrors.kernel.org/fedora.us/fedora/fedora/1/i386/RPMS.stable/

I would really appreciate some direction on this if you have the time.

Either way, happy Friday.

Thanks in advance,

Bill
 
Old 08-13-2004, 07:19 AM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Your question seemed to begin with regards to up2date, but then you changed gears slightly by posting your yum.conf. They are different animals.

I don't know what happened, but using up2date nowadays seem to be the wrong way to go. I'd use yum for all your updates. It's basically the same funtionality as up2date was, and it seems to run a little cleaner. My only complaint is downloading all those headers, but once you have them, it should be smooth sailing.

Your mirrors for yum look very good. You're not using the defaults, which seems to always be a bad idea, as they get very congested.

The GPG key you're talking about is easiest to install via RPM. Just find the key (usually available on their download site) and save it as a text file. Then do rpm -ivh keyname where "keyname" is the filename you saved. This will allow yum or up2date to use that key when verifying packages.
 
Old 08-13-2004, 07:38 AM   #3
wjn
Member
 
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks for your reply, but I need just a tad more info (or correction, as the case may be.)

I think what's confusing me is the role of these two files. The sources file has everything commented out of it except the reference to a "yum fedora-core-1". Is the source file used by up2date or yum or both?

If yum is a separate thing altogether, how do I run it and does it have anything to do with the annoying red exclamation mark in the lower right corner of my machine?

Thanks again...

Bill

PS I think I can figure out the keys thing now. Thanks.
 
Old 08-13-2004, 09:32 AM   #4
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Both of these utilities are used to update your machine with the latest packages. The icon on your desktop is alerting you that your system isn't updated with the latest packages. If you update everything with yum, this works just as well as updating with up2date. Once you get all your packages updated, the icon on your desktop will go away.

To update your machine with yum, just go to a command prompt and type in... "yum update" and it will probably run for a while downloading headers. Once it's done, it will show you a list of packages it will update and ask you if it's OK to proceed. Just press 'Y" and hit enter and it will begin downloading and updating packages. Once it's done, the icon on your desktop should go away, or atually I believe it changes to a check mark.

At the prompt, type "man yum" for more information about how yum works and some of the options you can give it.
 
Old 08-13-2004, 11:41 AM   #5
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
dude,

what i would do (and have done) is go ahead and remove the up2date icon from your taskbar. Then visit www.fedorafaq.org and use their repos. It a great resource. You can even add GYUM for a gui. Visit fedora news for articles on GYUM.
 
Old 08-13-2004, 02:03 PM   #6
wjn
Member
 
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54

Original Poster
Rep: Reputation: 15
Thumbs up

Donboy & justin_p...

Thanks for the terrific feedback. The unofficial Fedora support page is a hoot.

For those of us on Core 1, the link you'll want is

http://www.fedorafaq.org/fc1/


After running yum update, it downloaded half a million headers and then stopped on this....

mutt-5-1.4.1-5.i386.hdr 0% | | 0 B --:-- ETA

Any ideas what might have cause that?

Also, should I kill the session with a ^C or let it cogitate until it errors out, or do you have any other suggestions?

Thanks,

Bill
 
Old 08-13-2004, 02:48 PM   #7
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
You can kill the session if desired. When you run it again, it will pick up where it left off and keep downloading the remaining headers. I imagine they just rebooted their system or something and interrupted your connection. No biggie. It happens.
 
  


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
Yarrow isos fail media test dubya Fedora 3 04-25-2004 09:59 PM
Problems burning Yarrow-i386-disc2 grayrc Linux - Newbie 17 04-24-2004 01:59 PM
WooT Yarrow has just finished downloading! crm General 1 04-21-2004 06:50 AM
yarrow and xmms,s ronss Red Hat 1 11-07-2003 07:47 AM
yarrow download ronss Red Hat 2 11-07-2003 07:05 AM


All times are GMT -5. The time now is 06:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration