LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-05-2013, 02:14 AM   #1
MStraet
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
Centos 6.3 yum update problem


Hello,

I'm running Centos 6.3 with APF installed. Whenever I try to yum update I get the following error.

Error: Package: apf-9.7_1-1.el6.rf.noarch (@rpmforge)
Requires: /sbin/iptables
Removing: iptables-1.4.7-5.1.el6_2.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
Not found
Updated By: iptables-1.4.7-9.el6.x86_64 (base)
Not found
Error: Package: apf-9.7_1-1.el6.rf.noarch (@rpmforge)
Requires: /sbin/iptables-save
Removing: iptables-1.4.7-5.1.el6_2.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
Not found
Updated By: iptables-1.4.7-9.el6.x86_64 (base)
Not found
Error: Package: apf-9.7_1-1.el6.rf.noarch (@rpmforge)
Requires: /sbin/iptables-restore
Removing: iptables-1.4.7-5.1.el6_2.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
Not found
Updated By: iptables-1.4.7-9.el6.x86_64 (base)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

I tried to use the --skip-broken but it's still the same problem. How do I fix this problem. Thanks in advance

Kind regards,

Michael
 
Old 06-05-2013, 09:29 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
yum clean all
yum check
yum erase apf

yum upgrade
 
Old 06-05-2013, 02:09 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Also depending on how the repos files are set up
as in using 6.3 or 6x
you might need to use this to upgrade to the current and only supported version of cent 6 ( centos 6.4 )
Code:
su -
yum releaserver=6.4 upgrade
 
Old 06-06-2013, 09:22 AM   #4
MStraet
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by amani View Post
yum clean all
yum check
yum erase apf

yum upgrade
That worked! But now I am facing with the following problem when it tries to update clamav

Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 63 M
(1/2): clamav-0.97.8-3.el6.x86_64.rpm | 11 MB 00:13
http://centos.alt.ru/repository/cent...l6.x86_64.rpm: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer" 5.1 MB 02:08 ETA
Trying other mirror.


Error Downloading Packages:
clamav-db-0.97.8-3.el6.x86_64: failure: clamav-db-0.97.8-3.el6.x86_64.rpm from CentALT: [Errno 256] No more mirrors to try.

Quote:
Originally Posted by John VV View Post
Also depending on how the repos files are set up
as in using 6.3 or 6x
you might need to use this to upgrade to the current and only supported version of cent 6 ( centos 6.4 )
Code:
su -
yum releaserver=6.4 upgrade
The command does not work for me.

Last edited by MStraet; 06-06-2013 at 09:23 AM.
 
Old 06-12-2013, 09:21 AM   #5
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
add a few more repos like epel.
also install fastest mirror and other relevant yum plugins
 
Old 06-12-2013, 11:49 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
Show
Code:
yum repolist
and the content of the relevant repo files (see /etc/yum.repos.d).
It may even just be a temporary name resolution issue.

For a general update you may be able to just say
Code:
yum update
NB: from your first post it looks like like you've got non Centos repos (rpmforge at least) also enabled, in which case you must install & setup yum-priorities http://wiki.centos.org/PackageManagement/Yum/Priorities or you will bork your system.

Last edited by chrism01; 06-12-2013 at 11:51 PM.
 
  


Reply



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
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
problem with Yum update-install-list on CentOS 5.2 reyhaneh.emi Linux - Newbie 4 05-23-2009 03:56 AM
problem with Yum update-install-list on CentOS 5.2 reyhaneh.emi Linux - Software 1 05-20-2009 02:25 PM
yum update problem, centos 4.92 repo no longer available parv Linux - Distributions 3 04-15-2007 07:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:42 AM.

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
Open Source Consulting | Domain Registration