Unmet Kernel Dependencies or dpkg-preconfigure Issues?
Trying to remove old kernels to make space for an update (currently running 16.04.03 server):
sudo apt autoremove
gives this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run â??apt-get -f installâ?? to correct these.
The following packages have unmet dependencies.
linux-headers-generic : Depends: linux-headers-4.4.0-141-generic but it is not
installed
E: Unmet dependencies. Try using -f.
So, I run:
sudo apt -f autoremove
Doing so brings this:
The following additional packages will be installed:
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
linux-headers-4.4.0-141 linux-headers-4.4.0-141-generic
The following packages will be REMOVED
linux-headers-4.4.0-109 linux-headers-4.4.0-112 linux-headers-4.4.0-116
linux-headers-4.4.0-119 linux-headers-4.4.0-127 linux-headers-4.4.0-128
linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic
linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
linux-headers-4.4.0-133 linux-headers-4.4.0-133-generic
linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic
linux-headers-4.4.0-87 linux-image-4.4.0-130-generic
linux-image-4.4.0-131-generic linux-image-4.4.0-133-generic
linux-image-4.4.0-134-generic linux-image-extra-4.4.0-130-generic
linux-image-extra-4.4.0-131-generic linux-image-extra-4.4.0-133-generic
linux-image-extra-4.4.0-134-generic
The following NEW packages will be installed
linux-headers-4.4.0-141 linux-headers-4.4.0-141-generic
0 to upgrade, 2 to newly install, 23 to remove and 1 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/10.8 MB of archives.
After this operation, 1,387 MB disk space will be freed.
Do you want to continue? [Y/n]
E: Waited for /usr/sbin/dpkg-preconfigure --apt || true but it wasn't there
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true
/etc/apt/apt.conf.d/70debconf looks like that:
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
I can run
/usr/sbin/dpkg-preconfigure --help
There should be enough free space, or is that not enough?
df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 472M 106M 342M 24% /boot
I tried, as suggested by George Udosen:
sudo dpkg --configure -a
But that brings:
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-4.4.0-141-generic; however:
Package linux-headers-4.4.0-141-generic is not installed.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 4.4.0.141.147); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-generic
linux-generic
Just for fun, I tried the next suggested command:
sudo apt update
Which brings - after the hits:
Reading package lists... Done
E: Couldn't wait for subprocess - waitpid (10: No child processes)
Actually, when trying solutions from other threads I saw that "No child processes" a few times.
Update: Issue solved. Actually, probably it was several.
Note: I run the server via Webmin. Some threads suggested that this is a Webmin issue, so before I posted here, I tried to fix the issue directly at the server, but wasn't able to do. But now ....
I found in another thread how to remove the Linux packages that create the problems:
sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
That, combined possibly with George Udosen's (thanks a lot!!!) proposals, got rid of the dependency errors and made it possible to install the latest version of Webmin.
The
E: Waited for /usr/sbin/dpkg-preconfigure --apt || true but it wasn't there
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true
turned out to be a Webmin issue and was then gone when runing the autoremove from the server directly.
Thanks a lot for the help!
The server will stand again unattended in my empty flat for some time, so it was important to get the issue solved. I can sleep again tonight.
apt kernel dependencies
add a comment |
Trying to remove old kernels to make space for an update (currently running 16.04.03 server):
sudo apt autoremove
gives this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run â??apt-get -f installâ?? to correct these.
The following packages have unmet dependencies.
linux-headers-generic : Depends: linux-headers-4.4.0-141-generic but it is not
installed
E: Unmet dependencies. Try using -f.
So, I run:
sudo apt -f autoremove
Doing so brings this:
The following additional packages will be installed:
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
linux-headers-4.4.0-141 linux-headers-4.4.0-141-generic
The following packages will be REMOVED
linux-headers-4.4.0-109 linux-headers-4.4.0-112 linux-headers-4.4.0-116
linux-headers-4.4.0-119 linux-headers-4.4.0-127 linux-headers-4.4.0-128
linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic
linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
linux-headers-4.4.0-133 linux-headers-4.4.0-133-generic
linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic
linux-headers-4.4.0-87 linux-image-4.4.0-130-generic
linux-image-4.4.0-131-generic linux-image-4.4.0-133-generic
linux-image-4.4.0-134-generic linux-image-extra-4.4.0-130-generic
linux-image-extra-4.4.0-131-generic linux-image-extra-4.4.0-133-generic
linux-image-extra-4.4.0-134-generic
The following NEW packages will be installed
linux-headers-4.4.0-141 linux-headers-4.4.0-141-generic
0 to upgrade, 2 to newly install, 23 to remove and 1 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/10.8 MB of archives.
After this operation, 1,387 MB disk space will be freed.
Do you want to continue? [Y/n]
E: Waited for /usr/sbin/dpkg-preconfigure --apt || true but it wasn't there
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true
/etc/apt/apt.conf.d/70debconf looks like that:
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
I can run
/usr/sbin/dpkg-preconfigure --help
There should be enough free space, or is that not enough?
df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 472M 106M 342M 24% /boot
I tried, as suggested by George Udosen:
sudo dpkg --configure -a
But that brings:
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-4.4.0-141-generic; however:
Package linux-headers-4.4.0-141-generic is not installed.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 4.4.0.141.147); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-generic
linux-generic
Just for fun, I tried the next suggested command:
sudo apt update
Which brings - after the hits:
Reading package lists... Done
E: Couldn't wait for subprocess - waitpid (10: No child processes)
Actually, when trying solutions from other threads I saw that "No child processes" a few times.
Update: Issue solved. Actually, probably it was several.
Note: I run the server via Webmin. Some threads suggested that this is a Webmin issue, so before I posted here, I tried to fix the issue directly at the server, but wasn't able to do. But now ....
I found in another thread how to remove the Linux packages that create the problems:
sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
That, combined possibly with George Udosen's (thanks a lot!!!) proposals, got rid of the dependency errors and made it possible to install the latest version of Webmin.
The
E: Waited for /usr/sbin/dpkg-preconfigure --apt || true but it wasn't there
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true
turned out to be a Webmin issue and was then gone when runing the autoremove from the server directly.
Thanks a lot for the help!
The server will stand again unattended in my empty flat for some time, so it was important to get the issue solved. I can sleep again tonight.
apt kernel dependencies
1
Runsudo dpkg --configure -a
, thensudo apt update
and followingsudo apt install -f
and finallysudo apt autoremove
!
– George Udosen
Jan 3 at 13:43
Thanks George Udosen. Unfortunately it didn't help. See my updated post.
– StefanProb
Jan 3 at 13:58
Now runsudo apt install -f
!
– George Udosen
Jan 3 at 14:06
I found meanwhile in another thread this:sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
I did that, and the firstdpkg --configure -a
went then through without problems. However, theapt update
is still the same, and theapt install -f
returns without errors, but theapt autoremove
still complains that thedpkg-preconfigure
wasn't there.
– StefanProb
Jan 3 at 14:15
try reinstall yourdpkg
package, runsudo apt-get remove --purge dpkg && sudo apt clean && sudo apt-get install -f && sudo apt-get install dpkg && sudo dpkg --configure -a && sudo apt update
– abu-ahmed al-khatiri
Jan 3 at 14:29
add a comment |
Trying to remove old kernels to make space for an update (currently running 16.04.03 server):
sudo apt autoremove
gives this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run â??apt-get -f installâ?? to correct these.
The following packages have unmet dependencies.
linux-headers-generic : Depends: linux-headers-4.4.0-141-generic but it is not
installed
E: Unmet dependencies. Try using -f.
So, I run:
sudo apt -f autoremove
Doing so brings this:
The following additional packages will be installed:
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
linux-headers-4.4.0-141 linux-headers-4.4.0-141-generic
The following packages will be REMOVED
linux-headers-4.4.0-109 linux-headers-4.4.0-112 linux-headers-4.4.0-116
linux-headers-4.4.0-119 linux-headers-4.4.0-127 linux-headers-4.4.0-128
linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic
linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
linux-headers-4.4.0-133 linux-headers-4.4.0-133-generic
linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic
linux-headers-4.4.0-87 linux-image-4.4.0-130-generic
linux-image-4.4.0-131-generic linux-image-4.4.0-133-generic
linux-image-4.4.0-134-generic linux-image-extra-4.4.0-130-generic
linux-image-extra-4.4.0-131-generic linux-image-extra-4.4.0-133-generic
linux-image-extra-4.4.0-134-generic
The following NEW packages will be installed
linux-headers-4.4.0-141 linux-headers-4.4.0-141-generic
0 to upgrade, 2 to newly install, 23 to remove and 1 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/10.8 MB of archives.
After this operation, 1,387 MB disk space will be freed.
Do you want to continue? [Y/n]
E: Waited for /usr/sbin/dpkg-preconfigure --apt || true but it wasn't there
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true
/etc/apt/apt.conf.d/70debconf looks like that:
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
I can run
/usr/sbin/dpkg-preconfigure --help
There should be enough free space, or is that not enough?
df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 472M 106M 342M 24% /boot
I tried, as suggested by George Udosen:
sudo dpkg --configure -a
But that brings:
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-4.4.0-141-generic; however:
Package linux-headers-4.4.0-141-generic is not installed.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 4.4.0.141.147); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-generic
linux-generic
Just for fun, I tried the next suggested command:
sudo apt update
Which brings - after the hits:
Reading package lists... Done
E: Couldn't wait for subprocess - waitpid (10: No child processes)
Actually, when trying solutions from other threads I saw that "No child processes" a few times.
Update: Issue solved. Actually, probably it was several.
Note: I run the server via Webmin. Some threads suggested that this is a Webmin issue, so before I posted here, I tried to fix the issue directly at the server, but wasn't able to do. But now ....
I found in another thread how to remove the Linux packages that create the problems:
sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
That, combined possibly with George Udosen's (thanks a lot!!!) proposals, got rid of the dependency errors and made it possible to install the latest version of Webmin.
The
E: Waited for /usr/sbin/dpkg-preconfigure --apt || true but it wasn't there
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true
turned out to be a Webmin issue and was then gone when runing the autoremove from the server directly.
Thanks a lot for the help!
The server will stand again unattended in my empty flat for some time, so it was important to get the issue solved. I can sleep again tonight.
apt kernel dependencies
Trying to remove old kernels to make space for an update (currently running 16.04.03 server):
sudo apt autoremove
gives this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run â??apt-get -f installâ?? to correct these.
The following packages have unmet dependencies.
linux-headers-generic : Depends: linux-headers-4.4.0-141-generic but it is not
installed
E: Unmet dependencies. Try using -f.
So, I run:
sudo apt -f autoremove
Doing so brings this:
The following additional packages will be installed:
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
linux-headers-4.4.0-141 linux-headers-4.4.0-141-generic
The following packages will be REMOVED
linux-headers-4.4.0-109 linux-headers-4.4.0-112 linux-headers-4.4.0-116
linux-headers-4.4.0-119 linux-headers-4.4.0-127 linux-headers-4.4.0-128
linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic
linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
linux-headers-4.4.0-133 linux-headers-4.4.0-133-generic
linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic
linux-headers-4.4.0-87 linux-image-4.4.0-130-generic
linux-image-4.4.0-131-generic linux-image-4.4.0-133-generic
linux-image-4.4.0-134-generic linux-image-extra-4.4.0-130-generic
linux-image-extra-4.4.0-131-generic linux-image-extra-4.4.0-133-generic
linux-image-extra-4.4.0-134-generic
The following NEW packages will be installed
linux-headers-4.4.0-141 linux-headers-4.4.0-141-generic
0 to upgrade, 2 to newly install, 23 to remove and 1 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/10.8 MB of archives.
After this operation, 1,387 MB disk space will be freed.
Do you want to continue? [Y/n]
E: Waited for /usr/sbin/dpkg-preconfigure --apt || true but it wasn't there
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true
/etc/apt/apt.conf.d/70debconf looks like that:
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
I can run
/usr/sbin/dpkg-preconfigure --help
There should be enough free space, or is that not enough?
df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 472M 106M 342M 24% /boot
I tried, as suggested by George Udosen:
sudo dpkg --configure -a
But that brings:
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-4.4.0-141-generic; however:
Package linux-headers-4.4.0-141-generic is not installed.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 4.4.0.141.147); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-generic
linux-generic
Just for fun, I tried the next suggested command:
sudo apt update
Which brings - after the hits:
Reading package lists... Done
E: Couldn't wait for subprocess - waitpid (10: No child processes)
Actually, when trying solutions from other threads I saw that "No child processes" a few times.
Update: Issue solved. Actually, probably it was several.
Note: I run the server via Webmin. Some threads suggested that this is a Webmin issue, so before I posted here, I tried to fix the issue directly at the server, but wasn't able to do. But now ....
I found in another thread how to remove the Linux packages that create the problems:
sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
That, combined possibly with George Udosen's (thanks a lot!!!) proposals, got rid of the dependency errors and made it possible to install the latest version of Webmin.
The
E: Waited for /usr/sbin/dpkg-preconfigure --apt || true but it wasn't there
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true
turned out to be a Webmin issue and was then gone when runing the autoremove from the server directly.
Thanks a lot for the help!
The server will stand again unattended in my empty flat for some time, so it was important to get the issue solved. I can sleep again tonight.
apt kernel dependencies
apt kernel dependencies
edited Jan 3 at 14:56
StefanProb
asked Jan 3 at 13:32
StefanProbStefanProb
12
12
1
Runsudo dpkg --configure -a
, thensudo apt update
and followingsudo apt install -f
and finallysudo apt autoremove
!
– George Udosen
Jan 3 at 13:43
Thanks George Udosen. Unfortunately it didn't help. See my updated post.
– StefanProb
Jan 3 at 13:58
Now runsudo apt install -f
!
– George Udosen
Jan 3 at 14:06
I found meanwhile in another thread this:sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
I did that, and the firstdpkg --configure -a
went then through without problems. However, theapt update
is still the same, and theapt install -f
returns without errors, but theapt autoremove
still complains that thedpkg-preconfigure
wasn't there.
– StefanProb
Jan 3 at 14:15
try reinstall yourdpkg
package, runsudo apt-get remove --purge dpkg && sudo apt clean && sudo apt-get install -f && sudo apt-get install dpkg && sudo dpkg --configure -a && sudo apt update
– abu-ahmed al-khatiri
Jan 3 at 14:29
add a comment |
1
Runsudo dpkg --configure -a
, thensudo apt update
and followingsudo apt install -f
and finallysudo apt autoremove
!
– George Udosen
Jan 3 at 13:43
Thanks George Udosen. Unfortunately it didn't help. See my updated post.
– StefanProb
Jan 3 at 13:58
Now runsudo apt install -f
!
– George Udosen
Jan 3 at 14:06
I found meanwhile in another thread this:sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
I did that, and the firstdpkg --configure -a
went then through without problems. However, theapt update
is still the same, and theapt install -f
returns without errors, but theapt autoremove
still complains that thedpkg-preconfigure
wasn't there.
– StefanProb
Jan 3 at 14:15
try reinstall yourdpkg
package, runsudo apt-get remove --purge dpkg && sudo apt clean && sudo apt-get install -f && sudo apt-get install dpkg && sudo dpkg --configure -a && sudo apt update
– abu-ahmed al-khatiri
Jan 3 at 14:29
1
1
Run
sudo dpkg --configure -a
, then sudo apt update
and following sudo apt install -f
and finally sudo apt autoremove
!– George Udosen
Jan 3 at 13:43
Run
sudo dpkg --configure -a
, then sudo apt update
and following sudo apt install -f
and finally sudo apt autoremove
!– George Udosen
Jan 3 at 13:43
Thanks George Udosen. Unfortunately it didn't help. See my updated post.
– StefanProb
Jan 3 at 13:58
Thanks George Udosen. Unfortunately it didn't help. See my updated post.
– StefanProb
Jan 3 at 13:58
Now run
sudo apt install -f
!– George Udosen
Jan 3 at 14:06
Now run
sudo apt install -f
!– George Udosen
Jan 3 at 14:06
I found meanwhile in another thread this:
sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
I did that, and the first dpkg --configure -a
went then through without problems. However, the apt update
is still the same, and the apt install -f
returns without errors, but the apt autoremove
still complains that the dpkg-preconfigure
wasn't there.– StefanProb
Jan 3 at 14:15
I found meanwhile in another thread this:
sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
I did that, and the first dpkg --configure -a
went then through without problems. However, the apt update
is still the same, and the apt install -f
returns without errors, but the apt autoremove
still complains that the dpkg-preconfigure
wasn't there.– StefanProb
Jan 3 at 14:15
try reinstall your
dpkg
package, run sudo apt-get remove --purge dpkg && sudo apt clean && sudo apt-get install -f && sudo apt-get install dpkg && sudo dpkg --configure -a && sudo apt update
– abu-ahmed al-khatiri
Jan 3 at 14:29
try reinstall your
dpkg
package, run sudo apt-get remove --purge dpkg && sudo apt clean && sudo apt-get install -f && sudo apt-get install dpkg && sudo dpkg --configure -a && sudo apt update
– abu-ahmed al-khatiri
Jan 3 at 14:29
add a comment |
0
active
oldest
votes
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%2f1106581%2funmet-kernel-dependencies-or-dpkg-preconfigure-issues%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1106581%2funmet-kernel-dependencies-or-dpkg-preconfigure-issues%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
1
Run
sudo dpkg --configure -a
, thensudo apt update
and followingsudo apt install -f
and finallysudo apt autoremove
!– George Udosen
Jan 3 at 13:43
Thanks George Udosen. Unfortunately it didn't help. See my updated post.
– StefanProb
Jan 3 at 13:58
Now run
sudo apt install -f
!– George Udosen
Jan 3 at 14:06
I found meanwhile in another thread this:
sudo dpkg -P linux-generic
sudo dpkg -P linux-image-generic
sudo dpkg -P linux-headers-generic
I did that, and the firstdpkg --configure -a
went then through without problems. However, theapt update
is still the same, and theapt install -f
returns without errors, but theapt autoremove
still complains that thedpkg-preconfigure
wasn't there.– StefanProb
Jan 3 at 14:15
try reinstall your
dpkg
package, runsudo apt-get remove --purge dpkg && sudo apt clean && sudo apt-get install -f && sudo apt-get install dpkg && sudo dpkg --configure -a && sudo apt update
– abu-ahmed al-khatiri
Jan 3 at 14:29