Cannot update through synaptic or cli

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
Aging Technogeek

Re: Cannot update through synaptic or cli

Post by Aging Technogeek »

Check your sources list. Run the code below in terminal, enter your password at the prompt, and a window will open displaying the sources list.

Code: Select all

 sudo gedit /etc/apt/sources.list
Be careful when the sources list is open because the editor will be active. Any changes may be permanently installed when the window is closed.

If this list was corrupted or erased by the power surge and loss, you will not be able to use mintUpdate, mintInstall, Synaptic Package Manager, or apt-get.
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.
Aging Technogeek

Re: Cannot update through synaptic or cli

Post by Aging Technogeek »

steve;

What we cah do is something that worked recently for another similar problem. My sources list is posted here

http://forums.linuxmint.com/viewtopic.p ... &sk=t&sd=a

You can replace your corrupt list using the sudo gedit command I posted earlier. Just clear your current list and copy and paste my list in its place. It worked there, it should work here. Remember to save the new sources list before you close the window.
Locked

Return to “Beginner Questions”