devrandom / gitian-builder

Build packages in a secure deterministic fashion inside a VM
https://gitian.org/
Other
402 stars 226 forks source link

Failing bin/make-base-vm #278

Open 0xnim opened 2 years ago

0xnim commented 2 years ago

E: Failed getting release file http://127.0.0.1:3142/archive.ubuntu.com/ubuntu/dists/precise/Release when running: bin/make-base-vm --lxc --arch amd64 --suite precise.

Kailkox commented 2 years ago

maybe change archive to old-releases, there is issue about that

KonaB15 commented 2 years ago

I have the same issue how would you change archive to old releases?

Kailkox commented 2 years ago

I have the same issue how would you change archive to old releases?

In gitian-builder/target-bin/bootstrap-fixup.in

Change lines 9-11: Change archive.ubuntu.com/security.ubuntu.com to old-releases.ubuntu.com

if [ $DISTRIB_NAME = "Ubuntu" ]; then echo "deb http://hostip:3142/archive.ubuntu.com/ubuntu $DISTRIB_CODENAME main universe" > $1/etc/apt/sources.list echo "deb http://hostip:3142/security.ubuntu.com/ubuntu $DISTRIB_CODENAME-security main universe" >> $1/etc/apt/sources.list echo "deb http://hostip:3142/archive.ubuntu.com/ubuntu $DISTRIB_CODENAME-updates main universe" >> $1/etc/apt/sources.list