ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vlad Borisoff <oghma@cyberdude.ru>
To: Sergey <sharavin@sibmail.ru>
Cc: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Компакт 2.3 и Сизиф
Date: Wed, 14 Jul 2004 23:17:58 +0400
Message-ID: <26205493984.20040714231758@cyberdude.ru> (raw)
In-Reply-To: <40F55A43.6010307@sibmail.ru>

Сергей,

Только  что  обсизифливал  (ради  интереса) Master 2.2 (предварительно
было поставлено минимум пакетов - т.е. ничего кроме базовых).

apt-get dist-upgrade, как и следовало ожидать, не сработал.

Соответственно,  сначала  нужно обновить apt и rpm, которые тянут кучу
завимостей   и   за   одно   пытаются   снести   пол  системы  (login,
openssh-server и т.д.), но если явно задать пакеты, которые сносить не
надо, то apt пытается разрулить зависимости по другому.

Методом перебора, у меня сработала следующая строчка:

root@vm3# apt-get install service apt rpm login openssh-server rpm shadow-utils  libpam0 pam0-config pam0-config pam-config
pam0_console libpam0-devel apt-conf-sisyphus sisyphus sisyphus_check distribute synaptic alt-gpgkeys
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  SysVinit XFree86-libs alternatives apt-utils aumix-minimal autoconf-common autoconf_2.5 automake-common automake_1.7
  basesystem bootloader-utils bzip2 bzip2-utils bzlib cdrecord console-data console-tools cpp2.95 crontab-control e2fsprogs
  filesystem gcc-c++-common gcc-common gcc2.95 gcc2.95-c++ glib2 glibc glibc-core glibc-devel glibc-gconv-modules
  glibc-locales glibc-nss glibc-timezones glibc-utils hwclock iconv info info-install ipv6calc kernel-headers-common klogd
  kudzu libalternatives libapt libart_lgpl libatk libcdb libcdbxx libcups libdb4.2 libe2fs libe2fs-devel libgcc3.2 libglade2
  libgtk+2 libing libkrb5 libkrb5-devel libldap libldap-devel liblua5 libmm libpango libpcre3 libpng3 librpm librpmbuild
  libsasl2 libsasl2-devel libsmbclient libssl libstdc++2.95-devel libstdc++2.96 libstdc++2.96-devel libstdc++3.2 libxml2
  libzvt memtest86 mkisofs msulogin net-scripts openssh openssh-clients openssl osec pam pam0_userpass passwd perl-base
  perl-devel php php-base php-libs rpm-build rpm-build-perl rpm-build-python rpm-utils rsync samba-client samba-common
  screen setup shadow-convert shared-mime-info shtool sound-scripts startup strace su sudo sysklogd syslog-common syslogd
  texinfo wget xml-utils
The following packages will be upgraded
  SysVinit XFree86-libs alt-gpgkeys apt apt-utils autoconf-common autoconf_2.5 automake-common automake_1.7 basesystem
  bootloader-utils bzip2 bzlib console-tools cpp2.95 e2fsprogs filesystem gcc-common gcc2.95 gcc2.95-c++ glib2 glibc
  glibc-core glibc-devel glibc-gconv-modules glibc-locales glibc-nss glibc-timezones glibc-utils hwclock iconv info
  info-install ipv6calc kernel-headers-common klogd kudzu libapt libatk libcups libe2fs libgcc3.2 libgtk+2 libkrb5
  libkrb5-devel libldap libldap-devel libpango libpng3 librpm libssl libstdc++2.95-devel libstdc++2.96 libstdc++2.96-devel
  libstdc++3.2 libxml2 login memtest86 openssh openssh-clients openssh-server openssl osec pam pam-config passwd perl-base
  rpm rpm-build samba-client samba-common screen setup shadow-convert shadow-utils strace su sudo sysklogd syslog-common
  syslogd texinfo wget
The following packages will be REPLACED:
  apt-conf-Master (by apt-conf-sisyphus)  libXft (by XFree86-libs)  libpam (by libpam0)  libpam-devel (by libpam0-devel)
  pam_console (by pam0_console)  pam_userpass (by pam0_userpass)
The following packages will be REMOVED:
  anacron crontabs initscripts interactivesystem kernel24-headers man man-pages python22 stmpclean vixie-cron
The following NEW packages will be installed:
  alternatives apt-conf-sisyphus aumix-minimal bzip2-utils cdrecord console-data crontab-control distribute gcc-c++-common
  libalternatives libart_lgpl libcdb libcdbxx libdb4.2 libe2fs-devel libglade2 libing liblua5 libmm libpam0 libpam0-devel
  libpcre3 librpmbuild libsasl2 libsasl2-devel libsmbclient libzvt mkisofs msulogin net-scripts pam0-config pam0_console
  pam0_userpass perl-devel php php-base php-libs rpm-build-perl rpm-build-python rpm-utils rsync service shared-mime-info
  shtool sisyphus sisyphus_check sound-scripts startup synaptic xml-utils
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
  apt-conf-Master (due to apt) initscripts (due to basesystem)
83 packages upgraded, 50 newly installed, 6 replaced, 10 removed and 123 not upgraded.
Need to get 26.6MB/54.0MB of archives.
After unpacking 155MB of additional disk space will be used.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
 ?]

После этого, правда, всё равно нужно apt-get -f install делать, чтоб
окончательно зависимости пофиксить.  У меня, например, 2 пакета
memtest86 в системе осталось - пришлось ручками через rpm -e убивать.

А вчера вообще ситуация забавная вышла:
Знакомый  тоже обновлял ALM2.2 до сизифа, так у него glibc новый 2.3.3
встал,  а  rpm  старый  остался  (не  знаю  как  так вышло), так rpm в
Segmentation  Fault  стал  выпадать  постоянно  и  ни одного пакета не
возможно было после этого поставить! Проблему решили так:
# cd /; rpm2cpio /var/cache/apt/archives/rpm_4.0.4-alt40_i586.rpm | cpio -iBmdv
# rpm --rebuilddb

Поэтому систему лучше перед обновлением забакапить, например так:

mkdir -p /var/backup/images; time find / -xdev -depth | cpio -voBa -H newc | gzip >
/var/backup/images/sysimage-`hostname -s`-`date +%Y%m%d`.cpio.gz

--
С уважением,
Влад



      reply	other threads:[~2004-07-14 19:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-14 16:07 Sergey
2004-07-14 19:17 ` Vlad Borisoff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26205493984.20040714231758@cyberdude.ru \
    --to=oghma@cyberdude.ru \
    --cc=sharavin@sibmail.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git