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 - https://rhn.redhat.com/help/new-cert.sh | /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? |
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 freshrpms.net and you can get a new kernel off of kernel.org (the stable ones are always preferred but if your feelin froggy then jump after a new kernel):rolleyes:
if ya got any questions just lemme know. i'm herrrrrrrrrrre to help:cool: |
Your RPM database may be corrupted.
You can try to rebuild it, type: Code:
rpm -Rf /var/lib/rpm/__db* |
Easier software management: apt4rpm - Red Carpet
|
I just installed apt-rpm and synapitc. It rocks!!! Forget up2date, it sucks.
http://apt.freshrpms.net/ |
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 |
I'm having the EXACT same problem! :cry:
And on both of my computers, too! |
Quote:
killall rpm apt-get yum rm -f /var/lib/rpm/__db.* rpm -vv --rebuilddb |
All times are GMT -5. The time now is 03:14 AM. |