[Bug 1246384] Re: subprocess installed post-removal script returned error exit status 2

Quinn Balazs qtbalazs at gmail.com
Wed Oct 30 18:53:40 UTC 2013


This is caused by xserver-common-lts-raring not being correctly removed, and therefore ending up in a nonfunctional state. Editing 
 "/var/usr/dpkg/info/xserver-common-lts-raring.postrm" using "sudo nano /var/usr/dpkg/info/xserver-common-lts-raring.postrm" and removing the "dpkg-divert" command entirely from the file. After doing that, you should be able to remove it using "sudo apt-get autoremove". Once it has been removed, you should be able to do everything as normal.

Quinn Balazs

** Package changed: ubuntu => dpkg (Ubuntu)

** Changed in: dpkg (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- subprocess installed post-removal script returned error exit status 2
+ xserver-common-lts-raring does not always get correctly removed.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1246384

Title:
  xserver-common-lts-raring does not always get correctly removed.

Status in “dpkg” package in Ubuntu:
  Confirmed

Bug description:
  everytime i start my computer it says i have a problem then asks me if
  i want to partial upgrade it and when i do i get "subprocess installed
  post-removal script returned error exit status 2" when it was trying
  to remove "xserver-common-lts-raring" and it keeps sending me through
  a loop please someone help...

  oh it also makes my software center say it can't install anything
  untill "xserver-common-lts-raring" is removed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1246384/+subscriptions



More information about the foundations-bugs mailing list