Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I received the following error when trying to install updates. Unsure of how to correct the problem without a reinstall. Suggestions to repair appreciated.

installArchives() failed: 
Extracting templates from packages: 78%%
Extracting templates from packages: 100%%

Extracting templates from packages: 78%%
Extracting templates from packages: 100%%

Extracting templates from packages: 78%%
Extracting templates from packages: 100%%
(Reading database ... 
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%dpkg: unrecoverable fatal error, aborting:
 reading files list for package 'libicu4j-java': Is a directory
Error in function: 
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)
share|improve this question

closed as too localized by Marco Ceppi Dec 10 '12 at 15:43

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
In a terminal enter the following commands in order: sudo dpkg -r libicu4j-java sudo apt-get -f install sudo apt-get update and finally sudo apt-get upgrade Tell us what you get after enter this 4 commands. –  Lucio Nov 30 '12 at 1:22
    
owner@G575:~$ sudo dpkg -r libicu4j-java [sudo] password for owner: (Reading database ... 65%dpkg: unrecoverable fatal error, aborting: reading files list for package 'libicu4j-java': Is a directory –  mg92865 Dec 1 '12 at 15:44
    
Based on your suggestions, I located the directory libicu4j-java. Since the dpkg -r did not work, I located the folder, and it seems to contain info files only. Does ubuntu need this, or can I remove it manually? –  mg92865 Dec 1 '12 at 16:59
    
Can you tell me the path that you have found? Enter ls in the terminal inside the directory and paste the output here and link it –  Lucio Dec 1 '12 at 18:02
1  
followed your instructions, folder moved, update failed due to new directory libicu4j-4.4-java. reapply your suggestion with new folder name, folder moved, 2nd update failed due to new directory libicu44. reapply your suggestion with new folder name, folder moved, 3rd update failed to new offending directory libicu4j-java (original). Should I continue until all are removed (see other question on multiple install), or ? thank you for your time. –  mg92865 Dec 4 '12 at 5:06

Browse other questions tagged or ask your own question.