RE: Freeing unused kernel memory - Solved??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



During 6.x and early 7.x, there was an upgrade to RPM and db3
 
the db3 database is not compatible with the older database, and neither is rpm compatible with the older rpms.
 
Having just completely reinstalled my 6.2 system, I can easily recall that you install the new db3 packages, then install the new rpm packages, and then you have to do a "rpm --rebuilddb" so it will convert all the old stuff into the new database.  Then you go ahead & install the newer stuff.  I imagine that either you have a new rpm file and the old rpm executable, or more likely, a new rpm & db3 with an old rpm file.  I would look for a newer version of the rpm to solve this.
 
    -Tom

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of jong
Sent: Monday, April 11, 2005 4:02 AM
To: redhat-list@xxxxxxxxxx
Subject: Freeing unused kernel memory - Solved??




>OK folks, for the record & for anyone else who gets stuck on this, I 
>fixed the problem by booting into rescue mode from cd1, chrooted into 
>/mnt/sysimage and forced a reinstall of init like this: 
> 
>When in rescue mode & chrooted mount the cdrom: mount /mnt/cdrom 
>Use rpm to force a reinstall of init: 
>rpm -ivh --force /mnt/cdrom/RedHat/RPMS/SysVinit-2.78-19.i386.rpm 
> 
>Exit the chroot environment & reboot. 
>Hope this helps someone in the future :-) 
> 
>-- 
>Mark Farmer 
>Linux System Administrator 

hi there mark, 

i'm using redhat 7.1 

i tried what you have suggested under linux rescue 

sh-2.04# rpm -ivh --force /mnt/source/RedHat/RPMS/SysVinit-2.78-15.i386.rpm 
error: cannot open Packages index using db3 - No such file or directory (2) 
error: cannot open Packages database in /var/lib/rpm  

what causes this one? 

Any help would be much appreciated. 

thanks. 

-jong 


-- 
redhat-list mailing list 
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe 
https://www.redhat.com/mailman/listinfo/redhat-list 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux