(我刚刚从 ubuntu 18.04 迁移到 Ubuntu 20.04。)
php7.4-mysql : Depends: php7.4-common (= 7.4.3-4ubuntu2.2) but 7.4.9-1+ubuntu18.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
php7.4-mysql
依赖on php7.4-common
(已安装,所以我没有看到那里的问题),但它也说(= 7.4.3-4ubuntu2.2)
然后我迷路了...... 7.4.3-4ubuntu2.2?那是什么?如果这还不够复杂,它会添加......but 7.4.9-1+ubuntu18.04.1+deb.sury.org+1
然后我就是不知道如何克服这个问题。$ php artisan migrate
在自己的生产环境中使用该命令(我雇用了一个托管服务器,我只是在摆弄它),然后我得到了输出...... Illuminate\Database\QueryException
could not find driver (SQL: select * from information_schema.tables where table_schema = gastigram and table_name = migrations and table_type = 'BASE TABLE')
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
667| …
Run Code Online (Sandbox Code Playgroud)