Malformed entry 1 during wine Installation Error

Questions about Wine on Linux
Locked
arren
Newbie
Newbie
Posts: 3
Joined: Fri Oct 11, 2024 8:40 am

Malformed entry 1 during wine Installation Error

Post by arren »

During Wine installation after running sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubunt ... my.sources I'm getting the following "error".

--2024-10-13 19:36:06-- https://dl.winehq.org/wine-builds/ubunt ... my.sources
Resolving dl.winehq.org (dl.winehq.org)... 199.232.166.217, 2a04:4e42:69::729
Connecting to dl.winehq.org (dl.winehq.org)|199.232.166.217|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘/etc/apt/sources.list.d/winehq-jammy.sources’ not modified on server. Omitting download.

As a complete newb not knowing what's going on I went ahead with sudo apt update per installation instructions https://gitlab.winehq.org/wine/wine/-/w ... ian-Ubuntu. Tracing my steps I'm seeing "Omitting download" and thinking it's pertinent for sudo apt update and sudo apt install to be successful?

E: Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-https_dl_winehq_oeg_wine-builds_ubuntu_focal-jammy.list (Component)
E: The list of sources could not be read.

The closest troubleshooting I've found is here viewtopic.php?p=136339&hilit=E%3A+Malfo ... ry#p136339, but I don't believe this is the same problem I'm facing. Guessing by the sources.list structure not only are our sources.list different but the entry 1 in mine is a blank line.

What can I do? Software Updater currently also not working as it should. Please Help?!!
Attachments
Terminal sources entry 1 blank
Terminal sources entry 1 blank
Terminal Error
Terminal Error
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Malformed entry 1 during wine Installation Error

Post by jkfloris »

It looks like something went wrong when adding the repository.
Delete the wrong file and try apt update again.

Code: Select all

sudo rm "/etc/apt/sources.list.d/archive_uri-https_dl_winehq_oeg_wine-builds_ubuntu_focal-jammy.list"
sudo apt update
arren
Newbie
Newbie
Posts: 3
Joined: Fri Oct 11, 2024 8:40 am

Re: Malformed entry 1 during wine Installation Error

Post by arren »

Ran as advised, reinstalled based on the steps in previous link and at the least software updater is running automatically now. Wine installer is listed under Open with Other Applications menu now. Thank you so much!!!
Locked