LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-29-2004, 05:07 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Package updating/installing tool in FC1


I'm using Fedora core 1 and I noticed that a lot of packages were outdated and figured I needed an update. But Up2date just keeps hanging after the packages start downloading (that is after RPM headers have been received and I choose from the list of packages to update).

Is there any other tool that will automatically detect outdated packages (RPMs) in Fedora and allow me to update without having to manually add the list of packages to update? I'm willing to use the command line.
 
Old 11-29-2004, 05:09 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
YUM is the preferred tool in Fedora. Also apt-get via apt4rpm.
 
Old 11-29-2004, 05:12 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
I tried it,

I get this error when I run
Code:
yum check-update
.
Code:
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.

Last edited by vharishankar; 11-29-2004 at 05:14 AM.
 
Old 11-29-2004, 05:43 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
In yum.conf, which repositories are set up?
 
Old 11-29-2004, 05:46 AM   #5
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Here's the YUM configuration file.
Code:
[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

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

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://fedora.redhat.com/updates/testing/fedora-core-$releasever
 
Old 11-29-2004, 06:21 AM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
I tried out Fedora/YUM once and found that the default repositories worked, at best, sporadically.

Try these in place of the existing (put a # mark in front of the existing ones so you can 'roll back' if you need to):
http://linux.duke.edu/projects/yum/repos/ (these are the guys who (I believe) wrote YUM)
http://www.brandonhutchinson.com/Fed...ositories.html
http://www.xades.com/proj/fedora_repos.html (slow to load the page)
 
Old 11-29-2004, 06:27 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Thanks,

Should I run yum check-update as super user?
 
Old 11-29-2004, 09:39 AM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Yes. I was always under the impression that it could only be run as su......but what do I know?
 
  


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
DR17 Menu Updating tool??? halo14 Linux - Software 1 05-14-2005 03:24 AM
updating tool jaakkop Linux - Software 4 11-27-2004 12:34 PM
Yum on FC1 not updating some pkgs. Cleotis Linux - Newbie 3 10-04-2004 03:15 PM
Package Management tool doesn't see installed packages (FC1) pekkerhed Fedora 5 06-04-2004 03:56 PM
FC1 Package addition from LAN server chrisjbzero Fedora 1 05-06-2004 02:45 AM


All times are GMT -5. The time now is 02:21 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