Announcement

Collapse
No announcement yet.

Can't update to 22.04 from 20.04

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't update to 22.04 from 20.04

    It seems I don't have some option or repository on my current system because I can't update it to actual stable version.

    Command
    Code:
    lsb_release -a​
    returns:
    Code:
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 20.04.6 LTS
    Release:        20.04
    Codename:       focal
    ​
    When I try run
    Code:
    sudo apt full-upgrade
    ​
    it returns
    Code:
    0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
    ​
    What I need to do?

    #2
    Originally posted by rikitiki View Post
    sudo apt full-upgrade
    This only updates your system, not upgrading it to a new release, despite the wording used.

    To fully upgrade, if you are not seeing a prompt, is to start the upgrade tool manually:
    pkexec do-release-upgrade -m desktop -f DistUpgradeViewKDE
    Source:
    https://help.ubuntu.com/community/JammyUpgrades/Kubuntu

    Comment


      #3
      Thank you for the answering!

      This command returns:
      Code:
      Checking for a new Ubuntu release
      Please install all available updates for your release before upgrading.
      ​

      Comment


        #4
        Could this be a side effect of the "phased updates" (https://www.kubuntuforums.net/forum/...e-ok-read-this)?

        I can't remember if I have seen this in 20.04, though - but the solution in 22.04 or 22.10 would be to manually install the packages that have been held back with sudo apt install package_1 package_2 package_3 … and to release-upgrade like claydoh wrote afterwards.
        Not sure about 20.04 as I said…
        Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
        Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

        get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
        install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

        Comment


          #5
          Originally posted by Schwarzer Kater View Post
          Could this be a side effect of the "phased updates" (https://www.kubuntuforums.net/forum/...e-ok-read-this)?
          Probably not, as Apr in 20.04 didn't have this feature.



          Before running apt full-upgrade, did you run sudo apt update to refresh the package list?

          Does apt list --upgradeable show anything?

          What third-party software sources, such as PPAs do you have, if any?

          Comment


            #6
            Originally posted by claydoh View Post
            did you run sudo apt update to refresh the package list?
            Yeah, sure I did it.

            Code:
            sudo apt list --upgradeable​
            Returns:
            Code:
            Listing... Done
            libvkd3d1/jammy 1.3~jammy-1 amd64 [upgradable from: 1.1-4]
            lutris/focal,focal 0.5.12~ubuntu20.04.1 all [upgradable from: 0.5.10.1~ubuntu20.04.1]
            ​
            Code:
            sudo apt update
            Code:
            Reading package lists... Done
            Building dependency tree        
            Reading state information... Done
            2 packages can be upgraded. Run 'apt list --upgradable' to see them.
            W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://linux.teamviewer.com/deb stable InRelease: The following sign
            atures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
            W: Failed to fetch https://linux.teamviewer.com/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            Code:
            sudo apt upgrade
            Code:
            Reading package lists... Done
            Building dependency tree        
            Reading state information... Done
            Calculating upgrade... Done
            Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
             libavformat58 libavfilter7 tigervnc-viewer ffmpeg mc
             libmagickcore-6.q16-6-extra imagemagick libswresample3 libzmq5
             python2.7-minimal libmagickwand-6.q16-6 python2.7 libavformat-dev mc-data
             libswresample-dev libpostproc55 libavutil-dev libavcodec-dev
             imagemagick-6.q16 libeditorconfig0 libavcodec58 libavutil56 libavdevice58
             libswscale5 libopenexr24 libsdl2-2.0-0 libmysofa1 libmagickcore-6.q16-6
             libpython2.7-minimal libpython2.7-stdlib libavresample4 imagemagick-6-common
            Learn more about Ubuntu Pro at https://ubuntu.com/pro
            0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

            Comment


              #7
              Originally posted by rikitiki View Post
              Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
              See:
              https://askubuntu.com/questions/1452...-to-ubuntu-pro
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Thank you! I got ubuntu pro key and upgraded several packages. But still can't update the system.

                Code:
                sudo apt update
                Code:
                2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://linux.teamviewer.com/deb stable InRelease: The following sign
                atures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
                W: Failed to fetch https://linux.teamviewer.com/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
                W: Some index files failed to download. They have been ignored, or old ones used instead.
                Code:
                pkexec do-release-upgrade -m desktop -f DistUpgradeViewKDE
                Code:
                Checking for a new Ubuntu release
                Please install all available updates for your release before upgrading.

                Comment


                  #9
                  Originally posted by rikitiki View Post
                  Code:
                  W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://linux.teamviewer.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
                  This one is easily fixable, there are hundreds of how-tos and posts on this type of error.
                  Here is one specific to your teamviewer one:
                  https://community.teamviewer.com/Eng...-not-available
                  This is the correct fix, you won't see any warning messages about things being deprecated on 20.04.
                  You can also disable the repo, or remove it as well.

                  Originally posted by rikitiki View Post
                  Code:
                  Listing... Done libvkd3d1/jammy 1.3~jammy-1 amd64 [upgradable from: 1.1-4]
                                lutris/focal,focal 0.5.12~ubuntu20.04.1 all [upgradable from: 0.5.10.1~ubuntu20.04.1]
                  You might try updating again, and see if that fixes things, and allows these to be installed/updated.
                  Try (re)installing these two, and see what the errors are.
                  If not, uninstall both of them. Whatever sources you added for these (winehq in particular) is probably conflicting with things, at least somewhat.

                  Comment


                    #10
                    Now I don't have any warnings for apt update command:
                    Code:
                    Fetched 175 kB in 2s (74.7 kB/s)
                    Reading package lists... Done
                    Building dependency tree        
                    Reading state information... Done
                    2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                    ​
                    but still can't update the system
                    Code:
                    sudo apt upgrade
                    Code:
                    Reading package lists... Done
                    Building dependency tree        
                    Reading state information... Done
                    Calculating upgrade... Done
                    0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade
                    ​
                    ​
                    Code:
                    sudo apt full-upgrade
                    ​
                    Code:
                    Reading package lists... Done
                    Building dependency tree        
                    Reading state information... Done
                    Calculating upgrade... Done
                    0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
                    Code:
                    sudo apt list --upgradeable
                    ​
                    Code:
                    Listing... Done
                    libvkd3d1/jammy 1.3~jammy-1 amd64 [upgradable from: 1.1-4]
                    lutris/focal,focal 0.5.12~ubuntu20.04.1 all [upgradable from: 0.5.10.1~ubuntu20.04.1]
                    ​
                    Code:
                    pkexec do-release-upgrade -m desktop -f DistUpgradeViewKDE
                    ​
                    Code:
                    Checking for a new Ubuntu release
                    Please install all available updates for your release before upgrading.
                    ​
                    This is how GUI looks like
                    Click image for larger version

Name:	2023-04-10_21-54.png
Views:	462
Size:	3.8 KB
ID:	669911

                    Comment


                      #11
                      Code:
                      Listing... Done
                      libvkd3d1/jammy 1.3~jammy-1 amd64 [upgradable from: 1.1-4]
                      lutris/focal,focal 0.5.12~ubuntu20.04.1 all [upgradable from: 0.5.10.1~ubuntu20.04.1]
                      ​​
                      You probably need to uninstall these 2 -- they are still marked as upgradeable.
                      I don't know why, or why they are not being updated, but these are not from stock, official Ubuntu sources.

                      You can reinstall them afterward.
                      Also, the upgrade process will disable all added PPAs and other addon sources. You will need to re-enable them afterward, but some may not have any software for 22.04 in them, which will cause errors, so it is best to check that they do offer packages for Jammy before doing so.

                      Comment


                        #12
                        Thank you! It seems I successfully upgrade my system. I hope I won't have bugs

                        Comment


                          #13
                          Originally posted by rikitiki View Post
                          I hope I won't have bugs
                          Click image for larger version

Name:	giphy.gif
Views:	480
Size:	976.8 KB
ID:	669915
                          ....but......Linux lol.




                          '
                          I didn't have any, but ymmv
                          upgrades can be a crapshoot. Mine have been fine, historically, but others won't even attmept one from their own personal experience.

                          Comment


                            #14
                            It seems that I broke the system and now I can not use it. At first everything was great and all programs worked stably. I was excited because I really liked the new version of kde. However, I noticed that I do not have steam installed. And I just tried to install it through the console. sudo apt install steam. But this command, in addition to installing, began to remove programs one by one. and now I can't even login after reboot. how can this be explained? what am I supposed to do?


                            Comment


                              #15
                              I can't even load the previous version. Omg...

                              Comment

                              Working...
                              X