Could not select 'OK' in mysql-apt-config [Ubuntu 14.04]

后端 未结 3 1723
忘了有多久
忘了有多久 2021-02-04 03:43

I am using Ubuntu 14.04. sudo apt-get update always give me this option to configure mysql-apt-config.

<script

3条回答
  •  执念已碎
    2021-02-04 04:24

    When you can't do

    apt-get purge mysql-apt-config
    

    because you're trapped: It won't execute because dpkg is interrupted, and "sudo dpkg --configure -a" backs you to the broken "configuring mysql-apt-config" screen...

    edit: /var/lib/dpkg/info/mysql-apt-config.postinst

    add exit at the beginning , then get rid of the package :

    sudo dpkg --configure mysql-apt-config
    
    sudo apt-get remove mysql-apt-config
    

提交回复
热议问题