Debian Bug report logs - #981006
No way of adding task packages with dependencies (necessary for tasksel) - packages listed in .download should be included with their dependencies

version graph

Package: simple-cdd; Maintainer for simple-cdd is Simple-CDD Developers <[email protected]>; Source for simple-cdd is src:simple-cdd (PTS, buildd, popcon).

Reported by: Daniel Leidert <[email protected]>

Date: Mon, 25 Jan 2021 14:48:02 UTC

Severity: wishlist

Found in version simple-cdd/0.6.8

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Simple-CDD Developers <[email protected]>:
Bug#981006; Package simple-cdd. (Mon, 25 Jan 2021 14:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Leidert <[email protected]>:
New Bug report received and forwarded. Copy sent to Simple-CDD Developers <[email protected]>. (Mon, 25 Jan 2021 14:48:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Daniel Leidert <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: No way of adding task packages with dependencies (necessary for tasksel) - packages listed in .download should be included with their dependencies
Date: Mon, 25 Jan 2021 15:44:39 +0100
Package: simple-cdd
Version: 0.6.8
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I'm working on some custom installer CDs. Now one of the goals is to install
some tasks using tasksel. So I added e.g.

tasksel tasksel/first multiselect standard, ssh-server, swedish

to overwrite default.preseed. I also added

task-ssh-server
task-swedish

to my profile.downloads file. But the resulting image does not contain all the
necessary dependencies. It includes just the plain task* packages. So the
installer requires an internet connection to fetch the dependencies (in my case
I turned off all attempts to access the network).

I wonder if all packages listed in *.downloads should be included with their
dependencies by default? IMHO it makes more sense than to just include the
plain packages because they might end up uninstallable.

PS: BTW it took my *days* to figure out why `d-i tasksel/first multiselect ...`
didn't have any effect - because default.preseed sets `*tasksel* tasksel/first
...` and that takes precendence it seems. I do wonder if default.preseed should
use the d-i prefix here.


Regards, Daniel


- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages simple-cdd depends on:
ii  dctrl-tools         2.24-3+b1
ii  debian-cd           3.1.32
ii  lsb-release         11.1.0
ii  python3             3.9.1-1
ii  python3-simple-cdd  0.6.8
ii  reprepro            5.3.0-1.1
ii  rsync               3.2.3-3
ii  wget                1.21-1+b1

Versions of packages simple-cdd recommends:
ii  dose-distcheck  5.0.1-16+b1

Versions of packages simple-cdd suggests:
ii  qemu-system                 1:5.2+dfsg-3
ii  qemu-system-x86 [qemu-kvm]  1:5.2+dfsg-3

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmAO2VcACgkQS80FZ8KW
0F2NPQ//VmYOQ15lJ31ryvuNVPxTB12k8dfTTFbFVv3OzRtcvr9xqvCcDi+pXsyF
lkQHaEk0xl7tJg+IM377QTsoI/IzG2wEgnZPg5n7Cvgb9VSLcxkba0I31FJVMNlH
/FcjrkQ/mKse9x6n7a3JSfd8kYF8Ad0aQ4ocpBwbAYkdNFyud3v/z3h3qDj0XYfF
q0A9gRkdBcLfZBsVK6VPd0awHXkGcvFlrxDxKjSeIdB8MTI5oliQBRgEtiUhuWjL
D8AQiXz4wE9nNu1HQQuXNJdyU+lRI7kepTRfd3geJEW6YiOSemUtKNMNKQy6Vw2C
jGlTPHqhBJ+Ovlt4AJyS7GAvchuAH6urqeJ3TJxAdtk2qafwSONiXAwU8qU03eA5
esZWjMdUjLSNTyHUWSe1G7HcFC19EZGloA1kW6FFRVrP6YqtdVk63NOOMm8IB9fs
hlgFZYYqunRjqMcYKYEePUbuGw7f3EZWJV7NCSYIisLPaqoWOkLcIaTJHoeJT7w5
owxLdgm3VmM4kmiFiuEw07uE9Gl6nku2VBK3C4R4SYEYSzLG1XC0r57BQY1+lo0/
EzsZWX0Y/9Ik+gc4SqJIrHLlCTOvLFPSk12LIKXH0e5jeVV2bUDq/T7LW7S2Rjw7
LLDx0k7KKMaO5aWsa+BEgmKNMSxXq6yBUnOwVBU88ygyOxoBh2c=
=eilh
-----END PGP SIGNATURE-----



Information forwarded to [email protected], Simple-CDD Developers <[email protected]>:
Bug#981006; Package simple-cdd. (Mon, 25 Jan 2021 15:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Leidert <[email protected]>:
Extra info received and forwarded to list. Copy sent to Simple-CDD Developers <[email protected]>. (Mon, 25 Jan 2021 15:12:04 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Daniel Leidert <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: No way of adding task packages with dependencies (necessary for tasksel) - packages listed in .download should be included with their dependencies
Date: Mon, 25 Jan 2021 15:59:22 +0100
Package: simple-cdd
Followup-For: Bug #981006

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hm. Maybe strike that. I misread some recommended packages as depends. But
still overwriting

tasksel tasksel/first multiselect standard

fails without a mirror set up. So I'm guessing some missing packages. I'm
trying to debug this further.

Regards, Daniel



- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages simple-cdd depends on:
ii  dctrl-tools         2.24-3+b1
ii  debian-cd           3.1.32
ii  lsb-release         11.1.0
ii  python3             3.9.1-1
ii  python3-simple-cdd  0.6.8
ii  reprepro            5.3.0-1.1
ii  rsync               3.2.3-3
ii  wget                1.21-1+b1

Versions of packages simple-cdd recommends:
ii  dose-distcheck  5.0.1-16+b1

Versions of packages simple-cdd suggests:
ii  qemu-system                 1:5.2+dfsg-3
ii  qemu-system-x86 [qemu-kvm]  1:5.2+dfsg-3

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmAO3MoACgkQS80FZ8KW
0F3n2hAAl17PB2+dF3UkzBwyJPTVtp5D0eXxiRsH3dBQQAhf/gSO6J3cni2gMOt9
dNS5px7snwrQ1YNwE1Fq7GxzAlWwzWD8iQjsYDdFPQ08ede3SF0vpoBzG5FLjlJI
txbd1cqBKD4TDueAAiWJ00Wu5iANt7gTzc+QNFBHWI45vcY5hXS0oYFSz1t+tZE5
4M5MS+qMc76iow3HuzFOUDjayWBIuVJV8ihSEf3h5VBu5oHl7camazRj0evpiD2v
nJO56xht4S2JpWaU4hgAB94FPvhL+2aQFl7zL+azWceeK4FmpHA+3dYlddV5CSBz
QdPe1klYNecS1pDgrDCRFDm0Kby2JjanjQJASJnTbs2W4YA5GHtw+oACcAf93N/G
QmoK0M8cg9BVqPH5cvRDFFDQJ3Fibvmc0dsDdQXbjLV7sbT4PfijBJGGPUz54BX9
Wq1/ffPc7/JJaaWlYKjjSn/bZk0ewXd8JfpsizZK36svH6FXsSpKfquEePr344Wk
3t8/OrrCwZ2n8bKGVrXPFnOYr5fevrlLWwIyHCy3ED+Uu+dNuG3CzJGm/dGC4FlU
kXBwB8Ki3280RgkodqFVGqQwjRTZFGN22vjayX59wzH9jBp3nBlmE+2dBD2s7rUN
Qx7RLFRD5gVDEOufulRDduX+cE5uy82q5hLIbOsaOkFKIEKFn6E=
=rqjF
-----END PGP SIGNATURE-----



Information forwarded to [email protected], Simple-CDD Developers <[email protected]>:
Bug#981006; Package simple-cdd. (Fri, 05 Feb 2021 03:06:02 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <[email protected]>:
Extra info received and forwarded to list. Copy sent to Simple-CDD Developers <[email protected]>. (Fri, 05 Feb 2021 03:06:02 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Vagrant Cascadian <[email protected]>
To: Daniel Leidert <[email protected]>, [email protected]
Subject: Re: Bug#981006: No way of adding task packages with dependencies (necessary for tasksel) - packages listed in .download should be included with their dependencies
Date: Thu, 04 Feb 2021 19:03:34 -0800
[Message part 1 (text/plain, inline)]
On 2021-01-25, Daniel Leidert wrote:
> Hm. Maybe strike that. I misread some recommended packages as depends. But
> still overwriting
>
> tasksel tasksel/first multiselect standard

I added this to a profiles/misc.preseed file:

  tasksel   tasksel/first multiselect
  tasksel   tasksel/first seen false
  tasksel   tasksel/tasks multiselect
  tasksel   tasksel/tasks seen false

And then it prompted for the tasksel tasks. It only displayed standard,
which the built iso image had all the dependencies for. This might be
worth testing a bit more and fleshing out the option. There's also a
tasksel/desktop that might be needed to get the desktop profiles
enabled; not sure exactly how that works.


> fails without a mirror set up. So I'm guessing some missing packages. I'm
> trying to debug this further.

Yeah, you'll need to specify all the packages the tasksel task needs to
make sure they're on the install media.

Packages in .downloads are somewhat treated like recommends; e.g. add
them to the install media if possible, but don't fail if they aren't
available.

Overall, profiles/*.packages are used to select packages to install with
simple-cdd instead of tasksel tasks.


I had looked into being able to specify tasksel tasks many, many years
ago and it was too complicated at the time... the idea was to create
profiles/*.tasks and then it would look up the required packages and add
them to the install media. Never figured out how to do that, and it is a
bit redundant with the simple-cdd profiles. Maybe someone else has a
better idea how to implement it or the tasksel code has changed to make
it easier now?


live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 16:11:12 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.