LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2004, 03:09 PM   #1
Cleotis
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
Yum on FC1 not updating some pkgs.


I'm having problems with Yum not updating certain packages. When I run "yum update" I expect yum to go to the repository that I have specified in my yum.conf file, find any new packages, and upgrade them as needed. This always works fine on a new Fedora install, but then it seems to not do much after that. I expect that rpms containing new versions of software would be maintained in the repository. The machines I work with need to have every single relevant security patch available within 24 hours. So I run yum, and then the next day I scan the machines with Nessus, and it turns out they have several vulnerabilities, namely old versions of Apache, PHP, and sshd. It's as if the repository is frozen in time 6 months ago. I even make sure to specify an "updates" line in yum.conf. Same story, no updates seem to ever happen. Additionally, I would think that yum would update the kernel too. I can type "yum upgrade kernel" and it just tells me there's nothing to be done. I feel like there's something I'm missing that is pretty obvious to the rest of you gurus, but I'm just not getting it. I've read the man file, and spent quite a while online searching for clues. Can someone point me in the right direction? I sincerely appreciate your time and help.

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

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=mirrors.kernel.org/fedora/core/$releasever/$basearch/os

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=mirrors.kernel.org/fedora/core/updates/$releasever/$basearch

[updates-testing]
name=Fedora Core $releasever - $basearch - Unreleased Updates
yum updates-released mirrors.kernel.org/fedora/core/updates/1/i386

---------------------------------------------------------------------------------------------------------
(I had to remove the h t t p : / / from my conf lines above as this is my first post.)
 
Old 10-01-2004, 07:28 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
have you looked at the repositories from which you are trying to update?

http://mirrors.kernel.org/fedora/cor...s/Fedora/RPMS/

-- i assume your exaggerating when you say they're out of date by 6 months, but they are a couple minor builds behind.

and in regards to kernels --
scroll halfway down and you'll see there are many choices for kernels. Not only are there different popular versions (2.4.x, 2.6.x), each kernel can be custom built according to projected system requirements. look to kernel.org for further reading.
 
Old 10-04-2004, 07:49 AM   #3
Cleotis
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Acutally, there are no 2.6 kernels available there. Also, all the files have "last modified" dates back in 2003. Does this literally mean that the files were put there last year and haven't been updated since? That's how it appears to me.

Is the problem that I'm not using a very up-to-date repository?
 
Old 10-04-2004, 04:15 PM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
you've stumbled upon exactly what i was getting at....

two things here:
FC will build the best kernels to be in sync with its system. if you need a custom kernel, you should compile it yourself.

being up-to-date by FC standards is always a little behind. i don't know who maintains things, but some people do, and by the time they've built and posted an rpm, there's usually another update on the software. That's probably pretty common to repositories, though i've never really looked into these things.

i am lazy myself, and not paranoid about the security of my home systems. I feel that the only way to stay exactly current is to compile everything from source, and to maintain that on a system would be extremely cumbersome without some kind of program. I have accepted my mediocrity!
 
  


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
yum upgrade FC1 to FC2 new kernel will not boot Kelean Fedora 1 10-27-2005 11:05 PM
yum fc1 to fc4 reddwarf2956 Fedora 2 10-07-2005 11:20 PM
PHP5 yum repos? (FC1/2) neocookie Fedora 2 07-29-2005 06:21 AM
Package updating/installing tool in FC1 vharishankar Linux - Software 7 11-29-2004 10:39 AM
Upgrading from FC1 to FC2 using yum saxophobe Fedora 1 05-21-2004 05:28 PM


All times are GMT -5. The time now is 06:50 PM.

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