Reply
Thread Tools
azad1top's Avatar
Posts: 84 | Thanked: 11 times | Joined on Aug 2012 @ iran
#101
Originally Posted by michaaa62 View Post
Please try, if creating that backup file changes the result of the removal command
Code:
sudo gainroot
touch /opt/ovi-maps-cnfix/index.html.bak
dpkg --purge --force-remove-reinstreq ovi-maps-cnfix
dpkg --configure -a
Not again.....


Code:
BusyBox v1.21.0 (Debian 1.21.0power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.21.0 (Debian 1.21.0power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # touch /opt/ovi-maps-cnfix/index.html.bak
touch: /opt/ovi-maps-cnfix/index.html.bak: No such file or directory
/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 ... 56988 files and directories currently installed.)
Removing ovi-maps-cnfix ...
mv: can't 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 # dpkg --configure -a
/home/user #

ERROR ---------> No such file or directory

Instructions for installing or replacing a file؟

Thank you micha
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#102
Originally Posted by azad1top View Post
Code:
/home/user # touch /opt/ovi-maps-cnfix/index.html.bak
touch: /opt/ovi-maps-cnfix/index.html.bak: No such file or directory
The only time I can imagine touch might give you that error is when either /opt or /opt/ovi-maps-cnfix does not exist. Please try
Code:
ls /opt/ovi-*
Edit: Oh, and to skip the next step, if you find that /opt/ovi-maps-cnfix does not exist, you can create it by
Code:
mkdir /opt/ovi-maps-cnfix
Then proceed as previously told

Last edited by pichlo; 2013-04-25 at 15:48.
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
Posts: 88 | Thanked: 42 times | Joined on Aug 2010 @ USA
#103
Sorry to bring such an old thread back to the front.
I followed all of the php5-common removal steps and am still facing numerous removal failures (with --purge remove, --reinstall install, autoremove). I did edit (nano) /var/lib/dpkg/info/php5-common.postrm .This is preventing other applications from updating because it somehow, even when I select just one update to perform such as modrana, moves itself to the forefront and prevents upgrades of other applications as well as apt-get dist-upgrade from working. Feel free to tell me what you would like for info and I am happy to provide it (so long as it is not private and identifiable to a person/device).
Thank you,
David

P.S. I did write to the "Author's" email address but because it is Ubuntu Developer and I (clearly) played no role in php, they rejected posting as much and stated I should post it here. Because this thread already exists, it did not appear to make sense to create a new thread.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:25.