can't update-initramfs generating /boot/initrd.img-3.16.0-4-amd64 error
Hi today I did a upgrade in my debian after of this. have a problem really I look a solution for this problem and I don't find anything.
Configurando linux-image-3.16.0-4-amd64 (3.16.7-ckt20-1+deb8u4) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
cp: no se puede efectuar `stat' sobre «/etc/udev/udev.conf»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.16.0-4-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-4-amd64.postinst line 634.
dpkg: error al procesar el paquete linux-image-3.16.0-4-amd64 (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
linux-image-3.16.0-4-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
NEW PROBLEM WITH THE COMAND:
sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev
HAVE THIS:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Configurando udev (215-17+deb8u3) ...
update-initramfs: deferring update (trigger activated)
insserv: fopen(/etc/insserv.conf): No such file or directory
insserv: Service mountkernfs has to be enabled to start service udev
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar el paquete udev (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Procesando disparadores para initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Se encontraron errores al procesar:
udev
linux upgrade
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Hi today I did a upgrade in my debian after of this. have a problem really I look a solution for this problem and I don't find anything.
Configurando linux-image-3.16.0-4-amd64 (3.16.7-ckt20-1+deb8u4) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
cp: no se puede efectuar `stat' sobre «/etc/udev/udev.conf»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.16.0-4-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-4-amd64.postinst line 634.
dpkg: error al procesar el paquete linux-image-3.16.0-4-amd64 (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
linux-image-3.16.0-4-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
NEW PROBLEM WITH THE COMAND:
sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev
HAVE THIS:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Configurando udev (215-17+deb8u3) ...
update-initramfs: deferring update (trigger activated)
insserv: fopen(/etc/insserv.conf): No such file or directory
insserv: Service mountkernfs has to be enabled to start service udev
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar el paquete udev (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Procesando disparadores para initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Se encontraron errores al procesar:
udev
linux upgrade
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Please copy/paste the text from the console — BTW do you know you can use the central mouse button to paste text from a TTY in a file opened in an editor?
– user86969
Mar 21 '16 at 21:06
add a comment |
Hi today I did a upgrade in my debian after of this. have a problem really I look a solution for this problem and I don't find anything.
Configurando linux-image-3.16.0-4-amd64 (3.16.7-ckt20-1+deb8u4) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
cp: no se puede efectuar `stat' sobre «/etc/udev/udev.conf»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.16.0-4-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-4-amd64.postinst line 634.
dpkg: error al procesar el paquete linux-image-3.16.0-4-amd64 (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
linux-image-3.16.0-4-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
NEW PROBLEM WITH THE COMAND:
sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev
HAVE THIS:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Configurando udev (215-17+deb8u3) ...
update-initramfs: deferring update (trigger activated)
insserv: fopen(/etc/insserv.conf): No such file or directory
insserv: Service mountkernfs has to be enabled to start service udev
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar el paquete udev (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Procesando disparadores para initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Se encontraron errores al procesar:
udev
linux upgrade
Hi today I did a upgrade in my debian after of this. have a problem really I look a solution for this problem and I don't find anything.
Configurando linux-image-3.16.0-4-amd64 (3.16.7-ckt20-1+deb8u4) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
cp: no se puede efectuar `stat' sobre «/etc/udev/udev.conf»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.16.0-4-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-4-amd64.postinst line 634.
dpkg: error al procesar el paquete linux-image-3.16.0-4-amd64 (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
linux-image-3.16.0-4-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
NEW PROBLEM WITH THE COMAND:
sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev
HAVE THIS:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Configurando udev (215-17+deb8u3) ...
update-initramfs: deferring update (trigger activated)
insserv: fopen(/etc/insserv.conf): No such file or directory
insserv: Service mountkernfs has to be enabled to start service udev
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar el paquete udev (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
Procesando disparadores para initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Se encontraron errores al procesar:
udev
linux upgrade
linux upgrade
edited Mar 22 '16 at 5:16
CoolLife
asked Mar 21 '16 at 20:57
CoolLifeCoolLife
1064
1064
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Please copy/paste the text from the console — BTW do you know you can use the central mouse button to paste text from a TTY in a file opened in an editor?
– user86969
Mar 21 '16 at 21:06
add a comment |
Please copy/paste the text from the console — BTW do you know you can use the central mouse button to paste text from a TTY in a file opened in an editor?
– user86969
Mar 21 '16 at 21:06
Please copy/paste the text from the console — BTW do you know you can use the central mouse button to paste text from a TTY in a file opened in an editor?
– user86969
Mar 21 '16 at 21:06
Please copy/paste the text from the console — BTW do you know you can use the central mouse button to paste text from a TTY in a file opened in an editor?
– user86969
Mar 21 '16 at 21:06
add a comment |
1 Answer
1
active
oldest
votes
You can try restoring the default udev.conf
. After
mv /etc/udev/udev.conf /etc/udev/udev.conf.broken
(in case the file actually exists but is unreadable for some other reason e.g. a symlink to nowhere)
apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev
(Apparently for some packages it's necessary to prefix with UCF_FORCE_CONFFMISS=1 instead, joy. But I don't think the udev package uses ucf).
However if this is more than an accident affecting the one file, you're probably best making backup copies of anything you want to keep and re-installing the OS as a whole.
You don't know what caused it; I can't think of anything obvious. If you try fixing files one at a time, you're likely to miss something that will mysteriously break later on.
Unfortunately there isn't a simple way to reinstall all packages inside a running system. E.g. aptitude reinstall ?installed
- it fails with something like Couldn't configure perl-base, probably a dependency cycle
.
yeah now I have other problem i shown in the question
– CoolLife
Mar 22 '16 at 5:14
give up (on this debian install, you can always make a new one :P). Edited answer.
– sourcejedi
Mar 22 '16 at 9:33
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f271330%2fcant-update-initramfs-generating-boot-initrd-img-3-16-0-4-amd64-error%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
You can try restoring the default udev.conf
. After
mv /etc/udev/udev.conf /etc/udev/udev.conf.broken
(in case the file actually exists but is unreadable for some other reason e.g. a symlink to nowhere)
apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev
(Apparently for some packages it's necessary to prefix with UCF_FORCE_CONFFMISS=1 instead, joy. But I don't think the udev package uses ucf).
However if this is more than an accident affecting the one file, you're probably best making backup copies of anything you want to keep and re-installing the OS as a whole.
You don't know what caused it; I can't think of anything obvious. If you try fixing files one at a time, you're likely to miss something that will mysteriously break later on.
Unfortunately there isn't a simple way to reinstall all packages inside a running system. E.g. aptitude reinstall ?installed
- it fails with something like Couldn't configure perl-base, probably a dependency cycle
.
yeah now I have other problem i shown in the question
– CoolLife
Mar 22 '16 at 5:14
give up (on this debian install, you can always make a new one :P). Edited answer.
– sourcejedi
Mar 22 '16 at 9:33
add a comment |
You can try restoring the default udev.conf
. After
mv /etc/udev/udev.conf /etc/udev/udev.conf.broken
(in case the file actually exists but is unreadable for some other reason e.g. a symlink to nowhere)
apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev
(Apparently for some packages it's necessary to prefix with UCF_FORCE_CONFFMISS=1 instead, joy. But I don't think the udev package uses ucf).
However if this is more than an accident affecting the one file, you're probably best making backup copies of anything you want to keep and re-installing the OS as a whole.
You don't know what caused it; I can't think of anything obvious. If you try fixing files one at a time, you're likely to miss something that will mysteriously break later on.
Unfortunately there isn't a simple way to reinstall all packages inside a running system. E.g. aptitude reinstall ?installed
- it fails with something like Couldn't configure perl-base, probably a dependency cycle
.
yeah now I have other problem i shown in the question
– CoolLife
Mar 22 '16 at 5:14
give up (on this debian install, you can always make a new one :P). Edited answer.
– sourcejedi
Mar 22 '16 at 9:33
add a comment |
You can try restoring the default udev.conf
. After
mv /etc/udev/udev.conf /etc/udev/udev.conf.broken
(in case the file actually exists but is unreadable for some other reason e.g. a symlink to nowhere)
apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev
(Apparently for some packages it's necessary to prefix with UCF_FORCE_CONFFMISS=1 instead, joy. But I don't think the udev package uses ucf).
However if this is more than an accident affecting the one file, you're probably best making backup copies of anything you want to keep and re-installing the OS as a whole.
You don't know what caused it; I can't think of anything obvious. If you try fixing files one at a time, you're likely to miss something that will mysteriously break later on.
Unfortunately there isn't a simple way to reinstall all packages inside a running system. E.g. aptitude reinstall ?installed
- it fails with something like Couldn't configure perl-base, probably a dependency cycle
.
You can try restoring the default udev.conf
. After
mv /etc/udev/udev.conf /etc/udev/udev.conf.broken
(in case the file actually exists but is unreadable for some other reason e.g. a symlink to nowhere)
apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev
(Apparently for some packages it's necessary to prefix with UCF_FORCE_CONFFMISS=1 instead, joy. But I don't think the udev package uses ucf).
However if this is more than an accident affecting the one file, you're probably best making backup copies of anything you want to keep and re-installing the OS as a whole.
You don't know what caused it; I can't think of anything obvious. If you try fixing files one at a time, you're likely to miss something that will mysteriously break later on.
Unfortunately there isn't a simple way to reinstall all packages inside a running system. E.g. aptitude reinstall ?installed
- it fails with something like Couldn't configure perl-base, probably a dependency cycle
.
edited Mar 22 '16 at 9:32
answered Mar 21 '16 at 22:36
sourcejedisourcejedi
24.2k439106
24.2k439106
yeah now I have other problem i shown in the question
– CoolLife
Mar 22 '16 at 5:14
give up (on this debian install, you can always make a new one :P). Edited answer.
– sourcejedi
Mar 22 '16 at 9:33
add a comment |
yeah now I have other problem i shown in the question
– CoolLife
Mar 22 '16 at 5:14
give up (on this debian install, you can always make a new one :P). Edited answer.
– sourcejedi
Mar 22 '16 at 9:33
yeah now I have other problem i shown in the question
– CoolLife
Mar 22 '16 at 5:14
yeah now I have other problem i shown in the question
– CoolLife
Mar 22 '16 at 5:14
give up (on this debian install, you can always make a new one :P). Edited answer.
– sourcejedi
Mar 22 '16 at 9:33
give up (on this debian install, you can always make a new one :P). Edited answer.
– sourcejedi
Mar 22 '16 at 9:33
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f271330%2fcant-update-initramfs-generating-boot-initrd-img-3-16-0-4-amd64-error%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
Please copy/paste the text from the console — BTW do you know you can use the central mouse button to paste text from a TTY in a file opened in an editor?
– user86969
Mar 21 '16 at 21:06