rpm -e in deleted directory

Elan Ruusamäe glen at pld-linux.org
Thu Apr 23 11:07:23 CEST 2015

this particular dir was removed by rpm itself

# poldek -e hwdata-0.275-1.noarch
mark hwdata-0.275-1.noarch
Processing dependencies...
hwdata-0.275-1.noarch marks pciutils-3.3.1-2.x86_64 (req hwdata >= 0.243-2)
There are 2 packages to remove (1 marked by dependencies):
R hwdata-0.275-1.noarch
D pciutils-3.3.1-2.x86_64
This operation will free 5.6MB of disk space.
Proceed? [N/y] y
Running rpm --erase --root /...
rpmdb: BDB2570 no absolute path for the current directory: No such file 
or directory
rpmdb: BDB2571 log file auto-remove: No such file or directory

but i recall it behaving the same when invoking initial erase from dir 
that has already been removed


More information about the pld-devel-en mailing list