How to remove all associated files and configuration settings of an app installed through 'force architecture' command
Solution 1:
Maybe we can bypass dpkg like this. First backup your original file:
sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.orig
After that open it to edit:
gksudo gedit /var/lib/dpkg/status
Search for a block something like that:
Package: crossplatformui
..
..
Package: another_package_name
Here, you will delete only crossplatformui block. This means starting with Package: crossplatformui and till the other package block. After deleting the blocak try to remove it again:
sudo dpkg -r crossplatformui
Solution 2:
I solved the problem. I had same problem as you had. So what I did:
1- Go to Synaptic Package Manager and Remove [CrossPlatformUI] and all it's dependencies. + May be there still some package will be remain. No problem.
2- As is mentioned above, Run:
gksudo gedit /var/lib/dpkg/status
in terminal.
3- Search in the search area [Package: crossplatformui] You will find four or five line address. I forgot those lines and I can not find them because they are removed. But, any way; follow every line address to find those files.
4- When you find exact files, Right Click on that and choose open as administrator. When file is open, Remove the content of those and save it.
5- Do it for all files. Now go back to Synaptic Package Manager, and mark those package which are remain as completely remove. Synaptic Package Manager will remove those.
6- finally go to terminal again and run again:
gksudo gedit /var/lib/dpkg/status
7- Search for [Package: crossplatformui] again and delete all the informations.
8- You are done. You can check in terminal by running:
sudo apt-get remove CrossPlatformUI
9- As soon as you connect to Internet, run:
sudo apt-get update
If you were right, there must be no error.
I hope this can help you, and sorry if I have forgot something. I am new to Linux. Good luck.