Failed. The error message is displayed when the system automatically updates the second time. The information is as follows: E: dpkgwasinterrupted, youmustmanuallyrun 'dpkg -- configure-a'
Failed. The error message is displayed when the system is automatically updated for the second time. The information is as follows:
E: dpkg was interrupted, you must manually run 'dpkg -- configure-a' to correct the problem.
E: _ cache-> open () failed, please report.
Solution:
1. Download the missing jdk doc from sun's official website. You only need to download one of them. I download jdk-66-doc.zip.
2. Copy the downloaded file to the/tmp folder and change the user permission of the file to root: root.
Ubuntu @ ubuntu :~ $ Sudo chown root: root/tmp/jdk-6-doc.zip
After the command is executed, delete the file to reduce disk space usage.
3. Run the following command on the terminal:
Ubuntu @ ubuntu :~ $ Sudo dpkg -- configure-c
Everything is OK, and the system can automatically update it.