J'ai essayé d'installer php-java-bridge-j2ee-selinux
à partir de la source en utilisant apt-get
mais cela a échoué. Maintenant, ce que je veux supprimer ou installer à l'aide de la fonction apt-get
il me donne l'erreur :
E: The package php-java-bridge-j2ee-selinux needs to be
reinstalled, but I can't find an archive for it.
Comment puis-je m'en débarrasser ?
EDITAR 2
Même problème :
sudo dpkg -i ~/Downloads/php-java-bridge-j2ee-selinux*.deb
(Reading database ... 180639 files and directories currently installed.)
Preparing to replace php-java-bridge-j2ee-selinux 6.1.2.1-1 (using .../php-java-bridge-j2ee-selinux_6.1.1-2_all.deb) ...
invoke-rc.d: unknown initscript, /etc/init.d/tomcat5.5 not found.
dpkg: error processing /home/aceph/Downloads/php-java-bridge-j2ee-selinux_6.1.1-2_all.deb (--install):
subprocess new pre-installation script returned error exit status 100
/var/lib/dpkg/tmp.ci/postrm: 39: /var/lib/dpkg/tmp.ci/postrm: semodule: not found
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 127
Errors were encountered while processing:
/home/aceph/Downloads/php-java-bridge-j2ee-selinux_6.1.1-2_all.deb
Quand je retire quelque chose :
$ sudo apt-get remove docky
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package php-java-bridge-j2ee-selinux needs to be reinstalled, but I can't find an archive for it.
J'ai installé Tomcat7. Voici $ java -version
$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.13.10.1)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
EDIT 1
J'exécute ce qui suit, même erreur :
$ sudo apt-get remove --purge php-java-bridge-j2ee-selinux
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package php-java-bridge-j2ee-selinux needs
to be reinstalled, but I can't find an archive for it.