Installation der PHP-Extension "bcmath"
Hallo,
habe PHP 7.2 unter CentOS 7 erfolgreich installiert und wollte die Erweiterung "bcmath" installieren (mit "yum install php72-php-bcmath"). Leider schlägt dies fehl und ich kann mit den Fehlermeldungen nicht anfangen:
Welches Paket fehlt noch?
habe PHP 7.2 unter CentOS 7 erfolgreich installiert und wollte die Erweiterung "bcmath" installieren (mit "yum install php72-php-bcmath"). Leider schlägt dies fehl und ich kann mit den Fehlermeldungen nicht anfangen:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.scaleuptech.com
* epel: mirror.speedpartner.de
* extras: mirror.alpha-labs.net
* remi-safe: mirror.23media.com
* updates: mirror.plustech.de
Resolving Dependencies
--> Running transaction check
---> Package php72-php-bcmath.x86_64 0:7.2.31-2.el7.remi will be installed
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "php72-php-common(x86-64)" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "rtld(GNU_HASH)" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
--> Processing Dependency: php72-php-common(x86-64) = 7.2.31-2.el7.remi for package: php72-php-bcmath-7.2.31-2.el7.remi.x86_64
--> Processing Dependency: rtld(GNU_HASH) for package: php72-php-bcmath-7.2.31-2.el7.remi.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.17-307.el7.1 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-307.el7.1.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-307.el7.1.i686
---> Package php72-php-common.x86_64 0:7.2.31-2.el7.remi will be installed
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "php72-php-json(x86-64)" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "php72-runtime" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
--> Processing Dependency: php72-php-json(x86-64) = 7.2.31-2.el7.remi for package: php72-php-common-7.2.31-2.el7.remi.x86_64
--> Processing Dependency: php72-runtime for package: php72-php-common-7.2.31-2.el7.remi.x86_64
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.44.0-8.el7_7 will be installed
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "bash" records from Basenames index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
---> Package php72-php-json.x86_64 0:7.2.31-2.el7.remi will be installed
---> Package php72-runtime.x86_64 0:2.0-1.el7.remi will be installed
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "scl-utils" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
--> Processing Dependency: /usr/sbin/semanage for package: php72-runtime-2.0-1.el7.remi.x86_64
--> Processing Dependency: environment-modules for package: php72-runtime-2.0-1.el7.remi.x86_64
--> Processing Dependency: scl-utils for package: php72-runtime-2.0-1.el7.remi.x86_64
--> Running transaction check
---> Package environment-modules.x86_64 0:3.2.10-10.el7 will be installed
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "procps" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
--> Processing Dependency: procps for package: environment-modules-3.2.10-10.el7.x86_64
--> Processing Dependency: libtcl8.5.so()(64bit) for package: environment-modules-3.2.10-10.el7.x86_64
---> Package policycoreutils-python.x86_64 0:2.5-34.el7 will be installed
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "python(abi)" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "policycoreutils" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "setools-libs" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "python-IPy" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
--> Processing Dependency: python(abi) = 2.7 for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: policycoreutils = 2.5-34.el7 for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: setools-libs >= 3.3.8-4 for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libsemanage-python >= 2.5-14 for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libselinux-python for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-34.el7.x86_64
---> Package scl-utils.x86_64 0:20130529-19.el7 will be installed
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.8.5-4.el7 will be installed
--> Processing Dependency: python(abi) = 2.7 for package: audit-libs-python-2.8.5-4.el7.x86_64
---> Package checkpolicy.x86_64 0:2.5-8.el7 will be installed
---> Package libcgroup.x86_64 0:0.41-21.el7 will be installed
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "systemd" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: db5 error(-30986) from dbcursor->c_get: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "shadow-utils" records from Providename index: BDB0075 DB_PAGE_NOTFOUND: Requested page not found
--> Processing Dependency: systemd for package: libcgroup-0.41-21.el7.x86_64
Error: Package tuple ('systemd', 'x86_64', '0', '219', '73.el7_8.6') could not be found in rpmdb
Welches Paket fehlt noch?
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 583626
Url: https://administrator.de/contentid/583626
Ausgedruckt am: 24.11.2024 um 04:11 Uhr
1 Kommentar
Checke die installierten Versionen von PHP und OS penibel, da gibt es diverse Packages für bcmath.
Evt ist auch die RPM DB korrupt.
Setze mal ein
ab.
https://www.tecmint.com/rebuild-corrupted-rpm-database-in-centos/
Hab hier gerade nur ein CentOS 8 da dort ist es
nach der Installation von PHP, dann wird das Modul in der dazu passenden PHP Version installiert.
Evt ist auch die RPM DB korrupt.
Setze mal ein
sudo rpmdb --rebuilddb
ab.
https://www.tecmint.com/rebuild-corrupted-rpm-database-in-centos/
Hab hier gerade nur ein CentOS 8 da dort ist es
sudo yum install php-bcmath.x86_64
nach der Installation von PHP, dann wird das Modul in der dazu passenden PHP Version installiert.