Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Error: subprocess installed post-removal script returned error exit status 1

  1. #1
    Join Date
    Mar 2008
    Location
    Northampton, UK
    Beans
    23
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Error: subprocess installed post-removal script returned error exit status 1

    I can't get any updates for my system and keep getting the errors shown below, and suggestions peeps?


    E: linux-image-2.6.28-11-generic: subprocess installed post-removal script returned error exit status 1
    E: linux-image-2.6.28-13-generic: subprocess installed post-removal script returned error exit status 1
    E: linux-image-2.6.28-14-generic: subprocess installed post-removal script returned error exit status 1
    E: linux-image-2.6.28-15-generic: subprocess installed post-removal script returned error exit status 1
    E: linux-image-2.6.28-19-generic: subprocess installed post-removal script returned error exit status 1

  2. #2
    Join Date
    Mar 2008
    Location
    Northampton, UK
    Beans
    23
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Error: subprocess installed post-removal script returned error exit status 1

    Tried this in Update Manager, Synaptic, and Terminal - all give similar replies and the same error code?

  3. #3
    Join Date
    Mar 2008
    Location
    Northampton, UK
    Beans
    23
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question Re: Error: subprocess installed post-removal script returned error exit status 1

    full output of the terminal is:

    Code:
    craig@washington:~$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages will be REMOVED
      linux-image-2.6.28-11-generic linux-image-2.6.28-13-generic
      linux-image-2.6.28-14-generic linux-image-2.6.28-15-generic
      linux-image-2.6.28-19-generic linux-image-2.6.31-23-generic
      linux-image-2.6.32-30-generic
    The following packages will be upgraded:
      firefox firefox-branding firefox-gnome-support language-pack-en
      language-pack-en-base libtiff4 ubufox xul-ext-ubufox
    8 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
    7 not fully installed or removed.
    Need to get 0B/15.9MB of archives.
    After this operation, 670MB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 170506 files and directories currently installed.)
    Removing linux-image-2.6.28-11-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-11-generic /boot/vmlinuz-2.6.28-11-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-11-generic /boot/vmlinuz-2.6.28-11-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-11-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-11-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    Removing linux-image-2.6.28-13-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-13-generic /boot/vmlinuz-2.6.28-13-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-13-generic /boot/vmlinuz-2.6.28-13-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-13-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-13-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    Removing linux-image-2.6.28-14-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-14-generic /boot/vmlinuz-2.6.28-14-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-14-generic /boot/vmlinuz-2.6.28-14-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-14-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-14-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    Removing linux-image-2.6.28-15-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-15-generic /boot/vmlinuz-2.6.28-15-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-15-generic /boot/vmlinuz-2.6.28-15-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-15-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-15-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Removing linux-image-2.6.28-19-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-19-generic /boot/vmlinuz-2.6.28-19-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-19-generic /boot/vmlinuz-2.6.28-19-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-19-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-19-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Removing linux-image-2.6.31-23-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.31-23-generic /boot/vmlinuz-2.6.31-23-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.31-23-generic /boot/vmlinuz-2.6.31-23-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.31-23-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.31-23-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Removing linux-image-2.6.32-30-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.32-30-generic /boot/vmlinuz-2.6.32-30-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.32-30-generic /boot/vmlinuz-2.6.32-30-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.32-30-generic.postrm line 321.
    dpkg: error processing linux-image-2.6.32-30-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Errors were encountered while processing:
     linux-image-2.6.28-11-generic
     linux-image-2.6.28-13-generic
     linux-image-2.6.28-14-generic
     linux-image-2.6.28-15-generic
     linux-image-2.6.28-19-generic
     linux-image-2.6.31-23-generic
     linux-image-2.6.32-30-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    if no-one knows how to fix this can anyone tell me how to unmark the old kernels for removal?

  4. #4
    Join Date
    Mar 2008
    Location
    Northampton, UK
    Beans
    23
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Error: subprocess installed post-removal script returned error exit status 1

    I've been trying to fix this for over two hours now, does anyone know how to sort it out?

  5. #5
    Join Date
    Mar 2008
    Location
    Northampton, UK
    Beans
    23
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question Error: subprocess installed post-removal script returned error exit status 1

    hi I'm having a problem with my system atm, could anyone help? my first post is: here, kind of makes sense to keep it in one place

  6. #6
    Join Date
    Oct 2006
    Location
    Ayrshire.
    Beans
    47,425
    Distro
    Ubuntu Development Release

    Re: Error: subprocess installed post-removal script returned error exit status 1

    Duplicate threads merged.

    Please keep to one thread per issue and feel free to bump it once per 24(ish) hours if no reply.

  7. #7
    Join Date
    Jun 2008
    Location
    London, Kentucky
    Beans
    2,093
    Distro
    Ubuntu Development Release

    Re: Error: subprocess installed post-removal script returned error exit status 1

    First, give this a quick read...
    http://ubuntuforums.org/showthread.php?t=1422475

    To remove old kernels, either use synaptic & search for "linux-image-2", mark the old ones for removal and click apply, or use Ubuntu Tweak which will remove them for you.

    As for the problem you posted about. Try running these commands...
    Code:
    sudo dpkg --configure -a
    or...
    Code:
    sudo apt-get install -f
    Last edited by Dutch70; April 21st, 2011 at 10:33 PM.
    Intel-System Freeze Post#22
    How to mark your thread [SOLVED]
    Registered Linux User-#473773-Ubuntu User-#23255-Machine-#384048

  8. #8
    Join Date
    Mar 2008
    Location
    Northampton, UK
    Beans
    23
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question Re: Error: subprocess installed post-removal script returned error exit status 1

    Hi, thanks for the reply, I tried your suggestions and have included the output from the terminal at the end of this post.

    How I got in this trouble:
    I was trying out themes for grub with http://ubuntuguide.net/decorate-grub...r-gui-for-burg that software and there was an option to clear old kernels, that's how I got to where I am now.


    From here all I want to do is get these packages either removed so my updates work again, or unmarked for removal so it doesn't try to remove them before running updates, any further assistance would be greatly appreciated

    Code:
    craig@washington:/var/www$ sudo dpkg --configure -a
    craig@washington:/var/www$ sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages will be REMOVED
      linux-image-2.6.28-11-generic linux-image-2.6.28-13-generic
      linux-image-2.6.28-14-generic linux-image-2.6.28-15-generic
      linux-image-2.6.28-19-generic linux-image-2.6.31-23-generic
      linux-image-2.6.32-30-generic
    0 upgraded, 0 newly installed, 7 to remove and 8 not upgraded.
    7 not fully installed or removed.
    After this operation, 669MB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 170506 files and directories currently installed.)
    Removing linux-image-2.6.28-11-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-11-generic /boot/vmlinuz-2.6.28-11-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-11-generic /boot/vmlinuz-2.6.28-11-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-11-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-11-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Removing linux-image-2.6.28-13-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-13-generic /boot/vmlinuz-2.6.28-13-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-13-generic /boot/vmlinuz-2.6.28-13-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-13-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-13-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Removing linux-image-2.6.28-14-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-14-generic /boot/vmlinuz-2.6.28-14-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-14-generic /boot/vmlinuz-2.6.28-14-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-14-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-14-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Removing linux-image-2.6.28-15-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-15-generic /boot/vmlinuz-2.6.28-15-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-15-generic /boot/vmlinuz-2.6.28-15-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-15-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-15-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Removing linux-image-2.6.28-19-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.28-19-generic /boot/vmlinuz-2.6.28-19-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.28-19-generic /boot/vmlinuz-2.6.28-19-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.28-19-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.28-19-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Removing linux-image-2.6.31-23-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.31-23-generic /boot/vmlinuz-2.6.31-23-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.31-23-generic /boot/vmlinuz-2.6.31-23-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.31-23-generic.postrm line 320.
    dpkg: error processing linux-image-2.6.31-23-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Removing linux-image-2.6.32-30-generic ...
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.32-30-generic /boot/vmlinuz-2.6.32-30-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.32-30-generic /boot/vmlinuz-2.6.32-30-generic
    /etc/default/grub: 9: splash: not found
    run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
    Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.32-30-generic.postrm line 321.
    dpkg: error processing linux-image-2.6.32-30-generic (--remove):
     subprocess installed post-removal script returned error exit status 1
    No apport report written because MaxReports has already been reached
                                                                        Errors were encountered while processing:
     linux-image-2.6.28-11-generic
     linux-image-2.6.28-13-generic
     linux-image-2.6.28-14-generic
     linux-image-2.6.28-15-generic
     linux-image-2.6.28-19-generic
     linux-image-2.6.31-23-generic
     linux-image-2.6.32-30-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    craig@washington:/var/www$

  9. #9
    Join Date
    Jun 2008
    Location
    London, Kentucky
    Beans
    2,093
    Distro
    Ubuntu Development Release

    Re: Error: subprocess installed post-removal script returned error exit status 1

    Have you removed Burg? I'm really not sure, but if it's settings. Try running these...
    Code:
    sudo apt-get autoclean
    Code:
    sudo apt-get autoremove
    Code:
    sudo apt-get clean
    Last edited by Dutch70; April 22nd, 2011 at 01:42 AM.
    Intel-System Freeze Post#22
    How to mark your thread [SOLVED]
    Registered Linux User-#473773-Ubuntu User-#23255-Machine-#384048

  10. #10
    Join Date
    Mar 2008
    Location
    Northampton, UK
    Beans
    23
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Error: subprocess installed post-removal script returned error exit status 1

    Hi, tried those again, and it still comes up with the same output in the terminal.

    also went into Synaptic Package manager and tried in there, whilst there I noticed that there are no linux-header-x-x-x for these linux-image packages and right clicking on the packages and selecting Properties -> Installed Files shows an empty box whereas with my other installed kernels it provides a very long list, think maybe these packages are gone already and the problem is that it can't find the files to remove?

    and burg is still on the system, it won't let me install, upgrade or remove anything :S

    where is the file that lists all the installed packages? and has it been in the same place since 8.04ish as that's when i first installed ubuntu on this machine

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •