Problems with "additional-repositories.list" when installing Wine

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post please read how to get help
Post Reply
keeferrandy
Level 1
Level 1
Posts: 1
Joined: Sat Nov 17, 2018 4:25 pm

Problems with "additional-repositories.list" when installing Wine

Post by keeferrandy » Sat Nov 17, 2018 4:36 pm

While trying to install Wine on a fresh install of Mint 19, I ran into an issue with adding the right repository and now when I try sudo apt-get update It gives me

Code: Select all

E: Type 'bionic' is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.list
E: The list of sources could not be read.
I tried changing that file, but denies me access as I'm not root. Tried chmod, and gedit, but apparently I just keep running into the same wall. Thanks for your help.

philotux
Level 3
Level 3
Posts: 118
Joined: Sat Jul 21, 2018 11:14 am

Re: Problems with "additional-repositories.list" when installing Wine

Post by philotux » Sat Nov 17, 2018 5:51 pm

Copy, paste and run the following line in a terminal:

Code: Select all

xed admin:///etc/apt/sources.list.d/additional-repositories.list
Correct what is wrong in the first line, save the file and try updating again.

edit: correction of the command line above adding the missingxed. Thanks to the forum member who brought this to my attention.

Post Reply

Return to “Gaming on Linux Mint”