0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 2111
/ 2 Years ago, tue, march 29, 2022, 3:17:52
I tried to install php-java-bridge-j2ee-selinux
from source using apt-get
but that failed. Now what ever I want to remove or install using apt-get
, it gives me error:
E: The package php-java-bridge-j2ee-selinux needs to be
reinstalled, but I can't find an archive for it.
How do I get rid of it?
EDIT 2
Same issue:
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
When I remove something:
$ 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.
I have Tomcat7 installed. Here's $ 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
I run following, same error:
$ 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.
More From » apt