Malformed entry 2 Solved

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
slinger1953
Level 4
Level 4
Posts: 219
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Malformed entry 2 Solved

Post by slinger1953 »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
LM19 Tara 64 Bit Mate 1.20.1
Acer AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G x 4
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Malformed entry 2

Post by catweazel »

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.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
slinger1953
Level 4
Level 4
Posts: 219
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 »

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:~$
LM19 Tara 64 Bit Mate 1.20.1
Acer AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G x 4
gm10

Re: Malformed entry 2

Post by gm10 »

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 4
Level 4
Posts: 219
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 »

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:~$
LM19 Tara 64 Bit Mate 1.20.1
Acer AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G x 4
gm10

Re: Malformed entry 2

Post by gm10 »

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 4
Level 4
Posts: 219
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 »

Sorry, I'll do a restart.....
LM19 Tara 64 Bit Mate 1.20.1
Acer AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G x 4
User avatar
slinger1953
Level 4
Level 4
Posts: 219
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 »

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
LM19 Tara 64 Bit Mate 1.20.1
Acer AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G x 4
gm10

Re: Malformed entry 2

Post by gm10 »

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 4
Level 4
Posts: 219
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2

Post by slinger1953 »

Thanks again, I'll save that somewhere just in case.
LM19 Tara 64 Bit Mate 1.20.1
Acer AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G x 4
gm10

Re: Malformed entry 2

Post by gm10 »

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 4
Level 4
Posts: 219
Joined: Wed Mar 02, 2016 11:03 am
Location: London, England

Re: Malformed entry 2 Solved

Post by slinger1953 »

o.k., thanks :-)
LM19 Tara 64 Bit Mate 1.20.1
Acer AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G x 4
Locked

Return to “Software & Applications”