Uninstall wine

winix Posted messages 1486 Status Member -  
winix Posted messages 1486 Status Member -
Hello,
I'm having some issues with Wine that I'd like to get rid of, as I'm unable to install updates, it bugs out, and then it...
Anyway!
I want to uninstall it, but when I type the command:
sudo apt-get remove --purge wine


it responds:
Unable to lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it


I tried to uninstall it in the manager, but it's still there...
So does anyone know how to get rid of Wine, please?
Configuration: Linux Firefox 3.0.4

2 answers

  1. Grunt Posted messages 2845 Status Contributor 301
     
    "Unable to lock the administration directory (/var/lib/dpkg/), is another process using it"

    When you enter your command, you must have the package manager open.

    And there can't be two programs managing the installed software at the same time, otherwise it may cause problems.

    Close the manager before running the command line.

    You can also just delete the "user" configuration of wine, it's the folder "~/.wine". Be careful, it also contains the installed software (you delete the virtual Windows by deleting ~/.wine).
    0
    1. winix Posted messages 1486 Status Member 13
       
      Hi!
      Sorry for the delay in responding, but I couldn't do it earlier...
      Well, actually, everything that's installed on it isn't working, and I haven't been able to update since I installed it...

      When you type your line, you should have the package manager open.
      Regarding that, there's something I’d like to know, if you can help me?
      How do we know when a program is running in non-interactive mode?
      Because yesterday, that's what happened with the manager;
      Ubuntu told me that I couldn't open the manager because it was already open in non-interactive mode...

      It's been quite a while since I last opened Linux, and since I was just starting out, I've forgotten everything; I don't really remember how Linux works...
      0
  2. winix Posted messages 1486 Status Member 13
     
    I add something I just received after an update:
    <code>W: GPG error: http://wine.budgetdedicated.com hardy Release: The following signatures could not be verified because the public key is not available: ....etc/code>

    What is that actually?
    0
    1. Grunt Posted messages 2845 Status Contributor 301
       
      This means that the repository is not digitally signed by your distribution.

      To put it simply, each GNU/Linux distribution authenticates its software sources to prevent malicious software from being installed.
      And the Wine repositories are not authenticated. You must add the key that signs them yourself, if you trust them, of course.
      0
      1. winix Posted messages 1486 Status Member 13 > Grunt Posted messages 2845 Status Contributor
         
        In plain terms, do I need to go to the Wine website and provide the activation key that Ubuntu gives me when it shows an error like this??

        And I still can't get rid of this program (Wine)
        I did something like:
        sudo aptitude remove wine

        It started an uninstallation, but Wine is still there...
        0
      2. Franzux Posted messages 9705 Status Contributor 1 146 > winix Posted messages 1486 Status Member
         
        Have you installed Wine via the package manager?
        --
        Intel Q6600 Ubuntu 8.10//Debian Lenny//Gentoo
        On Linux, 99% of the bugs are between the keyboard and the chair...
        0
      3. winix Posted messages 1486 Status Member 13 > Franzux Posted messages 9705 Status Contributor
         
        euheuheuh...I don't really remember, but I think I installed it on the terminal.
        It was on the package manager and I removed it yesterday, but it's still there!

        Isn't there some kind of magic trick that could make this thing disappear for good? :-)
        0