Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Linux Mint This forum is for the discussion of Linux Mint.


  Search this Thread
Old 09-21-2016, 09:37 PM   #1
LQ Newbie
Registered: Sep 2016
Posts: 1

Rep: Reputation: Disabled
I mistakenly mis-configured Synaptic Package Manager - how do I reset

I was trying to add jessie-backports repository to the existing Synaptic Package manager on my Mint v18 (which I know I did in error) and even though it gave me some error messages, it apparently submitted. When I reran the Synaptic Software Manager, it now gives me the following error message:

E: Malformed entry 2 in list file /etc/apt/sources.list.d/additional-repositories.list (Suite)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

Also now when I start the Mint "Software Manager" after authenticating, it "goes away" without any error message or description. I think this condition and the Synaptic Package Manager error are related.

I do I reset my Package Manager to what I had before I made this mistake?
Old 09-21-2016, 09:40 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,290
Blog Entries: 24

Rep: Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903
As root, edit the /etc/apt/sources.list file and remove or remark out the problem entry, then test.
Old 09-22-2016, 07:10 AM   #3
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
frankbell's advice is fine - except that the file to edit is /etc/apt/sources.list.d/additional-repositories.list (as noted in the error message).
But one thing to try is to open the Software Sources program.
Menu > Administration > Software Sources
and click the button at the bottom that says "Restore the default settings"
I am not 100% positive that will fix the additional-repositories.list
It may just reset the /etc/apt/sources.list.d/official-package-repositories.list
But you can still use the Software Sources program to delete the offending entries. Click on "Additional repositories" and uncheck the ones you don't want. Then click the "Update the cache" button.

Last edited by TxLonghorn; 09-22-2016 at 07:16 AM.
Old 10-03-2016, 05:25 AM   #4
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 378
Blog Entries: 8

Rep: Reputation: 87
that "Restore the default settings" is the best option,
& will reset the list back to it's defaults,
which should fix the additional-repositories.list. .. ..

it's also probably the preferred method, as well.
- rather than editing /etc/apt/sources.list.d - - that is.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Manager , Synaptic package manager & dpkg: warning error massage sa3paleasm Linux - Software 1 08-07-2013 05:45 PM
[SOLVED] Synaptic package manager won't open due to faulty package nine9nine Linux - Software 7 09-15-2011 08:30 PM
[SOLVED] Difference Between Synaptic Package Manager and Update Manager nasser019 Linux - Software 1 07-20-2010 08:12 AM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 07:33 PM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 10:30 AM > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration