Bug 11911 - Зависание при "Получение пакетов ..."
: Зависание при "Получение пакетов ..."
Status: CLOSED WORKSFORME
: Sisyphus
(All bugs in Sisyphus/alterator-install2-server)
: unstable
: all Linux
: P2 critical
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-05-29 14:27 by
Modified: 2007-11-10 18:36 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-05-29 14:27:26
Собрал инсталлятор из spt-profiles-server (единственное изменение: отключил
компонент asterisk, т.к. asterisk1.4-complete сломан), устанавливаюсь с него,
размечаю диски, и инсталлятор висит с сообщением "Получение пакетов ...",
причем 
висит уже долго. Можно узнать, чем он занимается и когда планирует закончить?

конец /tmp/install2.log выглядит так:

install2-manifest: GET: 
'/image/ALTLinux/RPMS.base/procmail_3.22-alt7_i586.rpm'
try connect with path '/tmp/alterator/browser-sock'...
here...
mailbox message:package "procmail_3.22-alt7_i586.rpm" step 282
end of processing....
install2-manifest: GET: 
'/image/ALTLinux/RPMS.base/mingetty_1.01-alt3_i586.rpm'
try connect with path '/tmp/alterator/browser-sock'...
here...
mailbox message:package "mingetty_1.01-alt3_i586.rpm" step 283
end of processing....
try connect with path '/tmp/alterator/browser-sock'...
here...
mailbox message:package " " step 285
end of processing....
try connect with path '/tmp/alterator/browser-sock'...
here...
mailbox message:stage install-pkgs max 285
end of processing....
here...
try connect with path '/tmp/alterator/browser-sock'...
here...
mailbox message:package " " step 285
end of processing....
try connect with path '/tmp/alterator/browser-sock'...
here...
mailbox message:done #t
end of processing....
savesettings: write init
savesettings: function prepare_chroot mount: mount point 
/mnt/destination/proc does not exist
mount: mount point /mnt/destination/sys does not exist
done
savesettings: function save_fstab done
savesettings: function save_i18n done
savesettings: function save_cdrom chroot: cannot run command 
`apt-cdrom': No such file or direc
tory
fail
savesettings: function save_aptprofile done
savesettings: function save_initrd chroot: cannot run command 
`/tmp/instkernel': No such file o
r directory
fail
savesettings: function save_portmap done
savesettings: function save_network chroot: cannot run command `ifup': 
No such file or director
y
done
savesettings: function save_mdadm done

Часть того, на что он ругается, действительно отсутствует, после сборки с
--no-cleanup:

# cd /home/john/spt/chroot/
# find . -name ifup
# find . -name apt-cdrom
./usr/bin/apt-cdrom

# chroot /home/john/spt/chroot/
bash-3.1# rpm -qf /sbin/ifup
error: file /sbin/ifup: No such file or directory
bash-3.1# rpm -qi etcnet
warning: package etcnet is not installed

# grep -r etcnet /home/john/spt/profile/
/home/john/spt/profile/rescue/packages:etcnet

В чем может быть дело?
------- Comment #1 From 2007-05-29 16:49:49 -------
Как это asterisk1.4-complete сломан? А где висящий на нем blocker?
------- Comment #2 From 2007-05-29 17:25:42 -------
Да там всего-то пересобрать asterisk1.4-fax:

[root@alt-devel-i586 ~]# apt-get install asterisk1.4-complete
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  asterisk1.4-complete: Depends: asterisk1.4-fax (= 1.4.4-alt4.20070514) but it
is not going to be installed
E: Broken packages
[root@alt-devel-i586 ~]# apt-get install asterisk1.4-fax     
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  asterisk1.4-fax: Depends: libspandsp4 (= 0.0.4-alt1.20070513) but
0.0.4pre1-alt1 is to be installed
                   Depends: libspandsp.so.0(LIBSPANDSP3_0.0.4.2007.05.13)
E: Broken packages

Вешать или так исправишь? ;)
------- Comment #3 From 2007-06-02 01:07:06 -------
Последнее обновление бранча должно было это исправить.
Вообще такая бага есть блокер, и повод меня больно пнуть email'ом/в багтрекере.

А вот зависание после этапа "получение пакетов" в случае неверных зависимостей
и
конфликтующих по файлам пакетов -- это major баг, но не critical. Для сборщиков
крайне неприятно отсутствием внятной диагностики.

Вообще такое должен бы сам spt ещё проверять.
------- Comment #4 From 2007-09-19 04:27:54 -------
Наверное, это было следствием какой-то уже исправленной баги.