Problem istalling on Ubuntu 16.04

Questions about Wine on Linux
Locked
ausrpned
Newbie
Newbie
Posts: 2
Joined: Fri Aug 17, 2018 2:26 am

Problem istalling on Ubuntu 16.04

Post by ausrpned »

Has tried some variations but am stopped in each case by the errors shown.

Any clues?
Cheers

$ sudo apt-key add Release.key
[sudo] password for :
OK
$ sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/xenial main'
$ sudo apt-get install --install-recommends winehq-stable
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.

$ sudo apt-get install winehq-stable
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.

$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
$ sudo apt-get install winehq-stable
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.



$ sudo apt-key add Release.key
[sudo] password for:
OK
$ sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
$ sudo apt-get clean
$ sudo apt-get --download-only install winehq-devel
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.

$ sudo apt-get --download-only dist-upgrade
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 56 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
$
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problem istalling on Ubuntu 16.04

Post by dimesio »

$ sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/xenial main'
'
The second line is an alternative syntax needed only for Linux Mint. If you are on Ubuntu, you should not have added it. If you are on Mint, you should not have added the first line.

Edit /etc/apt/source.list and delete the line you should not have added.
ausrpned
Newbie
Newbie
Posts: 2
Joined: Fri Aug 17, 2018 2:26 am

Re: Problem istalling on Ubuntu 16.04

Post by ausrpned »

Thanks will try again.
Cheers
Locked