icinga2-slack-notifications icon indicating copy to clipboard operation
icinga2-slack-notifications copied to clipboard

"Bad header line" when using deb repo

Open l13t opened this issue 6 years ago • 3 comments

I added icinga2-slack-notifications to apt repos on our ubuntu trusty and got next error:

Get:40 http://archive.ubuntu.com trusty-updates/multiverse Sources [7,368 B]
Get:41 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,064 kB]
Get:42 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [17.2 kB]
Get:43 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [447 kB]
Get:44 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.6 kB]
Get:45 http://archive.ubuntu.com trusty-updates/main i386 Packages [1,005 kB]
Get:46 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [17.1 kB]
Err https://raw.githubusercontent.com general/main amd64 Packages
  Bad header line
Get:47 http://archive.ubuntu.com trusty-updates/universe i386 Packages [442 kB]
Get:48 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.0 kB]
Get:49 http://archive.ubuntu.com trusty-updates/main Translation-en [525 kB]
Err https://raw.githubusercontent.com general/main i386 Packages
  Bad header line
Get:50 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [7,616 B]
Get:51 http://archive.ubuntu.com trusty-updates/restricted Translation-en [4,024 B]
Ign https://raw.githubusercontent.com general/main Translation-en_US
Get:52 http://archive.ubuntu.com trusty-updates/universe Translation-en [241 kB]
Get:53 http://archive.ubuntu.com trusty-backports/main Sources [9,709 B]
Get:54 http://archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:55 http://archive.ubuntu.com trusty-backports/universe Sources [35.4 kB]
Ign https://raw.githubusercontent.com general/main Translation-en
-------------
Fetched 34.9 MB in 26s (1,335 kB/s)
W: Failed to fetch https://raw.githubusercontent.com/nisabek/icinga2-slack-notifications/master/reprepro/dists/general/main/binary-amd64/Packages  Bad header line

W: Failed to fetch https://raw.githubusercontent.com/nisabek/icinga2-slack-notifications/master/reprepro/dists/general/main/binary-i386/Packages  Bad header line

E: Some index files failed to download. They have been ignored, or old ones used instead.

l13t avatar Mar 15 '18 14:03 l13t

+1

mambusskruj avatar May 15 '18 09:05 mambusskruj

Thanks for reporting this.

Unfortunately, currently, only the installation from git is working. You could also build the debian package using the included build_debian_package.sh (you'd need https://github.com/jordansissel/fpm) for that.

We are working on changing the way we publish our debian packages and will let you know when there's an update.

Thanks and Regards, Nune

nisabek avatar Sep 08 '18 13:09 nisabek

thank you for replay. then maybe it makes sense to remove this part from readme? because at the moment it confuses people who want to use it in such way.

l13t avatar Sep 10 '18 14:09 l13t