Skip to content

Installation fails on Ubuntu 25.10 on checksum verification #100

@valiko-ua

Description

@valiko-ua

For example:

$ sudo ./ubuntu-mainline-kernel.sh -i 6.17.6
Downloading index from kernel.ubuntu.com
Will download 6 files from kernel.ubuntu.com:
Downloading amd64/linux-headers-6.17.6-061706-generic_6.17.6-061706.202510291353_amd64.deb:  100% \100%   
Downloading amd64/linux-headers-6.17.6-061706_6.17.6-061706.202510291353_all.deb: 100%   
Downloading amd64/linux-image-unsigned-6.17.6-061706-generic_6.17.6-061706.202510291353_amd64.deb: 100%   
Downloading amd64/linux-modules-6.17.6-061706-generic_6.17.6-061706.202510291353_amd64.deb: 100%   
Downloading amd64/CHECKSUMS: 100%   
Downloading amd64/CHECKSUMS.gpg: 100%   
Signature of checksum file has been successfully verified
Abort, sha256sum returned an error 8

Apparently the behavior of sha256sum has changed on Ubuntu 25.10:

linux-headers-6.17.8-061708-generic_6.17.8-061708.202511132139_amd64.deb: FAILED
linux-headers-6.17.8-061708_6.17.8-061708.202511132139_all.deb: FAILED
linux-image-unsigned-6.17.8-061708-generic_6.17.8-061708.202511132139_amd64.deb: FAILED
linux-modules-6.17.8-061708-generic_6.17.8-061708.202511132139_amd64.deb: FAILED
linux-headers-6.17.8-061708-generic_6.17.8-061708.202511132139_amd64.deb: OK
linux-headers-6.17.8-061708_6.17.8-061708.202511132139_all.deb: OK
linux-image-unsigned-6.17.8-061708-generic_6.17.8-061708.202511132139_amd64.deb: OK
/usr/bin/sha256sum: WARNING: 4 computed checksums did NOT match
linux-modules-6.17.8-061708-generic_6.17.8-061708.202511132139_amd64.deb: OK
Abort, sha256sum returned an error 8

CHECKSUMS file has the following comment:

# Checksums, check with the command below:
#     shasum -c CHECKSUMS

I tried to use shasum instead of sha256sum and it worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions