Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Install on Ubuntu 22.04 failed with broken packages

Install on Ubuntu 22.04 failed with broken packages

Scheduled Pinned Locked Moved Solved Support
installhostinger
11 Posts 5 Posters 3.4k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vinc3nt-h
    wrote on last edited by girish
    #1

    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 and apt 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 ? 😕

    1 Reply Last reply
    1
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @vinc3nt-h are you installing ubuntu from a disk/usb stick? maybe you can try to do apt update and apt upgrade in a fresh install and then try to install Cloudron? Did you have any other packages previous installed?

      V 1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        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)
        
        
        1 Reply Last reply
        0
        • J Offline
          J Offline
          juja
          wrote on last edited by
          #4

          Hello, I have the same issue here, with Hostinger too.
          I choose the OS Ubuntu 22.04 64 bit.

          1 Reply Last reply
          1
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #5

            Perhaps there needs to be some apt pinning before the install.

            Conscious tech

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @vinc3nt-h @juja we are trying to get a hostinger account to reproduce this.

              1 Reply Last reply
              1
              • girishG girish marked this topic as a question on
              • girishG girish

                @vinc3nt-h are you installing ubuntu from a disk/usb stick? maybe you can try to do apt update and apt upgrade in a fresh install and then try to install Cloudron? Did you have any other packages previous installed?

                V Offline
                V Offline
                vinc3nt-h
                wrote on last edited by
                #7

                @girish I followed the process from Hostinger, I just selected their OS. Same as @juja : OS Ubuntu 22.04 64 bit

                girishG 1 Reply Last reply
                1
                • V Offline
                  V Offline
                  vinc3nt-h
                  wrote on last edited by
                  #8

                  It looks like it has been solved. I did the same thing today: apt update -> apt upgrade and then ./cloudron-setup
                  🤔 🤔 . Maybe yesterday wasn't a good day for this package 😬

                  1 Reply Last reply
                  2
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #9

                    Incidentally we are in contact with hostinger at the moment to look into how to provide a pre-installed image. So I was doing a few test installations last few days but didn't encounter the described issue with their Ubuntu 22.04 image.

                    1 Reply Last reply
                    2
                    • V vinc3nt-h

                      @girish I followed the process from Hostinger, I just selected their OS. Same as @juja : OS Ubuntu 22.04 64 bit

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #10

                      @vinc3nt-h can you also tell us which region? The one we tested is in Netherlands

                      1 Reply Last reply
                      1
                      • V Offline
                        V Offline
                        vinc3nt-h
                        wrote on last edited by
                        #11

                        @girish I have mine in France.
                        I've been able to install Cloudron since, I guess the problem was with the OS they provided, but I still don't understand why apt update only worked after 1 day.

                        1 Reply Last reply
                        0
                        • girishG girish has marked this topic as solved on
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search