image build failed due to the grub-probe operation

Bug #1228462 reported by Ma Jun on 2013-09-21
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Kylin
Critical
Aron Xu
ubuntukylin-theme
Critical
zhangchao
ubuntukylin-theme (Ubuntu)
High
Aron Xu

Bug Description

The daily image build has failed since 18th(UTC) and the building log showed error to grub-probe operation. The detail error message is :

....

Creating config file /etc/default/grub with new version
grub-probe: error: cannot find a device for / (is /dev mounted?).
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).

....

Setting up ubuntukylin-theme (0.8.1) ...
update-alternatives: using /lib/plymouth/themes/ubuntukylin-logo/ubuntukylin-logo.plymouth to provide /lib/plymouth/themes/default.plymouth (default.plymouth) in auto mode
update-alternatives: using /lib/plymouth/themes/ubuntukylin-text/ubuntukylin-text.plymouth to provide /lib/plymouth/themes/text.plymouth (text.plymouth) in auto mode
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
dpkg: error processing ubuntukylin-theme (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntukylin-default-settings:
 ubuntukylin-default-settings depends on ubuntukylin-theme; however:
  Package ubuntukylin-theme is not configured yet.

dpkg: error processing ubuntukylin-default-settings (--configure):
 dependency problems - leaving unconfigured

...

Related branches

Ma Jun (maclin.jun) wrote :
Changed in ubuntukylin:
importance: Undecided → Critical
assignee: nobody → zhangchao (zctgbhu)
zhangchao (zctgbhu) wrote :

can not use "update-grub2" in live-cd biulding.

Jack Yu (jackyu) on 2013-09-21
Changed in ubuntukylin:
milestone: none → final-beta
Ma Jun (maclin.jun) wrote :
Jack Yu (jackyu) on 2013-09-21
Changed in ubuntukylin:
assignee: zhangchao (zctgbhu) → Aron Xu (happyaron)
Changed in ubuntukylin-theme:
assignee: nobody → zhangchao (zctgbhu)
status: New → In Progress
importance: Undecided → Critical
Aron Xu (happyaron) on 2013-09-22
Changed in ubuntukylin-theme (Ubuntu):
assignee: nobody → Aron Xu (happyaron)
importance: Undecided → High
status: New → In Progress
Aron Xu (happyaron) on 2013-09-22
Changed in ubuntukylin-theme (Ubuntu):
status: In Progress → Fix Committed
Changed in ubuntukylin:
status: New → Fix Committed
Changed in ubuntukylin-theme:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntukylin-theme - 0.8.2

---------------
ubuntukylin-theme (0.8.2) saucy; urgency=low

  * Remove update-grub2 in .postinst and .postrm (LP: #1228462)
 -- Aron Xu <email address hidden> Sun, 22 Sep 2013 16:27:17 +0800

Changed in ubuntukylin-theme (Ubuntu):
status: Fix Committed → Fix Released
Jack Yu (jackyu) on 2013-09-23
Changed in ubuntukylin:
status: Fix Committed → Fix Released
Changed in ubuntukylin-theme:
status: Fix Committed → Fix Released
Bin Li (binli) wrote :

@zhangchao,

 Where do we call the update-grub? Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers