View Single Post
azad1top's Avatar
Posts: 84 | Thanked: 11 times | Joined on Aug 2012 @ iran
#99
Originally Posted by michaaa62 View Post
Please try
Code:
sudo gainroot
dpkg --purge --force-remove-reinstreq ovi-maps-cnfix
for the first error.

The second might be caused by a download or storage error, not sure...
Please try to use apt-get to download the package and install it.
HI new


Code:
~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # 
/home/user # dpkg --purge --force-remove-reinstreq ovi-maps-cnfix
dpkg - warning, overriding problem because --force enabled:
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
(Reading database ... 56912 files and directories currently installed.)
Removing ovi-maps-cnfix ...
mv: cannot rename '/opt/ovi-maps-cnfix/index.html.bak': No such file or directory
dpkg: error processing ovi-maps-cnfix (--purge):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 ovi-maps-cnfix
/home/user # 
/home/user #




Code:
Selecting previously deselected package ovi-maps-cnfix.
(Reading database ... 56946 files and directories currently installed.)
Preparing to replace ovi-maps-cnfix 0.0.2 (using .../ovi-maps-cnfix_0.0.2_armel.deb) ...
Unpacking replacement ovi-maps-cnfix ...
mv: cannot rename '/opt/ovi-maps-cnfix/index.html.bak': No such file or directory
dpkg: 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:~#