![]() ![]() How the hell does this keep happening? What package or program has the ability to edit my sources.list for me? I never use any graphical package management system, only apt-get from the command line, and I've never knowingly altered my sources after install except in these specific instances.ĮDIT 3 Re-adding the line deb bionic-updates main restricted I am 100% certain that I never knowingly removed it. Checking the file now, the line was not there. To my /etc/apt/sources.list to solve a similar problem, because for some reason unknown to me it wasn't there already. ![]() Here is the output of apt-cache policy libmysqlclient-dev libmysqlclient20: $ apt-cache policy libmysqlclient-dev libmysqlclient20ĮDIT 2 According to my notes, on 2Dec2018 I added the line deb bionic-updates main restricted Can mysqlclient not be installed on Ubuntu 18.04? If it can, how do I resolve this and install libmysqlclient-dev?Īlso, what does it mean that I "have held broken packages"? Is there a way to determine which package is broken and what's broken about it?Įdit I performed apt-get update and apt-get upgrade multiple times while trying to troubleshoot this myself, and I just did so again to be sure. I have version 5.7.24-0ubuntu0.18.04.1 of libmysqlclient20 already installed on the system, but libmysqlclient-dev is set to depend on version 5.7.21-1ubuntu1 exactly. Libmysqlclient-dev : Depends: libmysqlclient20 (= 5.7.21-1ubuntu1) but 5.7.24-0ubuntu0.18.04.1 is to be installedĮ: Unable to correct problems, you have held broken packages. It fails with the error The following packages have unmet dependencies: Since I'm using MySQL and not MariaDB, I try to install libmysqlclient-dev through apt-get. Ubuntu Package Search tells me that the file /usr/bin/mysql_config is provided by the packages libmariadb-dev-compat, libmariadbclient-dev, and libmysqlclient-dev. ![]() I don't know what this mysqlclient file is, but I verified that it doesn't exist on my system. This produces an error OSError: mysql_config not found. I'm trying to install mysqlclient in a Python 3.6 environment on Ubuntu 16.04 using the recommended $ pip install mysqlclient. ![]()
0 Comments
Leave a Reply. |