no way to use /etc/apt/sources.list

Post issues, bugs, and feature requests about the various WineHQ websites to this forum.
Locked
sehrguey
Newbie
Newbie
Posts: 2
Joined: Fri Dec 18, 2015 1:13 pm

no way to use /etc/apt/sources.list

Post by sehrguey »

hi all,
in a try to install Wine on stretch, I reached as far as https://wiki.winehq.org/Debian
and followed the steps in the instruction up to

Code: Select all

sudo apt-get update
which resulted in
E: Malformed entry 17 in list file /etc/apt/sources.list (Suite)
E: The list of sources could not be read.
another try

Code: Select all

apt-get update
E: Malformed entry 4 in list file /etc/apt/sources.list.d/google-chrome.list (Suite)
E: The list of sources could not be read.
both "malformed entries" were copy-pasted from the https://wiki.winehq.org/Debian
could you help me get out of the maze?

yours`
sehrguey
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: no way to use /etc/apt/sources.list

Post by dimesio »

sehrguey wrote: both "malformed entries" were copy-pasted from the https://wiki.winehq.org/Debian
The wiki instructions say:
Next add the repository to /etc/apt/sources.list or create a *.list under /etc/apt/sources.list.d/ with the following content:

Code: Select all

deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
with DISTRO being either wheezy, jessie, stretch, buster or sid
So if you just copy-pasted without substituting the appropriate version for DISTRO, that's your problem.
Locked