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
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/etc/apt/sources.list
file here then. Also please use code formatting for this in your question. – Byte Commander May 31 '19 at 22:31deb-src https://archive.Ubuntu.com/Ubuntu
todeb-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