Building a custom CD image with simple-cdd
On 2018-09-25 11:46, André Rodier wrote:
Hello Debian pros,
I am trying to build an ISO image with the package debian-cdd, and I
am struggling with the following error:
2018-09-25 11:41:06,568 DEBUG build/debian-cd stdout: Reading package
lists...
2018-09-25 11:41:06,569 DEBUG build/debian-cd stderr: E: The value
'stretch' is invalid for APT::Default-Release as such a release is not
available in the sources
2018-09-25 11:41:06,571 DEBUG build/debian-cd stdout: make[1]:
Entering directory '/tmp/core-build/tmp/debian-cd'
2018-09-25 11:41:06,629 DEBUG build/debian-cd stdout: Apt-get is
updating its files ...
2018-09-25 11:41:06,647 DEBUG build/debian-cd stdout: Get:1
file:/tmp/core-build/tmp/mirror stretch InRelease
2018-09-25 11:41:06,647 DEBUG build/debian-cd stdout: Ign:1
file:/tmp/core-build/tmp/mirror stretch InRelease
2018-09-25 11:41:06,647 DEBUG build/debian-cd stdout: Get:2
file:/tmp/core-build/tmp/mirror stretch Release [1,482 B]
2018-09-25 11:41:06,655 DEBUG build/debian-cd stdout: Get:2
file:/tmp/core-build/tmp/mirror stretch Release [1,482 B]
2018-09-25 11:41:06,656 DEBUG build/debian-cd stdout: Get:3
file:/tmp/core-build/tmp/mirror stretch Release.gpg
2018-09-25 11:41:06,656 DEBUG build/debian-cd stdout: Ign:3
file:/tmp/core-build/tmp/mirror stretch Release.gpg
2018-09-25 11:41:06,672 DEBUG build/debian-cd stdout: Reading package
lists...
2018-09-25 11:41:06,673 DEBUG build/debian-cd stderr: E: The
repository 'file:/tmp/core-build/tmp/mirror stretch Release' is not
signed.
2018-09-25 11:41:06,689 DEBUG build/debian-cd stderr: E: The value
'stretch' is invalid for APT::Default-Release as such a release is not
available in the sources
2018-09-25 11:41:06,698 DEBUG build/debian-cd stderr: E: The value
'stretch' is invalid for APT::Default-Release as such a release is not
available in the sources
2018-09-25 11:41:06,707 DEBUG build/debian-cd stdout: Reading package
lists...
2018-09-25 11:41:06,707 DEBUG build/debian-cd stderr: E: The value
'stretch' is invalid for APT::Default-Release as such a release is not
available in the sources
2018-09-25 11:41:06,708 DEBUG build/debian-cd stdout: make[1]: Leaving
directory '/tmp/core-build/tmp/debian-cd'
2018-09-25 11:41:06,757 DEBUG build/debian-cd stdout: Apt-get is
updating its files ...
Especially, I do not understand this one: "E: The value 'stretch' is
invalid for APT::Default-Release as such a release is not available in
the sources"
Can someone point me in the right direction?
Thanks,
André
Also, I have these log lines:
2018-09-25 11:42:08,947 DEBUG mirror/reprepro stdout: Getting
packages...
2018-09-25 11:42:08,947 DEBUG mirror/reprepro stdout: Shutting down
aptmethods...
2018-09-25 11:42:08,947 DEBUG mirror/reprepro stdout: Installing (and
possibly deleting) packages...
2018-09-25 11:42:08,947 DEBUG mirror/reprepro stdout: Exporting
indices...
2018-09-25 11:42:08,986 DEBUG mirror/reprepro stdout: no new
dependencies, finished in 7 attempts.
2018-09-25 11:42:08,986 DEBUG mirror/reprepro retval: 0
2018-09-25 11:42:08,986 INFO mirror/reprepro ran successfully, full log
can be found in /tmp/core-build/tmp/log/mirror-reprepro
2018-09-25 11:42:08,986 DEBUG reprepro: remove console-tools-freebsd
running command reprepro -V --noskipold remove stretch
console-setup-freebsd
2018-09-25 11:42:09,026 DEBUG reprepro: remove console-tools-freebsd
stdout: removing 'console-setup-freebsd' from 'stretch|main|amd64'...
2018-09-25 11:42:09,026 DEBUG reprepro: remove console-tools-freebsd
stdout: Exporting indices...
2018-09-25 11:42:09,026 DEBUG reprepro: remove console-tools-freebsd
stdout: Deleting files no longer referenced...
2018-09-25 11:42:09,026 DEBUG reprepro: remove console-tools-freebsd
stdout: deleting and forgetting
pool/main/c/console-setup/console-setup-freebsd_1.164_all.deb
2018-09-25 11:42:09,026 DEBUG reprepro: remove console-tools-freebsd
retval: 0
2018-09-25 11:42:09,027 INFO Checking package file
/tmp/core-build/tmp/mirror/dists/stretch/main/binary-amd64/Packages
using /usr/bin/dose-debcheck
2018-09-25 11:42:09,070 DEBUG Checking if the mirror is complete...
2018-09-25 11:42:09,085 DEBUG Looking for custom installer...
2018-09-25 11:42:09,086 DEBUG Compute kernel arguments...
2018-09-25 11:42:09,086 DEBUG setting preseed file (KERNEL_PARAMS +=
preseed/file=/cdrom/simple-cdd/default.preseed)
2018-09-25 11:42:09,086 DEBUG Building CD image...
2018-09-25 11:42:09,086 INFO Running tool
/usr/share/simple-cdd/tools/build/debian-cd
2018-09-25 11:42:09,089 DEBUG build/debian-cd running command
/tmp/core-build/tmp/log/build-debian-cd
2018-09-25 11:42:09,292 DEBUG build/debian-cd stdout: simple-cdd:
Running debian-cd makefile
2018-09-25 11:42:09,320 DEBUG build/debian-cd stdout: Cleaning the build
directory
2018-09-25 11:42:09,354 DEBUG build/debian-cd stdout: Updating task
files...
2018-09-25 11:42:09,355 DEBUG build/debian-cd stdout: - copying task
files from 'tasks/stretch/'
2018-09-25 11:42:09,359 DEBUG build/debian-cd stdout: - generating
dynamic task files
2018-09-25 11:42:09,380 DEBUG build/debian-cd stderr: which_deb: can't
find binary file(s) for task-desktop in stretch
2018-09-25 11:42:09,382 DEBUG build/debian-cd stderr: dpkg-deb: error:
error reading archive magic version number from file
/tmp/core-build/tmp/mirror/: Is a directory
2018-09-25 11:42:09,382 DEBUG build/debian-cd stdout: update_tasks:
Using "" as the default desktop, as specified by
2018-09-25 11:42:09,383 DEBUG build/debian-cd stderr: Use of
uninitialized value $default_desktop in concatenation (.) or string at
/tmp/core-build/tmp/debian-cd/tools/update_tasks line 66.
2018-09-25 11:42:09,413 DEBUG build/debian-cd stderr: Use of
uninitialized value $default_desktop in concatenation (.) or string at
/tmp/core-build/tmp/debian-cd/tools/update_tasks line 150.
2018-09-25 11:42:09,414 DEBUG build/debian-cd stderr: Use of
uninitialized value $default_desktop in concatenation (.) or string at
/tmp/core-build/tmp/debian-cd/tools/update_tasks line 180.
2018-09-25 11:42:09,415 DEBUG build/debian-cd stderr: Use of
uninitialized value $default_desktop in regexp compilation at
/tmp/core-build/tmp/debian-cd/tools/update_tasks line 239.
2018-09-25 11:42:09,415 DEBUG build/debian-cd stderr: Use of
uninitialized value $default_desktop in regexp compilation at
/tmp/core-build/tmp/debian-cd/tools/update_tasks line 239.
2018-09-25 11:42:09,416 DEBUG build/debian-cd stderr: Use of
uninitialized value $default_desktop in regexp compilation at
/tmp/core-build/tmp/debian-cd/tools/update_tasks line 239.
There is a lot of "Use of uninitialized value $default_desktop ". The CD
image I am building is for a server does not contain a desktop
environment.
Reply to: