Bug #693

Обновление CDS 14 из iso

Added by Николай Киршин over 9 years ago. Updated over 9 years ago.

Status:New Start:10/02/2014
Priority:High Due date:
Assignee:- % Done:

0%

Category:Calculate Directory Server Spent time: -
Target version:-
Votes: 0

Description

При обновлении системы из iso. В конце установки выдает: * Форматирование разделов ... [ ok ] * Распаковка образа системы ... [ ok ] * Копирование clt-шаблонов в новую систему ... [ ok ] * Копирование прочих настроек в новую систему ... [ ok ] * Обновление конфигурации ... * Конфигурирование grub * Не удалось выполнить: /var/lib/layman/calculate/profiles/templates/3.1/3_ac_install_live/1-live/sys-boot/grub/update-grub.new * Настройка после установки ... [ ok ] * Перенос пользователей ... [ ok ] * Подготовим систему для перезагрузки ... * Не удалось установить загрузчик * Отключение устанавливаемого дистрибутива ... [ ok ] * Отмонтирование ресурсов устанавливаемой системы ... [ ok ] * Не удалось установить систему!

Система стоит на softraid зеркало.

History

Updated by Iurii Blokhin over 9 years ago

С какой версии обновляетесь? Обновлены ли шаблоны и утилиты прежде чем обновлять из iso?

Updated by Николай Киршин over 9 years ago

При обновлении системы из iso. В конце установки выдает:

* Форматирование разделов ... [ ok ] 
* Распаковка образа системы ... [ ok ]
* Копирование clt-шаблонов в новую систему ... [ ok ] 
* Копирование прочих настроек в новую систему ... [ ok ] 
* Обновление конфигурации ... 
* Конфигурирование grub 
* Не удалось выполнить: /var/lib/layman/calculate/profiles/templates/3.1/3_ac_install_live/1-live/sys-boot/grub/update-grub.new 
* Настройка после установки ... [ ok ] 
* Перенос пользователей ... [ ok ] 
* Подготовим систему для перезагрузки ... 
* Не удалось установить загрузчик 
* Отключение устанавливаемого дистрибутива ... [ ok ] 
* Отмонтирование ресурсов устанавливаемой системы ... [ ok ] 
* Не удалось установить систему!

Система стоит на softraid зеркало.

Updated by Iurii Blokhin over 9 years ago

Покажите, пожалуйста, вывод eix sys-apps/calculate-utilities

Updated by Николай Киршин over 9 years ago

Iurii Blokhin wrote:

Покажите, пожалуйста, вывод eix sys-apps/calculate-utilities

BUDU ~ # eix sys-apps/calculate-utilities
Совпадений не найдено.

Updated by Iurii Blokhin over 9 years ago

Ок. А emerge --search calculate-utilities ?
Какой версии стоит утилиты? Вы их обновили прежде, чем запускать обновление из iso?

Updated by Николай Киршин over 9 years ago

Iurii Blokhin wrote:

Ок. А emerge --search calculate-utilities ?
Какой версии стоит утилиты? Вы их обновили прежде, чем запускать обновление из iso?

BUDU ~ # emerge --search calculate-utilities

Local copy of remote index is up-to-date and will be used.
Searching...
[ Results for search key : calculate-utilities ]
[ Applications found : 1 ]

*  sys-apps/calculate-utilities
      Latest version available: 3.2.1-r4
      Latest version installed: 3.2.1-r4
      Size of files: 6 kB
      Homepage:      http://www.calculate-linux.org/main/en/calculate2
      Description:   Calculate Utilities meta package
      License:       Apache-2.0

Updated by Iurii Blokhin over 9 years ago

Для начала можно попробовать запустить установку еще разок выполнив предварительно eix-sync, если не поможет, то возможно что нужно обновить grub в текущей системе, но это мероприятие рисковое.

Updated by Николай Киршин over 9 years ago

Iurii Blokhin wrote:

Для начала можно попробовать запустить установку еще разок выполнив предварительно eix-sync, если не поможет, то возможно что нужно обновить grub в текущей системе, но это мероприятие рисковое.

 * Запуск emerge --sync
>>> Synchronization of repository 'gentoo' located in '/usr/portage'...
>>> Starting git pull in /usr/portage...
Already up-to-date.
>>> Git pull in /usr/portage successful

 * IMPORTANT: 7 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
Checking portage...
usage: egencache [options] <action> ... [atom] ...
egencache: error: Unable to locate repository named 'calculate'
 * Что-то не так с egencache --repo=calculate --update --jobs=4
 * Запуск eix-update
Чтение настроек Portage ..
Построение базы данных (/var/cache/eix/portage.eix) ..
[0] "gentoo" /usr/portage (кэш: metadata-md5-or-flat)
     Чтение категории 162|162 (100%) Готово
Применение масок ..
Расчёт хеш-таблиц ..
Запись файла базы данных /var/cache/eix/portage.eix ..
База данных содержит 17703 пакетов в 162 категориях.
Синхронизация репозиториев
 * Синхронизация Distros репозитория ...                                                                                                                          [ ok ]
 * Синхронизация Calculate репозитория ...                                                                                                                        [ ok ]
 * Синхронизация Portage репозитория ...                                                                                                                          [ ok ]
 * Синхронизация завершена
Конфигурация системы
 * Исправление настроек ...                                                                                                                                       [ ok ]
 * Обновление конфигурационных файлов ...                                                                                                                         [ ok ]
--- /etc/eix-sync.conf  2014-10-01 14:51:30.579798027 +0400
+++ /etc/._cfg0000_eix-sync.conf        2014-10-02 16:25:36.301261846 +0400
@@ -1,14 +1,8 @@
 #------------------------------------------------------------------------------
-# Modified Calculate-core 3.1.3
+# Modified Calculate-core 3.2.1
 # Processed template files:
-# /var/lib/layman/calculate/profiles/templates/3.1/2_ac_install_merge/app-portage/eix/eix-sync.conf.old
+# /var/lib/layman/calculate/profiles/templates/3.1/2_ac_install_merge/app-portage/eix/eix-sync.conf
 # For modify this file, create /etc/eix-sync.conf.clt template.
 #------------------------------------------------------------------------------
-*
 # checkout and repair repositories before sync
-!![ -x /usr/bin/eix-checkout ] && /usr/bin/eix-checkout || true
-# checkout and repair repositories after sync
-@[ -x /usr/bin/eix-checkout ] && /usr/bin/eix-checkout || true
-@egencache --repo=calculate --update --jobs=4
-@@/usr/sbin/cl-core --method update --update-rev || true
-@@emerge --metadata || true
+!emergecmd='/usr/sbin/cl-core --method update --sync-only --skip-eix-update'

 * (1 из 7) -- /etc/eix-sync.conf

Выберите действие для настройки: (Удалить новый[z]/Использовать новый[u]/Далее[n]):
--- /etc/pam.d/system-auth      2013-02-25 11:56:38.577836332 +0400
+++ /etc/pam.d/._cfg0000_system-auth    2014-10-02 16:25:36.411261845 +0400
@@ -1,18 +1,23 @@
 #------------------------------------------------------------------------------
-# Modified Calculate-server 2.1.16
-# File of a profile "profile/unix" 
+# Modified Calculate-core 3.2.1
+# Processed template files:
+# /var/lib/layman/calculate/profiles/templates/3.1/2_ac_install_merge/sys-auth/pambase/system-auth
+# For modify this file, create /etc/pam.d/system-auth.clt template.
 #------------------------------------------------------------------------------
+auth       required     pam_env.so
+auth       [success=2 new_authtok_reqd=done default=ignore]   pam_unix.so try_first_pass
+auth       [success=1 new_authtok_reqd=done default=ignore]   pam_ldap.so use_first_pass
+auth       requisite    pam_deny.so
+auth       required     pam_permit.so

-auth       required    pam_env.so
-auth       sufficient  pam_unix.so try_first_pass likeauth nullok
-auth       sufficient   pam_ldap.so use_first_pass
-auth       required    pam_deny.so
-account    required    pam_unix.so
+account    required     pam_unix.so
 account    sufficient   pam_ldap.so
-password   required    pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3
-password   sufficient  pam_unix.so try_first_pass use_authtok nullok md5 shadow
+
+password   required     pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
+password   sufficient   pam_unix.so nullok sha256 shadow use_authtok
 password   sufficient   pam_ldap.so
-password   required    pam_deny.so
-session    required    pam_limits.so
-session    required    pam_unix.so
-session    optional     pam_ldap.so
\ No newline at end of file
+password   required     pam_deny.so
+
+session    required     pam_limits.so
+session    required     pam_unix.so
+session    optional     pam_ldap.so

 * (2 из 7) -- /etc/pam.d/system-auth

Выберите действие для настройки: (Удалить новый[z]/Использовать новый[u]/Далее[n]):
--- /etc/pam.d/system-login     2014-10-01 14:51:30.989798021 +0400
+++ /etc/pam.d/._cfg0000_system-login   2014-10-02 16:25:36.421261844 +0400
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# Modified Calculate-core 3.1.3
+# Modified Calculate-core 3.2.1
 # Processed template files:
 # /var/lib/layman/calculate/profiles/templates/3.1/2_ac_install_merge/sys-auth/pambase/system-login
 # For modify this file, create /etc/pam.d/system-login.clt template.

 * (3 из 7) -- /etc/pam.d/system-login

Выберите действие для настройки: (Удалить новый[z]/Использовать новый[u]/Далее[n]):
--- /etc/hosts  2014-10-01 14:51:31.199798017 +0400
+++ /etc/._cfg0000_hosts        2014-10-02 11:50:16.469477051 +0400
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# Modified Calculate-core 3.1.3
+# Modified Calculate-core 3.2.1
 # Processed template files:
 # /var/lib/layman/calculate/profiles/templates/3.1/3_ac_install_live/1-live/sys-apps/baselayout/hosts
 # For modify this file, create /etc/hosts.clt template.

 * (4 из 7) -- /etc/hosts

Выберите действие для настройки: (Удалить новый[z]/Использовать новый[u]/Далее[n]):
--- /etc/conf.d/net     2013-02-21 15:13:36.549994865 +0400
+++ /etc/conf.d/._cfg0000_net   2014-10-01 14:51:31.479798013 +0400
@@ -5,7 +5,8 @@
 # For modify this file, create /etc/conf.d/net.clt template.
 #------------------------------------------------------------------------------

-config_eno1="192.168.0.140 netmask 255.255.255.0 brd 192.168.0.255" 
-routes_eno1="default via 192.168.0.1" 
-config_enp2s0f0="dhcp" 
+modules="!plug" 
+config_enp2s0f1="dhcp" 
+config_enp2s0f0="192.168.0.140/24" 
+routes_enp2s0f0="default via 192.168.0.1" 
 ifplugd="--no-beep" 

 * (5 из 7) -- /etc/conf.d/net

Выберите действие для настройки: (Удалить новый[z]/Использовать новый[u]/Далее[n]):
--- /etc/default/grub   2014-05-29 16:31:41.002991776 +0400
+++ /etc/default/._cfg0000_grub 2014-10-01 14:51:32.049798005 +0400
@@ -2,7 +2,7 @@
 # Modified Calculate-core 3.1.3
 # Processed template files:
 # /var/lib/layman/calculate/profiles/templates/3.1/2_ac_install_merge/sys-boot/grub/default.grub
-# /var/lib/layman/calculate/profiles/templates/3.1/3_ac_install_live/1-live/sys-boot/grub/default.grub
+# /var/lib/layman/calculate/profiles/templates/3.1/3_ac_install_live/1-live/sys-boot/grub/default.grub.default
 # For modify this file, create /etc/default/grub.clt template.
 #------------------------------------------------------------------------------
 # /etc/default/grub
@@ -20,7 +20,7 @@
 GRUB_TIMEOUT=2

 GRUB_CMDLINE_LINUX_DEFAULT="bootdegraded" 
-GRUB_CMDLINE_LINUX="video=uvesafb:ywrap,1024x768-32,mtrr:3,splash=silent,theme:calculate  elevator=deadline doscsi calculate=video:other console=tty1 udev quiet" 
+GRUB_CMDLINE_LINUX="video=uvesafb:ywrap,1024x768-32,mtrr:3,splash=silent,theme:calculate real_resume=UUID=f43c8793-798b-4b74-876a-3c714b8043ce elevator=deadline doscsi domdadm console=tty1 udev quiet" 

 # Uncomment to disable graphical terminal (grub-pc only)
 #GRUB_TERMINAL=console
@@ -40,5 +40,4 @@
 GRUB_BACKGROUND="/boot/grub/grub-calculate.png" 
 GRUB_COLOR_NORMAL="white/black" 
 GRUB_COLOR_HIGHLIGHT="magenta/black" 
-GRUB_VIDEO_BACKEND="vbe" 
 GRUB_DISTRIBUTOR="Calculate Directory Server" 

 * (6 из 7) -- /etc/default/grub

Выберите действие для настройки: (Удалить новый[z]/Использовать новый[u]/Далее[n]):
--- /etc/eixrc  2014-10-01 14:51:30.589798026 +0400
+++ /etc/._cfg0000_eixrc        2014-10-02 16:25:36.311261846 +0400
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# Modified Calculate-core 3.1.3
+# Modified Calculate-core 3.2.1
 # Processed template files:
 # /var/lib/layman/calculate/profiles/templates/3.1/2_ac_install_merge/app-portage/eix/eixrc
 # For modify this file, create /etc/eixrc.clt template.

 * (7 из 7) -- /etc/eixrc

Выберите действие для настройки: (Удалить новый[z]/Использовать новый[u]/Далее[n]):
 * Ответ не понятен
Выберите действие для настройки: (Удалить новый[z]/Использовать новый[u]/Далее[n]):
Проверка обновлений
 * Вычисление зависимостей ...                                                                                                                                    [ ok ]
!!! Problem resolving dependencies for dev-lang/php from @selected
... готово!

!!! The ebuild selected to satisfy "dev-lang/php" has unmet requirements.
- dev-lang/php-5.5.16::gentoo USE="apache2 bzip2 cli crypt ctype exif fileinfo filter ftp gdbm hash iconv imap ipv6 json mysql nls opcache phar posix readline session simplexml ssl tokenizer truetype unicode xml zlib -bcmath -berkdb -calendar -cdb -cgi -cjk -curl -debug -embed -enchant (-firebird) -flatfile -fpm (-frontbase) -gd -gmp -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -mysqli -oci8-instant-client -odbc -pcntl -pdo -postgres -qdbm -recode (-selinux) -sharedmem -snmp -soap -sockets -spell -sqlite (-sybase-ct) -systemd -sysvipc -threads -tidy -vpx -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xslt -zip" ABI_X86="64" 

  The following REQUIRED_USE flag constraints are unsatisfied:
    truetype? ( gd ) exif? ( gd )

  The above constraints are a subset of the following complete expression:
    truetype? ( gd ) vpx? ( gd ) cjk? ( gd ) exif? ( gd ) xpm? ( gd ) gd? ( zlib ) simplexml? ( xml ) soap? ( xml ) wddx? ( xml ) xmlrpc? ( any-of ( xml iconv ) ) xmlreader? ( xml ) xslt? ( xml ) ldap-sasl? ( ldap ) mhash? ( hash ) phar? ( hash ) libmysqlclient? ( any-of ( mysql mysqli pdo ) ) qdbm? ( !gdbm ) readline? ( !libedit ) recode? ( !imap !mysql !mysqli ) sharedmem? ( !threads ) !cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )

(требуется по зависимости для "@selected" [комплект])
(требуется по зависимости для "@world" [аргумент])
 * Выполнение Emerge завершилось с ошибкой
 * Не удалось обновить

>>> Updating Portage cache
100% [=======================================================================>]
 * Вызов eix-diff
Сравнение баз данных (17703 -> 17703 пакетов)
 * Статистика времени:
     2 секунд для синхронизация
    13 секунд для eix-update
     2 секунд для eix-diff
   250 секунд всего

Also available in: Atom PDF

Thank you!