pkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... mv: cannot rename '/opt/ovi-maps-cnfix/index.html.bak': No such file or directory dpkg: error processing /var/cache/apt/archives/ovi-maps-cnfix_0.0.2_armel.deb (--unpack): subprocess new post-removal script returned error exit status 1 mv: cannot rename '/opt/ovi-maps-cnfix/index.html.bak': No such file or directory dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/ovi-maps-cnfix_0.0.2_armel.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~# apt-get remove ovi-maps-cnfix Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: ovi-maps-cnfix 0 upgraded, 0 newly installed, 1 to remove and 24 not upgraded. 4 not fully installed or removed. After this operation, 1913kB disk space will be freed. Do you want to continue [Y/n]? y dpkg: error processing ovi-maps-cnfix (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: ovi-maps-cnfix E: Sub-process /usr/bin/dpkg returned an error code (1) Nokia-N900:~#