首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误:事务检查与解.php依赖关系

错误:事务检查与解.php依赖关系
EN

Unix & Linux用户
提问于 2020-08-08 23:37:42
回答 1查看 1.9K关注 0票数 0

我试图运行sudo dnf system-upgrade download --refresh --releasever=30 --allowerasing (从fedora 25),并击中以下错误。

代码语言:javascript
复制
Running transaction check
Error: transaction check vs depsolve:
(php-composer(symfony/expression-language) >= 2.8 with php-composer(symfony/expression-language) < 5) is needed by php-phpmyadmin-motranslator-4.0-4.fc30.noarch
(gcc >= 9 with gcc < 10) is needed by annobin-8.71-4.fc30.x86_64
(php-composer(symfony/translation) >= 2.7.1 with php-composer(symfony/translation) < 4.0) is needed by php-twig-extensions-1.5.4-4.fc30.noarch
(php-composer(twig/twig) >= 1.27 with php-composer(twig/twig) < 3.0) is needed by php-twig-extensions-1.5.4-4.fc30.noarch
(php-composer(symfony/polyfill-mbstring) >= 1.3 with php-composer(symfony/polyfill-mbstring) < 2) is needed by php-twig2-2.12.5-1.fc30.noarch
(php-composer(composer/ca-bundle) >= 1.0 with php-composer(composer/ca-bundle) < 2) is needed by composer-1.10.6-1.fc30.noarch
(php-composer(composer/semver) >= 1.0 with php-composer(composer/semver) < 2) is needed by composer-1.10.6-1.fc30.noarch
(php-composer(composer/spdx-licenses) >= 1.2 with php-composer(composer/spdx-licenses) < 2) is needed by composer-1.10.6-1.fc30.noarch
(php-composer(composer/xdebug-handler) >= 1.1 with php-composer(composer/xdebug-handler) < 2) is needed by composer-1.10.6-1.fc30.noarch
(php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2) is needed by composer-1.10.6-1.fc30.noarch
(php-composer(seld/jsonlint) >= 1.4 with php-composer(seld/jsonlint) < 2) is needed by composer-1.10.6-1.fc30.noarch
(php-composer(seld/phar-utils) >= 1.0 with php-composer(seld/phar-utils) < 2) is needed by composer-1.10.6-1.fc30.noarch
(php-composer(psr/log) >= 1.0.1 with php-composer(psr/log) < 2.0) is needed by php-symfony-console-2.8.52-1.fc30.noarch
(php-composer(psr/log) >= 1.0.1 with php-composer(psr/log) < 2.0) is needed by php-symfony-http-kernel-2.8.52-1.fc30.noarch
(php-composer(symfony/polyfill-php56) >= 1.8 with php-composer(symfony/polyfill-php56) < 2.0) is needed by php-symfony-http-kernel-2.8.52-1.fc30.noarch
(php-composer(psr/log) >= 1.0.1 with php-composer(psr/log) < 2.0) is needed by php-symfony-debug-2.8.52-1.fc30.noarch
(php-composer(symfony/polyfill-php54) >= 1.8 with php-composer(symfony/polyfill-php54) < 2.0) is needed by php-symfony-http-foundation-2.8.52-1.fc30.noarch
(php-composer(symfony/polyfill-php55) >= 1.8 with php-composer(symfony/polyfill-php55) < 2.0) is needed by php-symfony-http-foundation-2.8.52-1.fc30.noarch
(php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2) is needed by php-composer-xdebug-handler-1.4.1-1.fc30.noarch
(php-composer(dasprid/enum) >= 1.0 with php-composer(dasprid/enum) < 2) is needed by php-bacon-qr-code2-2.0.0-1.fc30.noarch
(php-composer(paragonie/constant_time_encoding) >= 1.0 with php-composer(paragonie/constant_time_encoding) < 3) is needed by php-pragmarx-google2fa5-5.0.0-1.fc30.noarch
(php-composer(paragonie/random_compat) >= 2.0 with php-composer(paragonie/random_compat) < 3) is needed by php-pragmarx-google2fa5-5.0.0-1.fc30.noarch
(php-composer(google/recaptcha) >= 1.1 with php-composer(google/recaptcha) < 2) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
(php-composer(phpmyadmin/motranslator) >= 4.0 with php-composer(phpmyadmin/motranslator) < 5) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
(php-composer(phpmyadmin/shapefile) >= 2.0 with php-composer(phpmyadmin/shapefile) < 3) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
(php-composer(phpmyadmin/sql-parser) >= 4.3.2 with php-composer(phpmyadmin/sql-parser) < 5) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
(php-composer(phpseclib/phpseclib) >= 2.0.9 with php-composer(phpseclib/phpseclib) < 3) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
(php-composer(psr/container) >= 1.0 with php-composer(psr/container) < 2) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
(php-composer(symfony/expression-language) >= 2.8 with php-composer(symfony/expression-language) < 4) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
(php-composer(symfony/polyfill-mbstring) >= 1.3 with php-composer(symfony/polyfill-mbstring) < 2) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
(php-composer(twig/extensions) >= 1.5.1 with php-composer(twig/extensions) < 2) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
(php-composer(twig/twig) >= 1.34 with php-composer(twig/twig) < 3) is needed by phpMyAdmin-4.9.5-1.fc30.noarch
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
Download complete! Use 'dnf system-upgrade reboot' to start the upgrade.
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.

我真的不关心PHP。如果所有的东西都不能在升级完成后进行dnf install编辑,并且不像列出核心系统包,那么系统应该会很高兴没有它们,我会感到惊讶的。有--i-dont-care-just-do-it选项吗?(超过--allowerasing)

如果没有,我会很高兴地卸载列出的软件包,这样dnf就不会试图升级它们,并且不幸地失败了。我曾尝试过sudo dnf remove <a bunch of these>,但没有任何效果:

代码语言:javascript
复制
No match for argument: php-phpmyadmin-motranslator
No match for argument: annobin
No match for argument: php-twig-extensions
No match for argument: php-twig2
No match for argument: composer
No match for argument: php-symfony*
No match for argument: php-composer*

我还能做什么呢?

编辑

我认为这些包不存在的原因是它们被建议替换一些现有的包。DNF应该打印源包,并解释它是如何进入这种状态的。否则这只是个猜谜游戏。

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2020-08-09 09:16:45

这样做是可行的:

代码语言:javascript
复制
 dnf remove '*php*'
票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/603565

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档