Installation fails with lot of errorsin the log and can't connect to ppa.launchpadcontent.net

I am totally new in Ubuntu and hestiaCP and my first installation on a fresh Ubuntu 24.04 LTS / 64 bit fails. The log is below.

Welcome to the Hestia Control Panel installer!

Please wait, the installer is now checking for missing dependencies…

W: Failed to fetch https://ppa.launchpadcontent.net/ondrej/php/ubuntu/dists/noble/InRelease  Could not handshake: Error in the pull function. [IP: 185.125.190.80 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
[ * ] Installing dependencies…
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: Package installation failed, check log file for more details.


As mentioned, this is a totally fresh installation from the hoster. I could only set the root password - nothing else. What is wrong, what am I doing wrong?

The log:

Reading package lists…
Building dependency tree…
Reading state information…
apt-transport-https is already the newest version (2.8.3).
ca-certificates is already the newest version (20240203).
curl is already the newest version (8.5.0-2ubuntu10.9).
dirmngr is already the newest version (2.4.4-2ubuntu17.4).
gnupg is already the newest version (2.4.4-2ubuntu17.4).
openssl is already the newest version (3.0.13-0ubuntu3.9).
software-properties-common is already the newest version (0.99.49.4).
wget is already the newest version (1.21.4-1ubuntu4.1).
sudo is already the newest version (1.9.15p5-3ubuntu5.24.04.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up tzdata (2026a-0ubuntu0.24.04.1) …
dpkg: error processing package tzdata (–configure):
installed tzdata package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of libpython3.12-stdlib:amd64:
libpython3.12-stdlib:amd64 depends on tzdata; however:
Package tzdata is not configured yet.

dpkg: error processing package libpython3.12-stdlib:amd64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.12:
python3.12 depends on libpython3.12-stdlib (= 3.12.3-1ubuntu0.13); however:
Package libpython3.12-stdlib:amd64 is not configured yet.
python3.12 depends on tzdata; however:
Package tzdata is not configured yet.

dpkg: error processing package python3.12 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3:
python3 depends on python3.12 (>= 3.12.3-0~); however:
Package python3.12 is not configured yet.

dpkg: error processing package python3 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpython3.12t64:amd64:
libpython3.12t64:amd64 depends on libpython3.12-stdlib (= 3.12.3-1ubuntu0.13); however:
Package libpython3.12-stdlib:amd64 is not configured yet.

dpkg: error processing package libpython3.12t64:amd64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpython3-stdlib:amd64:
libpython3-stdlib:amd64 depends on libpython3.12-stdlib (>= 3.12.3-0~); however:
Package libpython3.12-stdlib:amd64 is not configured yet.

dpkg: error processing package libpython3-stdlib:amd64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of vim:
vim depends on libpython3.12t64 (>= 3.12.1); however:
Package libpython3.12t64:amd64 is not configured yet.

dpkg: error processing package vim (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tzdata
libpython3.12-stdlib:amd64
python3.12
python3
libpython3.12t64:amd64
libpython3-stdlib:amd64
vim


You are not doing anything wrong. The problem is with ppa.launchpad.net. Ubuntu/Canonical has been under attack since April 30, and ppa.launchpad.net has been working erratically. Try again later, or consider using Debian 12 instead of Ubuntu 24.04.

2 Likes

Oh, thank you so much for the fast answer. Yes, when I try to open the URL manually I get "503 Service Unavailable” but I didn’t think that it causes then all the other problems. I will try it later.

1 Like

I can open now anytime the URL https://ppa.launchpadcontent.net/ondrej/php/ubuntu/dists/noble/InRelease without any problem in my browser but the installion still complains that it times out. Can it be that my server IP has been blocked?

The first lines from the launchpadcontent:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Origin: LP-PPA-ondrej-php
Label: PPA for PHP
Suite: noble
Version: 24.04
Codename: noble
Date: Sat, 11 Apr 2026 10:46:03 UTC
Architectures: amd64 arm64 armhf i386 ppc64el riscv64 s390x
Components: main
Description: Ubuntu Noble 24.04
MD5Sum:
 8b7712019e47c5043849b3f5707fa1f2          1072518 main/binary-amd64/Packages
 0f3e574b59682e91d069e026dd634cd8           245118 main/binary-amd64/Packages.gz
 60ac80693ef251c87f67c7ebec3a1cd3           142480 main/binary-amd64/Packages.xz
 ff2776bdcafc4898487868a320b9b53e              111 main/binary-amd64/Release
 9682da741a2e5132360fb827a7a4de95          1067253 main/binary-arm64/Packages
 ea32a7fdbaba91c4b7ad12670a90430b           242837 main/binary-arm64/Packages.gz
 7ba3321f86df3d1625447e8b516f7740           140968 main/binary-arm64/Packages.xz
 11e1da0d4f89a848de5436f91b8707b2              111 main/binary-arm64/Release
 0fdd4cca7e0484dfb631629df63894ab          1058964 main/binary-armhf/Packages
 ff1db29d29b010bbc39174da78f55a59           241679 main/binary-armhf/Packages.gz
 c5071efdd8eb4c709fe01b2bc2bdc73a           140592 main/binary-armhf/Packages.xz
 aa60fc2b56be76bd35063a22a9f17a51              111 main/binary-armhf/Release
 7eba8da44f314713d6f3e635dbfc2f1c           179729 main/binary-i386/Packages

Yes, as I said, it works erratically, it could work in 5 minutes, 2 hours, tomorrow… If you are in a hurry, use Debian 12.

More info:

https://www.heise.de/en/news/Canonical-Servers-Massive-Cyberattack-Underway-11279215.html

I am not allowed to post more links but I think, the topic is clear.

This explains why it didn’t work for me

I got it fixed tho by modifying what links I get shit from

Note:

I had to install Ubuntu again because the Linux system seemed to be broken. The update didn’t work, even https://status.canonical.com/#/ showed that all is operational. I got always an error while the update.

After the new Ubuntu installation I could install hestiaCP without any problem.