[ale] Seem to have trashed 'rpm' - how do I get out of this?

Jerry Z. Yu z.yu at ptek.com
Fri Apr 12 10:37:03 EDT 2002



wonder if rpm2cpio will do the wonder such that you can make sure various 
files go to where the RPM will place it. Since rpm2cpio is just to extract 
the cpio archive out of the rpm binary file, it should not need the rpmdb.

	cd / && rpm2cpio some.db.i386.rpm | cpio -id
	# after all is working, to have proper rpm record for this RPM
	rpm -Uvh --force some.db.i386.rpm

On 11 Apr 2002, James P. Kinney III wrote:

#Try "rpm --rebuilddb"
#Then try installing the Berkley db package. The older rpm (pre 4.0) uses
#db1, the newer uses db3. You may need to do a tarball build and install
#to get db1 reworking if rpm is that fouled up. 
#
#On Thu, 2002-04-11 at 17:16, John Mills wrote:
#> ALErs -
#> 
#> For reasons I don't understand, I trashed either 'rpm' or (more
#> likely) its database. (It started happening after I forced a package
#> change.)
#> 
#> Now it complains about being unable to use db1 on 'Depend's, and core
#> dumps. Very rude.
#> 
#> Any way to put this RH-6.2 puppy back together?
#> 
#> TIA.
#> 
#>  - John Mills
#> 
#> 
#> ---
#> This message has been sent through the ALE general discussion list.
#> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
#> sent to listmaster at ale dot org.
#> 
#-- 
#James P. Kinney III   \Changing the mobile computing world/
#President and COO      \          one Linux user         /
#Local Net Solutions,LLC \           at a time.          /
#770-493-8244             \.___________________________./
#
#GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
#<jkinney at localnetsolutions.com>
#Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 
#
#
#
#---
#This message has been sent through the ALE general discussion list.
#See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
#sent to listmaster at ale dot org.
#

Jerry Z. Yu					+1-404-262-8544 (O)
systems engineer				z.yu at voicecom.com
is support, voicecom, llc			www.voicecom.com


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list