Closed grotius-cnc closed 3 years ago
I have a solution for a "hard" bug in live-build when building distro debian 11 bullseye.
The error : "no valid repository key.. .."
The sources.list is oke when it looks like
deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb http://ftp.de.debian.org/debian bullseye main contrib non-free
deb-src http://ftp.de.debian.org/debian bullseye main contrib non-free
deb http://security.debian.org/debian-security/ bullseye-security main
deb-src http://security.debian.org/debian-security/ bullseye-security main
In your system : /usr/lib/live/build/ replace 2 source files, see attached files. In the files, replace my filepath with your filepath.
/home/user/DDR/iso/chroot/etc/apt/sources.list
must be : yourfilepath/iso/chroot/etc/apt/sources.list
Then it should work.
I did a first run until the error appears. Then be sure you have outcommented
In the file you can see how i did it. I was furious. solution.zip
This is something i have to figur out. Why this happens.
If you rebrand the iso with for example only librecad extra installed, it won't happen. The pc starts up and terminal show normal user.
When you do a dist upgrade during the tweaking process. The system boots up in (live) mode. I am looking now if it has to do with vmlinuz files etc. and the boot directory.