zoukankan      html  css  js  c++  java
  • E: Sub-process /usr/bin/dpkg returned an error code

    Something wired happend when I tried to remove some package in Ubuntu. Here is the error:

    dpkg: error processing package mariadb-common (--configure):
    dependency problems - leaving unconfigured
    Setting up libreadline5:amd64 (5.2+dfsg-3build1) ...
    No apport report written because the error message indicates its a followup error from a previous failure.
    dpkg: dependency problems prevent configuration of mariadb-client-core-10.0:
    mariadb-client-core-10.0 depends on mariadb-common (>= 10.0.29-0ubuntu0.16.04.1); however:
    Package mariadb-common is not configured yet.
    
    dpkg: error processing package mariadb-client-core-10.0 (--configure):
    dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
    No apport report written because MaxReports is reached already
    dpkg: dependency problems prevent configuration of mariadb-client-10.0:
    mariadb-client-10.0 depends on mariadb-client-core-10.0 (>= 10.0.29-0ubuntu0.16.04.1); however:
    Package mariadb-client-core-10.0 is not configured yet.
    
    dpkg: error processing package mariadb-client-10.0 (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of mariadb-client:
    mariadb-client depends on mariadb-client-10.0 (>= 10.0.29-0ubuntu0.16.04.1); however:
    Package mariadb-client-10.0 is not configured yet.
    
    dpkg: error processing package mariadb-client (--configure):
    dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    Processing triggers for libc-bin (2.23-0ubuntu7) ...
    Errors were encountered while processing:
    mysql-common
    mariadb-common
    mariadb-client-core-10.0
    mariadb-client-10.0
    mariadb-client
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    

      Solution:

    rm /var/lib/dpkg/info/*
    

      

  • 相关阅读:
    Windows中启动和关闭Oracle服务的x.bat批处理文件
    Flex删除文件 SecurityError: fileWriteResource
    Eclipse中的@Override标注报错
    Flex删除文件 SecurityError: fileWriteResource
    commonsfileupload 上传文件乱码问题
    Eclipse中的@Override标注报错
    Windows中启动和关闭Oracle服务的x.bat批处理文件
    csdn论坛最近又有人灌水
    用JavaScript获取URL中的参数值
    用JavaScript获取URL中的参数值
  • 原文地址:https://www.cnblogs.com/zhuangzebo/p/6829314.html
Copyright © 2011-2022 走看看