Debian Jessie: dpkg: unrecoverable fatal error, aborting












1















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.










share|improve this question























  • 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











  • 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
















1















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.










share|improve this question























  • 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











  • 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














1












1








1








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.










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 28 '17 at 11:16









felix mfelix m

62




62













  • 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











  • 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



















  • 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











  • 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

















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










1 Answer
1






active

oldest

votes


















1














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).






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    1














    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).






    share|improve this answer




























      1














      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).






      share|improve this answer


























        1












        1








        1







        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).






        share|improve this answer













        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).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 28 '17 at 15:13









        Stephen KittStephen Kitt

        173k24394470




        173k24394470






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            How to make a Squid Proxy server?

            第一次世界大戦

            Touch on Surface Book