LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-01-2003, 04:12 PM   #1
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Rep: Reputation: 15
Up2date Out-of-Sync


Up2date tends to hang on me, particularly using a "demo" account, and has to be killed. Now it keeps telling me I need a package but then fails the dependence check telling me the package is already installed.

Anybody know how to fix this short of waiting for a new version of the package in question to appear?
 
Old 05-01-2003, 04:35 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try rebuilding the rpm database:
rpm --rebuilddb
 
Old 05-01-2003, 05:58 PM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Give it some time to terminate automatically. If it doesn't, run:

killall -KILL rpm
rm -f /var/lib/rpm/__*
rpm --rebuilddb
up2date -p


Be patient. Don't interrupt RPM, especially not the 4.1 and 4.2 versions. A final fix for this is in the queue hopefully.
 
Old 05-01-2003, 07:42 PM   #4
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
or re-register up2date --register but first delete old comp from web
 
Old 05-01-2003, 09:07 PM   #5
ktraglin
LQ Newbie
 
Registered: Jan 2003
Location: New York City
Distribution: Redhat
Posts: 2

Rep: Reputation: 0
another option may be to use apt. You can get it from www.sourceforge.net. After installing, use "apt-get update" to update your database, then installing other apps will be much easier, because it will let you know when an app is dependent upon other apps, as well as give you the option to install them also.
 
Old 05-02-2003, 10:48 AM   #6
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Original Poster
Rep: Reputation: 15
Thanks for all of the suggestions.

It's not a registration problem - I have updated a few other packages on this machine since. I had also rebooted and had given it a couple of days to clear up think that RH runs a cron job every day that rebuilds the rpm database but still had problems.

Just was getting ready to try misc's suggestion and noticed the machine was sluggish (no rpm running tho). The alert notification area also had an icon I have never seen before - looked sort of like the two arrows but with a red bar across them. Must have been some comm program since trying to connect. When I rebooted, damned if things didn't fix themselves.

Maybe I'll take a chance and re-register this machine on my subscription account instead of a demo account. Had two machines on another demo account and one $60 fee got both a basic subscription so maybe the third will be so lucky.
 
Old 05-14-2003, 07:55 PM   #7
MarcRJacobs
Member
 
Registered: Mar 2003
Location: Las Gatos, Ca USA
Distribution: SUSE 10.0
Posts: 43

Rep: Reputation: 15
I upgraded from Red Hat 8 to Red Hat 9. After the update my RPM database was corrupt. I update all my RPM packages to 4.2.1. The database was repaired using rpm -vv --rebuilddb. But, why I run db_verify Packages, I get:
[root@localhost rpm]# db_verify Packages
db_verify: region error detected; run recovery.
db_verify: Old or incorrect DB version; extraneous errors may result
db_verify: DB->verify: Packages: DB_VERIFY_BAD: Database verification failed
[root@localhost rpm]#
Any ideas how to fix this?
Thanks
 
Old 05-15-2003, 02:15 AM   #8
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Question

Quote:
After the update my RPM database was corrupt.
Why? What symptoms?
Quote:
[root@localhost rpm]# db_verify Packages
db_verify: region error detected; run recovery.
db_verify: Old or incorrect DB version; extraneous errors may result
db_verify: DB->verify: Packages: DB_VERIFY_BAD: Database verification failed
Don't run that.
 
Old 05-15-2003, 12:09 PM   #9
MarcRJacobs
Member
 
Registered: Mar 2003
Location: Las Gatos, Ca USA
Distribution: SUSE 10.0
Posts: 43

Rep: Reputation: 15
So, does that mean db_verify is BAD, and untrustworthy?
 
Old 05-15-2003, 04:00 PM   #10
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Quote:
So, does that mean db_verify is BAD, and untrustworthy?
No, I didn't write that. I wrote "Don't run that" because you posted about Red Hat Linux 9.

Original poster in this thread did not mention his version of RHL. Third posting from above contains the solution to the orginal problem with both RHL 8.0 and 9.
 
  


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
Out of Sync alrymala Linux - Hardware 6 03-24-2005 07:38 PM
Sync for Samsung Sync master Naphoon Linux - Hardware 1 10-16-2004 06:20 PM
Problem running up2date on clone channel after sync to rhn. dmorgan Red Hat 0 03-15-2004 05:15 PM
RH9 - up2date isn't up2date! robertmarkbram Linux - Software 2 10-22-2003 06:48 AM
up2date bug fixed: New up2date avail. with updated SSL certificate authority file dkaplowitz Red Hat 2 09-04-2003 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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