Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: Peter в Aug 16, 2004, 15:58



Титла: apt-get config
Публикувано от: Peter в Aug 16, 2004, 15:58
Имам проблем с apt-get. По принцип работи добре със stable архива, проверява какво има и си обновява базата данни. Реших да ползвам и sarge за инсталиране на последната версия на Mozilla и добавих реда "deb <a href="" target="_blank">ftp://ftp.bg.debian.org/debian/</a> sarge main". Ето какво се получи след apt-get update:

debian:~# apt-get update
Hit <a href="" target="_blank">ftp://ftp.bg.debian.org</a> stable/main Packages
Hit <a href="" target="_blank">ftp://ftp.bg.debian.org</a> stable/main Release
Get:1 <a href="" target="_blank">ftp://ftp.bg.debian.org</a> sarge/main Packages [3053kB]
Hit http://non-us.debian.org stable/non-US/main Packages
Hit http://non-us.debian.org stable/non-US/main Release
Hit http://non-us.debian.org stable/non-US/main Sources
Hit http://non-us.debian.org stable/non-US/main Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Get:2 <a href="" target="_blank">ftp://ftp.bg.debian.org</a> sarge/main Release [81B]
Hit <a href="" target="_blank">ftp://ftp.bg.debian.org</a> stable/main Sources
Hit <a href="" target="_blank">ftp://ftp.bg.debian.org</a> stable/main Release
Fetched 3053kB in 2m23s (21.2kB/s)
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing pike7.2-gtk (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ftp.bg.debian.org_debian_dists_sarge_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
debian:~#


Ето и как изглежда самият sources.list:


deb cdrom:[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-7 (20031201)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-6 (20031201)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-5 (20031201)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-4 (20031201)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-3 (20031201)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-2 (20031201)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-1 (20031201)]/ unstable contrib main non-US/contrib non-US/main


deb http://security.debian.org/ stable/updates main






deb ftp://ftp.bg.debian.org/debian/ stable main
deb ftp://ftp.bg.debian.org/debian/ sarge main
deb-src ftp://ftp.bg.debian.org/debian/ stable main
deb http://non-us.debian.org/debian-non-US stable/non-US main
deb-src http://non-us.debian.org/debian-non-US stable/non-US main


Някой има ли идея какво става?


Титла: apt-get config
Публикувано от: Agent_SMITH в Aug 16, 2004, 16:13
Търсачката каза, че не си питал... :)

ЕТО ТУК има решение на твоя проблем.

Трябва в /etc/apt/apt.conf да добавиш едно редче:
APT::Cache-Limit 25165824

Успех.