Install on Ubuntu 22.04 failed with broken packages
Solved
Support
-
Hello everyone. I tried to install Cloudron on my VPS on Hostinger but I ran into an error:
=> Installing base dependencies (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
The VPS is new, and I installed Ubuntu 22.04 on it. I tried to run
apt update
andapt upgrade
but didn't fix it.
This is what I have in the cloudron-setup.log:.... apt-get -y install --no-install-recommends \ acl \ apparmor \ build-essential \ cifs-utils \ cron \ curl \ debconf-utils \ dmsetup \ $gpg_package \ ipset \ iptables \ lib${python_package} \ linux-generic \ logrotate \ $mysql_package \ nfs-common \ $nginx_package \ $ntpd_package \ openssh-server \ python3-magic \ pwgen \ resolvconf \ sshfs \ swaks \ tzdata \ unattended-upgrades \ unbound \ unzip \ xfsprogs Reading package lists... Building dependency tree... Reading state information... cron is already the newest version (3.0pl1-137ubuntu3). cron set to manually installed. dmsetup is already the newest version (2:1.02.175-2.1ubuntu4). dmsetup set to manually installed. python3-magic is already the newest version (2:0.4.24-2). python3-magic set to manually installed. unattended-upgrades is already the newest version (2.8ubuntu1). unattended-upgrades set to manually installed. xfsprogs is already the newest version (5.13.0-1ubuntu2). xfsprogs set to manually installed. apparmor is already the newest version (3.0.4-2ubuntu2.2). apparmor set to manually installed. curl is already the newest version (7.81.0-1ubuntu1.14). gpg is already the newest version (2.2.27-3ubuntu2.1). gpg set to manually installed. iptables is already the newest version (1.8.7-1ubuntu5.1). iptables set to manually installed. libpython3.10 is already the newest version (3.10.12-1~22.04.2). libpython3.10 set to manually installed. logrotate is already the newest version (3.19.0-1ubuntu1.1). logrotate set to manually installed. openssh-server is already the newest version (1:8.9p1-3ubuntu0.4). systemd-timesyncd is already the newest version (249.11-0ubuntu3.11). systemd-timesyncd set to manually installed. tzdata is already the newest version (2023c-0ubuntu0.22.04.2). tzdata set to manually installed. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libatomic1 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed libc6-dev : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.4 is to be installed Depends: libtirpc-dev but it is not going to be installed Depends: libnsl-dev but it is not going to be installed libcc1-0 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed libgomp1 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed libitm1 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed liblsan0 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed libquadmath0 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed libubsan1 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed E: Unable to correct problems, you have held broken packages.
Did I do something wrong ?
-
On my server here, libatomic1 depends on gcc-12-base 12.3.0 . But it seems on your server, it depends on gcc-12-base (12-20) ?
# sudo apt info libatomic1 Package: libatomic1 Version: 12.3.0-1ubuntu1~22.04 Priority: optional Build-Essential: yes Section: libs Source: gcc-12 Origin: Ubuntu Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 46.1 kB Depends: gcc-12-base (= 12.3.0-1ubuntu1~22.04), libc6 (>= 2.14)
-
-