kenorb-contrib / isorespin

Script to allow Ubuntu ISO to be respun and customized ("remastered") to create a new ISO
https://linuxiumcomau.blogspot.com/2017/06/customizing-ubuntu-isos-documentation.html
GNU General Public License v3.0
55 stars 19 forks source link

Cannot fetch mainline kernel header file #4

Open jphein opened 6 years ago

jphein commented 6 years ago
./isorespin.sh --version
./isorespin.sh: Version: 8.2.6
./isorespin.sh -i ubuntu-18.10-desktop-amd64.iso --atom -u
Extracting ISO ...
Parallel unsquashfs: Using 4 processors
144953 inodes (163039 blocks) to write

[=================================================================================================\] 163039/163039 100%

created 116980 files
created 17137 directories
created 27939 symlinks
created 8 devices
created 0 fifos
Extracting isorespin files ...
Processing bootloader/bootmanager ...
Fetching mainline kernel packages ...
./isorespin.sh: Cannot fetch mainline kernel header file ... check your internet connection and try again.
cat isorespin.log 
Script './isorespin.sh' (version: 8.2.6) called with '-i ubuntu-18.10-desktop-amd64.iso --atom -u' ...
Work directory 'isorespin' used ...
ISO '/home/jeffrey/Desktop/ubuntu-18.10-desktop-amd64.iso' respun ...
Bootloader '32-bit GRUB' added ...
Cannot fetch mainline kernel header file ... check your internet connection and try again.
kenorb commented 6 years ago

This sounds like a connection issue or a broken link. You need to debug why these lines are failing:

    sudo wget --timeout=10 ${MAINLINE_URL}/${MAINLINE_BRANCH}${CURRENT}/${FETCH_FILE} > /dev/null 2>&1
    if [ ! -f "${FETCH_FILE}" ]; then
        DISPLAY_MESSAGE "${0}: Cannot fetch mainline kernel header file ... check your internet connection and try again."
        CLEAN_EXIT
    fi

Maybe run the script with -x flag, e.g. bash -x ./isorespin.sh.

AndriusWild commented 3 years ago

I have exact same issue with version: 8.6.6. My Internet connection is stable though. I am on KDE Neon 5.20

AndriusWild commented 3 years ago

`+ FETCH_MAINLINE_DEBS

AndriusWild commented 3 years ago

Changing -u to -k v5.10.4 fixed the issue for me. I don't need 5.11-RC anyways