APT broken : libgcj.so.70: cannot enable executable stack
Posted: Sun Nov 09, 2008 12:52 am
# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
openoffice.org-gcj
The following packages will be upgraded:
openoffice.org-gcj
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
19 not fully installed or removed.
Need to get 0B/4366kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 187877 files and directories currently installed.)
Preparing to replace openoffice.org-gcj 2.0.4.dfsg.2-7etch5 (using .../openoffice.org-gcj_2.0.4.dfsg.2-7etch6_i386.deb) ...
Unpacking replacement openoffice.org-gcj ...
gcj-dbtool-4.1: error while loading shared libraries: libgcj.so.70: cannot enable executable stack as shared object requires: Permission denied
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
gcj-dbtool-4.1: error while loading shared libraries: libgcj.so.70: cannot enable executable stack as shared object requires: Permission denied
dpkg: error processing /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch6_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 2
gcj-dbtool-4.1: error while loading shared libraries: libgcj.so.70: cannot enable executable stack as shared object requires: Permission denied
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to no avail:
caethaver2:/usr/lib# chpax -p libgcj.so.70
caethaver2:/usr/lib# chpax -p /usr/bin/gcj-dbtool-4.1
caethaver2:/usr/lib# chpax -p /usr/bin/gcj-dbtool
Also I found my server crashed/restarted too today. Where would I look at logs? There were no pwr outages and I have it on an UPS
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
openoffice.org-gcj
The following packages will be upgraded:
openoffice.org-gcj
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
19 not fully installed or removed.
Need to get 0B/4366kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 187877 files and directories currently installed.)
Preparing to replace openoffice.org-gcj 2.0.4.dfsg.2-7etch5 (using .../openoffice.org-gcj_2.0.4.dfsg.2-7etch6_i386.deb) ...
Unpacking replacement openoffice.org-gcj ...
gcj-dbtool-4.1: error while loading shared libraries: libgcj.so.70: cannot enable executable stack as shared object requires: Permission denied
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
gcj-dbtool-4.1: error while loading shared libraries: libgcj.so.70: cannot enable executable stack as shared object requires: Permission denied
dpkg: error processing /var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch6_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 2
gcj-dbtool-4.1: error while loading shared libraries: libgcj.so.70: cannot enable executable stack as shared object requires: Permission denied
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/openoffice.org-gcj_2.0.4.dfsg.2-7etch6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to no avail:
caethaver2:/usr/lib# chpax -p libgcj.so.70
caethaver2:/usr/lib# chpax -p /usr/bin/gcj-dbtool-4.1
caethaver2:/usr/lib# chpax -p /usr/bin/gcj-dbtool
Also I found my server crashed/restarted too today. Where would I look at logs? There were no pwr outages and I have it on an UPS