Malformed entry 2 Solved

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
slinger1953
Level 2
Level 2
Posts: 83
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Malformed entry 2 Solved

Post by slinger1953 » Sat Sep 22, 2018 2:24 am

I am getting the following message when I try to open a window like "Update" "Software Manager" etc.
I remember that I was getting a similar message while I was using the Terminal to install "Wine"
Any advice please?

Code: Select all

E: Malformed entry 2 in list file /etc/apt/sources.list.d/additional-repositories.list (URI parse)
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.
Thank you.
Last edited by slinger1953 on Sun Sep 23, 2018 1:16 am, edited 1 time in total.

User avatar
catweazel
Level 17
Level 17
Posts: 7747
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Malformed entry 2

Post by catweazel » Sat Sep 22, 2018 2:31 am

slinger1953 wrote:
Sat Sep 22, 2018 2:24 am
I am getting the following message when I try to open a window like "Update" "Software Manager" etc.
I remember that I was getting a similar message while I was using the Terminal to install "Wine"
Any advice please?

Code: Select all

E: Malformed entry 2 in list file /etc/apt/sources.list.d/additional-repositories.list (URI parse)
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.
Thank you.
Please post the output of this terminal command:

Code: Select all

cat /etc/apt/sources.list.d/additional-repositories.list
Enclose the results between [ⅽode] and [/ⅽode] code markers by selecting </> from the mini toolbar above the textbox where you type your reply.

Alternatively, take the plain advice in the error message.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
slinger1953
Level 2
Level 2
Posts: 83
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 » Sat Sep 22, 2018 5:30 pm

I'm sorry, I thought that I had done this earlier!

pete@pete-Aspire-TC-280:~$ cat /etc/apt/sources.list.d/additional-repositories.list

Code: Select all

deb https://dl..winehq.org/wine-builds/ubuntu/ bionic main

deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https;//dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main[code]
pete@pete-Aspire-TC-280:~$

gm10
Level 12
Level 12
Posts: 4111
Joined: Thu Jun 21, 2018 5:11 pm

Re: Malformed entry 2

Post by gm10 » Sat Sep 22, 2018 5:48 pm

What a mess. Run

Code: Select all

echo "deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main" | sudo tee /etc/apt/sources.list.d/additional-repositories.list

User avatar
slinger1953
Level 2
Level 2
Posts: 83
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 » Sat Sep 22, 2018 5:52 pm

This is the result gm10

pete@pete-Aspire-TC-280:~$ echo "deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main" | sudo tee /etc/apt/sources.list.d/additional-repositories.list
[sudo] password for pete:
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
pete@pete-Aspire-TC-280:~$

gm10
Level 12
Level 12
Posts: 4111
Joined: Thu Jun 21, 2018 5:11 pm

Re: Malformed entry 2

Post by gm10 » Sat Sep 22, 2018 5:55 pm

slinger1953 wrote:
Sat Sep 22, 2018 5:52 pm
This is the result gm10
Thx but I didn't need a result. What I gave you was the fix for your problem, you should be all good now. ;)

User avatar
slinger1953
Level 2
Level 2
Posts: 83
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 » Sat Sep 22, 2018 5:57 pm

Sorry, I'll do a restart.....

User avatar
slinger1953
Level 2
Level 2
Posts: 83
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 » Sat Sep 22, 2018 6:06 pm

gm10,
Thank you, Its brilliant, and I was thinking about doing a clean install again, thank you very much.
btw, ,Is that code similar to the Windows SFC or mscnfig or something?

Thank you again

gm10
Level 12
Level 12
Posts: 4111
Joined: Thu Jun 21, 2018 5:11 pm

Re: Malformed entry 2

Post by gm10 » Sat Sep 22, 2018 6:14 pm

You're welcome.

And the commands I gave you were just to overwrite your messed up repository list with a working one.

User avatar
slinger1953
Level 2
Level 2
Posts: 83
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 » Sun Sep 23, 2018 1:15 am

Thanks again, I'll save that somewhere just in case.

gm10
Level 12
Level 12
Posts: 4111
Joined: Thu Jun 21, 2018 5:11 pm

Re: Malformed entry 2

Post by gm10 » Sun Sep 23, 2018 3:37 am

slinger1953 wrote:
Sun Sep 23, 2018 1:15 am
Thanks again, I'll save that somewhere just in case.
Better not. That was a custom solution for this specific problem.

User avatar
slinger1953
Level 2
Level 2
Posts: 83
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2 Solved

Post by slinger1953 » Sun Sep 23, 2018 11:31 am

o.k., thanks :-)

Post Reply

Return to “Software & Applications”