Announcement

Collapse
No announcement yet.

Cannot update, upgrade, /boot partition is full, apt-get -f install, remove wont work

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cannot update, upgrade, /boot partition is full, apt-get -f install, remove wont work

    Hi guys, i got the following error after trying to update the system through Muon:


    Code:
    Package: /var/cache/apt/archives/linux-image-3.2.0-56-generic_3.2.0-56.86_amd64.deb
    Error: failed in write on buffer copy for backend dpkg-deb during `./boot/vmlinuz-3.2.0-56-generic': No space left on device


    The i tried the following:
    Code:
    m@dalila:~$ sudo apt-get update
    [sudo] password for phantom: 
    Hit http://archive.canonical.com precise Release.gpg
    Hit http://pt.archive.ubuntu.com precise Release.gpg                                              
    Hit http://pt.archive.ubuntu.com precise-updates Release.gpg                                      
    Hit http://ppa.launchpad.net precise Release.gpg                                                  
    Hit http://archive.canonical.com precise Release                                                  
    Hit http://pt.archive.ubuntu.com precise Release                                            
    Hit http://archive.canonical.com precise/partner Sources                                                          
    Hit http://ppa.launchpad.net precise Release                                               
    Hit http://pt.archive.ubuntu.com precise-updates Release                                    
    Hit http://archive.canonical.com precise/partner amd64 Packages                             
    Hit http://archive.canonical.com precise/partner i386 Packages                             
    Ign http://archive.canonical.com precise/partner TranslationIndex                          
    Hit http://security.ubuntu.com precise-security Release.gpg                                
    Hit http://ppa.launchpad.net precise/main Sources                    
    Hit http://pt.archive.ubuntu.com precise/main Sources                
    Hit http://pt.archive.ubuntu.com precise/restricted Sources          
    Hit http://pt.archive.ubuntu.com precise/main amd64 Packages                               
    Hit http://pt.archive.ubuntu.com precise/restricted amd64 Packages                         
    Hit http://pt.archive.ubuntu.com precise/main i386 Packages                                
    Hit http://pt.archive.ubuntu.com precise/restricted i386 Packages                          
    Hit http://pt.archive.ubuntu.com precise/main TranslationIndex                             
    Hit http://pt.archive.ubuntu.com precise/restricted TranslationIndex                       
    Hit http://ppa.launchpad.net precise/main amd64 Packages                                   
    Hit http://ppa.launchpad.net precise/main i386 Packages              
    Ign http://ppa.launchpad.net precise/main TranslationIndex                                 
    Hit http://security.ubuntu.com precise-security Release                                    
    Hit http://pt.archive.ubuntu.com precise-updates/main Sources                               
    Hit http://pt.archive.ubuntu.com precise-updates/restricted Sources  
    Hit http://pt.archive.ubuntu.com precise-updates/main amd64 Packages                       
    Hit http://pt.archive.ubuntu.com precise-updates/restricted amd64 Packages                 
    Hit http://pt.archive.ubuntu.com precise-updates/main i386 Packages                        
    Hit http://pt.archive.ubuntu.com precise-updates/restricted i386 Packages                  
    Hit http://pt.archive.ubuntu.com precise-updates/main TranslationIndex                     
    Hit http://pt.archive.ubuntu.com precise-updates/restricted TranslationIndex               
    Hit http://pt.archive.ubuntu.com precise/main Translation-en                               
    Hit http://pt.archive.ubuntu.com precise/restricted Translation-en                         
    Hit http://pt.archive.ubuntu.com precise-updates/main Translation-en 
    Hit http://pt.archive.ubuntu.com precise-updates/restricted Translation-en                 
    Hit http://security.ubuntu.com precise-security/main Sources                               
    Hit http://security.ubuntu.com precise-security/restricted Sources   
    Hit http://security.ubuntu.com precise-security/universe Sources
    Hit http://security.ubuntu.com precise-security/main amd64 Packages  
    Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
    Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    Hit http://security.ubuntu.com precise-security/main i386 Packages   
    Hit http://security.ubuntu.com precise-security/restricted i386 Packages
    Hit http://security.ubuntu.com precise-security/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
    Ign http://archive.canonical.com precise/partner Translation-en_US   
    Ign http://archive.canonical.com precise/partner Translation-en      
    Hit http://security.ubuntu.com precise-security/universe TranslationIndex
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Hit http://security.ubuntu.com precise-security/restricted Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Reading package lists... Done
    Code:
    m@dalila:~$ sudo apt-get -f install 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      initramfs-tools libpython2.7 linux-generic linux-headers-generic linux-image-3.2.0-56-generic linux-image-generic python2.7
    Suggested packages:
      fdutils linux-doc-3.2.0 linux-source-3.2.0 linux-tools python2.7-doc
    The following NEW packages will be installed:
      linux-image-3.2.0-56-generic
    The following packages will be upgraded:
      initramfs-tools libpython2.7 linux-generic linux-headers-generic linux-image-generic python2.7
    6 upgraded, 1 newly installed, 0 to remove and 242 not upgraded.
    26 not fully installed or removed.
    Need to get 0 B/42.5 MB of archives.
    After this operation, 150 MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Setting up base-files (6.5ubuntu6.6) ...
    Installing new version of config file /etc/issue ...
    Installing new version of config file /etc/issue.net ...
    Installing new version of config file /etc/lsb-release ...
    Installing new version of config file /etc/os-release ...
    Processing triggers for plymouth-theme-kubuntu-text ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for plymouth-theme-ubuntu-text ...
    update-initramfs: deferring update (trigger activated)
    (Reading database ... 552828 files and directories currently installed.)
    Unpacking linux-image-3.2.0-56-generic (from .../linux-image-3.2.0-56-generic_3.2.0-56.86_amd64.deb) ...
    Done.
    dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-56-generic_3.2.0-56.86_amd64.deb (--unpack):
     failed in write on buffer copy for backend dpkg-deb during `./boot/vmlinuz-3.2.0-56-generic': 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)
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-56-generic /boot/vmlinuz-3.2.0-56-generic
    run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.2.0-56-generic /boot/vmlinuz-3.2.0-56-generic
    P: Checking for EXTLINUX directory... found.
    P: Writing config for /boot/vmlinuz-3.2.0-44-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-41-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-40-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-39-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-38-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-37-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-36-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-35-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-34-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-33-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-32-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-31-generic...
    P: Writing config for /boot/vmlinuz-3.2.0-23-generic...
    P: Writing config for Windows 7 (loader) on /dev/sda1...
    P: Installing debian theme... done.
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-56-generic /boot/vmlinuz-3.2.0-56-generic
    Errors were encountered while processing:
     /var/cache/apt/archives/linux-image-3.2.0-56-generic_3.2.0-56.86_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Tried the dpkg.log but it does not say much to me, just some "status half-configured ".

    Code:
    m@dalila:~$ tail -50 /var/log/dpkg.log
    2013-12-01 18:18:18 status half-installed base-files 6.5ubuntu6.5
    2013-12-01 18:18:18 status half-installed base-files 6.5ubuntu6.5
    2013-12-01 18:18:18 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:18:18 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:18:18 trigproc man-db 2.6.1-2ubuntu1 2.6.1-2ubuntu1
    2013-12-01 18:18:18 status half-configured man-db 2.6.1-2ubuntu1
    2013-12-01 18:18:20 status installed man-db 2.6.1-2ubuntu1
    2013-12-01 18:18:20 trigproc ureadahead 0.100.0-12 0.100.0-12
    2013-12-01 18:18:20 status half-configured ureadahead 0.100.0-12
    2013-12-01 18:18:20 status installed ureadahead 0.100.0-12
    2013-12-01 18:18:20 trigproc plymouth-theme-kubuntu-text 0.8.2-2ubuntu31.1 0.8.2-2ubuntu31.1
    2013-12-01 18:18:20 status half-configured plymouth-theme-kubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:18:20 status installed plymouth-theme-kubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:18:20 trigproc plymouth-theme-ubuntu-text 0.8.2-2ubuntu31.1 0.8.2-2ubuntu31.1
    2013-12-01 18:18:20 status half-configured plymouth-theme-ubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:18:21 status installed plymouth-theme-ubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:18:21 trigproc install-info 4.13a.dfsg.1-8ubuntu2 4.13a.dfsg.1-8ubuntu2
    2013-12-01 18:18:21 status half-configured install-info 4.13a.dfsg.1-8ubuntu2
    2013-12-01 18:18:21 status installed install-info 4.13a.dfsg.1-8ubuntu2
    2013-12-01 18:27:52 startup packages configure
    2013-12-01 18:27:52 configure base-files 6.5ubuntu6.6 <none>
    2013-12-01 18:27:52 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:52 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:52 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:52 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:52 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status triggers-pending plymouth-theme-kubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:27:53 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status triggers-pending plymouth-theme-ubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:27:53 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status unpacked base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status half-configured base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 status triggers-awaited base-files 6.5ubuntu6.6
    2013-12-01 18:27:53 trigproc plymouth-theme-kubuntu-text 0.8.2-2ubuntu31.1 <none>
    2013-12-01 18:27:53 status half-configured plymouth-theme-kubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:27:54 status installed plymouth-theme-kubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:27:54 trigproc plymouth-theme-ubuntu-text 0.8.2-2ubuntu31.1 <none>
    2013-12-01 18:27:54 status half-configured plymouth-theme-ubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:27:54 status installed base-files 6.5ubuntu6.6
    2013-12-01 18:27:54 status installed plymouth-theme-ubuntu-text 0.8.2-2ubuntu31.1
    2013-12-01 18:27:55 startup archives unpack
    2013-12-01 18:27:55 install linux-image-3.2.0-56-generic <none> 3.2.0-56.86
    2013-12-01 18:27:55 status half-installed linux-image-3.2.0-56-generic 3.2.0-56.86
    2013-12-01 18:27:57 status not-installed linux-image-3.2.0-56-generic <none>



    My boot directory is full and I'm not sure which ones i should delete:

    Code:
    m@dalila:~$ ls -ltrh /boot/
    total 367M
    -rw-r--r-- 1 root root 175K Nov 27  2011 memtest86+_multiboot.bin
    -rw-r--r-- 1 root root 173K Nov 27  2011 memtest86+.bin
    -rw-r--r-- 1 root root 137K Apr 11  2012 config-3.2.0-23-generic
    -rw-r--r-- 1 root root 773K Apr 11  2012 abi-3.2.0-23-generic
    -rw------- 1 root root 2.8M Apr 11  2012 System.map-3.2.0-23-generic
    -rw-r--r-- 1 root root 4.8M Apr 23  2012 vmlinuz-3.2.0-23-generic
    -rw------- 1 root root 4.8M Sep  7  2012 vmlinuz-3.2.0-31-generic
    -rw------- 1 root root 2.8M Sep  7  2012 System.map-3.2.0-31-generic
    -rw-r--r-- 1 root root 138K Sep  7  2012 config-3.2.0-31-generic
    -rw-r--r-- 1 root root 773K Sep  7  2012 abi-3.2.0-31-generic
    drwx------ 2 root root  12K Sep 26  2012 lost+found
    -rw-r--r-- 1 root root  21M Sep 26  2012 initrd.img-3.2.0-23-generic
    -rw------- 1 root root 4.8M Sep 26  2012 vmlinuz-3.2.0-32-generic
    -rw------- 1 root root 2.8M Sep 26  2012 System.map-3.2.0-32-generic
    -rw-r--r-- 1 root root 138K Sep 26  2012 config-3.2.0-32-generic
    -rw-r--r-- 1 root root 774K Sep 26  2012 abi-3.2.0-32-generic
    -rw-r--r-- 1 root root  20M Oct  4  2012 initrd.img-3.2.0-31-generic
    -rw------- 1 root root 4.8M Oct 18  2012 vmlinuz-3.2.0-33-generic
    -rw------- 1 root root 2.8M Oct 18  2012 System.map-3.2.0-33-generic
    -rw-r--r-- 1 root root 138K Oct 18  2012 config-3.2.0-33-generic
    -rw-r--r-- 1 root root 774K Oct 18  2012 abi-3.2.0-33-generic
    -rw-r--r-- 1 root root  20M Nov  2  2012 initrd.img-3.2.0-32-generic
    -rw------- 1 root root 4.8M Nov 15  2012 vmlinuz-3.2.0-34-generic
    -rw------- 1 root root 2.8M Nov 15  2012 System.map-3.2.0-34-generic
    -rw-r--r-- 1 root root 138K Nov 15  2012 config-3.2.0-34-generic
    -rw-r--r-- 1 root root 775K Nov 15  2012 abi-3.2.0-34-generic
    -rw-r--r-- 1 root root  20M Nov 16  2012 initrd.img-3.2.0-33-generic
    -rw-r--r-- 1 root root  20M Nov 30  2012 initrd.img-3.2.0-34-generic
    -rw------- 1 root root 4.8M Dec  5  2012 vmlinuz-3.2.0-35-generic
    -rw-r--r-- 1 root root 138K Dec  5  2012 config-3.2.0-35-generic
    -rw------- 1 root root 2.8M Dec  5  2012 System.map-3.2.0-35-generic
    -rw-r--r-- 1 root root 775K Dec  5  2012 abi-3.2.0-35-generic
    -rw-r--r-- 1 root root  20M Dec 20  2012 initrd.img-3.2.0-35-generic
    -rw------- 1 root root 4.8M Jan  8  2013 vmlinuz-3.2.0-36-generic
    -rw------- 1 root root 2.8M Jan  8  2013 System.map-3.2.0-36-generic
    -rw-r--r-- 1 root root 138K Jan  8  2013 config-3.2.0-36-generic
    -rw-r--r-- 1 root root 775K Jan  8  2013 abi-3.2.0-36-generic
    -rw------- 1 root root 4.8M Jan 24  2013 vmlinuz-3.2.0-37-generic
    -rw------- 1 root root 2.8M Jan 24  2013 System.map-3.2.0-37-generic
    -rw-r--r-- 1 root root 138K Jan 24  2013 config-3.2.0-37-generic
    -rw-r--r-- 1 root root 775K Jan 24  2013 abi-3.2.0-37-generic
    -rw-r--r-- 1 root root  20M Feb  1  2013 initrd.img-3.2.0-36-generic
    -rw-r--r-- 1 root root  20M Feb  3  2013 initrd.img-3.2.0-37-generic
    -rw------- 1 root root 4.8M Feb 19  2013 vmlinuz-3.2.0-38-generic
    -rw------- 1 root root 2.8M Feb 19  2013 System.map-3.2.0-38-generic
    -rw-r--r-- 1 root root 138K Feb 19  2013 config-3.2.0-38-generic
    -rw-r--r-- 1 root root 775K Feb 19  2013 abi-3.2.0-38-generic
    -rw-r--r-- 1 root root  20M Feb 22  2013 initrd.img-3.2.0-38-generic
    -rw------- 1 root root 4.8M Feb 28  2013 vmlinuz-3.2.0-39-generic
    -rw------- 1 root root 2.8M Feb 28  2013 System.map-3.2.0-39-generic
    -rw-r--r-- 1 root root 138K Feb 28  2013 config-3.2.0-39-generic
    -rw-r--r-- 1 root root 775K Feb 28  2013 abi-3.2.0-39-generic
    -rw------- 1 root root 4.8M Mar 25  2013 vmlinuz-3.2.0-40-generic
    -rw------- 1 root root 2.8M Mar 25  2013 System.map-3.2.0-40-generic
    -rw-r--r-- 1 root root 138K Mar 25  2013 config-3.2.0-40-generic
    -rw-r--r-- 1 root root 777K Mar 25  2013 abi-3.2.0-40-generic
    -rw-r--r-- 1 root root  20M Apr  1  2013 initrd.img-3.2.0-39-generic
    -rw-r--r-- 1 root root  20M Apr 22  2013 initrd.img-3.2.0-40-generic
    -rw------- 1 root root 4.8M Apr 25  2013 vmlinuz-3.2.0-41-generic
    -rw------- 1 root root 2.8M Apr 25  2013 System.map-3.2.0-41-generic
    -rw-r--r-- 1 root root 138K Apr 25  2013 config-3.2.0-41-generic
    -rw-r--r-- 1 root root 777K Apr 25  2013 abi-3.2.0-41-generic
    -rw-r--r-- 1 root root  20M May  2  2013 initrd.img-3.2.0-41-generic
    -rw------- 1 root root 4.8M May 16  2013 vmlinuz-3.2.0-44-generic
    -rw------- 1 root root 2.8M May 16  2013 System.map-3.2.0-44-generic
    -rw-r--r-- 1 root root 138K May 16  2013 config-3.2.0-44-generic
    -rw-r--r-- 1 root root 777K May 16  2013 abi-3.2.0-44-generic
    -rw-r--r-- 1 root root  20M May 25  2013 initrd.img-3.2.0-44-generic
    drwxr-xr-x 3 root root 8.0K May 25  2013 grub
    drwxr-xr-x 3 root root 1.0K Dec  1 18:27 extlinux


    Code:
    m@dalila:~$ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda6        11G  4.4G  5.2G  46% /
    udev            2.0G   12K  2.0G   1% /dev
    tmpfs           791M  916K  790M   1% /run
    none            5.0M     0  5.0M   0% /run/lock
    none            2.0G   84K  2.0G   1% /run/shm
    /dev/sda7       5.7G  140M  5.3G   3% /tmp
    /dev/sda5       388M  383M     0 100% /boot
    /dev/sda8        15G  6.9G  7.1G  50% /usr
    /dev/sda11      686G  273G  379G  42% /home
    /dev/sda9        11G  4.4G  5.3G  46% /opt

    Any ideas on how can i get out of this mess please?

    regards

    #2
    run
    Code:
    uname -a
    see what kernel your running ,,,,,,purge all but the one you are running and 1 under it . (so if your running 3.2.0-44 keep it and 3.2.0-41) purge all the rest ,,the vmlinuz-x.x.x-x and the initrd.img-x.x.x-x

    why the separation to different partitions of ,/tmp,/boot,/usr,/home and /opt ?

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Thanks for the tip vinny but its a no go. I purged all but the 3.2.0-44 and 3.2.0-41 along with the mvlinuz and initrd.img as you suggested. didn't work.

      Code:
      m@dalila:~$ sudo apt-get -f install 
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Correcting dependencies... Done
      The following extra packages will be installed:
        initramfs-tools libpython2.7 linux-generic linux-headers-generic linux-image-3.2.0-56-generic linux-image-generic python2.7
      Suggested packages:
        fdutils linux-doc-3.2.0 linux-source-3.2.0 linux-tools python2.7-doc
      The following NEW packages will be installed:
        linux-image-3.2.0-56-generic
      The following packages will be upgraded:
        initramfs-tools libpython2.7 linux-generic linux-headers-generic linux-image-generic python2.7
      6 upgraded, 1 newly installed, 0 to remove and 242 not upgraded.
      25 not fully installed or removed.
      Need to get 0 B/42.5 MB of archives.
      After this operation, 150 MB of additional disk space will be used.
      Do you want to continue [Y/n]? y
      (Reading database ... 552828 files and directories currently installed.)
      Unpacking linux-image-3.2.0-56-generic (from .../linux-image-3.2.0-56-generic_3.2.0-56.86_amd64.deb) ...
      Done.
      Setting up libglib2.0-data (2.32.4-0ubuntu1) ...
      Setting up libglib2.0-bin (2.32.4-0ubuntu1) ...
      dpkg: dependency problems prevent configuration of python2.7:
       python2.7 depends on python2.7-minimal (= 2.7.3-0ubuntu3.2); however:
        Version of python2.7-minimal on system is 2.7.3-0ubuntu3.4.
      dpkg: error processing python2.7 (--configure):
       dependency problems - leaving unconfigured
      No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                dpkg: dependency problems prevent configuration of libpython2.7:
       libpython2.7 depends on python2.7 (= 2.7.3-0ubuntu3.2); however:
        Package python2.7 is not configured yet.
      dpkg: error processing libpython2.7 (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of python:
       python depends on python2.7 (>= 2.7.3); however:
        Package python2.7 is not configured yet.
      dpkg: error processing python (--configure):
       dependency problems - leaving unconfigured
      Setting up initramfs-tools-bin (0.99ubuntu13.4) ...
      No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                     Setting up procps (1:3.2.8-11ubuntu6.3) ...
      procps stop/waiting
      dpkg: dependency problems prevent configuration of initramfs-tools:
       initramfs-tools depends on initramfs-tools-bin (<< 0.99ubuntu13.1.1~); however:
        Version of initramfs-tools-bin on system is 0.99ubuntu13.4.
      dpkg: error processing initramfs-tools (--configure):
       dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
                                                                    dpkg: dependency problems prevent configuration of udev:
       udev depends on initramfs-tools (>= 0.92bubuntu63); however:
        Package initramfs-tools is not configured yet.
      dpkg: error processing udev (--configure):
       dependency problems - leaving unconfigured
      Setting up libc-dev-bin (2.15-0ubuntu10.5) ...
      No apport report written because MaxReports is reached already
                                                                    Setting up linux-libc-dev (3.2.0-56.86) ...
      Setting up libc6-dev (2.15-0ubuntu10.5) ...
      Setting up libc6-i386 (2.15-0ubuntu10.5) ...
      Setting up libglib2.0-dev (2.32.4-0ubuntu1) ...
      Setting up linux-firmware (1.79.7) ...
      dpkg: dependency problems prevent configuration of linux-image-3.2.0-56-generic:
       linux-image-3.2.0-56-generic depends on initramfs-tools (>= 0.36ubuntu6); however:
        Package initramfs-tools is not configured yet.
      dpkg: error processing linux-image-3.2.0-56-generic (--configure):
       dependency problems - leaving unconfigured
      No apport report written because MaxReports is reached already
                                                                    dpkg: dependency problems prevent configuration of linux-image-generic:
       linux-image-generic depends on linux-image-3.2.0-45-generic; however:
        Package linux-image-3.2.0-45-generic is not installed.
      dpkg: error processing linux-image-generic (--configure):
       dependency problems - leaving unconfigured
      Setting up linux-headers-3.2.0-56 (3.2.0-56.86) ...
      No apport report written because MaxReports is reached already
                                                                    Setting up linux-headers-3.2.0-56-generic (3.2.0-56.86) ...
      Examining /etc/kernel/header_postinst.d.
      run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-56-generic /boot/vmlinuz-3.2.0-56-generic
      Setting up linux-headers-generic (3.2.0.48.58) ...
      dpkg: dependency problems prevent configuration of linux-generic:
       linux-generic depends on linux-image-generic (= 3.2.0.45.54); however:
        Package linux-image-generic is not configured yet.
       linux-generic depends on linux-headers-generic (= 3.2.0.45.54); however:
        Version of linux-headers-generic on system is 3.2.0.48.58.
      dpkg: error processing linux-generic (--configure):
       dependency problems - leaving unconfigured
      Setting up linux-headers-3.2.0-49 (3.2.0-49.75) ...
      No apport report written because MaxReports is reached already
                                                                    Setting up linux-headers-3.2.0-49-generic (3.2.0-49.75) ...
      Examining /etc/kernel/header_postinst.d.
      run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-49-generic /boot/vmlinuz-3.2.0-49-generic
      Setting up linux-headers-3.2.0-51 (3.2.0-51.77) ...
      Setting up linux-headers-3.2.0-51-generic (3.2.0-51.77) ...
      Examining /etc/kernel/header_postinst.d.
      run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-51-generic /boot/vmlinuz-3.2.0-51-generic
      Setting up tzdata-java (2013g-0ubuntu0.12.04) ...
      Processing triggers for libc-bin ...
      ldconfig deferred processing now taking place
      Errors were encountered while processing:
       python2.7
       libpython2.7
       python
       initramfs-tools
       udev
       linux-image-3.2.0-56-generic
       linux-image-generic
       linux-generic
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      Really never saw this anywhere, hope i wont have my system hangged. I think i have to make a fresh install.


      ps: the partioning is for security purpose, plus i like to install some other apps that have nothing to do with the system in /opt, like gns3.
      Last edited by ph4ntom74; Dec 01, 2013, 02:53 PM.

      Comment


        #4
        slow down ,,,their is still more to do.

        first check your
        Code:
        df -h
        output and see that you have space in boot once again

        now you have unconfigured packages still from /boot filling up wile trying to do an upgrade ,,,run
        Code:
        sudo dpkg --configure -a
        this will try to configure all the packages that did not get configured when the last attempt failed.

        if it also will not finish do a
        Code:
        sudo dpkg-reconfigure -a
        do this and report back any more errors or completion

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          now it wont boot. i'm dual booting it with win7x64, after grub it just hangs there reading
          Code:
          * Stopping configure virtual network devices       [OK]
          I'm scared because i kinda have a lot of stuff that i really need

          it just sits there, i can try issuing those commands but im not sure in what run level he is.

          NL

          Comment


            #6
            #1: If you have stuff you really need, you should have a backup.
            #2: Unless you re-formatted your file system, your stuff is still there so relax a bit.

            First task is to figure out why it's not booting. Try booting into safe mode. If that fails, try booting to a live session via USB or CD. Then go to /var/log and read your system and boot logs to see where it's stuck.

            I'm not sure what "security" you're accomplishing by having a separate /boot partition. AFAIK, the only reason to use a separate /boot is because you're using a file system grub can't boot to. Clearly, if you're going to use a non-standard partitioning scheme you need to be more on top of system maintenance. It's not very secure to leave your system unbootable.

            Please Read Me

            Comment


              #7
              I'd suggest booting a LiveDisk/USB and getting your data to a safe place. IE: to DVD or another HDD

              I'd agree there's very little security to be had using your setup.
              GigaByte GA-965G-DS3, Core2Duo at 2.1 GHz, 4 GB RAM, ASUS DRW-24B1ST, LiteOn iHAS 324 A, NVIDIA 7300 GS, 500 GB and 80 GB WD HDD

              Comment


                #8
                sory I did not abandon you ,,,,,,just had to get back to work

                so ya ,,,do like @ oshunluvr suggested and check safe mode and your logs ,,,,,,and if you can use a live cd/usb post the contents of your /boot partition as it is now.

                VINNY
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Another way would be to run a Live CD/USB and use *parted to increase the size of /boot at the expense of the neighbouring partitions like /usr and /tmp.
                  Once upon a time I used to have a scheme similar to yours but then I realised it wastes precious disk space, the past ~10 years I'm very happy with just /, swap and /home.

                  Comment


                    #10
                    Agree with all the approaches above, especially booting to Live CD and saving what's important.

                    Root, home, a swap are all you need. Keep root and home separate, so that neither steps on the other. Keep home only for you and any other users you have, put everything else in root - further partitioning does nothing except put your system integrity at risk.
                    The next brick house on the left
                    Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.24.7 | Kubuntu 22.04.4 | 6.5.0-18-generic

                    Comment


                      #11
                      Duh, I forgot the easiest way

                      Start up a live session, go to the /boot partition and delete a bunch of the kernels you aren't using anyway.
                      Now upgrade Grub and continue with life

                      As an example, I have two kernels in /boot and the total size is 73.1MiB, you have 388MB...

                      Comment

                      Working...
                      X