LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt updates once (https://www.linuxquestions.org/questions/debian-26/apt-updates-once-162098/)

flashingcurser 03-25-2004 12:49 AM

apt updates once
 
I just reinstalled woody--did:

apt-setup
apt-get update
apt-get upgrade

Worked fine--then i tryed to get the package synaptec--regardless of what I do I get this message:

Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing jpilot-plugins (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_woody_m
ain_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
root@duron800:/home/dan#

I have added to debconf:

APT::Cache-Limit 10000000;

I have cleared:

/var/lib/apt/lists/

apt-get clean, autoclean, "-f install" and update

Most commands give that message right away---update after it has reached 99%


Any thoughts?

blockme 03-25-2004 02:12 AM

just a question... did you check if there is enough disc space left? i got this dynamic map error (i think) when my harddrive ran out of space.

flashingcurser 03-25-2004 07:25 AM

40 gig / partition :\

If I try to:

apt-get remove (any package name here)

The same thing comes up. :(

Thanks blockme

Any other ideas?

Pr1musr3x 03-25-2004 08:50 AM

Re: apt updates once
 
Quote:

Originally posted by flashingcurser
I just reinstalled woody--did:

apt-setup
apt-get update
apt-get upgrade

Worked fine--then i tryed to get the package synaptec--regardless of what I do I get this message:

Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing jpilot-plugins (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_woody_m
ain_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
root@duron800:/home/dan#

I have added to debconf:

APT::Cache-Limit 10000000;

I have cleared:

/var/lib/apt/lists/

apt-get clean, autoclean, "-f install" and update

Most commands give that message right away---update after it has reached 99%


Any thoughts?

Can I see your 70debconf and apt.conf files in FULL please? I can't helped BUT noticed "I have added to debconf: APT::Cache-Limit 10000000;"...70debconf SHOULDN'T be where you add the line APT::Cache-Limit 10000000...INSTEAD you should add it to your apt.conf.

Your 70debconf should have lines that correspond to something like what I have below:

// 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";};

while a typical apt.conf has these entries:
APT::Default-Release "unstable";
APT::Cache-Limit 10000000;
Apt::Get::Purge;
APT::Clean-Installed;
APT::Get::Fix-Broken;
APT::Get::Fix-Missing;

hmmm...

:Pengy:

flashingcurser 03-25-2004 01:24 PM

Yes i have a apt.conf (not with all the stuff you have--I will now though) and it does have that line in it.

It makes no difference--I've tried putting it in both places. Same results. :\

Any other thoughts?

flashingcurser 03-25-2004 01:36 PM

apt.conf

Code:

APT::Default-Release "stable";
APT::Get::Purge;
APT::Clean-Installed;
APT::Get::Fix-Broken;
APT::Get::Fix-Missing;
APT::Cache-Limit 1000000;

source.list

Code:

# See sources.list(5) for more information

#Debian
deb ftp://ftp.debian.org/debian woody main contrib non-free
#deb-src ftp://ftp.debian.org/debian woody main contrib non-free

#Debian Non-US
deb http://non-us.debian.org/ woody/non-US main contrib non-free
#deb-src http://non-us.debian.org/ woody/non-US main contrib non-free

#Debian security updates
deb ftp://security.debian.org/debian-security stable/updates main contrib non-free
#deb-src ftp://security.debian.org/debian-security stable/updates main contrib non-free

#deb ftp://ftp.cerias.purdue.edu/pub/os/debian/ stable main non-free contrib
#deb-src ftp://ftp.cerias.purdue.edu/pub/os/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb ftp://debian.uchicago.edu/debian/ stable main non-free contrib
deb-src ftp://debian.uchicago.edu/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb ftp://debian.rutgers.edu/pub/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb ftp://ftp.rutgers.edu/pub/debian/ stable main non-free contrib
deb-src ftp://ftp.rutgers.edu/pub/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

70debconf

Code:

// 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";};


Anything else?

Pr1musr3x 03-25-2004 07:56 PM

Flashingcurser, I don't understand it...why must you have a few entries for a particular archive? i.e.

Code:

code:# See sources.list(5) for more information

#Debian
deb ftp://ftp.debian.org/debian woody main contrib non-free
#deb-src ftp://ftp.debian.org/debian woody main contrib non-free

#Debian Non-US
deb http://non-us.debian.org/ woody/non-US main contrib non-free
#deb-src http://non-us.debian.org/ woody/non-US main contrib non-free

#Debian security updates
deb ftp://security.debian.org/debian-security stable/updates main contrib non-free
#deb-src ftp://security.debian.org/debian-security stable/updates main contrib non-free

#deb ftp://ftp.cerias.purdue.edu/pub/os/debian/ stable main non-free contrib
#deb-src ftp://ftp.cerias.purdue.edu/pub/os/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb ftp://debian.uchicago.edu/debian/ stable main non-free contrib
deb-src ftp://debian.uchicago.edu/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb ftp://debian.rutgers.edu/pub/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb ftp://ftp.rutgers.edu/pub/debian/ stable main non-free contrib
deb-src ftp://ftp.rutgers.edu/pub/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

Do you not see that you need only to point to one mirror for any one section that you require? i.e. For 'debian-non-US stable' just use e.g.

Code:

deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

...and for 'us stable main non-free contrib' just e.g.

Code:

deb ftp://ftp.us.debian.org/debian stable main contrib non-free
#deb-src ftp://ftp.us.debian.org/debian stable main contrib non-free

Different repositories have packages that may be updated to different degrees...some are direct mirrors but others are a few days behind...the error you encountered should NOT have occurred if your apt.conf is set up properly...I suggest you install netselect-apt and let it select your primary mirrors for you e.g. in a konsole run:

Code:

netselect-apt stable
I would suggest you comment out the source archives but that's your choice...

Here's a sample sources.list file:

Code:

# Primary
deb ftp://ftp.us.debian.org/debian stable main contrib non-free
#deb-src ftp://ftp.us.debian.org/debian stable main contrib non-free

# non-US
deb ftp://ftp.ie.debian.org/debian-non-US stable/non-US main contrib non-free
#deb-src ftp://ftp.ie.debian.org/debian-non-US stable/non-US main contrib non-free

# Security updates
deb http://security.debian.org stable/updates main contrib non-free

# Java
deb ftp://metalab.unc.edu/pub/linux/deve...own.org/debian stable main non-free



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