1

I was following the instructions on the https://wiki.winehq.org/Ubuntu for winehq installation. When I executed

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

a blank line appeared with no response and it brought me back to the input line. I thought maybe it worked and then I executed sudo apt update and it said

Malformed entry 6 in list file /etc/apt/sources.list (component). 

Can anyone help?

deb-src https://archive.Ubuntu.com/Ubuntu   xenial-security main restricted universe multiverse

Also if I may add I am running a chroot

Terrance
  • 41,612
  • 7
  • 124
  • 183
  • Can you please [edit] your question and include the output of grep -vE '^(#.*)?$' /etc/apt/sources.list? That shows all non-empty and not commented lines of this file. – Byte Commander May 31 '19 at 22:15
  • I'm sorry im new to this kind of stuff so can you explain what you want me to do? – Shubh Singh May 31 '19 at 22:16
  • Just copy that command above in a terminal, run it, and copy its output to paste it here into your question again. – Byte Commander May 31 '19 at 22:17
  • I got that and I inputted again and got noting back – Shubh Singh May 31 '19 at 22:29
  • Weird. Just paste the whole content of your /etc/apt/sources.list file here then. Also please use code formatting for this in your question. – Byte Commander May 31 '19 at 22:31
  • Change the line from deb-src https://archive.Ubuntu.com/Ubuntu to deb-src http://archive.ubuntu.com/ubuntu then leaving the rest of that line alone. In the sources https does not work for the canonical or ubuntu lines. – Terrance May 31 '19 at 22:48

0 Answers0