Today I've tried to update to version ubuntu7 from verision ubuntu5. It was impossible due to an error:
/var/lib/dpkg/info/flashplugin-nonfree.prerm: 28: Syntax error: "do" unexpected (expecting ";;") dpkg: warning - previous script pre-removal returned error code 2 dpkg - trying to run script from new package... prerm called with argument `failed-upgrade' dpkg: processing error /var/cache/apt/archives/flashplugin-nonfree_9.0.48.0.0ubuntu7_i386.deb (--unpack): subproces new pre-removal script returned error code 1 /var/lib/dpkg/info/flashplugin-nonfree.postinst: 107: Syntax error: "do" unexpected (expecting "fi") dpkg: error during cleaning environment: subproces post-installation script returned error code 2 Processing errors: /var/cache/apt/archives/flashplugin-nonfree_9.0.48.0.0ubuntu7_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
##### I've translated it from Polish. #####
It was impossible even to remove old package due to it's bad condition. -- Piotr Szczygieł
Today I've tried to update to version ubuntu7 from verision ubuntu5. It
was impossible due to an error:
/var/lib/ dpkg/info/ flashplugin- nonfree. prerm: 28: Syntax error: "do" apt/archives/ flashplugin- nonfree_ 9.0.48. 0.0ubuntu7_ i386.deb dpkg/info/ flashplugin- nonfree. postinst: 107: Syntax error: "do" apt/archives/ flashplugin- nonfree_ 9.0.48. 0.0ubuntu7_ i386.deb
unexpected (expecting ";;")
dpkg: warning - previous script pre-removal returned error code 2
dpkg - trying to run script from new package...
prerm called with argument `failed-upgrade'
dpkg: processing error
/var/cache/
(--unpack):
subproces new pre-removal script returned error code 1
/var/lib/
unexpected (expecting "fi")
dpkg: error during cleaning environment:
subproces post-installation script returned error code 2
Processing errors:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
#####
I've translated it from Polish.
#####
It was impossible even to remove old package due to it's bad condition.
--
Piotr Szczygieł