Ali cloud remember once Ubuntu update vulnerabilities experience

System Version: Ubuntu 16.04.2 LTS

Problem Description: After landing early in the morning to go to work to update Ali goes backstage to see a lot of loopholes out, first thoughts were quickly repaired, stepped on a pit, apt-get update && apt-get install libplexus-utils-java --only -upgrade use the command to update the software prompts the following information

Error message:

            Errors were encountered while processing:

             mysql-server-5.7

             openssh-server

             ssh

             rsync

             mysql-server

             nscd

            E: Sub-process /usr/bin/dpkg returned an error code (1)

The solution: before the operation in advance / var / lib / dpkg / info / backup directory, delete the directory under the above error corresponding to service all of the files, re-execute the update operation to succeed

   

Guess you like

Origin blog.51cto.com/13777759/2423080