Choose style:

Author Topic: Simplest fix I have found for sources list, or apt errors.  (Read 334 times)

0 Members and 1 Guest are viewing this topic.

Offline pdvossen11

  • Newly Subscribed
  • *
  • Posts: 9
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
I you have an apt error that seems just frustratingly difficult to fix, with various source list errors. This fix is the simplest fix I have found, and I have used many through the years.
Use these three commands in this order. It should put you back in business and get you back to your default sources list. Then I would highly recommend using Timeshift as your default
backup program. I have used many, but this one is simple, fast and just works. With it in place, whatever your issue you can go back to where you were. A once a week  or other week backup
should be sufficient.

Code: [Select]
sudo mv /etc/apt/sources.list ~/

Code: [Select]
sudo touch /etc/apt/sources.list 

Code: [Select]
« Last Edit: July 26, 2019, 02:01:20 am by zebedeeboss »

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3230
  • Karma: 616
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: Simplest fix I have found for sources list, or apt errors.
« Reply #1 on: July 26, 2019, 02:04:03 am »
Hi pdvossen11,

Thank you for your post.

You need to encapsulate the terminal output with the Insert, Code # function.  For extra long outputs, please use the Spoiler, Sp function.  If youíre a Chromium Browser and/or a Google Chrome user, please don't combine these functions.  For some reason, they donít work well together with these browsers.  The formatting gets all goofed up.  Only use one or the other  ;).  These forum functions preserve the original format of the output.  This makes it easier for future visitors to relate to their own issues.  These functions are found in the forum editor, above the,  :-[ Embarrassed and  the :'( Cry emoticon respectively.  Use the Preview button to check how it'll look after you post it to forum.  I hope this helps  ;).

I've done this for you this time.  Many thanks  :)

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

P10r x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k