由于缺少软件包pv,Red Hat上的MariaDB升级在安装v10.9.2时被阻止

eqqqjvef  于 2022-11-08  发布在  其他
关注(0)|答案(1)|浏览(1362)

MariaDB的MariaDB upgrade似乎遵循相同的行为模式,即删除旧版本,保留数据,然后安装新版本,例如Upgrading from MariaDB 10.3 to MariaDB 10.4,其他版本到版本的过程也是相同的。
在RHEL 7主机上从v10.3升级到v10.9时,安装新版本时进程出错,显示为Error: Package: MariaDB-server-10.9.2-1.el7.centos.x86_64 (mariadb) Requires: pv
我是新的升级过程,所以我将高度赞赏任何提示或建议。

完整屏幕截图:

[root@hostname lib]# yum install MariaDB-server MariaDB-client MariaDB-backup MariaDB-shared
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-backup.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: libpmem.so.1(LIBPMEM_1.0)(64bit) for package: MariaDB-backup-10.9.2-1.el7.centos.x86_64
--> Processing Dependency: MariaDB-common for package: MariaDB-backup-10.9.2-1.el7.centos.x86_64
--> Processing Dependency: libpmem.so.1()(64bit) for package: MariaDB-backup-10.9.2-1.el7.centos.x86_64
--> Processing Dependency: libpcre2-8.so.0()(64bit) for package: MariaDB-backup-10.9.2-1.el7.centos.x86_64
---> Package MariaDB-client.x86_64 0:10.9.2-1.el7.centos will be installed
---> Package MariaDB-server.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: galera-4 for package: MariaDB-server-10.9.2-1.el7.centos.x86_64
--> Processing Dependency: pv for package: MariaDB-server-10.9.2-1.el7.centos.x86_64
---> Package MariaDB-shared.x86_64 0:10.9.2-1.el7.centos will be installed
--> Running transaction check
---> Package MariaDB-common.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: MariaDB-compat for package: MariaDB-common-10.9.2-1.el7.centos.x86_64
---> Package MariaDB-server.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: pv for package: MariaDB-server-10.9.2-1.el7.centos.x86_64
---> Package galera-4.x86_64 0:26.4.12-1.el7.centos will be installed
--> Processing Dependency: socat for package: galera-4-26.4.12-1.el7.centos.x86_64
---> Package libpmem.x86_64 0:1.5.1-2.1.el7 will be installed
---> Package pcre2.x86_64 0:10.23-2.el7 will be installed
--> Running transaction check
---> Package MariaDB-compat.x86_64 0:10.9.2-1.el7.centos will be installed
---> Package MariaDB-server.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: pv for package: MariaDB-server-10.9.2-1.el7.centos.x86_64
---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: MariaDB-server-10.9.2-1.el7.centos.x86_64 (mariadb)
           Requires: pv

**********************************************************************

yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf

**********************************************************************

Error: Package: MariaDB-server-10.9.2-1.el7.centos.x86_64 (mariadb)
           Requires: pv
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@hostname lib]#
9wbgstp7

9wbgstp71#

pv位于EPEL系统信息库中。
一旦您启用了这个存储库,pv将作为依赖项从那里被拉入。

相关问题