Announcement

Collapse
No announcement yet.

HWE stack for upgrade to 20.04.2

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

    HWE stack for upgrade to 20.04.2

    Hi,
    In the last I was made the same question about upgrade HWE stack 18.04 to 18.04.2.

    In this post indicate this:

    Originally posted by claydoh
    ...
    HOWEVER, if you want the HWE stack for newer kernels and xorg, you have to install the packages linux-generic-hwe-18.04 and xserver-xorg-hwe-18.04
    ...


    Well, my fresh install is 20.04, I have updated to 20.04.2 and with synaptic I search:
    linux-generic-hwe-20.04 and install
    But... xserver-xorg-hwe-20.04 aren't, only are 18.04 version.

    Don't need install this?

    Thanks and regards.

    #2
    Nope, not needed in 20.04. Just the hwe kernel meta-package. This is a difference from previous LTS releases.

    technically, 20.04 is supposed to be on the hwe track automatically, though there is no reference to when, for existing installs, this will happen. The latest ISO image does have the new kernel, but it does not appear to have been enabled on existing installs at the moment.

    if you want the new kernel now:
    sudo apt install --install-recommends linux-generic-hwe-20.04

    https://wiki.ubuntu.com/Kernel/LTSEnablementStack
    Last edited by claydoh; Feb 08, 2021, 08:02 AM.

    Comment


      #3
      Thanks a lot for your reply and explanation.

      In my case, like you indicate, I have kubuntu 20.04.2 (fresh install 20.04) and not update kernel to 5.8 (new kernel in new iso 20.04.2).
      Like indicate, not have been enabled on existing installs.

      Before view your reply, I was installed linux-generic-hwe-20.04 and update kernel to 5.8.

      After view your reply I try with the command: sudo apt install --install-recommends linux-generic-hwe-20.04

      But I have an error.

      I uninstall kernel 5.8 and linux-generic-hwe-20.04.

      I try and I have the same error:


      Code:
      sudo apt install --install-recommends linux-generic-hwe-20.04
      Reading package list ... Done
      Creating dependency tree
      Reading the status information ... Done
      Do not can instal some pack. This may mean that
      you asked for an impossible situation or, if you are using the distribution
      unstable, that some required packages have not yet been created or are
      They have taken from "Incoming".
      The following information can help resolve the situation:
      
      The following packages have unmet dependencies:
      linux-generic-hwe-20.04: Depends: linux-image-generic-hwe-20.04 (= 5.8.0.43.49 ~ 20.04.29) but it will not install
      E: Problems could not be corrected, you have retained broken packages.
      I review, I don't have any broken or retained package...

      Thanks and regards!

      Comment


        #4
        Code:
        The following packages have unmet dependencies:
        linux-generic-hwe-20.04: Depends: linux-image-generic-hwe-20.04 (= [B]5.8.0.43.49[/B] ~ 20.04.29) but it will not install
        E: Problems could not be corrected, you have retained broken packages.
        Dunno, that is not a normal kernel package version, so you have added something causing the errors. most likely.
        Recent post on this:
        https://www.kubuntuforums.net/showth...l-update-blues


        So, what extra repos or settings have you added?

        Comment


          #5
          Originally posted by claydoh View Post
          Code:
          The following packages have unmet dependencies:
          linux-generic-hwe-20.04: Depends: linux-image-generic-hwe-20.04 (= [B]5.8.0.43.49[/B] ~ 20.04.29) but it will not install
          E: Problems could not be corrected, you have retained broken packages.
          Dunno, that is not a normal kernel package version, so you have added something causing the errors. most likely.
          Recent post on this:
          https://www.kubuntuforums.net/showth...l-update-blues

          So, what extra repos or settings have you added?
          Thanks again for your reply.

          First, before view your reply and install linux-generic-hwe-20.04, then, the system update the kernel to 5.8, after restart, upgrade again kernel to new version of 5.8.

          Any extra repo about kernel or setting or similar about kernel.

          Only update kernel from 5.4 to 5.8 when I was installed linux-generic-hwe-20.04.

          After view your reply, I remove kernel 5.8 and the installed.

          If in synaptic type linux-generic-hwe-20.04 any problem for install.

          This is my extra repos (well, all my repos)

          Click image for larger version

Name:	munich.jpg
Views:	1
Size:	85.1 KB
ID:	645042

          Edit: I don't made any more change, only, sure about any of kernel 5.8 installed, now, I can install that you indicate in your first reply...

          Code:
          sudo apt install --install-recommends linux-generic-hwe-20.04
          [sudo] password for ariadna:
          Reading package list ... Done
          Creating dependency tree
          Reading the status information ... Done
          The following additional packages will be installed:
          linux-headers-5.8.0-43-generic linux-headers-generic-hwe-20.04 linux-hwe-5.8-headers-5.8.0-43 linux-image-5.8.0-43-generic linux-image-generic- hwe-20.04
          linux-modules-5.8.0-43-generic linux-modules-extra-5.8.0-43-generic
          Suggested Packages:
          fdutils linux-doc | linux-hwe-5.8-source-5.8.0 linux-hwe-5.8-tools
          The following NEW packages will be installed:
          linux-generic-hwe-20.04 linux-headers-5.8.0-43-generic linux-headers-generic-hwe-20.04 linux-hwe-5.8-headers-5.8.0-43 linux-image-5.8.0-43- generic
          linux-image-generic-hwe-20.04 linux-modules-5.8.0-43-generic linux-modules-extra-5.8.0-43-generic
          0 updated, 8 new will be installed, 0 to remove, and 0 not updated.
          64.6MB / 77.2MB files need to be downloaded.
          373 MB of additional disk space will be used after this operation.
          do you wish to continue? [Y / n]
          As I comment, I did not do anything new since my last answer, I had already uninstalled, purged and rebooted.
          The team only stayed in suspension for an hour, and now I try again to see the version that you indicate as an error and I am surprised that yes ...

          During installation, Among other lines, these appear:

          Configuring linux-hwe-5.8-headers-5.8.0-43 (5.8.0-43.49 ~ 20.04.1) ...
          Setting linux-headers-5.8.0-43-generic (5.8.0-43.49 ~ 20.04.1) ...
          Configuring linux-modules-extra-5.8.0-43-generic (5.8.0-43.49 ~ 20.04.1) ...
          Setting linux-headers-generic-hwe-20.04 (5.8.0.43.49 ~ 20.04.29) ...
          Setting linux-image-generic-hwe-20.04 (5.8.0.43.49 ~ 20.04.29) ...
          Setting linux-generic-hwe-20.04 (5.8.0.43.49 ~ 20.04.29) ...

          Version different from the one indicated now.

          By the way, this morning, when I installed hwe-20.04, it installed the 5.8 kernel, but as soon as I rebooted it updated it if I remember correctly to .43, after seeing your answer, it was when I uninstalled and purged everything related to 5.8.
          Last edited by wonder; Feb 08, 2021, 01:59 PM.

          Comment


            #6
            What about here:




            Did you read the post I linked to?

            the package
            linux-image-5.8.0-43-generic is not in the stock repos, but is in the testing 'pre-release-updates', and as you can read from that post, it can make things messy.

            Comment


              #7
              Hi Claydoh,

              Sorry, I did not see the link to the wiki, I did see the link you put to the forum, but the link to the wiki, I missed it, now that you mentioned it, I have reviewed the whole thread and I have seen that there was no link viewed.

              But after seeing your screenshot, mine has surprised me very, very much, something that I had not looked at because, I automatically deduced it was not necessary, since I never, but I NEVER touch that aspect or that configuration in the updates, I leave it as it comes in the fresh install, with security updates.
              And this is the surprise that I have taken:
              Click image for larger version

Name:	munich.jpg
Views:	1
Size:	34.3 KB
ID:	645043

              How is this possible?
              What program that I have installed has been able to make this modification?
              The programs that I install, in my repos, can be seen, none "strange" or "dangerous".

              Now I understand why, at one point, after installing hwe-20.04, linux-image-5.8.0-43 was installed, without being stock

              Really, I am speechless, not knowing what to say ...

              And above, the "Pre-released updates" I can not uncheck it, the most is to leave it in bold as seen in the image, but I can not leave it completely unchecked.

              I must say that the other day, synaptic asked me if I wanted to continue receiving Opera updates (which surprised me) and that for this I added a repo (I understand that Opera had already added it) is the "only" thing that has been strange .. .

              But I do not know since when I have that configuration, because as I mentioned, since I installed kubuntu 20.04 (like all versions) I leave only marked what comes by security default ...

              I'm not knowing what to say ...

              Comment


                #8
                I made all the steps that indicate your link (thanks for this link, its very good and important): https://wiki.ubuntu.com/Kernel/LTSEnablementStack

                I'm work with kernel 5.4, but in preferences of updates, I can't disabled or uncheck 100% "Pre Released Updates"...I search info but I can't uncheck...

                Then, when type sudo apt install --install-recommends linux-generic-hwe-20.04 go to install kernel linux-image-5.8.0-43.

                Any suggestion or idea about this?

                Thanks.

                Comment


                  #9
                  That is fine now, I see this in my updates this morning, so it has been moved to the normal section if the repos


                  I have no idea why you cannot change that setting.


                  post the contents of the file /etc/apt/sources.list. it may have clues, but if there was something amiss with the file, it normally would show an error message somewhere.
                  Also post the file permissions of the file:
                  Code:
                  ls -l /etc/apt/sources.list

                  This file has the basic repo information for your system. Normally, any extra repos added, such as PPAs have their stored in individual files, so adding Opera's repo should not mess with this, if they are doing things correctly.

                  Comment


                    #10
                    Originally posted by claydoh View Post
                    That is fine now, I see this in my updates this morning, so it has been moved to the normal section if the repos
                    Well, at least in that aspect, we have good news
                    I have no idea why you cannot change that setting.
                    Neither have I ... I have looked for possible causes and no idea, I do not know the reason why I had the 4 options marked ... I have never, in all my versions of kubuntu, touched the update options ...

                    post the contents of the file /etc/apt/sources.list. it may have clues, but if there was something amiss with the file, it normally would show an error message somewhere.
                    I have reviewed it these days, a priori, I do not see anything strange, but it may be that something escapes me, this is the content:
                    Code:
                    # deb cdrom:[Kubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200512)]/ focal main multiverse restricted universe
                    
                    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
                    # newer versions of the distribution.
                    deb http://es.archive.ubuntu.com/ubuntu/ focal main restricted
                    # deb-src http://es.archive.ubuntu.com/ubuntu/ focal main restricted
                    
                    ## Major bug fix updates produced after the final release of the
                    ## distribution.
                    # deb-src http://es.archive.ubuntu.com/ubuntu/ focal-updates main restricted
                    
                    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                    ## team. Also, please note that software in universe WILL NOT receive any
                    ## review or updates from the Ubuntu security team.
                    deb http://es.archive.ubuntu.com/ubuntu/ focal universe
                    # deb-src http://es.archive.ubuntu.com/ubuntu/ focal universe
                    # deb-src http://es.archive.ubuntu.com/ubuntu/ focal-updates universe
                    
                    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
                    ## team, and may not be under a free licence. Please satisfy yourself as to 
                    ## your rights to use the software. Also, please note that software in 
                    ## multiverse WILL NOT receive any review or updates from the Ubuntu
                    ## security team.
                    deb http://es.archive.ubuntu.com/ubuntu/ focal multiverse
                    # deb-src http://es.archive.ubuntu.com/ubuntu/ focal multiverse
                    # deb-src http://es.archive.ubuntu.com/ubuntu/ focal-updates multiverse
                    
                    ## N.B. software from this repository may not have been tested as
                    ## extensively as that contained in the main release, although it includes
                    ## newer versions of some applications which may provide useful features.
                    ## Also, please note that software in backports WILL NOT receive any review
                    ## or updates from the Ubuntu security team.
                    # deb-src http://es.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
                    
                    ## Uncomment the following two lines to add software from Canonical's
                    ## 'partner' repository.
                    ## This software is not part of Ubuntu, but is offered by Canonical and the
                    ## respective vendors as a service to Ubuntu users.
                    deb http://archive.canonical.com/ubuntu focal partner
                    # deb-src http://archive.canonical.com/ubuntu focal partner
                    
                    # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
                    # deb-src http://security.ubuntu.com/ubuntu focal-security universe
                    # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
                    
                    # This system was installed using small removable media
                    # (e.g. netinst, live or single CD). The matching "deb cdrom"
                    # entries were disabled at the end of the installation process.
                    # For information about how to configure apt package sources,
                    # see the sources.list(5) manual.
                    deb http://security.ubuntu.com/ubuntu/ focal-security main restricted multiverse universe
                    deb http://es.archive.ubuntu.com/ubuntu/ focal-updates main restricted multiverse universe
                    I have seen that I also have a file called sources.list.save
                    They are exactly the same, but yesterday or the day before yesterday, I saw one more line at the end of the .save, referring to the kubuntu backports (I add the backport ppa as soon as I install kubuntu).

                    Also post the file permissions of the file:
                    Code:
                    ls -l /etc/apt/sources.list
                    This is:
                    Code:
                    [FONT=monospace][COLOR=#000000]ls -l /etc/apt/sources.list [/COLOR]
                    -rw-rw-r-- 1 root root 2868 feb 10 20:29 /etc/apt/sources.list[/FONT]
                    This file has the basic repo information for your system. Normally, any extra repos added, such as PPAs have their stored in individual files, so adding Opera's repo should not mess with this, if they are doing things correctly.
                    What I commented regarding Opera ... I was very surprised by what happened. Normally, rather, I always add the ppa's in the same way, there are programs (such as teamviewer and browsers) that when installed using the .deb automatically add the ppa of their repo.

                    The other day I accessed Synaptic, I don't remember what I was doing and then I got a warning / question if I wanted to keep Opera updated (I don't remember if it asked me to add the ppa). It was strange to me because it had never happened to me and Synaptic had never asked me anything like that (in synaptic, I install, uninstall, review ... but I add the ppa's through konsole).

                    Thanks and regards!
                    Last edited by wonder; Feb 11, 2021, 11:23 AM.

                    Comment


                      #11
                      Well...I can solved the problem or view what are the cause for can't uncheck the box of Pre-Released Updates...

                      Yesterday, I was open Discover and view file by file all ppa's, and view that, Opera appears like non free.

                      I uncheck the opera ppa and then, I can uncheck "Pre-released updates".

                      Click image for larger version

Name:	munich.jpg
Views:	1
Size:	52.7 KB
ID:	645044

                      And this is the result:
                      Click image for larger version

Name:	munich2.jpg
Views:	1
Size:	37.8 KB
ID:	645045

                      Finally, I can view what are the "problem"...

                      Regards!

                      Comment

                      Working...
                      X