terem42 / zfs-hetzner-vm

script to install Debian 10, 11, 12 and Ubuntu 18, 20, 22 LTS with ZFS root on Hetzner VPS
161 stars 103 forks source link

Debian12 Script fails #68

Open Ksdmg opened 8 months ago

Ksdmg commented 8 months ago

Hello, I just tried using the debian 12 script but it fails with this message:

Err:17 http://deb.debian.org/debian bookworm/main amd64 linux-kbuild-6.1 amd64 6.1.55-1
  404  Not Found [IP: 2a01:4ff:ff00::3:3 80]
Get:19 http://deb.debian.org/debian bookworm/main amd64 linux-headers-amd64 amd64 6.1.55-1 [1,420 B]
Fetched 17.0 MB in 0s (54.3 MB/s)
E: Failed to fetch http://deb.debian.org/debian/pool/main/l/linux/linux-kbuild-6.1_6.1.55-1_amd64.deb  404  Not Found [IP: 2a01:4ff:ff00::3:3 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
bo0tzz commented 8 months ago

I managed to resolve this by running apt update before starting the script.

congzhangzh commented 1 month ago

have a look at https://github.com/congzhangzh/daily-scripts-4-us/blob/main/zfs-root-on-linux-4-debian/hetzner-debian12-zfs-setup.sh ?