-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hello,
I'm using this excellent tool for a project, but I found that the build process is currently failing when trying to create a new image.
Problem Description
When running the ./create_image.sh <target> script, the process fails during the multistrap phase with the following error:
Creating debian base rootfs. This will take a while...
failed:
[...]
Erro:2 http://ftp.it.debian.org/debian buster Release
404 Not Found
[...]
E: The repository 'http://ftp.it.debian.org/debian buster Release' does not have a Release file.
apt update failed. Exit value: 100
The core issue is a 404 Not Found error when apt-get update tries to access the Debian "Buster" repository.
Cause
Debian 10 "Buster" has reached its End-of-Life (EOL) and its packages are no longer hosted on the main Debian mirrors (like ftp.it.debian.org). The packages have been moved to the official Debian archive server. The script's configuration file still points to the old, non-functional repository URL.
Additionally, for the build to succeed, it must be run on a native Linux filesystem (e.g., ext4), as it requires the ability to set Unix file permissions. Running it from an exFAT or NTFS drive will cause chown errors.
Proposed Solution
The fix is to update the repository URL in the multistrap configuration file to point to the correct Debian archive.
File to edit: sources/multistrap/multistrap.conf
Change required:
Find the line:
source=http://ftp.it.debian.org/debian
And replace it with:
source=http://archive.debian.org/debian
After making this change and running the script from a native Linux filesystem, the build completes successfully.
Thanks for this great tool!