We distribute a LiveCD based on the RTAI kernel patches. Currently this ISO is based on Wheezy, and we have had little success buiding a broadly-compatible RTAI kernel for any kernel newer than 3.16. Unfortunately this install tries to update from the no-longer available Wheezy repos, so basically installs a pre-broken system.
As a stopgap measure I am trying to respin our existing liveCD so that the apt-sources point at archive.debian.org. Longer term we will probably be moving to the preempt-rt kernel based on Stretch and then Buster. But we need a "works now" option for the existing image. I am using the set of scripts previously used for this purpose and hosted here: https://github.com/SebKuzminsky/linuxcnc-wheezy-iso By adding paramteres to the config command line: sudo lb config -m http://archive.debian.org/debian --parent-mirror-chroot-security http://archive.debian.org/debian-security --parent-mirror-binary http://archive.debian.org/debian I am have made some progress, but the ld build stage is failing. What I notice is that some things work: Get:7 http://archive.debian.org wheezy/updates/contrib Translation-en [14 B] But some things fail: Err http://archive.debian.org wheezy-updates/main Sources 404 Not Found [IP: 217.196.149.234 80] And the difference seems to be between looking in wheezy/updates and in wheezy-updates. I have poked about in the source both of our build repo and the debian-live/live-build github and I have been unable to find where the string "wheezy-update" is created. Can anyone point me in the right direction? I stress, this is a stopgap until we can work out a long-term fix, but at the moment our installer is broken and we need a quick fix. build.log output: Hit http://archive.debian.org wheezy Release.gpg Get:1 http://archive.debian.org wheezy/updates Release.gpg [1601 B] Ign http://archive.debian.org wheezy-updates Release.gpg Hit http://archive.debian.org wheezy Release Get:2 http://archive.debian.org wheezy/updates Release [52.3 kB] Get:3 http://linuxcnc.org wheezy Release.gpg [181 B] Ign http://archive.debian.org wheezy-updates Release Get:4 http://linuxcnc.org wheezy Release [52.9 kB] Hit http://archive.debian.org wheezy/contrib Translation-en Hit http://archive.debian.org wheezy/main Translation-en Hit http://archive.debian.org wheezy/non-free Translation-en Get:5 http://linuxcnc.org wheezy/base Sources [8676 B] Get:6 http://linuxcnc.org wheezy/2.7-rtai Sources [8324 B] Get:7 http://archive.debian.org wheezy/updates/contrib Translation-en [14 B] Get:8 http://linuxcnc.org wheezy/base i386 Packages [21.7 kB] Get:9 http://archive.debian.org wheezy/updates/main Translation-en [338 kB] Get:10 http://linuxcnc.org wheezy/2.7-rtai i386 Packages [19.4 kB] Get:11 http://archive.debian.org wheezy/updates/non-free Translation-en [593 B] Get:12 http://archive.debian.org wheezy/main Sources [7533 kB] Get:13 http://archive.debian.org wheezy/contrib Sources [55.8 kB] Get:14 http://archive.debian.org wheezy/non-free Sources [112 kB] Hit http://archive.debian.org wheezy/main i386 Packages Hit http://archive.debian.org wheezy/contrib i386 Packages Hit http://archive.debian.org wheezy/non-free i386 Packages Ign http://linuxcnc.org wheezy/2.7-rtai Translation-en Get:15 http://archive.debian.org wheezy/updates/main Sources [456 kB] Ign http://linuxcnc.org wheezy/base Translation-en Get:16 http://archive.debian.org wheezy/updates/contrib Sources [20 B] Get:17 http://archive.debian.org wheezy/updates/non-free Sources [1237 B] Get:18 http://archive.debian.org wheezy/updates/main i386 Packages [749 kB] Get:19 http://archive.debian.org wheezy/updates/contrib i386 Packages [20 B] Get:20 http://archive.debian.org wheezy/updates/non-free i386 Packages [732 B] Err http://archive.debian.org wheezy-updates/main Sources 404 Not Found [IP: 217.196.149.234 80] Err http://archive.debian.org wheezy-updates/contrib Sources 404 Not Found [IP: 217.196.149.234 80] Err http://archive.debian.org wheezy-updates/non-free Sources 404 Not Found [IP: 217.196.149.234 80] Err http://archive.debian.org wheezy-updates/main i386 Packages 404 Not Found [IP: 217.196.149.234 80] Err http://archive.debian.org wheezy-updates/contrib i386 Packages 404 Not Found [IP: 217.196.149.234 80] Err http://archive.debian.org wheezy-updates/non-free i386 Packages 404 Not Found [IP: 217.196.149.234 80] Ign http://archive.debian.org wheezy-updates/contrib Translation-en Ign http://archive.debian.org wheezy-updates/main Translation-en Ign http://archive.debian.org wheezy-updates/non-free Translation-en Fetched 9412 kB in 4s (1976 kB/s) W: Failed to fetch http://archive.debian.org/debian/dists/wheezy-updates/main/source/Sources 404 Not Found [IP: 217.196.149.234 80] W: Failed to fetch http://archive.debian.org/debian/dists/wheezy-updates/contrib/source/Sources 404 Not Found [IP: 217.196.149.234 80] W: Failed to fetch http://archive.debian.org/debian/dists/wheezy-updates/non-free/source/Sources 404 Not Found [IP: 217.196.149.234 80] W: Failed to fetch http://archive.debian.org/debian/dists/wheezy-updates/main/binary-i386/Packages 404 Not Found [IP: 217.196.149.234 80] W: Failed to fetch http://archive.debian.org/debian/dists/wheezy-updates/contrib/binary-i386/Packages 404 Not Found [IP: 217.196.149.234 80] W: Failed to fetch http://archive.debian.org/debian/dists/wheezy-updates/non-free/binary-i386/Packages 404 Not Found [IP: 217.196.149.234 80] E: Some index files failed to download. They have been ignored, or old ones used instead. P: Begin unmounting filesystems... P: Saving caches... Reading package lists... Building dependency tree... -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916