linux-headers-3.2.0-25-generic-pae

Asked by Veera Venkata SS Pendyala

Can anyone resolve this problem. Unable to install or upgrade any software.

The following packages will be upgraded:
  apt apt-transport-https apt-utils libapt-inst1.4 libapt-pkg4.12
  libunity-2d-private0 unity-2d unity-2d-common unity-2d-panel unity-2d-shell
  unity-2d-spread
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,286 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 95%dpkg: unrecoverable fatal error, aborting:
 reading files list for package 'linux-headers-3.2.0-25-generic-pae': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:

This question was originally filed as bug #1014351.

Revision history for this message
Patrick Santos (milljudgement+ubuntu) said :
#1

The OP is requesting help to solve a problem with a certain configuration.

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#2

sudo fuser -vvv /var/lib/dpkg/lock
sudo rm /var/lib/apt/lists/lock
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo apt-get -f install
LANG=C;sudo apt-get --fix-missing install
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

Revision history for this message
Veera Venkata SS Pendyala (pvvssubrahmanyam) said :
#3

Still it is giving me error.

Fetched 3286 kB in 1s (1963 kB/s)
(Reading database ... 95%dpkg: unrecoverable fatal error, aborting:
 reading files list for package 'linux-headers-3.2.0-25-generic-pae': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)

Revision history for this message
Veera Venkata SS Pendyala (pvvssubrahmanyam) said :
#4

What is linux-headers-3.2.0-25-generic-pae and how can I remove or modify files to update or upgrade.

Revision history for this message
Veera Venkata SS Pendyala (pvvssubrahmanyam) said :
#5

I got this error while doing for the second time

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
cp: reading `/var/lib/dpkg/info/linux-headers-3.2.0-25-generic-pae.list': Input/output error
cp: failed to extend `/var/lib/dpkg.backup/dpkg/info/linux-headers-3.2.0-25-generic-pae.list': Input/output error

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

linux-headers-3.2.0-25-generic-pae is the kernel headers so that kernel modules can be built. These are common for Ubuntu.

Could try:

sudo fuser -vvv /var/lib/dpkg/lock
sudo rm /var/lib/apt/lists/lock
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo apt-get -f install
LANG=C;sudo apt-get --fix-missing install
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

Revision history for this message
Veera Venkata SS Pendyala (pvvssubrahmanyam) said :
#7

Thanks actionparsnip, that solved my question.