[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1003014: make_disc_trees.pl misdetects files missing for debootstrap when a proxy is used to retrieve packages - essentially making the installer ignore packages on the CDROM



Hi Daniel, and Happy New Year!

On Sun, Jan 02, 2022 at 08:30:45PM +0100, Daniel Leidert wrote:
>Package: debian-cd
>Version: 3.1.35
>Severity: normal
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA512
>
>I was recently building custom images using simple-cdd, and for some reason the
>installer was completely ignoring the packages shipped with the media. With
>some digging I found the installer reporting:
>
>cdrom-detect: Base system not installable from CD, requesting choose-mirror
>
>With some more digging I found that make_disc_trees.pl was reporting:
>
>5 files missing for debootstrap, not creating base_installable
>
>But the relevant make_disc_tree.log file only contained this at the end:
>
>Missing debootstrap-required I:
>Missing debootstrap-required Using
>Missing debootstrap-required auto-detected
>Missing debootstrap-required proxy:
>Missing debootstrap-required http://127.0.0.1:8000/
>
>So actually there were no packages missing. Disabling the proxy then "fixed"
>the issue. There were no more complaints by make_disc_trees.pl, and the
>installer was using all the package put on the CD.
>
>So we somehow need to ignore messages like the above, which do not indicate
>packages missing.

Argh, OK. That's clearly the apt wrapper getting confused by the extra
output from apt. I'm guessing you have extra environment config to set
up the proxy here?

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
The two hard things in computing:
 * naming things
 * cache invalidation
 * off-by-one errors                  -- Stig Sandbeck Mathisen


Reply to: