LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 10-22-2009, 11:02 AM   #1
sblantipodi
Member
 
Registered: May 2006
Posts: 137

Rep: Reputation: 15
yum update to CentOS 5.4 but...


yum clean all; yum update;

this is the final output when it finished to download package:
Total 2.0 MB/s | 176 MB 01:29
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
package gnutls-1.4.1-3.el5_3.5.x86_64 (which is newer than gnutls-1.4.1-3.el5_2.1.i386) is already installed

Error Summary
-------------


Please help.
 
Old 10-22-2009, 12:20 PM   #2
thegeek
Member
 
Registered: Oct 2009
Location: Amsterdam
Distribution: CentOS,Fedora,Puppy
Posts: 62

Rep: Reputation: 20
Hi !

Try this:

rpm -e gnutls --justdb

this will remove the rpm in the db only and allow you to upgrade it ...
 
Old 10-22-2009, 12:50 PM   #3
sblantipodi
Member
 
Registered: May 2006
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by thegeek View Post
Hi !

Try this:

rpm -e gnutls --justdb

this will remove the rpm in the db only and allow you to upgrade it ...
do you think that this is a safe way to solve this problem?
 
Old 10-22-2009, 01:39 PM   #4
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 12.1 & Scientfic Linux 6.1
Posts: 7,295

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
seeing as cent 5.4 IS NOT OFFICIALLY OUT and the servers ARE NOT SYNCED YET
that is your problem

wait a few weeks AN REINSTALL . As far as i know that early release iso is incomplete.
 
Old 10-22-2009, 01:49 PM   #5
thegeek
Member
 
Registered: Oct 2009
Location: Amsterdam
Distribution: CentOS,Fedora,Puppy
Posts: 62

Rep: Reputation: 20
Well, that depends on your comfort level, personally yes I would.
Working out these kinds of problems would generally involve uninstalling packages at some point, I have used this method often with good results.

You could always consider a backup of the files you might lose (I do !)

Here is an example way to backup the files that got it installed from a particular rpm, and results in the file /tmp/backup.gnutls.tar.gz :

root@f11 tmp]# rpm -ql gnutls > backup.list && tar -T backup.list -czf /tmp/backup.gnutls && ls -l /tmp/backup.gnutls.tar.gz
tar: Removing leading `/' from member names
-rw-r--r-- 1 root root 419936 2009-10-22 20:46 /tmp/backup.gnutls.tar.gz

rpm -ql package - shows the files installed by a package
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
centos yum update LinuxLover Linux - Server 2 09-01-2009 04:07 AM
CENTOS, Loading default keymap after a yum update... sblantipodi Linux - Server 1 07-21-2009 02:09 PM
problem with Yum update-install-list on CentOS 5.2 reyhaneh.emi Linux - Newbie 4 05-23-2009 03:56 AM
RHEL 5.2 yum update with CentOS 5.2 repositories- possible? damunzy Linux - Enterprise 4 08-12-2008 02:30 AM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM


All times are GMT -5. The time now is 11:38 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
Open Source Consulting | Domain Registration