LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2007, 09:35 AM   #1
hopeful convert
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
synaptic blank


Okay, so I'm dumb. I was adding new repository in synaptic, and I looked over and there were a few channels refering to Sarge. I thought, well, I'm using etch now, I don't need those and removed them. Now, Synaptic won't load anything up. This is the message it gives me. I've searched around but haven't found anyone that has done the same thing. Could anyone help me get it going again, or point me to a posting I've missed.

E: Dynamic MMap ran out of room
E: Error occurred while processing paul (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/http.us.debian.org_debian_dists_sarge_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Thank you
 
Old 06-24-2007, 12:00 PM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
*Open your terminal

*Become root:
Code:
su
*Open /etc/apt/apt.conf.d/70debconf:
Code:
gedit /etc/apt/apt.conf.d/70debconf
and add:
Quote:
APT::Cache-Limit 12582912;
*Run "apt-get update" (or do this in synaptic) and see if that solved it...

EDIT: I forgot the ";" at the end of APT::Cache-Limit

Last edited by jens; 06-24-2007 at 06:23 PM.
 
Old 06-24-2007, 01:32 PM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by hopeful convert
Okay, so I'm dumb. I was adding new repository in synaptic, and I looked over and there were a few channels refering to Sarge. I thought, well, I'm using etch now, I don't need those and removed them. Now, Synaptic won't load anything up. This is the message it gives me. I've searched around but haven't found anyone that has done the same thing. Could anyone help me get it going again, or point me to a posting I've missed.

E: Dynamic MMap ran out of room
E: Error occurred while processing paul (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/http.us.debian.org_debian_dists_sarge_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Thank you
Additionally to what jens suggested, you might just need to google for etch mirrors and then add them - /etc/apt/sources.list is where you'd need to add any additional sources that you want to use.

Whichever way, you will probably still need to run the updating facility i.e. su to root and then it's just
Code:
apt-get update
regards

John
 
Old 06-24-2007, 06:03 PM   #4
hopeful convert
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
okay, I tried what you both said. ended up with this error message as soon as i try to open synaptic. I'm assuming I typed it in wrong, but can see where.

E: Syntax error /etc/apt/apt.conf.d/70debconf:6: Extra junk at end of file

This is what the file now looks like:

/ Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};

APT::Cache-Limit 12582912

Thank you for your time.
Marc
 
Old 06-24-2007, 06:18 PM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by hopeful convert
okay, I tried what you both said. ended up with this error message as soon as i try to open synaptic. I'm assuming I typed it in wrong, but can see where.

E: Syntax error /etc/apt/apt.conf.d/70debconf:6: Extra junk at end of file

This is what the file now looks like:

/ Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};

APT::Cache-Limit 12582912

Thank you for your time.
Marc
Hum? weird.

Ok, so maybe you could post your /etc/apt/sources.list ? it should look something like this
Quote:
deb http://ftp.nl.debian.org/debian/ sid main contrib non-free
#deb-src http://ftp.nl.debian.org/debian/ sid main contrib non-free

#deb http://ftp.nl.debian.org/debian/ testing main
#deb-src http://ftp.nl.debian.org/debian/ testing main

#deb http://ftp.nl.debian.org/debian/ experimental main
#deb-src http://ftp.nl.debian.org/debian/ experimental main

deb http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free
#deb-src http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free
deb http://deb.opera.com/opera sid non-free

deb http://www.debian-multimedia.org sid main
It won't be exactly the same, as thats what mine looks like for my sidux install - yours might have lots of notes in it, but there should be a section that looks like mine possibly with some lines commented out (the ones with a # in front). The important bit should be in the same format though.

If it doesn't look like that, then you can always google for etch sources.list, there should be some quoted/posted that you can copy for your system/location/mirrors that you want to try (you might notice that although I'm in the UK, I'm using the Dutch mirrors, because the UK ones are often slower than the Dutch or German ones - you'd have to try the ones near you - again, google is your friend).

regards

John
 
Old 06-24-2007, 06:21 PM   #6
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by hopeful convert
okay, I tried what you both said. ended up with this error message as soon as i try to open synaptic. I'm assuming I typed it in wrong, but can see where.

E: Syntax error /etc/apt/apt.conf.d/70debconf:6: Extra junk at end of file

This is what the file now looks like:

/ Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};

APT::Cache-Limit 12582912

Thank you for your time.
Marc
Oops I missed a ";"
Quote:
APT::Cache-Limit 12582912
should be:
Quote:
APT::Cache-Limit 12582912;
with a ; at the end.
 
Old 06-24-2007, 09:42 PM   #7
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
one time somthing like this happened and so I launch Aptitude and cleared the cache and updated it, and it fixed everything
 
Old 06-25-2007, 12:57 PM   #8
hopeful convert
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
okay, been sick lately, and my head cleared a bit this morning... I just commented out two lines that kind of looked like the error messages and now synaptic looks fine.
the two below were a problem...the first one was a mirror I tried to add to fix and the second i think was the original offending line. I think... If anyone sees anything hinky please let me know. Otherwise I think its all good to go...

Thank you all for your help

#


deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1 20070407-11:29]/ etch contrib main
# (this one) deb http://mirrors.kernel.org/debian etch main contrib
deb http://ftp.us.debian.org/debian/ etch main
deb-src http://ftp.us.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

deb http://ftp.uk.debian.org/debian testing main
deb http://www.debian-multimedia.org/ stable main
deb http://www.kiberpipa.org/~minmax/cin...ilds/athlonxp/ ./
# (this one) deb http://http.us.debian.org/debian/ sarge main
deb http://security.debian.org/ sarge/updates main
deb http://code.campware.org/ubuntu dapper main
# deb http://ftp.debian.org sarge main
 
Old 06-26-2007, 03:58 PM   #9
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Hum ? Well if it's working OK then what the hell, go with it.

It did get me thinking though i.e. what the point of having a listing for etch main as well as sarge main {edit}but then I paid attention to what you'd got commented out{/edit}. I'm thinking along the lines that there might be something conflicting???

I mean, in the example that I posted, all of the "live" entries (the non commented ones) are for Sid, even the opera one. As far as I can tell, it's pretty much vanilla, from what was installed when I last installed my sidux (which was originally just upgraded kanotix - but then I had to run a re-install after a hard drive failure).

Looking at the one you've posted, you have the US "main" for etch, but then the UK "main" for testing, plus the multimedia for stable. Might your problem just be that you're actually trying to do much mix 'n match ???

Dunno. I'm guessing that someone more knowledgeable that me, will be able to suggest a refinement or two.

regards

John

Last edited by bigjohn; 06-26-2007 at 04:00 PM.
 
  


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
Synaptic Error. Nothing shows up in synaptic because of error! randell6564 Ubuntu 1 04-16-2007 10:19 PM
synaptic angelus_kit *BSD 3 12-19-2006 07:22 AM
Synaptic Gui ver on Suse 10.0 - error message : "command synaptic not found" suse2166 Linux - Newbie 6 04-04-2006 02:58 AM
Synaptic Jeff_Eklund Mandriva 7 05-12-2005 04:06 PM
Replace blank/almost blank lines in file Wynd Linux - General 3 01-27-2004 05:49 PM


All times are GMT -5. The time now is 07:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration