Got this error after upgrading from Ubuntu Hardy to Lucid:
flashplugin-nonfree: subprocess installed pre-removal script returned error exit status
Found this on debian forum:
rm /var/lib/dpkg/info/flashplugin-nonfree.prerm
### that is the most important step, the manual removing of the bad script ###
dpkg --remove --force-remove-reinstreq flashplugin-nonfree
### after the above step this is possible now ###
dpkg --purge --force-remove-reinstreq flashplugin-nonfree
### use this in order to purge everything is *package* related
That removed flashplugin completely and new installation is possible.
Monday, May 17, 2010
Friday, April 16, 2010
PVM on snow leopard
Sitll got this error after trying serveral times to execute the command from anywhere in the terminal:
sudo port install pvm
Password:
---> Computing dependencies for pvm
---> Building pvm
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_pvm/work/pvm3" && /usr/bin/make all " returned error 2
Command output: making in . for DARWIN
building in src
cd src; ../lib/aimk CC="/usr/bin/gcc-4.2" F77="f77" install
making in DARWIN/ for DARWIN
/usr/bin/gcc-4.2 -O -DCLUMP_ALLOC -DSTATISTICS -DTIMESTAMPLOG -DSANITY -I../../include -DARCHCLASS=\"DARWIN\" -DIMA_DARWIN -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS -DFAKEXDRFLOAT -DSYSERRISCONST -I/usr/include/malloc -I/System/Library/Frameworks/System.framework/Headers/bsd/sys -c ../../src/pmsg.c
../../src/pmsg.c:785: error: static declaration of 'xdr_float' follows non-static declaration
/usr/include/rpc/xdr.h:376: error: previous declaration of 'xdr_float' was here
../../src/pmsg.c: In function 'xdr_float':
../../src/pmsg.c:788: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c: At top level:
../../src/pmsg.c:794: error: static declaration of 'xdr_double' follows non-static declaration
/usr/include/rpc/xdr.h:377: error: previous declaration of 'xdr_double' was here
../../src/pmsg.c: In function 'xdr_double':
../../src/pmsg.c:797: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c:797: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c: In function 'enc_xdr_long':
../../src/pmsg.c:1395: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c:1417: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c: In function 'enc_xdr_ulong':
../../src/pmsg.c:1442: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
../../src/pmsg.c:1461: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
../../src/pmsg.c: In function 'dec_xdr_long':
../../src/pmsg.c:1763: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c:1773: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c: In function 'dec_xdr_ulong':
../../src/pmsg.c:1848: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
../../src/pmsg.c:1858: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
make[2]: *** [pmsg.o] Error 1
make[1]: *** [s] Error 2
make: *** [all] Error 2
--> solution:
sudo rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_pvm
and then:
cd /opt/local/var/macports/sources/rsync.macports.org/release/ports
sudo port install pvm
--> worked perfectly.
sudo port install pvm
Password:
---> Computing dependencies for pvm
---> Building pvm
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_pvm/work/pvm3" && /usr/bin/make all " returned error 2
Command output: making in . for DARWIN
building in src
cd src; ../lib/aimk CC="/usr/bin/gcc-4.2" F77="f77" install
making in DARWIN/ for DARWIN
/usr/bin/gcc-4.2 -O -DCLUMP_ALLOC -DSTATISTICS -DTIMESTAMPLOG -DSANITY -I../../include -DARCHCLASS=\"DARWIN\" -DIMA_DARWIN -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS -DFAKEXDRFLOAT -DSYSERRISCONST -I/usr/include/malloc -I/System/Library/Frameworks/System.framework/Headers/bsd/sys -c ../../src/pmsg.c
../../src/pmsg.c:785: error: static declaration of 'xdr_float' follows non-static declaration
/usr/include/rpc/xdr.h:376: error: previous declaration of 'xdr_float' was here
../../src/pmsg.c: In function 'xdr_float':
../../src/pmsg.c:788: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c: At top level:
../../src/pmsg.c:794: error: static declaration of 'xdr_double' follows non-static declaration
/usr/include/rpc/xdr.h:377: error: previous declaration of 'xdr_double' was here
../../src/pmsg.c: In function 'xdr_double':
../../src/pmsg.c:797: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c:797: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c: In function 'enc_xdr_long':
../../src/pmsg.c:1395: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c:1417: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c: In function 'enc_xdr_ulong':
../../src/pmsg.c:1442: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
../../src/pmsg.c:1461: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
../../src/pmsg.c: In function 'dec_xdr_long':
../../src/pmsg.c:1763: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c:1773: warning: passing argument 2 of 'xdr_long' from incompatible pointer type
../../src/pmsg.c: In function 'dec_xdr_ulong':
../../src/pmsg.c:1848: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
../../src/pmsg.c:1858: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
make[2]: *** [pmsg.o] Error 1
make[1]: *** [s] Error 2
make: *** [all] Error 2
--> solution:
sudo rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_pvm
and then:
cd /opt/local/var/macports/sources/rsync.macports.org/release/ports
sudo port install pvm
--> worked perfectly.
Subscribe to:
Posts (Atom)