Yesterday I planned to erase all wine related package, first I queried with:
rpm -qa | grep wine
and it showed 6 or 7 packages, then I typed:
rpm -qa | rpm -e
After one or two minutes waiting, I realized that I typed wrong:(
So is there any way to recover this? Does rpm
log the erasing action?
Below are some methods I have tried:
- man
I found there are some database files showed in 'man rpm' , and a db file about erasing named /var/lib/rpm/Removed
which can't be found in my box.
and I tried to find clue with:
grep -nr rpm /var
but nothing valuable.
I Googled with "rpm erase log", and it seems that there is no logging mechanism.
After rebooting, I can't log into X anymore because the X server was removed. Then I rpm -i
it from ISO manually, but there is some error when running. My box is running Fedora Core 12.
Any suggestions?