LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-15-2004, 04:16 PM   #1
gaffel
LQ Newbie
 
Registered: Mar 2004
Distribution: debian sarge, 2.6.6, and ALSA finally works!!
Posts: 18

Rep: Reputation: 0
apt-get -> testing, errors processing package lists, Dynamic MMap???


I must be missing a trick somewhere, but I would really appreciate some advice on this.

I am trying to upgrade my woody system to testing.

I am following the instructions from the Debian Reference (Chapter 5)

First off, I have set my apt sources as follows:
Code:
     # cd /etc/apt
     # cp -f sources.list sources.list.old
     # :>sources.list  
     # apt-setup noprobe
then have performed
Code:
     # apt-get update
     # apt-get -t stable upgrade
     # apt-get -t stable dist-upgrade
so far so good, all working. The installed packages from my CDs are now the latest version.

Then, I have added the testing sources to my apt list, using the following from Chap 5 Debian reference:
Code:
     # cd /etc/apt
     # grep -e "^deb " sources.list  >srcs
     # :>sources.list  
     # cp -f srcs sources.list
     # sed -e "s/stable/testing/" srcs >>sources.list
     # sed -e "s/stable/unstable/" srcs >>sources.list
     # apt-get update
     # apt-get install apt apt-utils
I get as far as #apt-get update. Once I have executed this command it finished with the following error:
Code:
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
E: Error occured while processing python2.1-pgsql (NewVersion1)
E: Problem with MergeList 
/var/lib/apt/lists/debian.blueyonder.co.uk_dists_testing_main_binary_i386_Packages
E: The package lists or status file could not be parsed or opened.
Has anybody else had this problem? I have tried apt-get -f install.
Apt doesn't seem to have a problem getting the package lists, it just doesn't process them.
I am going to try shutting my system down and restarting, but do I really need to do that?


Again, any help greatly appreciated.
 
Old 07-15-2004, 04:50 PM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
The apt-pinning howto http://jaqque.sbih.org/kplug/apt-pinning.html suggests that this problem can be solved by increasing the cache size in /etc/apt/apt.conf:

APT::Cache-Limit "8388608";

Hope this helps.
 
Old 07-15-2004, 05:10 PM   #3
gaffel
LQ Newbie
 
Registered: Mar 2004
Distribution: debian sarge, 2.6.6, and ALSA finally works!!
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks

After restarting my machine I did a search on debian.org and got a similar answer. ( i know, i know, should have done that in the first place)

I will try this later and confirm it works. ( just need to find that apt.conf file, it isn't in the /etc/apt/ directory!!)

 
Old 07-15-2004, 05:33 PM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
# cp /usr/share/doc/apt/examples/apt.conf /etc/apt

You might also want to check /usr/share/doc/apt/examples/configure-index.gz:

http://olympus.het.brown.edu/cgi-bin...igure-index.gz

Last edited by Dead Parrot; 07-15-2004 at 05:43 PM.
 
Old 07-16-2004, 10:33 AM   #5
gaffel
LQ Newbie
 
Registered: Mar 2004
Distribution: debian sarge, 2.6.6, and ALSA finally works!!
Posts: 18

Original Poster
Rep: Reputation: 0
Talking

Thanks again.

Have used the example apt.conf and added in the cache-limit line.
Updated my sources and ran apt-get.
I (think) my system should now be at sarge. Still need to do a dist-upgrade, but it said that was 414 Mb, will do later when I am leaving the machine alone for a couple of hours!!

 
Old 07-16-2004, 01:30 PM   #6
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
with your favorite editor change in /etc/apt/sources.list, the word 'stable' for 'testing', save and exit.

At the prompt, as root:

apt-get update
apt-get dist-upgrade

voilá
 
  


Reply



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
"Dynamic MMap ran out of room" error when adding new apt source list hasanito Debian 25 05-27-2013 03:56 AM
Dynamic MMap ran out of room +APT bassclarinet Debian 3 12-26-2008 07:46 PM
Dynamic MMap out of room dekket Debian 6 12-25-2006 12:23 AM
Light weight word processing package satimis Linux - Software 4 08-30-2005 02:30 AM
apt-get errors E: Couldn't find package lapthorn Linux - Software 1 05-10-2004 05:33 PM

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

All times are GMT -5. The time now is 09:51 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
Open Source Consulting | Domain Registration