Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Update Manager is trying to install "linux-headers-3.2.0-36". It is failing. I am trying to fix it with sudo apt-get install -f and it is saying there is insufficient disk space. There is 1.2Gb available according to System Monitor. The Terminal dialogue is shown below.

alan@alan-Inspiron-1011:~$ sudo apt-get install -f 
[sudo] password for alan: 
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: 
  language-pack-zh-hans language-pack-kde-en linux-headers-3.2.0-29 
  language-pack-kde-zh-hans language-pack-kde-en-base kde-l10n-engb 
  linux-headers-3.2.0-29-generic-pae kde-l10n-zhcn language-pack-zh-hans-base 
  language-pack-kde-zh-hans-base 
Use 'apt-get autoremove' to remove them. 
The following extra packages will be installed: 
  linux-headers-3.2.0-36 
The following NEW packages will be installed 
  linux-headers-3.2.0-36 
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 
3 not fully installed or removed. 
Need to get 0 B/11.7 MB of archives. 
After this operation, 56.3 MB of additional disk space will be used. 
Do you want to continue [Y/n]? y 
(Reading database ... 252837 files and directories currently installed.) 
Unpacking linux-headers-3.2.0-36 (from .../linux-headers-3.2.0-36_3.2.0-36.57_all.deb) ... 
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-36_3.2.0-36.57_all.deb (--unpack): 
 error creating directory `./usr/src/linux-headers-3.2.0-36/drivers/rtc': No space left on device 
No apport report written because the error message indicates a disk full error 
                                                                              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-36_3.2.0-36.57_all.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1) 
alan@alan-Inspiron-1011:~$ cd ./usr 
bash: cd: ./usr: No such file or directory 
alan@alan-Inspiron-1011:~$ cd usr 
bash: cd: usr: No such file or directory 
alan@alan-Inspiron-1011:~$ ^C 
alan@alan-Inspiron-1011:~$ 
share|improve this question
1  
Can you post the output of "df -h" please? (not as a comment, but edit it into your question. Make sure you use the formatting buttons to put it in as a code-block, for easier reading –  Nanne Feb 1 '13 at 10:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.