Reading package lists... Done Building dependency tree Reading state information... Done libmysqld-dev is already the newest version (5.7.29-0ubuntu0.18.04.1). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libmysqld-dev : Depends: libmysqlclient-dev (>= 5.7.29-0ubuntu0.18.04.1) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libopts25 sntp Use 'apt autoremove' to remove them. The following additional packages will be installed: libmysqlclient-dev The following NEW packages will be installed: libmysqlclient-dev 0 upgraded, 1 newly installed, 0 to remove and 157 not upgraded. 31 not fully installed or removed. Need to get 0 B/992 kB of archives. After this operation, 6,012 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 122050 files and directories currently installed.) Preparing to unpack .../libmysqlclient-dev_5.7.29-0ubuntu0.18.04.1_amd64.deb ... Unpacking libmysqlclient-dev (5.7.29-0ubuntu0.18.04.1) ... dpkg: error processing archive /var/cache/apt/archives/libmysqlclient-dev_5.7.29-0ubuntu0.18.04.1_amd64.deb (--unpack): unable to open '/usr/include/mysql/plugin.h.dpkg-new': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/libmysqlclient-dev_5.7.29-0ubuntu0.18.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
unable to open '/usr/include/mysql/plugin.h.dpkg-new': No such file or directory