[Sysadmins] Проблема установки пакетов через apt

JaMm myjamm на gmail.com
Чт Май 21 03:45:44 MSD 2009


Здравствуйте.
Система alt server 4.0.1 2.6.18-ovz-smp-alt14 #1 SMP Wed May 2 15:41:15 MSD
2007 i686 GNU/Linux.
В источниках добавлен репозиторий сизиф с зеркала на yandex:
[root на gw sources.list.d]# cat /etc/apt/sources.list.d/sisyphus.YANDEX.list
# Sisyphus
rpm [alt] http://mirror.yandex.ru/altlinux/Sisyphus i586 classic
rpm [alt] http://mirror.yandex.ru/altlinux/Sisyphus noarch classic
#rpm-src [alt] ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphusi586
classic

При обновлении кеша apt через  сизиф получаем ошибку:
[root на gw sources.list.d]# apt-get update
Get:1 http://mirror.yandex.ru i586 release [726B]
Get:2 http://mirror.yandex.ru noarch release [724B]
Get:3 ftp://ftp.altlinux.org i586 release [1016B]
Get:4 ftp://updates.altlinux.org i586 release [720B]
Fetched 3186B in 12s (259B/s)
Get:1 http://mirror.yandex.ru i586/classic pkglist [2727kB]
Hit ftp://ftp.altlinux.org i586/main pkglist
Hit ftp://updates.altlinux.org i586/updates pkglist
Hit ftp://ftp.altlinux.org i586/main release
Hit ftp://updates.altlinux.org i586/updates release
Get:2 http://mirror.yandex.ru i586/classic release [143B]
Get:3 http://mirror.yandex.ru noarch/classic pkglist [1430kB]
Get:4 http://mirror.yandex.ru noarch/classic release [145B]
Fetched 4158kB in 3m10s (21.9kB/s)
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing python-module-TurboGears (NewVersion1)
E: Problem with MergeList
/var/lib/apt/lists/mirror.yandex.ru_altlinux_Sisyphus_noarch_base_pkglist.classic
E: The package lists or status file could not be parsed or opened.
Прописал в источниках бранч:
# Sisyphus stable branch for ALT Linux 4.0 Server
#rpm [updates] ftp://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branchi586
classic
#rpm [updates] ftp://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branchnoarch
classic
После успешного выполнения apt-get upate обновил apt:
[root на gw sources.list.d]# apt-get install apt
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  apt-utils libapt
The following packages will be upgraded
  apt apt-utils libapt
3 upgraded, 0 newly installed, 0 removed and 115 not upgraded.
Need to get 999kB of archives.
After unpacking 603B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 ftp://ftp.altlinux.org i586/classic apt-utils 0.5.15lorg2-alt18.M40.1
[71.8kB]
Get:2 ftp://ftp.altlinux.org i586/classic libapt 0.5.15lorg2-alt18.M40.1
[382kB]
Get:3 ftp://ftp.altlinux.org i586/classic apt 0.5.15lorg2-alt18.M40.1
[545kB]
Fetched 999kB in 4m45s (3499B/s)
Committing changes...
Preparing...
###################################################################################################
[100%]
1: libapt
###################################################################################################
[ 33%]
2: apt
###################################################################################################
[ 66%]
3: apt-utils
###################################################################################################
[100%]

Снова прописал сизиф, снова обновил apt уже из сизифа, комманда apt-get
update отработала нормально, но вот собственно проблема - при попытке
установить любой пакет, apt хочет удалить мне чуть ли не всю систему:
[root на gw sources.list.d]# apt-get install minicom
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  alterator-sh-functions apcupsd avahi-sh-functions dhcpcd gettext glib
glibc-core glibc-gconv-modules glibc-kernheaders glibc-locales glibc-nss
  glibc-pthread glibc-timezones hwinfo iconv libapr1 libaprutil1 libbeecrypt
libdb4.4 libhwinfo libldap2.3 libnet-snmp libnet-snmp-devel libnetlink
  librpm librpmbuild librrd librrd-devel libshell libvhttpd libwiretap
libxfs lrzsz make net-snmp net-snmp-mibs perl-DBM perl-SNMP perl-Storable
  perl-Term-ReadLine-Gnu perl-XML-LibXML perl-XML-LibXML-Common perl-base
python-base rpm syslog-common tar tzdata wget xfsprogs zlib
The following packages will be upgraded
  apcupsd dhcpcd gettext glib glibc-core glibc-gconv-modules
glibc-kernheaders glibc-locales glibc-nss glibc-timezones hwinfo iconv
libapr1
  libaprutil1 libbeecrypt libdb4.4 libhwinfo libldap2.3 libnet-snmp
libnet-snmp-devel libnetlink librpm librpmbuild librrd librrd-devel
libwiretap
  libxfs make net-snmp net-snmp-mibs perl-DBM perl-SNMP perl-Storable
perl-Term-ReadLine-Gnu perl-XML-LibXML perl-XML-LibXML-Common perl-base
  python-base rpm syslog-common tar wget xfsprogs zlib
The following packages will be REMOVED:
  alterator alterator-alternatives alterator-apt alterator-bind
alterator-chkconfig alterator-control alterator-doc alterator-fbi
alterator-http
  alterator-lookout alterator-net-general alterator-net-tcp
alterator-openntpd alterator-ovz alterator-profile alterator-sysinfo
alterator-users
  alterator-wizard alternatives apache2 apache2-httpd-prefork apt-utils
autoconf_2.5 autoconf_2.60 automake_1.8 automake_1.9 basesystem bind
chrooted
  chrooted-resolv console-common-scripts cvs elinks elinks-utf8-hack etcnet
etcnet-defaults-server gettext-tools git-core glibc glibc-devel
  glibc-utils guile16 gzip-utils hasher hasher-priv httpd-alterator iftop
interactivesystem iproute-htb iproute2 iputils
  kernel-image-ovz-smp#2.6.18-alt14 kernel-image-std-smp#2.6.18-alt6
kernel-modules-atl1-ovz-smp#1.0.41.0-alt1.132626.14
  kernel-modules-atl1-std-smp#1.0.41.0-alt1.132626.6 klogd less lftp
libsubversion libtool_1.5 lilo man man-pages mdadm mkinitrd mktemp modutils
  openssh openssh-clients openssh-server perl-Git postfix ppp-common
sendmail-common sisyphus_check spt subversion sysklogd syslogd tcpdump
texinfo
  ve-build-scripts ve-caching-nameserver vim-common vim-console vzctl
zlib-devel
The following NEW packages will be installed:
  alterator-sh-functions avahi-sh-functions glibc-pthread libshell libvhttpd
lrzsz minicom tzdata
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
  basesystem mktemp (due to basesystem)
44 upgraded, 8 newly installed, 87 removed and 202 not upgraded.
Need to get 18.0MB of archives.
After unpacking 368MB disk space will be freed.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
 ?]
Это просто западня какая-то. Каковы причины такого поведения? Какие пути
решения существуют?

-- 
С уважением, Андрей Степнов
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/sysadmins/attachments/20090521/725e8d2b/attachment.html>


Подробная информация о списке рассылки Sysadmins