Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #200585 > unrolled thread
| Started by | André Rodier <andre@rodier.me> |
|---|---|
| First post | 2018-09-25 13:00 +0200 |
| Last post | 2018-09-25 16:40 +0200 |
| Articles | 6 — 3 participants |
Back to article view | Back to linux.debian.user
Build a custom CD image with simple-cdd André Rodier <andre@rodier.me> - 2018-09-25 13:00 +0200
Re: Build a custom CD image with simple-cdd André Rodier <andre@rodier.me> - 2018-09-25 13:10 +0200
Re: Build a custom CD image with simple-cdd "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-25 15:00 +0200
Re: Build a custom CD image with simple-cdd André Rodier <andre@rodier.me> - 2018-09-25 15:30 +0200
Re: Build a custom CD image with simple-cdd Markus Raps <m.raps@rapsplace.de> - 2018-09-25 15:50 +0200
Re: Build a custom CD image with simple-cdd "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-25 16:40 +0200
| From | André Rodier <andre@rodier.me> |
|---|---|
| Date | 2018-09-25 13:00 +0200 |
| Subject | Build a custom CD image with simple-cdd |
| Message-ID | <wBTep-1bY-3@gated-at.bofh.it> |
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é
[toc] | [next] | [standalone]
| From | André Rodier <andre@rodier.me> |
|---|---|
| Date | 2018-09-25 13:10 +0200 |
| Message-ID | <wBTo5-1uq-1@gated-at.bofh.it> |
| In reply to | #200585 |
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.
[toc] | [prev] | [next] | [standalone]
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Date | 2018-09-25 15:00 +0200 |
| Message-ID | <wBV6x-2hB-1@gated-at.bofh.it> |
| In reply to | #200585 |
Hi, André Rodier wrote: > Hello Debian pros, No, no. We are just the users. Often quite confused. > I am trying to build an ISO image with the package debian-cdd, and I am > struggling with the following error: The package's news list on https://tracker.debian.org/pkg/simple-cdd looks like it is actively maintained. https://sources.debian.org/src/simple-cdd/0.6.6/README/ says if you have further questions, ask on the simple-cdd-devel mailing list: http://lists.alioth.debian.org/mailman/listinfo/simple-cdd-devel, or in the debian-custom channel on irc.debian.org. But obviously that mailing list fell victim to the big cleanout which came with the decomissioning of server "alioth". So i would next refer to the package maintainers' page https://qa.debian.org/developer.php?login=simple-cdd%40packages.debian.org or the most recent Uploader's page https://qa.debian.org/developer.php?email=vagrant%40debian.org and consider to mail first to simple-cdd@packages.debian.org about the missing mailing list and the simple-cdd error messages. (The first two error messages should suffice for a start.) If the mail bounces or gets no reply within about three days, i would mail to Vagrant Cascadian. Filing a Debian bug towards package simple-cdd would be an option, too: https://www.debian.org/Bugs/Reporting The mailing list debian-cd@lists.debian.org might be involved because simple-cdd depends on debian-cd, and the error messages say "debian-cd". Have a nice day :) Thomas
[toc] | [prev] | [next] | [standalone]
| From | André Rodier <andre@rodier.me> |
|---|---|
| Date | 2018-09-25 15:30 +0200 |
| Message-ID | <wBVzz-2G0-15@gated-at.bofh.it> |
| In reply to | #200595 |
Thank you, Thomas! On 2018-09-25 13:56, Thomas Schmitt wrote: > Hi, > > André Rodier wrote: >> Hello Debian pros, > > No, no. We are just the users. Often quite confused. > > >> I am trying to build an ISO image with the package debian-cdd, and I >> am >> struggling with the following error: > > The package's news list on > https://tracker.debian.org/pkg/simple-cdd > looks like it is actively maintained. > > https://sources.debian.org/src/simple-cdd/0.6.6/README/ > says > > if you have further questions, ask on the simple-cdd-devel mailing > list: > http://lists.alioth.debian.org/mailman/listinfo/simple-cdd-devel, or > in the > debian-custom channel on irc.debian.org. > > But obviously that mailing list fell victim to the big cleanout which > came with the decomissioning of server "alioth". > > So i would next refer to the package maintainers' page > > https://qa.debian.org/developer.php?login=simple-cdd%40packages.debian.org > or the most recent Uploader's page > https://qa.debian.org/developer.php?email=vagrant%40debian.org > and consider to mail first to > simple-cdd@packages.debian.org > about the missing mailing list and the simple-cdd error messages. > (The first two error messages should suffice for a start.) > > If the mail bounces or gets no reply within about three days, i would > mail to Vagrant Cascadian. > > Filing a Debian bug towards package simple-cdd would be an option, too: > https://www.debian.org/Bugs/Reporting > > The mailing list debian-cd@lists.debian.org might be involved because > simple-cdd depends on debian-cd, and the error messages say > "debian-cd". > > > Have a nice day :) > > Thomas
[toc] | [prev] | [next] | [standalone]
| From | Markus Raps <m.raps@rapsplace.de> |
|---|---|
| Date | 2018-09-25 15:50 +0200 |
| Message-ID | <wBVSV-2Mr-13@gated-at.bofh.it> |
| In reply to | #200585 |
Hi,
are you trying to preseed something?
then just extract a debian standard install disc like netinstall to
/opt/isobuild/debian/image/
do your changes
and the script should rebuild the disk.
unfortunately UEFI only systems wont boot it.
#!/bin/bash
IMAGE=/opt/isobuild/debian/debian-9.3-auto.iso
BUILD=/opt/isobuild/debian/image/
xorriso -as mkisofs \
-r -V "Debian Auto NetInstall" \
-cache-inodes \
-J -l -b isolinux/isolinux.bin \
-c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table \
-isohybrid-mbr /opt/isobuild/debian/isohdpfx.bin \
-o $IMAGE $BUILD
Cheers
Markus
[toc] | [prev] | [next] | [standalone]
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Date | 2018-09-25 16:40 +0200 |
| Message-ID | <wBWFj-3ht-1@gated-at.bofh.it> |
| In reply to | #200599 |
Hi, Markus Raps wrote: > and the script should rebuild the disk. > unfortunately UEFI only systems wont boot it. > ... > xorriso -as mkisofs \ Thank you for flying xorriso. As for the lack of EFI boot equipment in your script, see https://wiki.debian.org/RepackBootableISO "Repacking a Debian ISO with its original boot equipment This page describes how to determine the ISO 9660 production command that was used when a Debian ISO image was packed up, and how to derive a command to replay this production." The section "Determine those options which need to be adapted on amd64 or i386" gives a script example similar to yours, but using the EFI equipment, too. Have a nice day :) Thomas
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web