3

I have trouble with three of my PPAs. I stupidly installed some PPAs in order to install the newest version of Wine, not really knowing what I was doing and there is now a typo in some of them (I deleted a space character because I thought it wasn't supposed to be there). Now I can't open the software manager or install PPA purge. Using Mint 20.1.

Line 5 (and the following) in additional-repositories.list:

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

What I get in the terminal when I try installing ppa purge or when trying to open synaptic is:

E: Malformed entry 5 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
E: Malformed entry 5 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.

Somehow I am supposed to be able to install PPA purge "manually". But I don't want to break anything more than I already have :) So I am asking for HELP! Please! :)

Thanks!

UPDATE: I managed to correct the files, adding a space where it belongs. That allowed me to install PPA purge and open the software center again, yay!

Now I want to get rid of the PPAs: I understood using purge is best. but when I insert sudo ppa-purge ppa:wine-builds it doesn't work. Is that the correct PPA name?

11
  • So how does that "entry 5" look like in /etc/apt/sources.list.d/additional-repositories.list? – Levente Feb 24 at 19:06
  • Like this: deb dl.winehq.org/wine-builds/ubuntu/groovy main But it shoild be: deb dl.winehq.org/wine-builds/ubuntu groovy main With a blank before groovy – lizaaaaa Feb 24 at 19:14
  • And how does it compare to other entries in the same file? – Levente Feb 24 at 19:14
  • So add that space and see if it helps. – raj Feb 24 at 19:15
  • 2
    groovy, focal, and bionic are names for different releases. As far as I know, it's not good to have multiple releases among the sources? That may confuse the system? – Levente Feb 24 at 19:16
0

Edit /etc/apt/sources.list.d/additional-repositories.list in your terminal with

sudo nano /etc/apt/sources.list.d/additional-repositories.list

Then replace all instances of groovy and bionic and replace them all with focal. Just a thought. I hope it works!

3
  • 1
    I hope this helps, though. – Jeff Feb 24 at 19:12
  • 2
    Yes, exactly... thanks all for the many, fast replies! – lizaaaaa Feb 24 at 19:17
  • 1
    You are very welcome – Jeff Feb 24 at 19:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.