Announcement

Collapse
No announcement yet.

Pre-Install Upgrade from 24.10 to 25.04 failing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] Pre-Install Upgrade from 24.10 to 25.04 failing

    At startup I get a window:

    "Upgrade available.
    Ubuntu 25.04 is available"

    And then a clickable: "Upgrade available."

    When I click on it, I get a window saying:

    "Upgrade failed with the following output:"

    And then a blank space. No reason given.

    I have tried updating and upgrading the PCs

    Two from 24.10 and one from 24.04

    What can I do now?

    #2
    I confirm this problem... Any suggestion is appreciated. Yes, I could do a cold install, but I don't want to risk losing my current configuration files.

    TWP
    Kubuntu 24.11 64bit under Kernel 6.12.3, Hp Pavilion, 6MB ram. Stay away from all things Google...

    Comment


      #3
      In a konsole,
      Code:
      sudo do-release-upgrade
      Even if it doesn't work, you've got a much better chance of finding out what went wrong.
      Regards, John Little

      Comment


        #4
        Thank you, John!

        I have done the

        sudo apt-get update
        sudo apt-get upgrade
        sudo do-release-upgrade

        And get:

        Please install all available updates for your release before upgrading

        When I then do

        sudo apt-get upgrade

        I get

        The following updates have been deferred due to phasing:
        gzip
        The following packages have been kept back:
        libcanberra-pulse linux-generic linux-headers-generic linux-image-generic
        0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded
        N: Some packages may have been kept back due to phasing

        Comment


          #5
          Originally posted by nilsA View Post
          The following updates have been deferred due to phasing:
          gzip
          If it is indeed the phasing that is stopping the release upgrade:
          1. You can wait till you get the update. That should only be a few days. gzip is at 50% atm, meaning 50% of users have got the update.
          2. If you install the phased package with sudo apt install gzip. This has the slight side effect of the package being manually installed; in the case of gzip that's not relevant, as every install should have it.
          With linux-generic, linux-headers-generic, and linux-image-generic, I suspect a reboot might help.
          Regards, John Little

          Comment


            #6
            One 'can' also, if they desire, turn off phased updates. I did, so I could get my 24.10 to upgrade to 25.04.

            How do I turn off phased updates?

            If you’re sure that you want to disable phased updates, reverting to the old behavior, you can change apt’s configuration by creating a file in /etc/apt/apt.conf.d called 99-Phased-Updates (if /etc/apt/apt.conf.d/99-Phased-Updates doesn’t already exist). In the file, simply add the following lines:

            Update-Manager::Always-Include-Phased-Updates true;
            APT::Get::Always-Include-Phased-Updates true;

            Windows no longer obstruct my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Thank you, bot! I went for the install routine, discovered that one more package was missing (libcanberra-pulse).

              On one PC, I started the upgrade using:

              sudo do-release-upgrade

              On the other, I rebooted and waited for the message Version Upgrade Available. This went just fine, too.

              The third has a startup message that I need to get written down in order to hear if it is something I should address.

              Comment


                #8
                Originally posted by nilsA View Post
                Thank you, John!
                sudo apt-get update
                sudo apt-get upgrade
                sudo do-release-upgrade
                "sudo apt-get upgrade" will only upgrade packages that can be upgraded without installing new packages or removing installed packages (due to dependencies)...that's why some of the upgrades (libcanberra-pulse linux-generic linux-headers-generic linux-image-generic) were kept back (the phasing has already been discussed).
                You should use "sudo apt-get dist-upgrade" or "sudo apt full-upgrade" instead if you wish to upgrade everything.

                The apt frontend command is newer than apt-get (and in most cases preferable), though you can also still use apt-get. But there are a few differences between the two:
                apt-get upgrade = upgrade packages that can be upgraded without installing new packages or removing installed packages.
                apt upgrade = upgrade packages that can be upgraded without removing installed packages.
                apt-get dist-upgrade / apt full-upgrade = upgrade everything
                Last edited by kubicle; Jul 04, 2025, 10:30 PM.

                Comment


                  #9
                  libcanberra-pulse was holding my upgrade to 25.04. Your suggestion prompted me to do a manual install of that one package and I was then able to proceed with do-release-upgrade. Thank you jlittle.

                  Linux User #454271

                  Comment


                    #10
                    I was able to do an install of the libcanberra-pulse and then full-upgrade. It took several hours but was successful.

                    Thanks for all the help.

                    PS: I am Not a 'bot'...

                    TWP
                    Kubuntu 24.11 64bit under Kernel 6.12.3, Hp Pavilion, 6MB ram. Stay away from all things Google...

                    Comment

                    Users Viewing This Topic

                    Collapse

                    There are 0 users viewing this topic.

                    Working...
                    X