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

Linux секция за начинаещи => Настройка на програми => Темата е започната от: Gruber в Feb 19, 2004, 21:10



Титла: Debian Apt проблем
Публикувано от: Gruber в Feb 19, 2004, 21:10
Ами ето какво се "случи".Имам си инсталиран дебиан на една слаба машина,която не се ползва често.След може би 1 седмица пуснах отново машината и реших да направя apt-get update & apt-cache search *
Само че започна да дава грешки.По-долу ще постна грешките,sources.list,а от вас се надявам да ми помогнете да реша проблема,защото не смятам,че реинстал на системата е правилният начин (winblows way).
Пробал съм с различни apt sources,но няма разлика.Ако може препоръчайте някои лист,който според вас е най-удобен.
sources.list 1вариант
deb file:/var/cache/apt-build/repository apt-build main
#Security
 deb http://security.debian.org/  stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ testing/updates main
#Main
 deb ftp://ftp.us.debian.org/debian unstable main contrib non-free
 deb ftp://ftp.us.debian.org/debian stable main contrib non-free
 deb http://http.us.debian.org/debian unstable main contrib non-free
 deb http://http.us.debian.org/debian stable main contrib non-free
 deb-src ftp://ftp.us.debian.org/debian stable main contrib non-free
 deb-src ftp://ftp.us.debian.org/debian unstable main contrib non-free
 deb-src http://http.us.debian.org/debian stable main contrib non-free
 deb-src http://http.us.debian.org/debian unstable main contrib non-free
 deb http://ftp.us.debian.org/debian/ ../project/experimental main contrib non-free
 deb http://http.us.debian.org/debian/ ../project/experimental main contrib non-free
 deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

Sources.list #2
deb ftp://ftp.bg.debian.org/debian stable main contrib
non-free
 deb ftp://ftp.bg.debian.org/debian testing main contrib
non-free
 deb ftp://ftp.bg.debian.org/debian-non-US stable/non-US main
contrib non-free
 deb ftp://ftp.bg.debian.org/debian-non-US testing/non-US
main contrib non-free
 deb-src ftp://ftp.bg.debian.org/debian stable main contrib
non-free
 deb-src ftp://ftp.bg.debian.org/debian testing main contrib
non-free
 deb-src ftp://ftp.bg.debian.org/debian-non-US testing/non-US
main contrib non-free
 deb-src http://security.debian.org testing/updates main
contrib non-free

Грешки:
  -при apt-cache search <string>
ala-bala:/# apt-cache search asd
Segmentation fault
ala-bala:/#

-при apt-get update
...
Hit ftp://ftp.us.debian.org unstable/contrib Release
Hit ftp://ftp.us.debian.org unstable/non-free Sources
Hit ftp://ftp.us.debian.org unstable/non-free Release
Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages  File not found
Failed to fetch http://security.debian.org/═....ackages  404 Not Found
Failed to fetch http://security.debian.org/═....ackages  404 Not Found
Failed to fetch http://security.debian.org/═....ackages  404 Not Found
Reading Package Lists... Error!
W: Couldn't stat source package list file: apt-build/main Packages (/var/lib/apt/lists/_var_cache_apt-build_repository_dists_apt-build_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org stable/updates/main Packages (/var/lib/apt/lists/security.debian.org_%ffffffa0_dists_stable_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org stable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_%ffffffa0_dists_stable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org stable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_%ffffffa0_dists_stable_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
E: Dynamic MMap ran out of room
E: Error occured while processing radiusd-cistron (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.


Ако някои може да помогне,ще се радвам.Защото нямам идея от какво може да е.


Титла: Debian Apt проблем
Публикувано от: в Feb 19, 2004, 22:22
Hahahaha i kakvo se e slu4ilo ?
Mi razreshi na apt da map-va po4eve pamet otkolkoto e po default ograni4eno za da ne dosajda. Sloji v
/etc/apt/apt.conf
    APT::Cache-Limit "25165824";