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. Upgrade 8.0.4 to 8.0.6 fails: "E: Packages were downgraded and -y was used without --allow-downgrades."

Upgrade 8.0.4 to 8.0.6 fails: "E: Packages were downgraded and -y was used without --allow-downgrades."

Scheduled Pinned Locked Moved Solved Support
update
3 Posts 2 Posters 383 Views 2 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.
  • D Offline
    D Offline
    dsteinhoefel
    wrote on last edited by joseph
    #1

    Hi everyone,

    We fail upgrading our Cloudron instance on an Ubuntu 22.04.5 LTS machine from 8.0.4 to 8.0.6. I've checked the logs. It seems the updater tries to downgrade some packages while installing Docker, but fails:

    2024-11-18T10:14:36 ==> installer: installing docker
    2024-11-18T10:14:36 ==> installer: Making sure apt is in a good state
    2024-11-18T10:14:36 ==> installer: Waiting for all dpkg tasks to finish...
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
    Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
    Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
    Hit:3 https://download.docker.com/linux/ubuntu jammy InRelease
    Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
    Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
    Reading package lists...2024-11-18T10:14:39 ==> update: cloudron-updater is still active. will check in 5 seconds
    
    Building dependency tree...
    Reading state information...
    3 packages can be upgraded. Run 'apt list --upgradable' to see them.
    2024-11-18T10:14:40 ==> installer: apt is ready
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Suggested packages:
      aufs-tools cgroupfs-mount | cgroup-lite
    Recommended packages:
      docker-ce-rootless-extras
    The following packages will be DOWNGRADED:
      containerd.io docker-ce docker-ce-cli
    0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 3 not upgraded.
    E: Packages were downgraded and -y was used without --allow-downgrades.
    2024-11-18T10:14:44 ==> update: cloudron-updater failed
    

    Does anybody have any idea on how to proceed?

    Thanks for your time!

    Cheers,
    Dominic

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

      Oh looks like docker was upgraded then outside of Cloudron updates maybe apt upgrade was called manually in the past.

      The installer should have placed the correct versions in /tmp so run the following to manually install the correct version:

      apt install --allow-downgrades -y /tmp/containerd.deb  /tmp/docker-ce-cli.deb /tmp/docker.deb
      

      Then the update should succeed again

      D 1 Reply Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • nebulonN nebulon

        Oh looks like docker was upgraded then outside of Cloudron updates maybe apt upgrade was called manually in the past.

        The installer should have placed the correct versions in /tmp so run the following to manually install the correct version:

        apt install --allow-downgrades -y /tmp/containerd.deb  /tmp/docker-ce-cli.deb /tmp/docker.deb
        

        Then the update should succeed again

        D Offline
        D Offline
        dsteinhoefel
        wrote on last edited by
        #3

        Thanks, @nebulon—this worked! ♥

        1 Reply Last reply
        0
        • D dsteinhoefel 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