maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Can't uninstall game (https://talk.maemo.org/showthread.php?t=89422)

oclone 2013-03-09 13:23

Can't uninstall game
 
Hello everyone,

I have problem with uninstalling the game on my N900. I want to uninstall: Need For Speed Undercover (com-ea-app-nfsuc).

I tried to uninstall from Application Manager, but I keep getting this error message: Unable to uninstall 'com-ea-app-nfsuc'.
The game take place in app. manager update list , but I can't even update it. This message appears: Operation failed

The source installation file is: com-ea-app-nfsuc_20.0.28_armel.deb

Can someone helps me with uninstalling this game?

anthonie 2013-03-09 14:12

Re: Can't uninstall game
 
You don't. It's a preenv game.

Basically the only thing you need to do is remove A: The directory the game is located, and remove the desktop file, created by .json when you installed the game, within the preenv, from the /usr/share folder.

Look at the page below for more detailed instructions.

http://wiki.maemo.org/Preenv/FAQ

oclone 2013-03-09 14:46

Re: Can't uninstall game
 
Quote:

Originally Posted by anthonie (Post 1327876)
You don't. It's a preenv game.

Basically the only thing you need to do is remove A: The directory the game is located, and remove the desktop file, created by .json when you installed the game, within the preenv, from the /usr/share folder.

Look at the page below for more detailed instructions.

http://wiki.maemo.org/Preenv/FAQ

How can I locate the directory? I don't know the exact game location.

anthonie 2013-03-09 16:41

Re: Can't uninstall game
 
How did you install it? Manually, by some form of app?

oclone 2013-03-09 16:53

Re: Can't uninstall game
 
I downloaded the file called: " com-ea-app-nfsuc_20.0.28_armel.deb" and install the game through app. manager. Then I used x terninal to crack the game.
Is there any way to find out the exact game folder and remove the game?

anthonie 2013-03-10 09:19

Re: Can't uninstall game
 
Did you read the wiki page I just linked?

oclone 2013-03-10 12:23

Re: Can't uninstall game
 
Quote:

Originally Posted by anthonie (Post 1328056)
Did you read the wiki page I just linked?

I read it. I tried this function:

Code:

$ preenv
$ cd game-folder

I typed:

Code:

$ preenv
$ cd /home/user/com.ea.app.nfsuc

Each time I get this message: "Not found"

That's the reason why I asked for the exact game location. I can't uninstall it because I tipe wrong game folder destination.

anthonie 2013-03-10 13:57

Re: Can't uninstall game
 
Have a look at your desktop file than...

/usr/share/applications/hildon

There should be a file (don't know the name but it should be there) that contains nfsuc inn the filename.

In that file the executable is mentioned, as well as it's location.

If you can't figure it out, just find the exact filename and use cat to display the file's' content so you can paste it.

cat /usr/share/applications/hildon/desktopfile.desktop

oclone 2013-03-10 16:56

Re: Can't uninstall game
 
I tried this function:

Code:

$ root
$ apt-get remove com.ea.app.nfsuc

This message appears: "The package com-ea-app-nfsuc needs to be reinstalled, but I can't find an archive for it."

I also tried this:
Code:

$ sudo gainroot
# rm /usr/share/applications/hildon/
com.ea.app.nfsuc

This message appears: "Not found"

anthonie 2013-03-10 17:10

Re: Can't uninstall game
 
Before you continue, please read the wiki-page and not just glance it.

Preenv is an emulator and does notinstall through HAM or apt-get.

...

paste this in your terminal

Code:

ls -lah /usr/share/applications/hildon/com*
This should return the desktop entry for nfscu.

When you have found that file, do not remove it as you seem to have tried but use cat

Code:

cat /usr/share/applications/hildon/nameofthedesktopfile
and post the output here.

oclone 2013-03-10 18:17

Re: Can't uninstall game
 
Sorry, I am not good at coding and X Terminal, but if I understand well, using those codes, I will get the game location. Here there are results of codes you posted above.

When I pasted the first code, I got this:
Code:

/usr/share/applications/hildon/com-ea-app-nfsuc.desktop
I suppose that "com-ea-app-nfsuc.desktop" is what we are searching for.

The second code, gives:

Code:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=NFSU
Comment=NFSU from Electronic Arts, version 20.0.28
Exec=/usr/bin/com-ea-app-nfsuc
Icon=com-ea-app-nfsuc

I suppose that now we have the game location and name. How to remove the game now? Can you write me code, step by step.

I really appreciate your effort and hope this topic is near solution.

michaaa62 2013-03-10 18:23

Re: Can't uninstall game
 
Please try
Code:

sudo gainroot
dpkg -r --force-remove-reinstreq com-ea-app-nfsuc


oclone 2013-03-10 20:48

Re: Can't uninstall game
 
This message appears:

Quote:

dpkg: unknown force/refuse option `remove-reinstreg'

Type dpkg --help for help about installing and deinstalling packages[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)[*].

michaaa62 2013-03-11 06:49

Re: Can't uninstall game
 
remove-reinstreq with a small Q, this is.

oclone 2013-03-11 09:53

Re: Can't uninstall game
 
Thank you so much! The game is finally removed. I would never delete it without your help. Thank you again for your patience and understanding during this process. This case is solved. I hope this topic would be helpful for those who have problem uninstalling this game. :)


All times are GMT. The time now is 01:12.

vBulletin® Version 3.8.8