While updating a Fedora 9 installation I ran across an error. The error was with the Mozilla Thunderbird package that I use on a regular basis.
The error looked like this:
Updating : thunderbird 1/2
Error unpacking rpm package thunderbird-18.104.22.168-1.fc9.i386
error: unpacking of archive failed on file /usr/lib/thunderbird-22.214.171.124/dictionaries: cpio: rename
Obviously any fix that I implemented couldn’t loose my mail. The problem was with the dictionaries more specifically the /usr/lib/thunderbird-126.96.36.199/dictionaries file. The error is not very specific but lets us know its having trouble unpacking the archive and ends with cpio: rename. So here is what I did to solve the problem:
sudo mv dictionaries dictionaries-old
Thunderbird data is stored in ~/.thunderbird it is advisable you make a backup of your mail if it is that important to you. I didn’t since this directory is a library directory and all of my mail can be downloaded again with imap. If you use pop you may want to consider doing a backup. After doing this it fixed Thunderbird and I’m all up to date. Horray!
Let me know if it worked for you and I’ll let you all know if there are any problems.