LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2008, 02:18 PM   #1
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
Aptitude giving error after "apt-get update"


I updated my package lists using
apt-get update

Now aptitude is giving me this problem.
I tried repeating the above command but to no avail.

what should i do?


Code:
Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing libkrb53 (NewVersion1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
 
Old 03-21-2008, 02:37 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
http://vdachev.net/blog/2006/11/13/a...n-out-of-room/

Oh, and typically you should just use aptitude all the time as it is superior to apt-get. Just run aptitude update instead of apt-get update and aptitude install foobar instead of apt-get install foobar.
 
Old 03-21-2008, 04:56 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Read all the comments on the post pjvaldez linked. The real problem is probably that your sources.list file is a mess, and while increasing the cache is an ugly, ugly hack that will probably work, studying the apt howto would probably be a very good idea.
 
Old 03-21-2008, 05:24 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by rickh View Post
Read all the comments on the post pjvaldez linked. The real problem is probably that your sources.list file is a mess, and while increasing the cache is an ugly, ugly hack that will probably work, studying the apt howto would probably be a very good idea.
Maybe I should have read all the comments too.

ciden: can you post your /etc/apt/sources.list file?
 
Old 03-22-2008, 02:51 AM   #5
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Code:
#Testing
#deb http://http.us.debian.org/debian/ testing main contrib non-free 
#deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free

# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20061111)]/ etch main

#deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20061111)]/ etch main

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main

deb file:/root debs/

deb file:/home/karthik debs/

#codecs
#deb http://www.debian-multimedia.org/ etch main

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

deb ftp://ftp.debian.org/debian testing main contrib non-free
Well my soutces.list used to work fine and I have not modified it since. My previous update worked fine.
I remembered that I killed the update process with ctrl-C when it got stuck at 99%, could it have something to do with it.
 
Old 03-22-2008, 03:29 AM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
You should take the comments off the security repos. I don't see anything syntactically wrong with them. Most people also use the multimedia repo. I don't know what you're doing with the local repos. Presumably you do, and they are valid.

The reason your cache filled up is because both stable and testing repos are active. I know of no good reason for that. What it means is that you are now running Lenny (testing), not Etch (stable) for all practical purposes. If you have not run a full upgrade, its an unhealthy mix of Etch and Lenny, but predominately Lenny. At this point, I would recommend commenting out the Stable repo, and doing a full upgrade to Lenny. You'll have to upgrade to the Lenny kernel separately. If you want to mix releases (normally Lenny and Sid), you have to use an apt.conf file to identify which one you want to be the primary. If you do upgrade to Lenny, don't forget to change the security repos to Testing, as well.
 
Old 03-22-2008, 04:53 AM   #7
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Will comment out the testing release.
My system is old and so I do not wish to install newer versions which could be heavier.

My system _is_ a mix of etch and lenny though.

that fixed it. But how did it not give any problems earlier?

Last edited by ciden; 03-22-2008 at 05:09 AM.
 
  


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
nfs mounted partition giving error "no space left" niranjan_mr Linux - Software 4 01-03-2007 06:01 AM
apt-get update error: "gzip: stdin: not in gzip format" haertig Debian 0 08-02-2006 06:21 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 05:32 PM
"apt-get update" error vharishankar Debian 3 03-23-2005 10:52 PM
Small linux giving "Warning: dev (4:01)...." error during bootup. WJWhite Linux - Newbie 1 01-24-2004 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:01 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