Sapient_Fridge
March 28th, 2014, 12:22 AM
I've been using Ubuntu on and off in a virtual machine for a couple of years now (vmware, on Windows) for a bit of perl and image processing, but I'm not a heavy Linux user.
Every now and then I run the update manager, and that has always worked up to now. The problem is that last time I updated it said "The package system is broken". Ouch.
The "Details" say:
The following packages have unmet dependencies:
linux-headers-generic: Depends: linux-headers-3.2.0-60-generic but it is not installed
linux-headers-generic-pae: Depends: linux-headers-3.2.0-60-generic-pae but it is not installed
I've tried doing this:
sudo apt-get clean
sudo apt-get update
sudo apt-get install -f
and get this output from the last of the above:
sapient@oranges:/$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-41-generic-pae linux-headers-3.2.0-41 linux-headers-3.2.0-41-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-headers-3.2.0-60-generic linux-headers-3.2.0-60-generic-pae
The following NEW packages will be installed:
linux-headers-3.2.0-60-generic linux-headers-3.2.0-60-generic-pae
0 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,955 kB of archives.
After this operation, 22.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 1237385 files and directories currently installed.)
Unpacking linux-headers-3.2.0-60-generic (from .../linux-headers-3.2.0-60-generic_3.2.0-60.91_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-60-generic_3.2.0-60.91_i386.deb (--unpack):
unable to create `/usr/src/linux-headers-3.2.0-60-generic/include/config/hid/acrux.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-60-generic/include/config/hid/acrux.h'): No space left on device
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking linux-headers-3.2.0-60-generic-pae (from .../linux-headers-3.2.0-60-generic-pae_3.2.0-60.91_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-60-generic-pae_3.2.0-60.91_i386.deb (--unpack):
error creating directory `./usr/src/linux-headers-3.2.0-60-generic-pae/include/config/hid': No space left on device
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.2.0-60-generic_3.2.0-60.91_i386.deb
/var/cache/apt/archives/linux-headers-3.2.0-60-generic-pae_3.2.0-60.91_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The obvious thing there is that something has run out of disk space. The problem is that I can't work out what. There seems to be lots of space:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 20G 12G 6.3G 66% /
udev 494M 4.0K 494M 1% /dev
tmpfs 201M 764K 200M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 501M 288K 501M 1% /run/shm
As a double check I created a 160M file under /usr/src and it worked fine.
I'm at a loss as to what's going on. The system is working fine but I don't like not being able to update it any more, and I'm loathe to start again with a fresh installation as getting mySQL and apache configured was a real pain.
I don't have any software from non-official repositories, or at least not as far as I remember. This vm is pretty old, but updated on a regular basis to keep it current.
Anyone got any ideas? What am I missing?
Cheers,
Sapient Fridge
Every now and then I run the update manager, and that has always worked up to now. The problem is that last time I updated it said "The package system is broken". Ouch.
The "Details" say:
The following packages have unmet dependencies:
linux-headers-generic: Depends: linux-headers-3.2.0-60-generic but it is not installed
linux-headers-generic-pae: Depends: linux-headers-3.2.0-60-generic-pae but it is not installed
I've tried doing this:
sudo apt-get clean
sudo apt-get update
sudo apt-get install -f
and get this output from the last of the above:
sapient@oranges:/$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-41-generic-pae linux-headers-3.2.0-41 linux-headers-3.2.0-41-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-headers-3.2.0-60-generic linux-headers-3.2.0-60-generic-pae
The following NEW packages will be installed:
linux-headers-3.2.0-60-generic linux-headers-3.2.0-60-generic-pae
0 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,955 kB of archives.
After this operation, 22.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 1237385 files and directories currently installed.)
Unpacking linux-headers-3.2.0-60-generic (from .../linux-headers-3.2.0-60-generic_3.2.0-60.91_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-60-generic_3.2.0-60.91_i386.deb (--unpack):
unable to create `/usr/src/linux-headers-3.2.0-60-generic/include/config/hid/acrux.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-60-generic/include/config/hid/acrux.h'): No space left on device
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking linux-headers-3.2.0-60-generic-pae (from .../linux-headers-3.2.0-60-generic-pae_3.2.0-60.91_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-60-generic-pae_3.2.0-60.91_i386.deb (--unpack):
error creating directory `./usr/src/linux-headers-3.2.0-60-generic-pae/include/config/hid': No space left on device
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.2.0-60-generic_3.2.0-60.91_i386.deb
/var/cache/apt/archives/linux-headers-3.2.0-60-generic-pae_3.2.0-60.91_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The obvious thing there is that something has run out of disk space. The problem is that I can't work out what. There seems to be lots of space:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 20G 12G 6.3G 66% /
udev 494M 4.0K 494M 1% /dev
tmpfs 201M 764K 200M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 501M 288K 501M 1% /run/shm
As a double check I created a 160M file under /usr/src and it worked fine.
I'm at a loss as to what's going on. The system is working fine but I don't like not being able to update it any more, and I'm loathe to start again with a fresh installation as getting mySQL and apache configured was a real pain.
I don't have any software from non-official repositories, or at least not as far as I remember. This vm is pretty old, but updated on a regular basis to keep it current.
Anyone got any ideas? What am I missing?
Cheers,
Sapient Fridge