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