Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Kernel update, can't install latest version

  1. #1
    Join Date
    Feb 2014
    Beans
    63

    Question Kernel update, can't install latest version

    This last week I started having problems after Livepatch tried to do updates to the latest kernel version. If I allow the system to boot up normally, it goes to a black/blank screen and won't do anything else. If I boot into Linux 6.8.0-39 generic, everything is fine. I keep receiving warnings that installation or removal of packages has failed. Anyone have any ideas what's going on? I'm stumped.

    I should add that I've tried to manually update and upgrade. My latest attempt to do so can be seen below.
    Code:
    drumone@Linux-Desktop-2021:~$ sudo apt-get update
    [sudo] password for drumone: 
    Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
    Hit:2 http://us.archive.ubuntu.com/ubuntu noble InRelease                                
    Hit:3 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease                        
    Hit:4 https://packages.microsoft.com/repos/code stable InRelease                         
    Hit:5 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease                      
    Hit:6 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease
    Hit:7 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
    Hit:8 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu noble InRelease
    Reading package lists... Done
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://packages.microsoft.com/repos/code stable InRelease' doesn't support architecture 'i386'
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    N: Missing Signed-By in the sources.list(5) entry for 'https://packages.microsoft.com/repos/code'
    drumone@Linux-Desktop-2021:~$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Calculating upgrade... Done
    The following upgrades have been deferred due to phasing:
      gnome-shell gnome-shell-common
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    4 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Setting up linux-image-6.8.0-40-generic (6.8.0-40.40) ...
    Setting up linux-headers-6.8.0-40-generic (6.8.0-40.40) ...
    /etc/kernel/header_postinst.d/dkms:
     * dkms: running auto installation service for kernel 6.8.0-40-generic
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/etc/dkms/framework.conf)
    Sign command: /usr/bin/kmodsign
    Signing key: /var/lib/shim-signed/mok/MOK.priv
    Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    
    Building module:
    Cleaning build area...
    'make' all KVER=6.8.0-40-generic...(bad exit status: 2)
    ERROR (dkms apport): binary package for btusb: 4.0 not found
    Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
    Consult /var/lib/dkms/btusb/4.0/build/make.log for more information.
    dkms autoinstall on 6.8.0-40-generic/x86_64 failed for btusb(10)
    Error! One or more modules failed to install during autoinstall.
    Refer to previous errors for more information.
     * dkms: autoinstall for kernel 6.8.0-40-generic
       ...fail!
    run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
    dpkg: error processing package linux-headers-6.8.0-40-generic (--configure):
     installed linux-headers-6.8.0-40-generic package post-installation script subprocess returned error exit status 11
    dpkg: dependency problems prevent configuration of linux-headers-generic:
     linux-headers-generic depends on linux-headers-6.8.0-40-generic; however:
      Package linux-headers-6.8.0-40-generic is not configured yet.
    
    dpkg: error processing package linux-headers-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-generic:
     linux-generic depends on linux-headers-generic (= 6.8.0-40.40); however:
      Package linux-headers-generic is not configured yet.
    
    dpkg: error processing package linux-generic (--configure):
     dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
                    No apport report written because the error message indicates its a followup error from a previous failure.
                                    Processing triggers for linux-image-6.8.0-40-generic (6.8.0-40.40) ...
    /etc/kernel/postinst.d/dkms:
     * dkms: running auto installation service for kernel 6.8.0-40-generic
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    Deprecated feature: REMAKE_INITRD (/etc/dkms/framework.conf)
    Sign command: /usr/bin/kmodsign
    Signing key: /var/lib/shim-signed/mok/MOK.priv
    Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
    Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
    
    Building module:
    Cleaning build area...
    'make' all KVER=6.8.0-40-generic...(bad exit status: 2)
    ERROR (dkms apport): binary package for btusb: 4.0 not found
    Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
    Consult /var/lib/dkms/btusb/4.0/build/make.log for more information.
    dkms autoinstall on 6.8.0-40-generic/x86_64 failed for btusb(10)
    Error! One or more modules failed to install during autoinstall.
    Refer to previous errors for more information.
     * dkms: autoinstall for kernel 6.8.0-40-generic
       ...fail!
    run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
    dpkg: error processing package linux-image-6.8.0-40-generic (--configure):
     installed linux-image-6.8.0-40-generic package post-installation script subprocess returned error exit status 11
    No apport report written because MaxReports is reached already
                                                                  Errors were encountered while processing:
     linux-headers-6.8.0-40-generic
     linux-headers-generic
     linux-generic
     linux-image-6.8.0-40-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Last edited by drumone; August 12th, 2024 at 06:04 PM. Reason: Added additional info

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,850
    Distro
    Ubuntu

    Re: Kernel update, can't install latest version

    That's a very old kernel and no longer supported.
    What version of Ubuntu is it?
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Feb 2014
    Beans
    63

    Re: Kernel update, can't install latest version

    My apologies, I should have added that too. I was incorrect about the kernel version (which I corrected above - 6.8.0-39). The OS is 24.04. I've been using Ubuntu for years, usually without problem. This one has me at a bit of a loss.

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,850
    Distro
    Ubuntu

    Re: Kernel update, can't install latest version

    FTR, the kernel version posted in the original post was 6.0.39, so others won't think I'm nuts.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Kernel update, can't install latest version

    Quote Originally Posted by deadflowr View Post
    FTR, the kernel version posted in the original post was 6.0.39, so others won't think I'm nuts.
    No one thinks your nuts, I currently have that title.....LOL
    @drumone, if it were me I would also remove duplicate sources: in "/etc/apt/sources.list.d/"
    Code:
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://packages.microsoft.com/repos/code stable InRelease' doesn't support architecture 'i386'
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
    N: Missing Signed-By in the sources.list(5) entry for 'https://packages.microsoft.com/repos/code'

  6. #6
    Join Date
    Feb 2014
    Beans
    63

    Re: Kernel update, can't install latest version

    Quote Originally Posted by 1fallen View Post
    @drumone, if it were me I would also remove duplicate sources: in "/etc/apt/sources.list.d/"
    I would be happy to... if I knew how. I saw that info, but wasn't quite sure what to do with it. I don't normally go around tweaking things without instructions from someone far more knowledgeable than myself. How would I go about safely identifying and removing the duplicates mentioned?

  7. #7
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Kernel update, can't install latest version

    Quote Originally Posted by drumone View Post
    I would be happy to... if I knew how. I saw that info, but wasn't quite sure what to do with it. I don't normally go around tweaking things without instructions from someone far more knowledgeable than myself. How would I go about safely identifying and removing the duplicates mentioned?
    EDIT:LOL I made a mistake LOL
    Use this please:
    Code:
    cd /etc/apt/sources.list.d && ls
    Last edited by #&thj^%; August 12th, 2024 at 08:41 PM.

  8. #8
    Join Date
    Feb 2014
    Beans
    63

    Re: Kernel update, can't install latest version

    Code:
    drumone@Linux-Desktop-2021:~$ cd /etc/apt/sources.list.d && ls
    amdgpu.list.distUpgrade
    amdgpu.list.save
    amdgpu-proprietary.list.distUpgrade
    amdgpu-proprietary.list.save
    amdgpu-proprietary.sources
    amdgpu-proprietary.sources.save
    amdgpu.sources
    amdgpu.sources.save
    archive_uri-https_repos_codelite_org_ubuntu_-jammy.list
    archive_uri-https_repos_codelite_org_ubuntu_-jammy.list.save
    deadsnakes-ubuntu-ppa-jammy.list.distUpgrade
    deadsnakes-ubuntu-ppa-jammy.list.save
    deadsnakes-ubuntu-ppa-jammy.sources
    deadsnakes-ubuntu-ppa-jammy.sources.save
    git-core-ubuntu-ppa-jammy.list.distUpgrade
    git-core-ubuntu-ppa-jammy.list.save
    git-core-ubuntu-ppa-jammy.sources
    git-core-ubuntu-ppa-jammy.sources.save
    gitlab_gitlab-ce.list.distUpgrade
    gitlab_gitlab-ce.list.save
    google-chrome.list.distUpgrade
    google-chrome.list.save
    google-chrome.sources
    google-chrome.sources.save
    rocm.list.distUpgrade
    rocm.list.save
    rocm.sources
    rocm.sources.save
    runner_gitlab-runner.list.distUpgrade
    runner_gitlab-runner.list.save
    teejee2008-ubuntu-timeshift-jammy.list.distUpgrade
    teejee2008-ubuntu-timeshift-jammy.list.save
    teejee2008-ubuntu-timeshift-jammy.sources
    teejee2008-ubuntu-timeshift-jammy.sources.save
    third-party.sources
    third-party.sources.save
    thopiekar-ubuntu-openrgb-jammy.list
    thopiekar-ubuntu-openrgb-jammy.list.save
    ubuntu-esm-infra.list.distUpgrade
    ubuntu-esm-infra.list.save
    ubuntu-esm-infra.sources
    ubuntu-esm-infra.sources.save
    ubuntu.sources
    ubuntu.sources.save
    vscode.list
    vscode.list.distUpgrade
    vscode.list.save
    vscode.sources
    vscode.sources.save
    yannubuntu-ubuntu-boot-repair-noble.sources
    yannubuntu-ubuntu-boot-repair-noble.sources.save

  9. #9
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Kernel update, can't install latest version

    I haven't been on jammy for a few years now, so lets prepare for the worst, and back up that /directory first.
    Code:
     sudo cp -a /etc/apt/sources.list.d  /etc/apt/sources.list.d.bk
    Now will you please run this and tell me it works as in your first thread:
    Code:
    sudo apt update
    I don't need to see it, just you confirm it is still identical to your first post.

  10. #10
    Join Date
    Feb 2014
    Beans
    63

    Re: Kernel update, can't install latest version

    Yup. It all looks the same as before. Lots of things configured multiple times.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •