Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Q: E: Error reading the CPU table in ubuntu

Tags:

ubuntu-17.04

I can not update or upgrade my computer by terminal. Show the error message E: Error reading the CPU table. how can I fix it ?

like image 631
Labbi Ahmed Avatar asked Jan 24 '26 19:01

Labbi Ahmed


1 Answers

In My case I have faced with corrupted dpkg installation and at the end it ended up with “E: Error reading the CPU table” even I enter sudo apt-get update

Step to fix it.

1) Create tempory location for dpkg and download relavent .deb file

 sudo mkdir /tmp/dpkg then

 cd tmp/dpkg

2) Downlod .deb file with relavent .deb file in http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/

sudo wget http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.19.0.5ubuntu5.1_amd64.deb

3) Manually go to that downloaded directory and extract the .deb file(GDebi installation might not work as well)

Navigate to <Your_Extracted_Folder>/usr/share/dpkg and now you can see the set of files with cputable file. We need to copy these files to /usr/share/dpkg

4) Check /usr/share/ having dpkg folder if not create it with

sudo mkdir /usr/share/dpkg

5) cd <Your_Extracted_Folder>/usr/share/dpkg

6) sudo cp * /usr/share/dpkg Now you can see all the files and it will fix the “E: Error reading the CPU table”

like image 91
achala rathnathilaka Avatar answered Jan 27 '26 01:01

achala rathnathilaka



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!