Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot fetch mainline kernel header file #4

Open
jphein opened this issue Nov 9, 2018 · 4 comments
Open

Cannot fetch mainline kernel header file #4

jphein opened this issue Nov 9, 2018 · 4 comments

Comments

@jphein
Copy link

jphein commented Nov 9, 2018

./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
Copy link
Member

kenorb commented Nov 9, 2018

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
Copy link

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

@AndriusWild
Copy link

`+ FETCH_MAINLINE_DEBS

  • DISPLAY_PROGRESS 'Fetching mainline kernel packages ...'
  • DISPLAY_TEXT='Fetching mainline kernel packages ...'
  • CLOSE_DISPLAY_BOX
  • '[' -n '' ']'
  • '[' -n '' ']'
  • false
  • false
  • echo 'Fetching mainline kernel packages ...'
    Fetching mainline kernel packages ...
  • cd /home/user/Downloads/isorespin
  • sudo rm -f index.html
  • sudo wget --timeout=10 http://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11-rc1 -O index.html
  • '[' '!' -f index.html ']'
    ++ sed -n '/href=/{/all/{/headers/s/(^.href=")([^"]+)(".)/\2/p;};}' index.html
    ++ tail -1
  • FETCH_FILE=amd64/linux-headers-5.11.0-051100rc1_5.11.0-051100rc1.202012271930_all.deb
  • sudo wget --timeout=10 http://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11-rc1/amd64/linux-headers-5.11.0-051100rc1_5.11.0-051100rc1.202012271930_all.deb
  • '[' '!' -f linux-headers-5.11.0-051100rc1_5.11.0-051100rc1.202012271930_all.deb ']'
    ++ sed -n '/href=/{/generic/{/amd64/{/headers/s/(^.href=")([^"]+)(".)/\2/p;};};}' index.html
    ++ tail -1
  • FETCH_FILE=
  • sudo wget --timeout=10 http://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11-rc1/
  • '[' '!' -f '' ']'
  • DISPLAY_MESSAGE 'Cannot fetch mainline kernel header file ... check your internet connection and try again.'
  • DISPLAY_TEXT='Cannot fetch mainline kernel header file ... check your internet connection and try again.'
  • CLOSE_DISPLAY_BOX
  • '[' -n '' ']'
  • '[' -n '' ']'
  • false
  • false
    ++ basename isorespin.sh
  • echo 'isorespin.sh: Cannot fetch mainline kernel header file ... check your internet connection and try again.'
    isorespin.sh: Cannot fetch mainline kernel header file ... check your internet connection and try again.
  • '[' -f /home/user/Downloads/isorespin.log ']'
  • echo 'Cannot fetch mainline kernel header file ... check your internet connection and try again.'
  • CLEAN_EXIT
  • CLOSE_DISPLAY_BOX
  • '[' -n '' ']'
  • '[' -n '' ']'
  • cd /home/user/Downloads
  • '[' -d /home/user/Downloads/isorespin ']'
  • sudo rm -rf /home/user/Downloads/isorespin
  • '[' -f /home/user/Downloads/isorespin.tpl ']'
  • sudo rm -f /home/user/Downloads/isorespin.tpl
  • sudo rm -f /home/user/Downloads/.isorespin.sh.lock
  • exit 1
    `

@AndriusWild
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants