Custom install - “”No installable kernel was found in the defined APT sources"apt-upgrade kernel-image with custom kernelerror 503:Packages.gz naming problemErrors when running apt-get update?Custom Server ISO cannot find kernel to installHow to remove an apt package?Can I install software even though the repository hasn't been updated for my Ubuntu release version?Chrome updates fail with error when updating repository informationDoes the old version of apt information file exist on the website?Failed to fetch when building dockerCustom install works in one VirtualBox, not others or on hardware
Can you use a concentration spell while using Mantle of Majesty?
What is the intuition behind uniform continuity?
Can you keep a readied action even through incapacitation?
Working in the USA for living expenses only; allowed on VWP?
Why is there a need to modify system call tables in Linux?
Do adult Russians normally hand-write Cyrillic as cursive or as block letters?
How can a single Member of the House block a Congressional bill?
Is the capacitor drawn or wired wrongly?
If a problem only occurs randomly once in every N times on average, how many tests do I have to perform to be certain that it's now fixed?
Future enhancements for the finite element method
Why don't I have ground wiring on any of my outlets?
How much current can Baofeng UV-5R provide on +V pin?
Why is Colorado so different politically from nearby states?
Does Peach's float negate shorthop knockback multipliers?
What people are called "кабан" and why?
Estimate related to the Möbius function
What is a simple, physical situation where complex numbers emerge naturally?
Cryptography and patents
Why does the UK have more political parties than the US?
What does it mean by "d-ism of Leibniz" and "dotage of Newton" in simple English?
Singlequote and backslash
How can I grammatically understand "Wir über uns"?
Is there any Biblical Basis for 400 years of silence between Old and New Testament?
Order by does not work as I expect
Custom install - “”No installable kernel was found in the defined APT sources"
apt-upgrade kernel-image with custom kernelerror 503:Packages.gz naming problemErrors when running apt-get update?Custom Server ISO cannot find kernel to installHow to remove an apt package?Can I install software even though the repository hasn't been updated for my Ubuntu release version?Chrome updates fail with error when updating repository informationDoes the old version of apt information file exist on the website?Failed to fetch when building dockerCustom install works in one VirtualBox, not others or on hardware
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to build a custom build of 18.04 with some extra packages installed, using https://help.ubuntu.com/community/InstallCDCustomization (substituting 'bionic' for 'xenial'),
but when installing on VM I get the message "No installable kernel was found in the defined APT sources".
Looking at the syslog, I see four warnings:
warning: Unable to find main/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find restricted/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find extras/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find extras/debian-installer/binary-amd64/Packages.gz in /cdrom/dists/bionic/Release
And one message at the end:
base-installer: info: found kernels ''
It looks like the kernel packages are listed in dists/bionic/main/binary-amd64/Packages.gz, and the checksum from that file is correct in the dists/bionic/Release file.
What else might be missing?
EDIT:
Looking at the code of library.sh in the base-installer source code, that last message indicates that /tmp/available_kernels.txt is empty. And that indeed is the case when I quit out of the install w/Alt-F2.
EDIT 2: Looking further at library.sh, that file gets populated by the kernel_update_list function, which gets the list of kernel candidates from
chroot /target apt-cache search "^(kernel|$KERNEL_NAME)-image"
That returns nothing when I run it in the installer shell. I can see a number of other packages, including linux-headers-4.15.0-20-generic_4.15.0-20.21_amd64.deb, and the extra packages I'm trying to install. 'apt-cache search linux-headers' doesn't return anything, though.
EDIT 3: In pool/main/l/linux-signed is the linux-image-4.15.0-20-generic_4.15.0-20.21_amd64.deb.
Both standard 18.04 and my custom version have this. But I don't see where that package is listed under the dists/ directory.
apt 18.04 custom-distributions debian-installer custom-installer
add a comment |
I am trying to build a custom build of 18.04 with some extra packages installed, using https://help.ubuntu.com/community/InstallCDCustomization (substituting 'bionic' for 'xenial'),
but when installing on VM I get the message "No installable kernel was found in the defined APT sources".
Looking at the syslog, I see four warnings:
warning: Unable to find main/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find restricted/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find extras/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find extras/debian-installer/binary-amd64/Packages.gz in /cdrom/dists/bionic/Release
And one message at the end:
base-installer: info: found kernels ''
It looks like the kernel packages are listed in dists/bionic/main/binary-amd64/Packages.gz, and the checksum from that file is correct in the dists/bionic/Release file.
What else might be missing?
EDIT:
Looking at the code of library.sh in the base-installer source code, that last message indicates that /tmp/available_kernels.txt is empty. And that indeed is the case when I quit out of the install w/Alt-F2.
EDIT 2: Looking further at library.sh, that file gets populated by the kernel_update_list function, which gets the list of kernel candidates from
chroot /target apt-cache search "^(kernel|$KERNEL_NAME)-image"
That returns nothing when I run it in the installer shell. I can see a number of other packages, including linux-headers-4.15.0-20-generic_4.15.0-20.21_amd64.deb, and the extra packages I'm trying to install. 'apt-cache search linux-headers' doesn't return anything, though.
EDIT 3: In pool/main/l/linux-signed is the linux-image-4.15.0-20-generic_4.15.0-20.21_amd64.deb.
Both standard 18.04 and my custom version have this. But I don't see where that package is listed under the dists/ directory.
apt 18.04 custom-distributions debian-installer custom-installer
add a comment |
I am trying to build a custom build of 18.04 with some extra packages installed, using https://help.ubuntu.com/community/InstallCDCustomization (substituting 'bionic' for 'xenial'),
but when installing on VM I get the message "No installable kernel was found in the defined APT sources".
Looking at the syslog, I see four warnings:
warning: Unable to find main/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find restricted/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find extras/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find extras/debian-installer/binary-amd64/Packages.gz in /cdrom/dists/bionic/Release
And one message at the end:
base-installer: info: found kernels ''
It looks like the kernel packages are listed in dists/bionic/main/binary-amd64/Packages.gz, and the checksum from that file is correct in the dists/bionic/Release file.
What else might be missing?
EDIT:
Looking at the code of library.sh in the base-installer source code, that last message indicates that /tmp/available_kernels.txt is empty. And that indeed is the case when I quit out of the install w/Alt-F2.
EDIT 2: Looking further at library.sh, that file gets populated by the kernel_update_list function, which gets the list of kernel candidates from
chroot /target apt-cache search "^(kernel|$KERNEL_NAME)-image"
That returns nothing when I run it in the installer shell. I can see a number of other packages, including linux-headers-4.15.0-20-generic_4.15.0-20.21_amd64.deb, and the extra packages I'm trying to install. 'apt-cache search linux-headers' doesn't return anything, though.
EDIT 3: In pool/main/l/linux-signed is the linux-image-4.15.0-20-generic_4.15.0-20.21_amd64.deb.
Both standard 18.04 and my custom version have this. But I don't see where that package is listed under the dists/ directory.
apt 18.04 custom-distributions debian-installer custom-installer
I am trying to build a custom build of 18.04 with some extra packages installed, using https://help.ubuntu.com/community/InstallCDCustomization (substituting 'bionic' for 'xenial'),
but when installing on VM I get the message "No installable kernel was found in the defined APT sources".
Looking at the syslog, I see four warnings:
warning: Unable to find main/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find restricted/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find extras/debian-installer/binary-amd64/Packages in /cdrom/dists/bionic/Release
warning: Unable to find extras/debian-installer/binary-amd64/Packages.gz in /cdrom/dists/bionic/Release
And one message at the end:
base-installer: info: found kernels ''
It looks like the kernel packages are listed in dists/bionic/main/binary-amd64/Packages.gz, and the checksum from that file is correct in the dists/bionic/Release file.
What else might be missing?
EDIT:
Looking at the code of library.sh in the base-installer source code, that last message indicates that /tmp/available_kernels.txt is empty. And that indeed is the case when I quit out of the install w/Alt-F2.
EDIT 2: Looking further at library.sh, that file gets populated by the kernel_update_list function, which gets the list of kernel candidates from
chroot /target apt-cache search "^(kernel|$KERNEL_NAME)-image"
That returns nothing when I run it in the installer shell. I can see a number of other packages, including linux-headers-4.15.0-20-generic_4.15.0-20.21_amd64.deb, and the extra packages I'm trying to install. 'apt-cache search linux-headers' doesn't return anything, though.
EDIT 3: In pool/main/l/linux-signed is the linux-image-4.15.0-20-generic_4.15.0-20.21_amd64.deb.
Both standard 18.04 and my custom version have this. But I don't see where that package is listed under the dists/ directory.
apt 18.04 custom-distributions debian-installer custom-installer
apt 18.04 custom-distributions debian-installer custom-installer
edited Apr 19 at 23:41
ctd
asked Apr 14 at 15:49
ctdctd
130110
130110
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
After some tweaking, I found the problem was that the apt-ftparchive-deb.conf, apt-ftparchive-udeb.conf, and /opt/indices/override.* files were not getting copied into my build container.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133847%2fcustom-install-no-installable-kernel-was-found-in-the-defined-apt-sources%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After some tweaking, I found the problem was that the apt-ftparchive-deb.conf, apt-ftparchive-udeb.conf, and /opt/indices/override.* files were not getting copied into my build container.
add a comment |
After some tweaking, I found the problem was that the apt-ftparchive-deb.conf, apt-ftparchive-udeb.conf, and /opt/indices/override.* files were not getting copied into my build container.
add a comment |
After some tweaking, I found the problem was that the apt-ftparchive-deb.conf, apt-ftparchive-udeb.conf, and /opt/indices/override.* files were not getting copied into my build container.
After some tweaking, I found the problem was that the apt-ftparchive-deb.conf, apt-ftparchive-udeb.conf, and /opt/indices/override.* files were not getting copied into my build container.
answered Apr 19 at 23:41
ctdctd
130110
130110
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133847%2fcustom-install-no-installable-kernel-was-found-in-the-defined-apt-sources%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown