pimterry / rpi-pxe-server

A ready-to-go PXE + TFTP network boot server for Raspberry Pi, with Resin deployment
Apache License 2.0
77 stars 22 forks source link

failed to fetch jessie updates #3

Open gh0st opened 5 years ago

gh0st commented 5 years ago
~/Developer/rpi-pxe-server (master) 🚀 $ git push balena
Counting objects: 69, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (68/68), done.
Writing objects: 100% (69/69), 22.29 KiB | 2.23 MiB/s, done.
Total 69 (delta 24), reused 0 (delta 0)

[Info]     Starting build for rpi-pxe, user gh_gh0st
[Info]     Dashboard link: https://dashboard.balena-cloud.com/apps/1320493/devices
[Info]     Building on arm03
[Info]     Pulling previous images for caching purposes...
[Success]  Successfully pulled cache images
[main]     Step 1/13 : FROM resin/raspberry-pi2-node
[main]      ---> 7f3f74f08c58
[main]     Step 2/13 : RUN apt-get clean && apt-get update && apt-get upgrade -y && apt-get install -y   wget   curl   apt-utils   build-essential   openssh-server   vim   raspberrypi-sys-mods   dnsmasq   samba   genisoimage   syslinux-common   pxelinux   && rm -rf /var/lib/apt/lists/*
[main]      ---> Running in c30c4bb086b9
[main]     Get:1 http://archive.raspbian.org jessie InRelease [15.0 kB]
[main]     Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
[main]     Ign http://deb.debian.org jessie InRelease
[main]     Get:3 http://deb.debian.org jessie-updates InRelease [7340 B]
[main]     Get:4 http://deb.debian.org jessie Release.gpg [2420 B]
[main]     Get:5 http://deb.debian.org jessie Release [148 kB]
[main]     Get:6 http://security.debian.org jessie/updates InRelease [44.9 kB]
[main]     Get:7 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB]
[main]     Get:8 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
[main]     Get:9 http://archive.raspbian.org jessie/contrib armhf Packages [49.5 kB]
[main]     Get:10 http://deb.debian.org jessie/main armhf Packages [8898 kB]
[main]     Get:11 http://archive.raspbian.org jessie/non-free armhf Packages [106 kB]
[main]     Get:12 http://archive.raspbian.org jessie/rpi armhf Packages [1297 B]
[main]     Get:13 http://archive.raspbian.org jessie/firmware armhf Packages [1208 B]
[main]     Get:14 http://security.debian.org jessie/updates/main armhf Packages [799 kB]
[main]     Fetched 23.6 MB in 13s (1724 kB/s)
[main]     W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
[main]     E: Some index files failed to download. They have been ignored, or old ones used instead.
[main]     
[main]     Removing intermediate container c30c4bb086b9
[Info]     Uploading images
[main]     The command '/bin/sh -c apt-get clean && apt-get update && apt-get upgrade -y && apt-get install -y   wget   curl   apt-utils   build-essential   openssh-server   vim   raspberrypi-sys-mods   dnsmasq   samba   genisoimage   syslinux-common   pxelinux   && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
[Success]  Successfully uploaded images
[Error]    Some services failed to build:
[Error]      Service: main
[Error]        Error: The command '/bin/sh -c apt-get clean && apt-get update && apt-get upgrade -y && apt-get install -y   wget   curl   apt-utils   build-essential   openssh-server   vim   raspberrypi-sys-mods   dnsmasq   samba   genisoimage   syslinux-common   pxelinux   && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
[Error]    Not deploying release.

remote: error: hook declined to update refs/heads/master
To git.balena-cloud.com:gh_gh0st/rpi-pxe.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'gh_gh0st@git.balena-cloud.com:gh_gh0st/rpi-pxe.git'
gh0st commented 5 years ago

Maybe because I'm on a raspberry pi 2.

gh0st commented 5 years ago

Or maybe because it's got something to do with balena no longer being resin??

gh0st commented 5 years ago

https://superuser.com/a/1423685

I'll try this fix on my fork first. If it works, I'll open a PR.