Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-21-2003, 09:46 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
RPM installation problem.

I wanted to install some updates and first downloaded the up2date update.
But when I run:
rpm -Fvh up2date-*

I don't get any response (even if I wait for 90 minutes), I can only abort the process with ctrl+z ([4]+ Stopped rpm -Fvh up2date-*

I then did a manual update:
wget -q -O - | /bin/bash

And configured up2date correctly, according to the sticky thread above.
Both the commands up2date --register and up2date up2date didn't give me any output.

I'm on a Red Hat Linux release 9 (Shrike) box, behind a proxy server.
Any ideas?
Old 11-21-2003, 02:50 PM   #2
Registered: Nov 2003
Distribution: I use gentoo, redhat, and lorma for kicks.
Posts: 44

Rep: Reputation: 15
up-2-date is kind of a crappy service to begin with. it works once you set it up, but you get so many days before they try to get you pay for the service...basically, if you want keep your packages up to date the easiest free program to use is synaptic or apt (if you prefer command line). as far as a new kernel, you can always compile one of those yourself. you can get apt and synaptic off of and you can get a new kernel off of (the stable ones are always preferred but if your feelin froggy then jump after a new kernel)

if ya got any questions just lemme know. i'm herrrrrrrrrrre to help
Old 11-21-2003, 08:52 PM   #3
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Your RPM database may be corrupted.
You can try to rebuild it, type:
rpm -Rf /var/lib/rpm/__db*
rpm -vv --rebuilddb
Old 11-21-2003, 08:57 PM   #4
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Easier software management: apt4rpm - Red Carpet
Old 11-22-2003, 11:47 PM   #5
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
I just installed apt-rpm and synapitc. It rocks!!! Forget up2date, it sucks.
Old 11-23-2003, 07:59 AM   #6
LQ Newbie
Registered: Nov 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Ok I'll go for apt get as soon as I am able to fix rpm:
I deleted the db files (using rpm -Rf /var/lib/rpm/__db*)
Then I tried running: rpm -vv --rebuilddb

# rpm -vv --rebuilddb
D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.30437
D: creating directory /var/lib/rpmrebuilddb.30437
D: opening old database with dbapi 3
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0

After that it seemed to hang again.
I still have the same problem installing rpm's, this is the output of such an install:

# rpm -ivvvh Bastille-2.1.1-1.0.i386.rpm
D: ============== Bastille-2.1.1-1.0.i386.rpm
D: Expected size: 322175 = lead(96)+sigs(160)+pad(0)+data(321919)
D: Actual size: 322175
D: Bastille-2.1.1-1.0.i386.rpm: MD5 digest: OK (c577a4684ef093f0563123c82fbc977f)
D: added binary package [0]
D: found 0 source and 1 binary packages
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0

After this it hangs, the file is availible:
# ls -la /var/lib/rpm/Packages
-rw-r--r-- 1 rpm rpm 18685952 Oct 14 12:19 /var/lib/rpm/Packages
Old 04-20-2004, 04:36 PM   #7
Registered: Jun 2003
Location: Aero-nomadic
Distribution: Debian (etch, PPC)
Posts: 80

Rep: Reputation: 15
I'm having the EXACT same problem!

And on both of my computers, too!
Old 04-20-2004, 06:29 PM   #8
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Originally posted by AlainG
I deleted the db files (using rpm -Rf /var/lib/rpm/__db*)
That quoted command doesn't make sense. Should be:

killall rpm apt-get yum
rm -f /var/lib/rpm/__db.*
rpm -vv --rebuilddb


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
rpm installation problem paschim General 1 09-07-2004 08:34 AM
Mandrake 10.0 Bugzilla rpm installation problem totte67 Mandriva 0 07-13-2004 06:27 AM
rpm file installation problem in Suse jiji1978 Linux - Newbie 1 06-17-2004 09:01 AM
Installation of RPM problem borrrden Fedora 1 06-01-2004 12:28 AM
rpm installation problem nulloverflow Linux - General 1 02-26-2004 07:55 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration