LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   wine wont uninstall and it looks like crap (https://www.linuxquestions.org/questions/linux-software-2/wine-wont-uninstall-and-it-looks-like-crap-763443/)

richard.donavan 10-21-2009 09:00 AM

wine wont uninstall and it looks like crap
 
okay so here's the deal. i have been running wine on ubuntu 9.04 for a hot minute. i use it only for poker stars and full tilt poker. poker stars runs great, works fine. but full tilt has never worked that well. i can never read menu's cause the font doesnt show up. everything was blank, but i knew my way around the site enough to be able to manage.

now here is where my problem started. i was trying to adjust the wine settings and something i did threw the whole program off. so much crap went wrong that i just decided to uninstall the whole she-bang.


i cant get wine off , and i can get poker stars off and i cant get full tilt off. what the hell is going on here . i tried the add/remove, but its not working.

HELP!!!! i havent played poker in days. how do i get it all off and removed so i can reinstall?????

SethsdadtheLinuxer 10-21-2009 09:42 AM

yum remove blah might fix you up.

richard.donavan 10-21-2009 11:19 AM

so i tried yum and this is what i got:

richard@richard-donavan:~$ yum remove blah blah
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 84, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
enabled_plugins=self.optparser._splitArg(opts.enableplugins))
File "/var/lib/python-support/python2.6/yum/__init__.py", line 192, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/var/lib/python-support/python2.6/yum/config.py", line 772, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/var/lib/python-support/python2.6/yum/config.py", line 842, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
richard@richard-donavan:~$ yum install
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 84, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
enabled_plugins=self.optparser._splitArg(opts.enableplugins))
File "/var/lib/python-support/python2.6/yum/__init__.py", line 192, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/var/lib/python-support/python2.6/yum/config.py", line 772, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/var/lib/python-support/python2.6/yum/config.py", line 842, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed



wtf is that?

Wim Sturkenboom 10-21-2009 01:14 PM

Yum is RH/Fedora, not Ubuntu

richard.donavan 10-21-2009 01:20 PM

that what i was thinking. so now the question still remains, what do i do. i have downloaded the ubuntu 9.04 again. but i cant get my burner to work, see my post in the hardware forum. is it possible to just wipe everything except for my pictures and music to start all over? or is there another way to make this work.
basically whats happening to wine is that the menus are about half the size of the screen, except they should be the size of the screen cause thats is how the fonts and menu's appear. i tried configuring wine, but now i cant see any of the options or buttons and i can only read half of the menu's. i tried uninstalling, but it is still there.

i want to use wine, it worked okay as long as i didnt mess with it. but of course , i had to play with it and made it worse.

jomen 10-22-2009 06:03 AM

Quote:

HELP!!!! i havent played poker in days.
...hope you are still well despite the fact ;)
Quote:

how do i get it all off and removed so i can reinstall?????
Quote:

i have downloaded the ubuntu 9.04 again.
No need to reinstall just because you (as of yet) do not know how to remove (or add, for that matter) software in Ubuntu.
Quote:

is it possible to just wipe everything except for my pictures and music to start all over?
No - not easily. Unless you made a separate partition for your ~/home directory, where all those files probably are.
(...you would not ask if you had done this or equivalent, therefore: no)

One important hint - which you may have found out by yourself by now:
Ubuntu's (graphical) package manager is called synaptic - and is easily accessible via your panel (under "System" I think).
You want to use it to remove/add/upgrade software.

What is more important:
wine installs all programs and data you install using it ... in your home directory.
In a directory called ~/.wine (with a dot in front - a hidden directory)
Just delete this directory

/home/<username>/.wine/
not!
/home/<username>/ ;)

and all its contents and you are back to zero and can try once again.

Quote:

wtf is that?
apart from: please watch your language
...I'm surprised that yum was even installed - though not working for the task, because it is the tool used by RH/fedora.
"apt-get" is the command-line equivalent to it in Ubuntu - for a GUI: use synaptic

richard.donavan 10-22-2009 07:01 AM

i thought i was watching my language by stating it as wtf, and not bluntly saying "what the fuck"??
just a thought. and why is it that people have to be snotty, as if i am supposed to know everything.
don't be a dick dude. some of us might not be as smart as you old linux people , but at least we
are trying this stuff out.

jomen 10-22-2009 07:03 AM

It is called irony - I think.
And was supposed to be friendly, too.

That and all else above aside - hope the essence of it helped you.

Help, I suppose, was what you where looking for...

SethsdadtheLinuxer 10-22-2009 08:45 AM

try this link
http://brainstorm.ubuntu.com/idea/9084/

richard.donavan 10-22-2009 08:54 AM

ok ok. so let me get this straight. synaptic package manager should be able to remove the program.
i tried that, it removed, or it didnt, i dont know because it is still showing in my apps menue.
i have the program "kleansweep", i was told by an offline friend that it may work, but of course there was
no other instructions.

i am vaguely familiar with the terminal, but as for the commands you might as well be speaking greek.
so if you could turn that greek into english. i would think that instead of typing <username> i should be typing my name.
but i cant get a command that works

richard@richard-donavan:~$ /home/richard-donavan/.wine
bash: /home/richard-donavan/.wine: No such file or directory
richard@richard-donavan:~$ .wine
bash: .wine: command not found
richard@richard-donavan:~$ remove /home/richard-donavan/.wine
bash: remove: command not found
richard@richard-donavan:~$ /home/<richard-donavan>/ .wine
bash: richard-donavan: No such file or directory

Wim Sturkenboom 10-22-2009 09:06 AM

jomen did not give the commands to delete, just the directory.

Code:

cd /home/richard-donavan/.wine
rm -rf *

Please make absolutely sure that the prompt indicates that you are in the wine directory before running the second command. This second command is dangerous if you run it in the wrong directory !!

Explanation
The first command changes the directory to the wine directory in your home directory. The second command removes all content from that directory and subdirectories.

jomen 10-22-2009 09:40 AM

additional explanation:

This removes all programs you installed through wine - such as poker and pinball, which you mentioned.
It also removes any configuration files for wine - which gives you the opportunity for a fresh start.

Of course you can use your graphical filemanager (nautilus) for that instead of the terminal - set the "view" to show the hidden files and directories, which will probably be disabled at default...

It does not remove "wine" itself.
This you do through the package manager "synaptic" - you say you already did that.
(which will remove the program, but will leave your /home/richard-donavan/.wine directory intact - If you want to remove every trace, you have to do both steps: remove the program and remove the directory /home/richard-donavan/.wine)


Unfortunately I don't know how to remove the programs entries in the menu and desktop icons for them, which may have been created.
I only know that these will probably stay even after deinstalling wine completely, unless recreation of menus is forced somehow.
That is a gnome-configuration thing and someone else might know how to do it.

Anyone knows?

[edited]
BTW: "kleansweep" is certainly not! what you want or need - it has a wholly different purpose.

richard.donavan 10-23-2009 07:09 PM

still i cannot get the directory. so far no commands have worked.
richard@richard-donavan:~$ cd /home/richard-donavan/.wine
bash: cd: /home/richard-donavan/.wine: No such file or directory
i know its there still. because when i re-install wine i keep having the same issues.
everything still looks like crap, the windows are too small and the text is too big

jomen 10-24-2009 03:37 AM

so, this command actually does not give any output?:
Code:

ls -al /home/richard-donavan/ | grep wine
It will list your whole $HOME directory and looks for filenames/directorynames starting with or containing the string "wine" and only prints these matches.
...in case you did not spot it, the machine will not miss it...

If it is not there - something is wrong.
The next step might fix it.

If it is there, the next step is to run:
Code:

winecfg

After that some fonts might be to install - not neccesary in my experience, since wine will use the ones I have installed.
But not everyone has the ones some windows programs want to look good.

Lets see how it goes up until here.


This might help too:

https://help.ubuntu.com/community/Wine
and of course this:
http://www.winehq.org/site/docs/wineusr-guide/index


All times are GMT -5. The time now is 07:09 PM.