package grub-pc 1.97~beta4-1ubuntu4 failed to install/upgrade: ?????????? ?????????? ???????? post-installation ???????? ?? ??????? (Interrupt)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
Description: Ubuntu 9.10 (upgrade from 9.04 )
Release: 9.10
After upgrade ubuntu i also update grub to grub2 using command upgrade-
Every thing works grate until update to grub-pc 1.97~beta4-1ubuntu4
new package grub-pc 1.97~beta4-1ubuntu4 (current installed version 1.97~beta4-
After any update grub-pc freeze at configure stage, i have wait one day, but nothing changes.
So, to install other updates i must kill configure process by sending CTRL+C
To debug i change first line in file /var/lib/
to #!/bin/bash -ex
# dpkg --configure -a -D2
Настраивается пакет grub-pc (1.97~beta4-
D000002: fork/exec /var/lib/
+ case "$1" in
+ . /usr/share/
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/
+ case "$1" in
+ . /usr/share/
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ case grub-pc in
+ grep -q '[= ]/sbin/update-grub' /etc/kernel-
+ mkdir -p /boot/grub
+ test -e /boot/grub/
+ test -e /boot/grub/core.img
+ grub-mkdevicemap --no-floppy
++ mktemp /tmp/grub.
+ tmp_default_
+ trap 'rm -f /tmp/grub.
+ cp -p /usr/share/
+ merge_debconf_
+ local tmpfile
+ tmpfile=
+ local setting
+ setting=
+ local template
+ template=
+ db_get grub2/linux_cmdline
+ _db_cmd 'GET grub2/linux_
+ IFS=' '
+ printf '%s\n' 'GET grub2/linux_
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ case ${_db_internal_
+ return 0
+ local value
++ echo ''
++ sed -e 's,[$`"\],\\&,g; s,[\@],\\&,g'
+ value=
+ grep -q '^GRUB_
+ sed -i -re 's@^(GRUB_
+ merge_debconf_
+ local tmpfile
+ tmpfile=
+ local setting
+ setting=
+ local template
+ template=
+ db_get grub2/linux_
+ _db_cmd 'GET grub2/linux_
+ IFS=' '
+ printf '%s\n' 'GET grub2/linux_
+ IFS='
'
+ read -r _db_internal_line
+ RET='quiet splash'
+ case ${_db_internal_
+ return 0
+ local value
++ echo 'quiet splash'
++ sed -e 's,[$`"\],\\&,g; s,[\@],\\&,g'
+ value='quiet splash'
+ grep -q '^GRUB_
+ sed -i -re 's@^(GRUB_
+ case grub-pc in
+ merge_debconf_
+ local tmpfile
+ tmpfile=
+ local setting
+ setting=
+ local template
+ template=
+ db_get grub-pc/timeout
+ _db_cmd 'GET grub-pc/timeout'
+ IFS=' '
+ printf '%s\n' 'GET grub-pc/timeout'
+ IFS='
'
+ read -r _db_internal_line
+ RET=5
+ case ${_db_internal_
+ return 0
+ local value
++ echo 5
++ sed -e 's,[$`"\],\\&,g; s,[\@],\\&,g'
+ value=5
+ grep -q '^GRUB_TIMEOUT=' /tmp/grub.
+ sed -i -re 's@^(GRUB_
+ db_get grub-pc/
+ _db_cmd 'GET grub-pc/
+ IFS=' '
+ printf '%s\n' 'GET grub-pc/
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_
+ return 0
+ '[' true = false ']'
+ ucf --three-way --debconf-ok --sum-file=
++ ucfq --with-colons /etc/default/grub
++ cut -d : -f 2
+ package=grub-pc
+ echo grub-pc
+ grep -q '^grub-'
+ ucfr --force grub-pc /etc/default/grub
+ case grub-pc in
+ test -e /boot/grub/stage2
++ grub-mkdevicemap -m -
++ sed -e '/^(fd[
++ tr '\n' ,
++ sed -e 's/,$//g;s/,/, /g'
+ db_subst grub-pc/
+ _db_cmd 'SUBST grub-pc/
+ IFS=' '
+ printf '%s\n' 'SUBST grub-pc/
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_
+ return 0
+ db_input high grub-pc/
+ _db_cmd 'INPUT high' grub-pc/
+ IFS=' '
+ printf '%s\n' 'INPUT high grub-pc/
+ IFS='
'
+ read -r _db_internal_line
+ RET='30 question skipped'
+ case ${_db_internal_
+ return 30
+ true
+ db_go
+ _db_cmd 'GO '
+ IFS=' '
+ printf '%s\n' 'GO '
+ IFS='
'
+ read -r _db_internal_line
+ RET=ok
+ case ${_db_internal_
+ return 0
+ db_get grub-pc/
+ _db_cmd 'GET grub-pc/
+ IFS=' '
+ printf '%s\n' 'GET grub-pc/
+ IFS='
'
+ read -r _db_internal_line
+ RET=/dev/sdb
+ case ${_db_internal_
+ return 0
++ echo /dev/sdb
++ sed -e 's/,/ /g'
+ for i in '`echo $RET | sed -e '\''s/,/ /g'\''`'
+ grub-install --no-floppy /dev/sdb
as you can see it freeze on grub-install --no-floppy /dev/sdb
/dev/sdb it is my main hard disk
$ mount
/dev/sdb3 on / type ext3 (rw,relatime,
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,
none on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,
none on /var/lock type tmpfs (rw,noexec,
none on /lib/init/rw type tmpfs (rw,nosuid,
/dev/sdb1 on /boot type ext3 (rw,relatime)
/dev/sdb4 on /home type ext3 (rw,relatime)
/dev/sda1 on /mnt/documents type ext3 (rw,relatime)
binfmt_misc on /proc/sys/
but as grub-install it is also bash script i continue to debug (full log in attach grub-install.txt)
# grub-install --no-floppy /dev/sdb
...
+ '[' i386-pc = i386-pc ']'
+ /usr/bin/
+ /usr/sbin/
# ps aux | grep grub
root 17173 0.0 0.0 1904 760 ? D 11:54 0:00 /usr/sbin/
root 17931 0.0 0.0 1904 764 pts/5 D 11:58 0:00 /usr/sbin/
root 18631 0.0 0.0 1904 760 pts/5 D 12:02 0:00 /usr/sbin/
root 19875 0.0 0.0 1904 760 pts/5 D 12:05 0:00 /usr/sbin/
root 21245 0.0 0.0 1904 764 pts/5 D 12:31 0:00 /usr/sbin/
root 21901 0.0 0.0 1904 760 pts/5 D 12:34 0:00 /usr/sbin/
root 22014 0.0 0.0 1904 760 pts/5 D+ 12:39 0:00 /usr/sbin/
root 22059 0.0 0.0 2972 776 pts/1 S+ 12:41 0:00 grep grub
but i can't kill any of this process, even use command
# kill -9 17173
ProblemType: Package
Architecture: i386
Date: Sat Nov 21 11:53:49 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: подпроцесс установлен сценарий post-installation завершён по сигналу (Interrupt)
Package: grub-pc 1.97~beta4-1ubuntu4
SourcePackage: grub2
Title: package grub-pc 1.97~beta4-1ubuntu4 failed to install/upgrade: подпроцесс установлен сценарий post-installation завершён по сигналу (Interrupt)
Uname: Linux 2.6.32-