divx118 / crouton-packages

Kernel-headers packages to use with crouton
56 stars 16 forks source link

3.8.11 Bad Header Line #55

Open sudonotpseudo opened 7 years ago

sudonotpseudo commented 7 years ago

When I run the setup-headers.sh file in my chroot, I am presented with this error multiple times.

Err https://raw.githubusercontent.com 3.8.11/main amd64 Bad header line

Full Output: (trusty)sudonotpseudo@localhost:~$ sudo sh setup-headers.sh

This script will add the repo to your sources, download

and install the kernel headers appropriate to your kernel version and architecture. Reading package lists... Done Building dependency tree
Reading state information... Done apt-transport-https is already the newest version. The following packages were automatically installed and are no longer required: libgsoap4 virtualbox-dkms Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 78 not upgraded. --2016-10-25 21:07:57-- https://raw.githubusercontent.com/divx118/crouton-packages/master/mauricevankruchten@gmail.com.gpg.key Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.32.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.32.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1756 (1.7K) [text/plain] Saving to: 'STDOUT'

100%[======================================================================================================>] 1,756 --.-K/s in 0s

2016-10-25 21:07:57 (185 MB/s) - written to stdout [1756/1756]

OK --2016-10-25 21:07:57-- https://raw.githubusercontent.com/divx118/crouton-packages/master/conf/distributions Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.32.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.32.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 671 [text/plain] Saving to: './tmp_dist'

100%[======================================================================================================>] 671 --.-K/s in 0s

2016-10-25 21:07:57 (72.2 MB/s) - './tmp_dist' saved [671/671]

3.8.11 amd64 Ign http://repo.mongodb.org trusty/mongodb-org/3.2 InRelease Ign http://dl.google.com stable InRelease
Hit http://repo.mongodb.org trusty/mongodb-org/3.2 Release.gpg
Hit http://repo.mongodb.org trusty/mongodb-org/3.2 Release
Ign http://dl.google.com stable InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse amd64 Packages
Hit http://dl.google.com stable Release.gpg
Hit http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse i386 Packages
Hit http://dl.google.com stable Release.gpg
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease
Hit http://dl.google.com stable Release
Ign http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse Translation-en
Hit http://dl.google.com stable Release
Hit http://ppa.launchpad.net trusty InRelease
Hit http://dl.google.com stable/main amd64 Packages
Hit http://ppa.launchpad.net trusty InRelease
Ign https://raw.githubusercontent.com 3.8.11 InRelease
Hit http://dl.google.com stable/main amd64 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://ppa.launchpad.net trusty InRelease
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 https://dl.bintray.com InRelease
Ign https://dl.bintray.com InRelease
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:4 http://archive.ubuntu.com trusty-updates/main Sources [383 kB]
Ign https://raw.githubusercontent.com 3.8.11 Release.gpg
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://dl.google.com stable/main Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://dl.google.com stable/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:5 http://archive.ubuntu.com trusty-updates/restricted Sources [5360 B]
Ign https://raw.githubusercontent.com 3.8.11 Release
Hit https://dl.bintray.com Release.gpg
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:6 http://archive.ubuntu.com trusty-updates/universe Sources [169 kB] Hit http://ppa.launchpad.net trusty/main Translation-en
Get:7 http://archive.ubuntu.com trusty-updates/multiverse Sources [7511 B] Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [910 kB] Hit http://ppa.launchpad.net trusty/main i386 Packages Get:9 https://raw.githubusercontent.com 3.8.11/main amd64 Packages Hit http://ppa.launchpad.net trusty/main Translation-en
Get:10 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB] Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:11 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [387 kB] Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:12 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [15.0 kB] Hit http://ppa.launchpad.net trusty/main Translation-en
Get:13 http://archive.ubuntu.com trusty-updates/main i386 Packages [870 kB] Hit https://dl.bintray.com Release
Get:14 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB] Get:15 http://archive.ubuntu.com trusty-updates/universe i386 Packages [389 kB] Get:16 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.4 kB] Hit http://archive.ubuntu.com trusty-updates/main Translation-en Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit https://dl.bintray.com Packages
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en Err https://raw.githubusercontent.com 3.8.11/main amd64 Packages
Bad header line Get:17 http://archive.ubuntu.com trusty-security/main Sources [120 kB]
Get:18 http://archive.ubuntu.com trusty-security/restricted Sources [4064 B] Get:19 http://archive.ubuntu.com trusty-security/universe Sources [44.3 kB] Get:20 http://archive.ubuntu.com trusty-security/multiverse Sources [3201 B] Get:21 http://archive.ubuntu.com trusty-security/main amd64 Packages [541 kB] Err https://raw.githubusercontent.com 3.8.11/main i386 Packages Bad header line Get:22 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB] Get:23 https://dl.bintray.com Translation-en
Get:24 http://archive.ubuntu.com trusty-security/universe amd64 Packages [140 kB] Get:25 https://dl.bintray.com Translation-en
Get:26 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [5198 B] Get:27 http://archive.ubuntu.com trusty-security/main i386 Packages [501 kB] Get:28 https://dl.bintray.com Translation-en
Ign https://raw.githubusercontent.com 3.8.11/main Translation-en Get:29 http://archive.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB] Get:30 https://dl.bintray.com Translation-en
Get:31 http://archive.ubuntu.com trusty-security/universe i386 Packages [140 kB] Get:32 https://dl.bintray.com Translation-en
Ign https://dl.bintray.com Translation-en
Get:33 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [5348 B] Hit http://archive.ubuntu.com trusty-security/main Translation-en Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources Hit http://archive.ubuntu.com trusty/restricted Sources Hit http://archive.ubuntu.com trusty/universe Sources Hit http://archive.ubuntu.com trusty/multiverse Sources Hit http://archive.ubuntu.com trusty/main amd64 Packages Hit http://archive.ubuntu.com trusty/restricted amd64 Packages Hit http://archive.ubuntu.com trusty/universe amd64 Packages Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages Hit http://archive.ubuntu.com trusty/main i386 Packages Hit http://archive.ubuntu.com trusty/restricted i386 Packages Hit http://archive.ubuntu.com trusty/universe i386 Packages Hit http://archive.ubuntu.com trusty/multiverse i386 Packages Hit http://archive.ubuntu.com trusty/main Translation-en Hit http://archive.ubuntu.com trusty/multiverse Translation-en Hit http://archive.ubuntu.com trusty/restricted Translation-en Hit http://archive.ubuntu.com trusty/universe Translation-en Fetched 4846 kB in 8s (553 kB/s)
W: Failed to fetch https://raw.githubusercontent.com/divx118/crouton-packages/master/dists/3.8.11/main/binary-amd64/Packages Bad header line

W: Failed to fetch https://raw.githubusercontent.com/divx118/crouton-packages/master/dists/3.8.11/main/binary-i386/Packages Bad header line

E: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package linux-headers-3.8.11 E: Couldn't find any package by regex 'linux-headers-3.8.11' Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package linux-image-3.8.11 E: Couldn't find any package by regex 'linux-image-3.8.11'

If you made any changes to rc.local, then you should reapply them in the new

/etc/rc.local. Your old file is named /etc/rc.local.old.

--2016-10-25 21:08:12-- https://raw.githubusercontent.com/divx118/crouton-packages/master/rc.local Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.32.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.32.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 785 [text/plain] Saving to: '/etc/rc.local'

100%[======================================================================================================>] 785 --.-K/s in 0s

2016-10-25 21:08:12 (59.7 MB/s) - '/etc/rc.local' saved [785/785]

All done now, you can install virtualbox. Note that you need to log out of your chroot

and start it again to load the modules needed for virtualbox.

Any ideas?

peterboord commented 7 years ago

I have same issue: Err https://raw.githubusercontent.com 3.8.11/main amd64 Packages Bad header line Err https://raw.githubusercontent.com 3.8.11/main i386 Packages Bad header line

divx118 commented 7 years ago

@peterboord As soon as we solve #45 I will make this work again.

dimonic commented 7 years ago

Any news on this? I just updated crouton precise on my Samsung Chromebook 2 - the keyboard was not working, and now the keyboard works but the mouse no longer works.