Wine Links dont usefully

Questions about Wine on Linux
Locked
olliefox
Newbie
Newbie
Posts: 3
Joined: Wed Jan 30, 2019 4:04 pm

Wine Links dont usefully

Post by olliefox »

Hello everyone.
So, I'm try uses this links sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/cosmic main'.
And terminal say:
E: Malformed entry 58 in list file /etc/apt/sources.list (Component)
E: A lista de fontes não pode ser lida.
I ever used Wine and ever work.

Thanks everyone.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine Links dont usefully

Post by dimesio »

Post the contents of your /etc/apt/sources.list.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Links dont usefully

Post by Bob Wya »

olliefox wrote:Hello everyone.
So, I'm try uses this links sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/cosmic main'.
And terminal say:
E: Malformed entry 58 in list file /etc/apt/sources.list (Component)
E: A lista de fontes não pode ser lida.
I ever used Wine and ever work.

Thanks everyone.
That command should be:

Code: Select all

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'
If you look at your pre-existing /etc/apt/sources.list file. You'll see this format throughout:

Code: Select all

deb(-src) URL RELEASE-CODENAME CATEGORY[ ... CATEGORY]
There has to be 3+ separate components, after the initial deb statement (depending on how many package categories are provided, by the repository).


Please, in future, use the forum Code tags:

Code: Select all

...
for blocks of terminal commands + output. They'll make your forum posts easier to read...

Thanks
Bob
olliefox
Newbie
Newbie
Posts: 3
Joined: Wed Jan 30, 2019 4:04 pm

Re: Wine Links dont usefully

Post by olliefox »

Bob Wya wrote:
olliefox wrote:Hello everyone.
So, I'm try uses this links sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/cosmic main'.
And terminal say:
E: Malformed entry 58 in list file /etc/apt/sources.list (Component)
E: A lista de fontes não pode ser lida.
I ever used Wine and ever work.

Thanks everyone.
That command should be:

Code: Select all

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'
If you look at your pre-existing /etc/apt/sources.list file. You'll see this format throughout:

Code: Select all

deb(-src) URL RELEASE-CODENAME CATEGORY[ ... CATEGORY]
There has to be 3+ separate components, after the initial deb statement (depending on how many package categories are provided, by the repository).


Please, in future, use the forum Code tags:

Code: Select all

...
for blocks of terminal commands + output. They'll make your forum posts easier to read...

Thanks
Bob
Dont's Work I am try than this.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine Links dont usefully

Post by dimesio »

I repeat: post the contents of your /etc/apt/sources.list.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Links dont usefully

Post by Bob Wya »

olliefox wrote:Doesn't work, I've already tried this.
@olliefox

Righteo, so we really, really do then need a dump from:

Code: Select all

cat -n /etc/apt/sources.list
as dimesio has been asking for... On multiple occasions. :roll:

If you use the xclip utility, then you can get a copy of the (line number tagged) apt sources file in your Desktop Environment clipboard:

Code: Select all

sudo apt install xclip
cat -n /etc/apt/sources.list | xclip -i -selection clipboard
then you can just CTRL-V paste the file directly, in a new forum post...

Naturally you'd also use the forum Code tags!

Code: Select all

...
Thanks
Bob
Locked