Results 1 to 2 of 2

Thread: Problems trying to install Wine Staging on Ubuntu 18.10

  1. #1
    Join Date
    May 2014
    Beans
    6

    Question Problems trying to install Wine Staging on Ubuntu 18.10

    I am following a tutorial so that I can get World of Warcraft installed on my Ubuntu 18.10 install. The instructions I am following say to install Lutris which is wanting me to enable and install Wine Staging and links to the Wine Wiki page. But I a keep getting an error trying to add the repository and have not figured out yet what the problem is. It is beyond me and I guess my google search terms have not been good enough to deliver an answer.

    Here is what I have done:

    sudo dpkg --add-architecture i386
    wget -nc https://dl.winehq.org/wine-builds/winehq.key
    sudo apt-key add winehq.key

    What is not working for me:

    Sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'

    The result:

    E: Malformed entry 58 in list file /etc/apt/sources.list (Component)
    E: The list of sources could not be read.


    Here is the Wine section of my sources.list file:

    # see the sources.list(5) manual.
    deb https://dl.winehq.org/wine-builds/ubuntu/cosmic main

    # deb-src https://dl.winehq.org/wine-builds/ubuntu/cosmic main
    deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main main/ main./
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main./
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main/
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main./
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic main/
    deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic/main
    # deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmic/main

    If my counting is correct, I believe line 58 is line 2 of the above output. What am I doing wrong?

  2. #2
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,430
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Problems trying to install Wine Staging on Ubuntu 18.10

    You don't need all those entries, and several of them are malformed - I'd guess from repeated invocations from the command line.

    Code:
    deb https://dl.winehq.org/wine-builds/ubuntu cosmic main
    
    # deb-src https://dl.winehq.org/wine-builds/ubuntu cosmic main
    should do it. Note the space before cosmic and that it doesn't say main 3 times.

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
  •