Results 1 to 7 of 7

Thread: Error installing Wine in Ubuntu 20.10

  1. #1
    Join Date
    Jan 2021
    Beans
    7

    Exclamation Error installing Wine in Ubuntu 20.10

    Hi,

    I installed ubuntu 20.10 on my laptop recently. I downloaded the steam client from the ubuntu store and it works fine. When I tried to install wine, it failed. I read in the comments section that following the procedure on wine's website worked. (https://wiki.winehq.org/Ubuntu)

    When I try to add the wine repository, I get an error.
    Code:
    sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/groovy main'
    E: Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_groovy-groovy.list (Component)
    E: The list of sources could not be read.

    Any ideas on how to fix this would be helpful because it shows up every time I power on my computer.

    Thanks.
    Last edited by abinav-shankar; February 28th, 2021 at 11:36 AM.

  2. #2
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: Error installing Wine in Ubuntu 20.10

    The error is
    Code:
    sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
    the missing space after "ubuntu/"

    Now, why didn't you install Wine from the official repositories? What were the errors?
    And what does Steam have to do with anything? It doesn't need nor uses Wine directly.

  3. #3
    Join Date
    Jan 2021
    Beans
    7

    Re: Error installing Wine in Ubuntu 20.10

    I get the same error even with space after ubuntu.

    I tried to install wine from the ubuntu software centre. It failed and I don't remember the error. There was a review saying it installs without error when the procedure from the website is followed. Now, it no longer shows up in my software centre.
    I used ubuntu a long time ago when wine was needed to play some steam games. I don't think it is needed anymore. But the error keeps annoying me.

  4. #4
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: Error installing Wine in Ubuntu 20.10

    Wine was never needed to play Steam games that are native. Playing Windows games required not only Wine but also Steam for Windows installed with Wine. It is indeed no longer necessary due to Proton.

    Installing Wine from the official repositories is as easy as
    Code:
    sudo apt install wine
    The error you keep seeing is due to the wrong URL in your first command. YUou can easily remove the wrong PPA in Software & Updates > Other software. Using the correct command to add the correct PPA does not fix or remove the wrong one.

  5. #5
    Join Date
    Jan 2021
    Beans
    7

    Re: Error installing Wine in Ubuntu 20.10

    That fixed it. Thanks!

  6. #6
    Join Date
    Jul 2013
    Beans
    86

    Re: Error installing Wine in Ubuntu 20.10

    The "read this before asking questions" says

    "First, install Wine by going to Applications->Add/Remove. Search for Wine and select it."

    In Ubuntu 20.04 LTS, that returns "No results found".

    sudo apt install wine

    works.

  7. #7
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Error installing Wine in Ubuntu 20.10

    the search engine in these software repository GUI is strange (also in Kubuntu).

    synaptics is old but good package manager. Muon on Kubuntu is also better at finding things that Discover.

    In the OP case they are using a Steam game, for that proton does a much better job and is easier to install and manage.
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Full disk backup (newer kernel -> suitable for newer PC): Clonezilla
    User friendly full disk backup: Rescuezilla

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •