LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   yum questions for FC2 (https://www.linuxquestions.org/questions/fedora-35/yum-questions-for-fc2-217599/)

mitchdulx 08-14-2004 03:11 PM

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.

mitchdulx 08-14-2004 08:08 PM

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?

mitchdulx 08-15-2004 12:04 PM

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

Harryc 08-15-2004 12:14 PM

Try running 'yum clean'

mitchdulx 08-16-2004 09:22 PM

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.


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