0
Good morning !
I am a beginner in linux and programming, and I had a problem.
Using linux Mint 19
When installing libraries on my computer, I installed two identical repositories, and now I can’t fix.
When trying to update the packages, returns the following error "immense"
W: Target Packages (stable/Binary-amd64/Packages) is configured Multiple times in /etc/apt/sources.list. d/Additional-repositories.list:3 and /etc/apt/sources.list. d/Additional-repositories.list:4
W: Target Packages (stable/Binary-all/Packages) is configured Multiple times in /etc/apt/sources.list. d/Additional-repositories.list:3 and /etc/apt/sources.list. d/Additional-repositories.list:4
W: Target Translations (stable/i18n/Translation-pt_BR) is configured Multiple times in /etc/apt/sources.list. d/Additional-repositories.list:3 and /etc/apt/sources.list. d/Additional-repositories.list:4
W: Target Translations (stable/i18n/Translation-pt) is configured Multiple times in /etc/apt/sources.list. d/Additional-repositories.list:3 and /etc/apt/sources.list. d/Additional-repositories.list:4
W: Target Translations (stable/i18n/Translation-en) is configured Multiple times in /etc/apt/sources.list. d/Additional-repositories.list:3 and /etc/apt/sources.list. d/Additional-repositories.list:4
W: Target DEP-11 (stable/dep11/Components-amd64.yml) is configured Multiple times in /etc/apt/sources.list. d/Additional-repositories.list:3 and /etc/apt/sources.list. d/Additional-repositories.list:4
W: Target DEP-11 (stable/dep11/Components-all.yml) is configured Multiple times in /etc/apt/sources.list. d/Additional-repositories.list:3 and /etc/apt/sources.list. d/Additional-repositories.list:4
W: Target CNF (stable/cnf/Commands-amd64) is configured Multiple times in /etc/apt/sources.list. d/Additional-repositories.list:3 and /etc/apt/sources.list. d/Additional-repositories.list:4
W: Target CNF (stable/cnf/Commands-all) is configured Multiple times in /etc/apt/sources.list. d/Additional-repositories.list:3 and /etc/apt/sources.list. d/Additional-repositories.list:4
I went to the indicated repository, and while reading the Additional-repositories.list file, I identified 2 equal lines
deb https://dl.winehq.org/wine-builds/ubuntu/ Bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb [Arch=amd64] https://download.docker.com/linux/ubuntu stable tara
deb [Arch=amd64] https://download.docker.com/linux/ubuntu stable tara
deb [Arch=amd64] https://download.docker.com/linux/ubuntu Bionic
I can’t delete the duplicate line because that file is readonly. How can I resolve this?