Debian Jessie: dpkg: unrecoverable fatal error, aborting
When i do a
apt-get upgrade
i get
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-image-3.16.0-4-amd64 : Depends: initramfs-tools (>= 0.110~) but it is not installed or
linux-initramfs-tool
Recommends: firmware-linux-free (>= 3~) but it is not installed
Recommends: irqbalance but it is not installed
When i then try
apt-get -f install
It tells me
Selecting previously unselected package initramfs-tools.
dpkg: warning: files list file for package 'perl-base' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'gcc-4.8-base:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'perl-modules' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'perl' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'findutils' missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
files list file for package `liberror-perl' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
How can i fix this?
I tried uninstalling those packages. Did not help because i cant.
dpkg
add a comment |
When i do a
apt-get upgrade
i get
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-image-3.16.0-4-amd64 : Depends: initramfs-tools (>= 0.110~) but it is not installed or
linux-initramfs-tool
Recommends: firmware-linux-free (>= 3~) but it is not installed
Recommends: irqbalance but it is not installed
When i then try
apt-get -f install
It tells me
Selecting previously unselected package initramfs-tools.
dpkg: warning: files list file for package 'perl-base' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'gcc-4.8-base:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'perl-modules' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'perl' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'findutils' missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
files list file for package `liberror-perl' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
How can i fix this?
I tried uninstalling those packages. Did not help because i cant.
dpkg
Does/var/lib/dpkg/infocontain anything?
– Stephen Kitt
Feb 28 '17 at 11:17
Yes. Quiet a lot...
– felix m
Feb 28 '17 at 11:21
what givesgrep -P -r '^[ t]*[^#[ t]+' /etc/apt/sources.list /etc/apt/sources.list.d/*
– user192526
Feb 28 '17 at 11:27
what is the output ofapt-cache policy initramfs-tools?
– GAD3R
Feb 28 '17 at 11:38
initramfs-tools: Installed: (none) Candidate: 0.120+deb8u2 Version table: 0.120+deb8u2 0 500 ftp2.de.debian.org/debian jessie/main amd64 Packages
– felix m
Feb 28 '17 at 12:35
add a comment |
When i do a
apt-get upgrade
i get
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-image-3.16.0-4-amd64 : Depends: initramfs-tools (>= 0.110~) but it is not installed or
linux-initramfs-tool
Recommends: firmware-linux-free (>= 3~) but it is not installed
Recommends: irqbalance but it is not installed
When i then try
apt-get -f install
It tells me
Selecting previously unselected package initramfs-tools.
dpkg: warning: files list file for package 'perl-base' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'gcc-4.8-base:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'perl-modules' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'perl' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'findutils' missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
files list file for package `liberror-perl' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
How can i fix this?
I tried uninstalling those packages. Did not help because i cant.
dpkg
When i do a
apt-get upgrade
i get
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-image-3.16.0-4-amd64 : Depends: initramfs-tools (>= 0.110~) but it is not installed or
linux-initramfs-tool
Recommends: firmware-linux-free (>= 3~) but it is not installed
Recommends: irqbalance but it is not installed
When i then try
apt-get -f install
It tells me
Selecting previously unselected package initramfs-tools.
dpkg: warning: files list file for package 'perl-base' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'gcc-4.8-base:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'perl-modules' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'perl' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'findutils' missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
files list file for package `liberror-perl' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
How can i fix this?
I tried uninstalling those packages. Did not help because i cant.
dpkg
dpkg
asked Feb 28 '17 at 11:16
felix mfelix m
62
62
Does/var/lib/dpkg/infocontain anything?
– Stephen Kitt
Feb 28 '17 at 11:17
Yes. Quiet a lot...
– felix m
Feb 28 '17 at 11:21
what givesgrep -P -r '^[ t]*[^#[ t]+' /etc/apt/sources.list /etc/apt/sources.list.d/*
– user192526
Feb 28 '17 at 11:27
what is the output ofapt-cache policy initramfs-tools?
– GAD3R
Feb 28 '17 at 11:38
initramfs-tools: Installed: (none) Candidate: 0.120+deb8u2 Version table: 0.120+deb8u2 0 500 ftp2.de.debian.org/debian jessie/main amd64 Packages
– felix m
Feb 28 '17 at 12:35
add a comment |
Does/var/lib/dpkg/infocontain anything?
– Stephen Kitt
Feb 28 '17 at 11:17
Yes. Quiet a lot...
– felix m
Feb 28 '17 at 11:21
what givesgrep -P -r '^[ t]*[^#[ t]+' /etc/apt/sources.list /etc/apt/sources.list.d/*
– user192526
Feb 28 '17 at 11:27
what is the output ofapt-cache policy initramfs-tools?
– GAD3R
Feb 28 '17 at 11:38
initramfs-tools: Installed: (none) Candidate: 0.120+deb8u2 Version table: 0.120+deb8u2 0 500 ftp2.de.debian.org/debian jessie/main amd64 Packages
– felix m
Feb 28 '17 at 12:35
Does
/var/lib/dpkg/info contain anything?– Stephen Kitt
Feb 28 '17 at 11:17
Does
/var/lib/dpkg/info contain anything?– Stephen Kitt
Feb 28 '17 at 11:17
Yes. Quiet a lot...
– felix m
Feb 28 '17 at 11:21
Yes. Quiet a lot...
– felix m
Feb 28 '17 at 11:21
what gives
grep -P -r '^[ t]*[^#[ t]+' /etc/apt/sources.list /etc/apt/sources.list.d/*– user192526
Feb 28 '17 at 11:27
what gives
grep -P -r '^[ t]*[^#[ t]+' /etc/apt/sources.list /etc/apt/sources.list.d/*– user192526
Feb 28 '17 at 11:27
what is the output of
apt-cache policy initramfs-tools ?– GAD3R
Feb 28 '17 at 11:38
what is the output of
apt-cache policy initramfs-tools ?– GAD3R
Feb 28 '17 at 11:38
initramfs-tools: Installed: (none) Candidate: 0.120+deb8u2 Version table: 0.120+deb8u2 0 500 ftp2.de.debian.org/debian jessie/main amd64 Packages
– felix m
Feb 28 '17 at 12:35
initramfs-tools: Installed: (none) Candidate: 0.120+deb8u2 Version table: 0.120+deb8u2 0 500 ftp2.de.debian.org/debian jessie/main amd64 Packages
– felix m
Feb 28 '17 at 12:35
add a comment |
1 Answer
1
active
oldest
votes
Your package database seems to be badly messed up. You should re-install the affected packages:
apt-get --reinstall install perl-base gcc-4.8-base perl-modules perl findutils liberror-perl initramfs-tools
You can add any others which turn up in error messages.
If liberror-perl is too messed up for apt-get to work, try:
wget http://ftp.de.debian.org/debian/pool/main/libe/liberror-perl/liberror-perl_0.17-1.1_all.deb
dpkg -i liberror-perl_0.17-1.1_all.deb
although if the last "fatal error" in dpkg really is as bad as it sounds, you'll need to do the above from a rescue system (mount your file systems under /mnt in the rescue system, then run dpkg --root=/mnt -i liberror-perl_0.17-1.1_all.deb).
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%2f348092%2fdebian-jessie-dpkg-unrecoverable-fatal-error-aborting%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
Your package database seems to be badly messed up. You should re-install the affected packages:
apt-get --reinstall install perl-base gcc-4.8-base perl-modules perl findutils liberror-perl initramfs-tools
You can add any others which turn up in error messages.
If liberror-perl is too messed up for apt-get to work, try:
wget http://ftp.de.debian.org/debian/pool/main/libe/liberror-perl/liberror-perl_0.17-1.1_all.deb
dpkg -i liberror-perl_0.17-1.1_all.deb
although if the last "fatal error" in dpkg really is as bad as it sounds, you'll need to do the above from a rescue system (mount your file systems under /mnt in the rescue system, then run dpkg --root=/mnt -i liberror-perl_0.17-1.1_all.deb).
add a comment |
Your package database seems to be badly messed up. You should re-install the affected packages:
apt-get --reinstall install perl-base gcc-4.8-base perl-modules perl findutils liberror-perl initramfs-tools
You can add any others which turn up in error messages.
If liberror-perl is too messed up for apt-get to work, try:
wget http://ftp.de.debian.org/debian/pool/main/libe/liberror-perl/liberror-perl_0.17-1.1_all.deb
dpkg -i liberror-perl_0.17-1.1_all.deb
although if the last "fatal error" in dpkg really is as bad as it sounds, you'll need to do the above from a rescue system (mount your file systems under /mnt in the rescue system, then run dpkg --root=/mnt -i liberror-perl_0.17-1.1_all.deb).
add a comment |
Your package database seems to be badly messed up. You should re-install the affected packages:
apt-get --reinstall install perl-base gcc-4.8-base perl-modules perl findutils liberror-perl initramfs-tools
You can add any others which turn up in error messages.
If liberror-perl is too messed up for apt-get to work, try:
wget http://ftp.de.debian.org/debian/pool/main/libe/liberror-perl/liberror-perl_0.17-1.1_all.deb
dpkg -i liberror-perl_0.17-1.1_all.deb
although if the last "fatal error" in dpkg really is as bad as it sounds, you'll need to do the above from a rescue system (mount your file systems under /mnt in the rescue system, then run dpkg --root=/mnt -i liberror-perl_0.17-1.1_all.deb).
Your package database seems to be badly messed up. You should re-install the affected packages:
apt-get --reinstall install perl-base gcc-4.8-base perl-modules perl findutils liberror-perl initramfs-tools
You can add any others which turn up in error messages.
If liberror-perl is too messed up for apt-get to work, try:
wget http://ftp.de.debian.org/debian/pool/main/libe/liberror-perl/liberror-perl_0.17-1.1_all.deb
dpkg -i liberror-perl_0.17-1.1_all.deb
although if the last "fatal error" in dpkg really is as bad as it sounds, you'll need to do the above from a rescue system (mount your file systems under /mnt in the rescue system, then run dpkg --root=/mnt -i liberror-perl_0.17-1.1_all.deb).
answered Feb 28 '17 at 15:13
Stephen KittStephen Kitt
173k24394470
173k24394470
add a comment |
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%2f348092%2fdebian-jessie-dpkg-unrecoverable-fatal-error-aborting%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
Does
/var/lib/dpkg/infocontain anything?– Stephen Kitt
Feb 28 '17 at 11:17
Yes. Quiet a lot...
– felix m
Feb 28 '17 at 11:21
what gives
grep -P -r '^[ t]*[^#[ t]+' /etc/apt/sources.list /etc/apt/sources.list.d/*– user192526
Feb 28 '17 at 11:27
what is the output of
apt-cache policy initramfs-tools?– GAD3R
Feb 28 '17 at 11:38
initramfs-tools: Installed: (none) Candidate: 0.120+deb8u2 Version table: 0.120+deb8u2 0 500 ftp2.de.debian.org/debian jessie/main amd64 Packages
– felix m
Feb 28 '17 at 12:35