Hi everyone!
Hop ethis message finds you well
I am working on Debian 10 (buster) with i-MSCP 1.5.3 2018120800 and I have that issue to install php7.2.
Could you help me?
Thanks,
Romain.
Code
- # sudo perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --register --packaged 7.2
- [INFO] Scanning PHP site for the PHP 7.2 sources...
- [INFO] Found PHP 7.2 sources at http://php.net/distributions/php-7.2.24.tar.gz
- [INFO] The PHP 7.2.24 sources are already present in the /usr/local/src/phpswitcher directory. Skipping download.
- [INFO] Extracting the PHP 7.2.24 archive into /usr/local/src/phpswitcher/php-7.2.24 ...
- [INFO] Setup PHP build environment...
- I: Copying COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.809435
- I: forking: cp -al /var/cache/pbuilder/psw-debian-stretch.cow /var/cache/pbuilder/build/cow.809435
- I: unlink for ilistfile /var/cache/pbuilder/build/cow.809435/.ilist failed, it didn't exist?
- I: Invoking pbuilder
- I: forking: pbuilder update --override-config --configfile /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/.pbuilderrc --hookdir /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/build/cow.809435 --mirror http://deb.debian.org/debian --distribution stretch --extrapackages 'apt-transport-https apt-utils ca-certificates devscripts eatmydata equivs gnupg2 quilt wget' --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.809435'
- I: Running in no-targz mode
- I: Upgrading for distribution stretch
- I: Current time: Mon Apr 17 10:39:40 CEST 2023
- I: pbuilder-time-stamp: 1681720780
- I: copying local configuration
- I: Installing apt-lines
- I: mounting /proc filesystem
- I: mounting /sys filesystem
- I: creating /{dev,run}/shm
- I: mounting /dev/pts filesystem
- I: redirecting /dev/ptmx to /dev/pts/ptmx
- I: policy-rc.d already exists
- I: using eatmydata during job
- I: Refreshing the base.tgz
- I: upgrading packages
- Hit:1 http://deb.debian.org/debian-security stretch/updates InRelease
- Hit:2 http://deb.debian.org/debian stretch-updates InRelease
- Ign:3 http://deb.debian.org/debian stretch InRelease
- Hit:4 http://deb.debian.org/debian stretch Release
- Reading package lists...
- I: Obtaining the cached apt archive contents
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Calculating upgrade...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- apt-transport-https is already the newest version (1.4.11).
- apt-utils is already the newest version (1.4.11).
- ca-certificates is already the newest version (20200601~deb9u2).
- dpkg-dev is already the newest version (1.18.26).
- wget is already the newest version (1.18-5+deb9u3).
- aptitude is already the newest version (0.8.7-1).
- build-essential is already the newest version (12.3).
- devscripts is already the newest version (2.17.6+deb9u2).
- equivs is already the newest version (2.0.9+nmu1).
- gnupg2 is already the newest version (2.1.18-8~deb9u4).
- eatmydata is already the newest version (105-5).
- quilt is already the newest version (0.63-8).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: Copying back the cached apt archive contents
- I: user script /var/cache/pbuilder/build/cow.809435/tmp/hooks/E10psw-install-extra-packages starting
- Reading package lists...
- Building dependency tree...
- Reading state information...
- apt-transport-https is already the newest version (1.4.11).
- apt-utils is already the newest version (1.4.11).
- ca-certificates is already the newest version (20200601~deb9u2).
- wget is already the newest version (1.18-5+deb9u3).
- devscripts is already the newest version (2.17.6+deb9u2).
- equivs is already the newest version (2.0.9+nmu1).
- gnupg2 is already the newest version (2.1.18-8~deb9u4).
- eatmydata is already the newest version (105-5).
- libfile-fcntllock-perl is already the newest version (0.22-3+b2).
- quilt is already the newest version (0.63-8).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: user script /var/cache/pbuilder/build/cow.809435/tmp/hooks/E10psw-install-extra-packages finished
- I: unmounting dev/ptmx filesystem
- I: unmounting dev/pts filesystem
- I: unmounting dev/shm filesystem
- I: unmounting proc filesystem
- I: unmounting sys filesystem
- I: removing cowbuilder working copy
- I: Moving work directory [/var/cache/pbuilder/build/cow.809435] to final location [/var/cache/pbuilder/psw-debian-stretch.cow] and cleaning up old copy
- I: forking: rm -rf /var/cache/pbuilder/build/cow.809435-809435-tmp
- [INFO] Executing the clean, install MAKE(1) target(s) for PHP 7.2.24...
- I: Copying COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.810237
- I: forking: cp -al /var/cache/pbuilder/psw-debian-stretch.cow /var/cache/pbuilder/build/cow.810237
- I: unlink for ilistfile /var/cache/pbuilder/build/cow.810237/.ilist failed, it didn't exist?
- I: Invoking pbuilder
- I: forking: pbuilder execute --autocleanaptcache --configfile /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/.pbuilderrc --bindmounts '/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler /usr/local/src/phpswitcher/php-7.2.24 /opt/phpswitcher/20230417' --hookdir /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/build/cow.810237 --mirror http://deb.debian.org/debian --distribution stretch --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.810237 cow-shell' /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/make_wrapper.sh --directory /usr/local/src/phpswitcher/php-7.2.24 --makefile /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile PREFIX=/opt/phpswitcher/20230417 PHP_QUILT_PATCH_DIR=/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/patches/7.2 BUILD_OPTIONS=parallel=5 clean install
- I: Running in no-targz mode
- I: copying local configuration
- I: mounting /proc filesystem
- I: mounting /sys filesystem
- I: creating /{dev,run}/shm
- I: mounting /dev/pts filesystem
- I: redirecting /dev/ptmx to /dev/pts/ptmx
- I: Mounting /opt/phpswitcher/20230417
- I: Mounting /usr/local/src/phpswitcher/php-7.2.24
- I: Mounting /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler
- I: policy-rc.d already exists
- I: using eatmydata during job
- I: Obtaining the cached apt archive contents
- I: user script /var/cache/pbuilder/build/cow.810237/tmp/hooks/F10psw-setup-ondrej-sury-php-repo starting
- OK
- Hit:1 http://deb.debian.org/debian-security stretch/updates InRelease
- Hit:2 http://deb.debian.org/debian stretch-updates InRelease
- Ign:3 http://deb.debian.org/debian stretch InRelease
- Hit:4 http://deb.debian.org/debian stretch Release
- Ign:5 https://packages.sury.org/php stretch InRelease
- Ign:6 https://packages.sury.org/php stretch Release
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Err:8 https://packages.sury.org/php stretch/main amd64 Packages
- 403 Forbidden
- Reading package lists...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Calculating upgrade...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: user script /var/cache/pbuilder/build/cow.810237/tmp/hooks/F10psw-setup-ondrej-sury-php-repo finished
- I: user script /var/cache/pbuilder/build/cow.810237/tmp/hooks/F20psw-install-php-build-dependencies starting
- dh_testdir
- dh_testroot
- dh_prep
- dh_testdir
- dh_testroot
- dh_install
- dh_installdocs
- dh_installchangelogs
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
- dpkg-deb: building package 'imscp-psw-php7.2-build-deps' in '../imscp-psw-php7.2-build-deps_1.0_amd64.deb'.
- The package has been created.
- Attention, the package has been created in the current directory,
- not in ".." as indicated by the message above!
- Selecting previously unselected package imscp-psw-php7.2-build-deps.
- (Reading database ... 16118 files and directories currently installed.)
- Preparing to unpack imscp-psw-php7.2-build-deps_1.0_amd64.deb ...
- Unpacking imscp-psw-php7.2-build-deps (1.0) ...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Correcting dependencies... Done
- The following packages will be REMOVED:
- imscp-psw-php7.2-build-deps
- 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
- 1 not fully installed or removed.
- After this operation, 10.2 kB disk space will be freed.
- (Reading database ... 16122 files and directories currently installed.)
- Removing imscp-psw-php7.2-build-deps (1.0) ...
- I: Copying back the cached apt archive contents
- I: unmounting /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler filesystem
- I: unmounting /usr/local/src/phpswitcher/php-7.2.24 filesystem
- I: unmounting /opt/phpswitcher/20230417 filesystem
- I: unmounting dev/ptmx filesystem
- I: unmounting dev/pts filesystem
- I: unmounting dev/shm filesystem
- I: unmounting proc filesystem
- I: unmounting sys filesystem
- I: Cleaning COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.810237
- [ERROR] main: An error occurred while executing MAKE(1) target(s) for PHP 7.2.24: W: --override-config is not set; not updating apt.conf Read the manpage for details.
- W: The repository 'https://packages.sury.org/php stretch Release' does not have a Release file.
- E: Failed to fetch https://packages.sury.org/php/dists/stretch/main/binary-amd64/Packages 403 Forbidden
- E: Some index files failed to download. They have been ignored, or old ones used instead.
- dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
- dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
- dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
- Starting pkgProblemResolver with broken count: 1
- Starting 2 pkgProblemResolver with broken count: 1
- Investigating (0) imscp-psw-php7.2-build-deps:amd64 < 1.0 @iU mK Nb Ib >
- Broken imscp-psw-php7.2-build-deps:amd64 Depends on libpcre2-dev:amd64 < none | 10.22-3 @un uH > (>= 10.30)
- Removing imscp-psw-php7.2-build-deps:amd64 because I can't find libpcre2-dev:amd64
- Done
- Starting pkgProblemResolver with broken count: 0
- Starting 2 pkgProblemResolver with broken count: 0
- Done
- mk-build-deps: Unable to install imscp-psw-php7.2-build-deps at /usr/bin/mk-build-deps line 402.
- mk-build-deps: Unable to install all build-dep packages