LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 09-21-2016, 08:37 PM   #1
cahoman
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, 08:40 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
As root, edit the /etc/apt/sources.list file and remove or remark out the problem entry, then test.
 
Old 09-22-2016, 06:10 AM   #3
TxLonghorn
Member
 
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 06:16 AM.
 
Old 10-03-2016, 04:25 AM   #4
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 388
Blog Entries: 9

Rep: Reputation: 88
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.
 
  


Reply


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 04:45 PM
[SOLVED] Synaptic package manager won't open due to faulty package nine9nine Linux - Software 7 09-15-2011 07:30 PM
[SOLVED] Difference Between Synaptic Package Manager and Update Manager nasser019 Linux - Software 1 07-20-2010 07:12 AM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 06:33 PM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

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

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