I did a git bisect on the source and it identified this upstream commit
as being the potential culprit: https://salsa.debian.org/apt-
team/apt/commit/1adcf56bec7d2127d83aa423916639740fe8e586

I can confirm that this is the culprit by testing the output of `apt-
cdrom add` before and after reverting that specific commit from the tip
of master.

On further analysis, the following diff is the problematic one:
-      for (std::vector<APT::Configuration::Compressor>::const_iterator c = 
compressor.begin();
-          c != compressor.end(); ++c)
+      for (auto const &ext: APT::Configuration::getCompressorExtensions())
      {
-        if (stat((file + c->Extension).c_str(), &Buf) != 0)
+        if (stat((file + ext).c_str(), &Buf) != 0)

Reverting that diff and that diff only fixes `apt-cdrom add`.

Julian, could you take a look at why this is problematic? I'm afraid I
don't have the expertise to proceed.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1746807

Title:
  18.04 daily installer fails missing kernel

Status in apt package in Ubuntu:
  Confirmed

Bug description:
  "No installable kernel was found in the defined APT sources.

  You may try to continue without a kernel, and manually install your own 
kernel later.
  This is only recommended for experts, otherwise you will likely end up with a 
machine
  that doesn't boot.

  Continue without installing a kernel."

  Lubuntu Daily 18.04 dated 2018-February 1.

  note: yesterdays (Jan 31) install works fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1746807/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to