Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Ok, I am running my EEE PC 701 off of Xandros, and I removed UnionFs and merged the first two partitions and have been trying to free up some space. I removed the Open Office suite and I then tried to remove "asus-ooo-writer". It came up with:
/home/user> sudo apt-get remove asus-ooo-writer
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 108 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 61.3MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 73242 files and directories currently installed.)
Removing asus-ooo-writer ...
dpkg-divert: mismatch on divert-to
when removing `diversion of /usr/share/applications/ooo-writer.desktop to /usr/share/applications/ooo-writer.desktop-orig by asus-ooo-writer'
found `diversion of /usr/share/applications/ooo-writer.desktop to /usr/share/applications/ooo-writer.desktop.orig by asus-ooo-writer'
dpkg: error processing asus-ooo-writer (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Every time I try to remove a package now, it thinks I'm trying to remove asus-ooo-writer along with it! I went into synaptic and tried to unmark it but it doesn't work! any suggestions!?
From what I can see from your first post in the error you quote dpkg expects to find '/usr/share/applications/ooo-writer.desktop-orig' in the removal script but instead finds '/usr/share/applications/ooo-writer.desktop.orig' .
If I remember correctly (keep in mind though that I had a similar problem a long, long time ago and I might be wrong) the trick is to fix the script first and then run 'apt-get install -f' as root. The script will be in /var/lib/dpkg/info ,probably under name asus-ooo-writer.postrm