contents accidently removed from source.list file

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Ammar Shoaib
Level 1
Level 1
Posts: 1
Joined: Sat Nov 26, 2022 12:51 pm

contents accidently removed from source.list file

Post by Ammar Shoaib »

can i get a contents of sources.list file in text form for linux mint 21 cinnamon
plz send me in text file my email email removed
Last edited by LockBot on Fri May 26, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: contents accidently removed from source.list file

Post by sleeper12 »

User avatar
MiZoG
Level 8
Level 8
Posts: 2393
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: contents accidently removed from source.list file

Post by MiZoG »

/etc/apt/sources.list is empty on most recent releases of LM by default.

Main distro repos can be found in /etc/apt/sources.list.d/additional-repositories.list
If you're not sure about what you're doing, don't modify this file.

Edit: wrong paste
What Zcot says: /etc/apt/sources.list.d/official-package-repositories.list
Last edited by MiZoG on Sun Nov 27, 2022 2:41 am, edited 2 times in total.
User avatar
zcot
Level 9
Level 9
Posts: 2838
Joined: Wed Oct 19, 2016 6:08 pm

Re: contents accidently removed from source.list file

Post by zcot »

main file:
/etc/apt/sources.list.d/official-package-repositories.list

this one is not necessary, and can also be empty:
/etc/apt/sources.list.d/additional-repositories.list
Locked

Return to “Beginner Questions”