apt broken install/update/remove causes input/output error for linux-image package





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I can't install/update/remove anything because of this error, nor does google return anything specifically for linux-image-4.10.0-42-generic (It does for other things, but I am not sure what to touch as I am not an advanced user)



dpkg: unrecoverable fatal error, aborting:
reading files list for package 'linux-image-4.10.0-42-generic': Input/output error


I just tried to apt-get remove apt (then I was going to follow answer https://askubuntu.com/a/626523/397432) but the result is the same error.



How do I fix this?



I am trying to avoid reinstalling the system and everything on it



I'm using Ubuntu MATE 16.04



Further tests advised by N0rbert



ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list
-rw-r--r-- 1 root root 82416 Dec 18 2017 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list


head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list
/.
/lib
/lib/firmware
/lib/firmware/4.10.0-42-generic
/lib/firmware/4.10.0-42-generic/tigon









share|improve this question




















  • 1





    This might help.

    – Kulfy
    Apr 25 at 18:40











  • Please run forced filesystem check on the root filesystem with sudo touch /forcefsck and reboot and wait it to finish. Then please add output of ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list, head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list to the question.

    – N0rbert
    2 days ago











  • @N0rbert I did what you said and added it to the question

    – Ben Muircroft
    yesterday











  • askubuntu.com/questions/1138154/… @Kulfy's answer solved it!

    – Ben Muircroft
    10 hours ago






  • 4





    Possible duplicate of Unable to install any updates through update manager/apt-get upgrade

    – Kulfy
    10 hours ago


















1















I can't install/update/remove anything because of this error, nor does google return anything specifically for linux-image-4.10.0-42-generic (It does for other things, but I am not sure what to touch as I am not an advanced user)



dpkg: unrecoverable fatal error, aborting:
reading files list for package 'linux-image-4.10.0-42-generic': Input/output error


I just tried to apt-get remove apt (then I was going to follow answer https://askubuntu.com/a/626523/397432) but the result is the same error.



How do I fix this?



I am trying to avoid reinstalling the system and everything on it



I'm using Ubuntu MATE 16.04



Further tests advised by N0rbert



ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list
-rw-r--r-- 1 root root 82416 Dec 18 2017 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list


head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list
/.
/lib
/lib/firmware
/lib/firmware/4.10.0-42-generic
/lib/firmware/4.10.0-42-generic/tigon









share|improve this question




















  • 1





    This might help.

    – Kulfy
    Apr 25 at 18:40











  • Please run forced filesystem check on the root filesystem with sudo touch /forcefsck and reboot and wait it to finish. Then please add output of ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list, head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list to the question.

    – N0rbert
    2 days ago











  • @N0rbert I did what you said and added it to the question

    – Ben Muircroft
    yesterday











  • askubuntu.com/questions/1138154/… @Kulfy's answer solved it!

    – Ben Muircroft
    10 hours ago






  • 4





    Possible duplicate of Unable to install any updates through update manager/apt-get upgrade

    – Kulfy
    10 hours ago














1












1








1


0






I can't install/update/remove anything because of this error, nor does google return anything specifically for linux-image-4.10.0-42-generic (It does for other things, but I am not sure what to touch as I am not an advanced user)



dpkg: unrecoverable fatal error, aborting:
reading files list for package 'linux-image-4.10.0-42-generic': Input/output error


I just tried to apt-get remove apt (then I was going to follow answer https://askubuntu.com/a/626523/397432) but the result is the same error.



How do I fix this?



I am trying to avoid reinstalling the system and everything on it



I'm using Ubuntu MATE 16.04



Further tests advised by N0rbert



ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list
-rw-r--r-- 1 root root 82416 Dec 18 2017 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list


head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list
/.
/lib
/lib/firmware
/lib/firmware/4.10.0-42-generic
/lib/firmware/4.10.0-42-generic/tigon









share|improve this question
















I can't install/update/remove anything because of this error, nor does google return anything specifically for linux-image-4.10.0-42-generic (It does for other things, but I am not sure what to touch as I am not an advanced user)



dpkg: unrecoverable fatal error, aborting:
reading files list for package 'linux-image-4.10.0-42-generic': Input/output error


I just tried to apt-get remove apt (then I was going to follow answer https://askubuntu.com/a/626523/397432) but the result is the same error.



How do I fix this?



I am trying to avoid reinstalling the system and everything on it



I'm using Ubuntu MATE 16.04



Further tests advised by N0rbert



ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list
-rw-r--r-- 1 root root 82416 Dec 18 2017 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list


head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list
/.
/lib
/lib/firmware
/lib/firmware/4.10.0-42-generic
/lib/firmware/4.10.0-42-generic/tigon






apt package-management mate






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 12 mins ago









Zanna

51.6k13141244




51.6k13141244










asked Apr 25 at 18:33









Ben MuircroftBen Muircroft

1115




1115








  • 1





    This might help.

    – Kulfy
    Apr 25 at 18:40











  • Please run forced filesystem check on the root filesystem with sudo touch /forcefsck and reboot and wait it to finish. Then please add output of ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list, head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list to the question.

    – N0rbert
    2 days ago











  • @N0rbert I did what you said and added it to the question

    – Ben Muircroft
    yesterday











  • askubuntu.com/questions/1138154/… @Kulfy's answer solved it!

    – Ben Muircroft
    10 hours ago






  • 4





    Possible duplicate of Unable to install any updates through update manager/apt-get upgrade

    – Kulfy
    10 hours ago














  • 1





    This might help.

    – Kulfy
    Apr 25 at 18:40











  • Please run forced filesystem check on the root filesystem with sudo touch /forcefsck and reboot and wait it to finish. Then please add output of ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list, head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list to the question.

    – N0rbert
    2 days ago











  • @N0rbert I did what you said and added it to the question

    – Ben Muircroft
    yesterday











  • askubuntu.com/questions/1138154/… @Kulfy's answer solved it!

    – Ben Muircroft
    10 hours ago






  • 4





    Possible duplicate of Unable to install any updates through update manager/apt-get upgrade

    – Kulfy
    10 hours ago








1




1





This might help.

– Kulfy
Apr 25 at 18:40





This might help.

– Kulfy
Apr 25 at 18:40













Please run forced filesystem check on the root filesystem with sudo touch /forcefsck and reboot and wait it to finish. Then please add output of ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list, head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list to the question.

– N0rbert
2 days ago





Please run forced filesystem check on the root filesystem with sudo touch /forcefsck and reboot and wait it to finish. Then please add output of ls -al /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list, head -n5 /var/lib/dpkg/info/linux-image-4.10.0-42-generic.list to the question.

– N0rbert
2 days ago













@N0rbert I did what you said and added it to the question

– Ben Muircroft
yesterday





@N0rbert I did what you said and added it to the question

– Ben Muircroft
yesterday













askubuntu.com/questions/1138154/… @Kulfy's answer solved it!

– Ben Muircroft
10 hours ago





askubuntu.com/questions/1138154/… @Kulfy's answer solved it!

– Ben Muircroft
10 hours ago




4




4





Possible duplicate of Unable to install any updates through update manager/apt-get upgrade

– Kulfy
10 hours ago





Possible duplicate of Unable to install any updates through update manager/apt-get upgrade

– Kulfy
10 hours ago










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


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1138154%2fapt-broken-install-update-remove-causes-input-output-error-for-linux-image-packa%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
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1138154%2fapt-broken-install-update-remove-causes-input-output-error-for-linux-image-packa%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

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection