LinuxQuestions.org
Visit Jeremy's Blog.
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-14-2004, 03:11 PM   #1
mitchdulx
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: redhat 9/fedora
Posts: 13

Rep: Reputation: 0
yum questions for FC2


I've spent a lot of time reading/searching/experimenting and I need a few final questions answered.

I first started off using up2date.exe and RHN to try to do a post-update of my FC2 install. I changed my sources file to point to different mirrors and i still got a variety of errors when it came to selecting all the packages and doing an update. Then i read the recommendations to use yum. so, i started down that path and this is where i'm getting stuck.

Here's a copy of my yum.conf

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

[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever
baseurl=ftp://ftp.ens.utulsa.edu/pub/linux/fedora/core/2/i386/os

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://fedora.redhat.com/updates/released/fedora-core-$releasever
baseurl=ftp://ftp.ens.utulsa.edu/pub/linux/fedora/core/updates/2/i386

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://fedora.redhat.com/updates/testing/fedora-core-$releasever

question #1 - when i run yum update, what is it pulling down, both headers and packages?
quesiton #2 - where is it storing whatever its pulling down? in cachedir?

here's the latest error i'm getting

[root@localhost packages]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora Core 1 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.package redhat-config-mouse needs /usr/bin/python2.2 (not provided)
package redhat-config-network-tui needs /usr/bin/python2.2 (not provided)
package redhat-config-nfs needs /usr/bin/python2.2 (not provided)
package redhat-config-samba needs /usr/bin/python2.2 (not provided)
package redhat-config-securitylevel needs /usr/bin/python2.2 (not provided)
package redhat-config-bind needs /usr/bin/python2.2 (not provided)
package redhat-config-date needs /usr/bin/python2.2 (not provided)
package redhat-config-keyboard needs /usr/bin/python2.2 (not provided)
package redhat-config-kickstart needs /usr/bin/python2.2 (not provided)
package redhat-config-language needs /usr/bin/python2.2 (not provided)
package redhat-config-rootpassword needs /usr/bin/python2.2 (not provided)
package redhat-config-soundcard needs /usr/bin/python2.2 (not provided)
package redhat-config-users needs /usr/bin/python2.2 (not provided)
package redhat-config-xfree86 needs /usr/bin/python2.2 (not provided)

I went an found python2.2 and installed the rpm but the error i'm getting when i try to do that is that it is conflicting w/ a later python package.

question #3 - is there a way to tell 'yum update' to pull down whatever dependencies it needs?

question #4 - if on a weekly basis i wanted to see what updates i'm out of sync on, what's the best way to do that?

question #5 - on any type of update, is there a single directory where all updated files are collected in, or is it dependent upon the tool used?

question #6 - assuming yum updates everything and it works successfully, how can i verify my system is up to date? i don't mean the blue-check mark in the tray of FC2.

question #7 - in theory, mirror sites contains updates for fedora core only. i understand that there will be a site coming out where you can find non-FC core specific updates as well. is there a published site already?

i hope to get answers and in turn answer any questions I can. once i fully get my arms around the update process, i'll definitely try to contribute back because i know this is confusing for a lot of new people.

thanks.
 
Old 08-14-2004, 08:08 PM   #2
mitchdulx
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: redhat 9/fedora
Posts: 13

Original Poster
Rep: Reputation: 0
subset of earlier question, but want to make sure i'm on the right track.

shouldn't this work?

1. start terminal session and logon as su
2. just to be thorough delete all directories/files in /var/cache/yum
3. edit yum.conf and update baseurl w/ mirror sites for base & updates
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1

[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever
baseurl=ftp://ftp.ens.utulsa.edu/pub/linux/fedora/core/2/i386/os

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://fedora.redhat.com/updates/released/fedora-core-$releasever
baseurl=ftp://ftp.ens.utulsa.edu/pub/linux/fedora/core/updates/2/i386
4. run yum update
5. sit back, wait, and let yum do its thing?
 
Old 08-15-2004, 12:04 PM   #3
mitchdulx
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: redhat 9/fedora
Posts: 13

Original Poster
Rep: Reputation: 0
here's what i get after running 'yum update'. any ideas?

[root@localhost etc]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora Core 1 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.package redhat-config-securitylevel needs /usr/bin/python2.2 (not provided)
package redhat-config-soundcard needs /usr/bin/python2.2 (not provided)
package redhat-config-kickstart needs /usr/bin/python2.2 (not provided)
package redhat-config-mouse needs /usr/bin/python2.2 (not provided)
package redhat-config-nfs needs /usr/bin/python2.2 (not provided)
package redhat-config-date needs /usr/bin/python2.2 (not provided)
package redhat-config-language needs /usr/bin/python2.2 (not provided)
package redhat-config-xfree86 needs /usr/bin/python2.2 (not provided)
package redhat-config-network-tui needs /usr/bin/python2.2 (not provided)
package redhat-config-samba needs /usr/bin/python2.2 (not provided)
package redhat-config-bind needs /usr/bin/python2.2 (not provided)
package redhat-config-keyboard needs /usr/bin/python2.2 (not provided)
package redhat-config-rootpassword needs /usr/bin/python2.2 (not provided)
package redhat-config-users needs /usr/bin/python2.2 (not provided)

here's what's in my /usr/bin directory.

[root@localhost bin]# ls -lt python*.*
-rw------- 1 root root 5320705 Aug 14 12:57 python2-2.2-2.i386.rpm
-rwxr-xr-x 2 root root 800436 Oct 15 2003 python2.2
 
Old 08-15-2004, 12:14 PM   #4
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
Try running 'yum clean'
 
Old 08-16-2004, 09:22 PM   #5
mitchdulx
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: redhat 9/fedora
Posts: 13

Original Poster
Rep: Reputation: 0
figured it out w/ the help of a colleague. i mixed up my media and i was running FC1 instead of FC2, but i was trying to update w/ FC2 bits. surprised something didn't tell me that i was mixing my beans w/ my rice. good learning experience, painful though. way too much time to resolve this.
 
  


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
gui for yum on FC2 hahler2 Fedora 9 02-12-2005 08:23 AM
FC2 yum updated to 2.1.11 need new yum.conf? peregrine2 Linux - Newbie 1 12-02-2004 07:14 AM
How to yum my way from FC2 - FC3 pembo13 Fedora 7 11-27-2004 08:01 AM
Upgrading to KDE3.3.1 in FC2 through yum msie02 Fedora 1 10-26-2004 11:21 AM
yum upgrade kde (FC2) msie02 Fedora 1 10-15-2004 08:06 AM


All times are GMT -5. The time now is 07:03 PM.

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