[Bug 378545] Re: package install error - subprocess post-removal script returned error exit status 2

Daniel Hartwig 378545 at bugs.launchpad.net
Fri Jan 27 02:02:32 UTC 2012


Bug in the ooolatex post/prerm script, can not find such a package in
ubuntu.

** Changed in: aptitude (Ubuntu)
       Status: New => Invalid

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

Title:
  package install error - subprocess post-removal script returned error
  exit status 2

Status in “aptitude” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: aptitude

  jaunty

  
  I expect to install updates and new packages using aptitude or apt-get, but this does not happen - I get an error.

  ooolatex is broken. dpkg-reconfigure, remove, install do not work,
  even with -f to force

  also, my picasa, google desktop, and virtualbox seem to have
  disappeared.

  here is the code when I try to install virtualbox:

  ========================

  user at home:/etc/apt$ sudo apt-get install virtualbox-2.2
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be REMOVED:
    ooolatex
  The following NEW packages will be installed:
    virtualbox-2.2
  0 upgraded, 1 newly installed, 1 to remove and 28 not upgraded.
  1 not fully installed or removed.
  Need to get 0B/38.7MB of archives.
  After this operation, 77.2MB of additional disk space will be used.
  Do you want to continue [Y/n]? 
  Preconfiguring packages ...
  (Reading database ... 304595 files and directories currently installed.)
  Removing ooolatex ...
  sed: can't read /usr/lib/openoffice/presets/basic/script.xlc: No such file or directory
  dpkg: error processing ooolatex (--remove):
   subprocess post-removal script returned error exit status 2
  Errors were encountered while processing:
   ooolatex
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  =============ALSO===========

  op:/etc/apt$ sudo apt-get -f remove ooolatex
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be REMOVED:
    ooolatex
  0 upgraded, 0 newly installed, 1 to remove and 28 not upgraded.
  1 not fully installed or removed.
  After this operation, 184kB disk space will be freed.
  Do you want to continue [Y/n]? 
  (Reading database ... 304595 files and directories currently installed.)
  Removing ooolatex ...
  sed: can't read /usr/lib/openoffice/presets/basic/script.xlc: No such file or directory
  dpkg: error processing ooolatex (--remove):
   subprocess post-removal script returned error exit status 2
  Errors were encountered while processing:
   ooolatex
  E: Sub-process /usr/bin/dpkg returned an error code (1)

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




More information about the foundations-bugs mailing list