Ubuntu Studio Malformed entry 60 in list file

Questions about Wine on Linux
Post Reply
grishnish
Newbie
Newbie
Posts: 2
Joined: Thu Oct 08, 2020 4:55 pm

Ubuntu Studio Malformed entry 60 in list file

Post by grishnish » Thu Oct 08, 2020 5:15 pm

Installing WINE in Ubuntu Studio 20.04 (focal), immediately after upgrading from 19.10:

Add architecture i386
wgnet -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/focal main'

E: Malformed entry 60 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.

I've seen similar issues in the forums, but the answers seem to be very specific to the distribution, and I feel like if I start "tinkering" I'll make what might be a simple fix much more complicated.
Any help is appreciated.

User avatar
dimesio
Moderator
Moderator
Posts: 12852
Joined: Tue Mar 25, 2008 10:30 pm

Re: Ubuntu Studio Malformed entry 60 in list file

Post by dimesio » Fri Oct 09, 2020 7:32 am

grishnish wrote:
Thu Oct 08, 2020 5:15 pm
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/focal main'
Wrong. That should be

Code: Select all

 sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' 
(note the space between ubuntu/ and focal)
E: Malformed entry 60 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
Edit that line in your /etc/apt/sources.list.

grishnish
Newbie
Newbie
Posts: 2
Joined: Thu Oct 08, 2020 4:55 pm

Re: Ubuntu Studio Malformed entry 60 in list file

Post by grishnish » Fri Oct 09, 2020 7:51 am

Sorry, I caught that mistake when I ran into the same error previously, added the space, and got the same error.
If it adds any fidelity to the issue: I get the same error with and without the space. I also get the same error with the space, and replacing dl. with d1. (just in case I mis-read it).
Knowing barely anything about Ubuntu, I find it odd that I'd get the exact same error with this variation.
Thank you very much for your reply!

User avatar
dimesio
Moderator
Moderator
Posts: 12852
Joined: Tue Mar 25, 2008 10:30 pm

Re: Ubuntu Studio Malformed entry 60 in list file

Post by dimesio » Sat Oct 10, 2020 7:07 am

Did you edit your /etc/apt/sources.list? The "malformed entry" message means there's still a typo in that file. Possibly it's unrelated to Wine and came from something else you tried to add, but you will keep getting it until you fix it in the file.

Post Reply