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 read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
keeferrandy

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

Post by keeferrandy »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
philotux

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

Post by philotux »

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.
Locked

Return to “Gaming”