Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
43
rated 0 times [  43] [ 0]  / answers: 1 / hits: 124497  / 3 Years ago, sun, august 22, 2021, 3:56:08

Everytime I sudo apt-get update it always not complete and will say in the end



E: Read error - read (5: Input/output error)
E: The package lists or status file could not be parsed or opened.


Same goes, when I try to install something and do sudo apt-get install <some app>



What should I do ? I admit, that my drive has bad sectors, could that be the reason? Is there anything else I can do?


More From » apt

 Answers
0

Try using an older status file,



sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.bad
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo apt-get update

[#27307] Monday, August 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
admin

Total Points: 459
Total Questions: 112
Total Answers: 109

Location: Equatorial Guinea
Member since Sun, Feb 14, 2021
3 Years ago
admin questions
Wed, Aug 24, 22, 07:25, 2 Years ago
Wed, Mar 2, 22, 07:09, 2 Years ago
Thu, May 13, 21, 00:32, 3 Years ago
Mon, Jan 17, 22, 14:49, 2 Years ago
;