При попытке создания шаблона для openvz, spt вместо MySQL-server вытягивает MySQL41-server, что (а) совершенно не нужно (б) его %post всё равно обламывается
я посмотрю
Created attachment 1714 [details] trying to get troubles with apt
Created attachment 1715 [details] trying to get troubles with spt мне не удалось воспроизвести. см. лог работы spt, рядом лог сессии, где я пытался вручную добиться проблем в apt.
2 vvk, gvy: пожалуйста, попробуйте воспроизвести
[gns@hasher64 ~]$ hsh --cleanup-only test [gns@hasher64 ~]$ hsh --initroot-only test/ Components: hasher Processing pkglists... hasher done Processing srclists... hasher done Creating component releases... hasher done Creating global release file... done Appending MD5Sum... hasher done All your base are belong to us!!! Preparing packages for installation... altlinux-release-Sisyphus-alt20070101 libreadline-5.1.4-alt2 bash-3.1.17-alt1 bzip2-1.0.4-alt1 chkconfig-1.3.29-alt1 common-licenses-1.2.1-alt1 diffutils-2.8.7-alt2 libe2fs-1.39-alt2 e2fsprogs-1.39-alt2 libtcb-1.0.2-alt1 shadow-convert-4.0.4.1-alt6 nss_tcb-1.0.2-alt1 pam-config-1.3.1-alt1 libpam0-0.99.6.3-alt1 sed-4.1.5-alt1 findutils-4.2.29-alt1 libpcre3-7.0-alt2 grep-2.5.1a-alt2 control-0.7.2-alt1 pam0_tcb-1.0.2-alt1 tcb-utils-1.0.2-alt1 pam-0.99.6.3-alt1 pam0_userpass-1.0.2-alt1 pam0_mktemp-1.0.3-alt1 pam0_passwdqc-1.0.4-alt1 shadow-utils-4.0.4.1-alt6 etcskel-2.0.10-alt1.3 gawk-3.1.5-alt3 gzip-1.3.5-alt3 hashalot-0.2.0-alt3 losetup-2.12r-alt4 perl-base-5.8.8-alt6 rootfiles-alt-alt9.3 termutils-5.6-alt1 msulogin-0.9.1-alt2 SysVinit-2.86-alt1 psmisc-22.3-alt1 service-0.5.12-alt1 libwrap-7.6-alt7 portmap-4.0-alt2 nfs-utils-1.0.10-alt3 mount-2.12r-alt4 libgpm-1.20.1-alt7 libncurses-5.6-alt1 procps-3.2.5-alt6 util-linux-2.12r-alt4 modutils-2.4.27-alt7 libshhopt-1.1.7-alt3 hwclock-2.24-alt2 startup-0.9.8.7-alt1 tar-1.15.1-alt7 libattr-2.4.32-alt1 libacl-2.2.39-alt1 vim-minimal-7.0.182-alt1 vitmp-1.0-alt3 bison-runtime-2.3-alt1 emacs-base-0.0.6-alt1 libmagic-4.19-alt2 file-4.19-alt2 gettext-0.14.6-alt1 glibc-kernheaders-2.6.17-alt3 libtool-common-0.2-alt1 mktemp-1.5-alt1 patch-2.5.9-alt2 glib2-2.12.7-alt1 pkg-config-0.21-alt1 rpm-build-perl-0.6.1-alt1 autoconf-common-0.2-alt1 ed-0.2-alt5 alternatives-0.2.0-alt4 m4-1.4.7-alt1 autoconf_2.5-2.59-alt5 automake-common-0.2-alt1 libbfd-2.17.50.0.3-alt1 binutils-2.17.50.0.3-alt1 automake_1.9-1.9.6-alt1 bison-2.3-alt1 cpio-2.6-alt16 gcc-common-1.4.10-alt1 libgcc4.1-4.1.1-alt10 cpp4.1-4.1.1-alt10 glibc-nss-2.5-alt3 glibc-locales-2.5-alt3 glibc-gconv-modules-2.5-alt3 iconv-2.5-alt3 glibc-timezones-2.5-alt3 glibc-utils-2.5-alt3 glibc-2.5-alt3 kernel-headers-common-1.1.9-alt1 glibc-devel-2.5-alt3 gcc4.1-4.1.1-alt10 gettext-tools-0.14.6-alt1 make-3.81-alt1 libtool_1.5-1.5.22-alt1 texinfo-4.8-alt4 which-2.16-alt2 sisyphus_check-0.7.17-alt1 time-1.7-ipl22mdk rpm-build-python-0.29-alt5 rpm-build-4.0.4-alt72 rpm-build-tcl-0.2-alt1 [gns@hasher64 ~]$ hsh-install -v test MySQL-server python-base python-strict python-module-MySQLdb hsh-install: changed working directory to `/home/gns/test' mkdir: created directory `/home/gns/test/lockdir' hsh-install: calculated package file list. `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/libssl6-0.9.8d-alt1.x86_64.rpm' -> `chroot/.in/libssl6-0.9.8d-alt1.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/libgdbm-1.8.3-alt3.x86_64.rpm' -> `chroot/.in/libgdbm-1.8.3-alt3.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-modules-email-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-modules-email-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-modules-compiler-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-modules-compiler-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-modules-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-modules-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-modules-encodings-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-modules-encodings-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-modules-curses-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-modules-curses-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-modules-xml-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-modules-xml-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-modules-hotshot-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-modules-hotshot-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-modules-bsddb-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-modules-bsddb-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-modules-logging-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-modules-logging-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-strict-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-strict-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-base-2.4.4-alt7.x86_64.rpm' -> `chroot/.in/python-base-2.4.4-alt7.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/libMySQL-5.0.27-alt1.1.x86_64.rpm' -> `chroot/.in/libMySQL-5.0.27-alt1.1.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/python-module-MySQLdb-1.2.0-alt0.1.x86_64.rpm' -> `chroot/.in/python-module-MySQLdb-1.2.0-alt0.1.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/libstdc++4.1-4.1.1-alt10.x86_64.rpm' -> `chroot/.in/libstdc++4.1-4.1.1-alt10.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/MySQL-client-5.0.27-alt1.1.x86_64.rpm' -> `chroot/.in/MySQL-client-5.0.27-alt1.1.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/noarch/RPMS.classic/chrooted-0.3.4-alt1.noarch.rpm' -> `chroot/.in/chrooted-0.3.4-alt1.noarch.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/noarch/RPMS.classic/crontab-control-1.1-alt1.noarch.rpm' -> `chroot/.in/crontab-control-1.1-alt1.noarch.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/setproctitle-0.3-alt1.x86_64.rpm' -> `chroot/.in/setproctitle-0.3-alt1.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/vixie-cron-4.1.20060426-alt1.x86_64.rpm' -> `chroot/.in/vixie-cron-4.1.20060426-alt1.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/noarch/RPMS.classic/crontabs-1.8-alt1.noarch.rpm' -> `chroot/.in/crontabs-1.8-alt1.noarch.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/logrotate-3.6.2-alt3.x86_64.rpm' -> `chroot/.in/logrotate-3.6.2-alt3.x86_64.rpm' `/var/ftp/pub/Linux/ALT/Sisyphus/x86_64/RPMS.classic/MySQL-server-5.0.27-alt1.1.x86_64.rpm' -> `chroot/.in/MySQL-server-5.0.27-alt1.1.x86_64.rpm' Preparing... ################################################## libssl6 ################################################## libgdbm ################################################## libMySQL ################################################## libstdc++4.1 ################################################## MySQL-client ################################################## chrooted ################################################## crontab-control ################################################## setproctitle ################################################## vixie-cron ################################################## crontabs ################################################## logrotate ################################################## MySQL-server ################################################## Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Preparing procs_priv table Preparing help_topic table Preparing help_category table Preparing help_keyword table Preparing help_relation table Preparing time_zone_name table Preparing time_zone table Preparing time_zone_transition table Preparing time_zone_transition_type table Preparing time_zone_leap_second table Preparing proc table Installing all prepared tables 070122 21:30:41 [ERROR] chroot: Operation not permitted 070122 21:30:41 [ERROR] Aborting 070122 21:30:41 [Note] /usr/sbin/mysqld: Shutdown complete Installation of grant tables failed! Examine the logs in /var/lib/mysql/log for more information. You can also try to start the mysqld daemon with: /usr/sbin/mysqld --skip-grant & You can use the command line tool /usr/bin/mysql to connect to the mysql database and look at the grant tables: shell> /usr/bin/mysql -u root mysql mysql> show tables Try 'mysqld --help' if you have problems with paths. Using --log gives you a log in /var/lib/mysql/log that may be helpful. The latest information about MySQL is available on the web at http://www.mysql.com Please consult the MySQL manual section: 'Problems running mysql_install_db', and the manual section that describes problems on your OS. Another information source is the MySQL email archive. Please check all of the above before mailing us! And if you do mail us, you MUST use the /usr/bin/mysqlbug script! cat << END_OF_DATA Please report any problems with the /usr/bin/mysqlbug script! python-base ################################################## python-modules-email ################################################## python-modules-compiler ################################################## python-modules ################################################## python-modules-encodings ################################################## python-modules-curses ################################################## python-modules-xml ################################################## python-modules-hotshot ################################################## python-modules-bsddb ################################################## python-modules-logging ################################################## python-module-MySQLdb ################################################## hsh-install: Packages installation complete. Preparing... ############################################################ hsh-install: RPM database updated. removed `/home/gns/test/lockdir/pid' removed directory: `/home/gns/test/lockdir' [gns@hasher64 ~]$ find /var/ftp/pub/Linux/ALT/Sisyphus/ -type f -name MySQL\*server\* /var/ftp/pub/Linux/ALT/Sisyphus/files/i586/RPMS/MySQL-server-5.0.27-alt1.1.i586.rpm /var/ftp/pub/Linux/ALT/Sisyphus/files/i586/RPMS/MySQL-server-perl-5.0.27-alt1.1.i586.rpm /var/ftp/pub/Linux/ALT/Sisyphus/files/i586/RPMS/MySQL41-server-4.1.21-alt5.1.i586.rpm /var/ftp/pub/Linux/ALT/Sisyphus/files/i586/RPMS/MySQL41-server-perl-4.1.21-alt5.1.i586.rpm /var/ftp/pub/Linux/ALT/Sisyphus/files/x86_64/RPMS/MySQL-server-perl-5.0.27-alt1.1.x86_64.rpm /var/ftp/pub/Linux/ALT/Sisyphus/files/x86_64/RPMS/MySQL-server-5.0.27-alt1.1.x86_64.rpm [gns@hasher64 ~]$