Public bug reported: Problem happens everytime apt-get is used to install anything. This problem prevents removing sun-java6-jdk.
The error message (pt_BR) when trying to remove sun-java6-jdk or when installing any package is: " update-alternatives: erro ou fim de arquivo lendo /var/lib/dpkg/alternatives/appletviewer para update_mode () dpkg: erro processando sun-java6-jdk (--remove): sub-processo pre-removal script retornou estado de saĆda de erro 2 Erros foram encontrados durante o processamento de: sun-java6-jdk E: Sub-process /usr/bin/dpkg returned an error code (1)" ProblemType: Package Architecture: amd64 DistroRelease: Ubuntu 9.04 ErrorMessage: subprocess post-installation script returned error exit status 2 NonfreeKernelModules: nvidia Package: sun-java6-jdk 6-13-1 SourcePackage: sun-java6 Title: package sun-java6-jdk 6-13-1 failed to install/upgrade: subprocess post-installation script returned error exit status 2 Uname: Linux 2.6.28-11-generic x86_64 ** Affects: sun-java6 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package -- package sun-java6-jdk 6-13-1 failed to install/upgrade: subprocess post-installation script returned error exit status 2 https://bugs.launchpad.net/bugs/373903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs