[Bug 1783562] Re: package grub-pc 2.02-2ubuntu8.2 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 10

Nikolay Savelev 1783562 at bugs.launchpad.net
Wed Aug 15 03:52:35 UTC 2018


Настраивается пакет grub-pc (2.02-2ubuntu8.2) …
+ cached_available_ids=
+ case "$1" in
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/grub-pc.postinst configure 2.02-2ubuntu8
+ cached_available_ids=
+ case "$1" in
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ devicemap_regenerated=
+ egrep -q '^[[:space:]]*post(inst|rm)_hook[[:space:]]*=[[:space:]]*(/sbin/|/usr/sbin/)?update-grub' /etc/kernel-img.conf
+ case grub-pc in
+ mkdir -p /boot/grub
+ test -e /boot/grub/device.map
+ test -z ''
+ test -s /boot/grub/device.map
+ test -z ''
+ dpkg --compare-versions 2.02-2ubuntu8 lt-nl 1.99~20101210-2
++ mktemp -t grub.XXXXXXXXXX
+ tmp_default_grub=/tmp/grub.Q94e5IZZXU
+ trap 'rm -f /tmp/grub.Q94e5IZZXU' EXIT
+ cp -p /usr/share/grub/default/grub /tmp/grub.Q94e5IZZXU
+ merge_debconf_into_conf /tmp/grub.Q94e5IZZXU GRUB_CMDLINE_LINUX grub2/linux_cmdline
+ local tmpfile
+ tmpfile=/tmp/grub.Q94e5IZZXU
+ local setting
+ setting=GRUB_CMDLINE_LINUX
+ local template
+ template=grub2/linux_cmdline
+ db_get grub2/linux_cmdline
+ _db_cmd 'GET grub2/linux_cmdline'
+ _db_internal_IFS=' 	
'
+ IFS=' '
+ printf '%s\n' 'GET grub2/linux_cmdline'
+ IFS=' 	
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ case ${_db_internal_line%%[ 	]*} in
+ return 0
+ local value
++ echo ''
++ sed -e 's,[$`"\],\\&,g'
+ value=
+ grep -q '^GRUB_CMDLINE_LINUX=' /tmp/grub.Q94e5IZZXU
++ echo ''
++ sed -e 's,[\@],\\&,g'
+ value=
+ sed -i -re 's@^(GRUB_CMDLINE_LINUX=).*@\1""@' /tmp/grub.Q94e5IZZXU
+ merge_debconf_into_conf /tmp/grub.Q94e5IZZXU GRUB_CMDLINE_LINUX_DEFAULT grub2/linux_cmdline_default
+ local tmpfile
+ tmpfile=/tmp/grub.Q94e5IZZXU
+ local setting
+ setting=GRUB_CMDLINE_LINUX_DEFAULT
+ local template
+ template=grub2/linux_cmdline_default
+ db_get grub2/linux_cmdline_default
+ _db_cmd 'GET grub2/linux_cmdline_default'
+ _db_internal_IFS=' 	
'
+ IFS=' '
+ printf '%s\n' 'GET grub2/linux_cmdline_default'
+ IFS=' 	
'
+ IFS='
'
+ read -r _db_internal_line
+ RET='quiet splash'
+ case ${_db_internal_line%%[ 	]*} in
+ return 0
+ local value
++ echo 'quiet splash'
++ sed -e 's,[$`"\],\\&,g'
+ value='quiet splash'
+ grep -q '^GRUB_CMDLINE_LINUX_DEFAULT=' /tmp/grub.Q94e5IZZXU
++ echo 'quiet splash'
++ sed -e 's,[\@],\\&,g'
+ value='quiet splash'
+ sed -i -re 's@^(GRUB_CMDLINE_LINUX_DEFAULT=).*@\1"quiet splash"@' /tmp/grub.Q94e5IZZXU
+ case grub-pc in
+ merge_debconf_into_conf /tmp/grub.Q94e5IZZXU GRUB_TIMEOUT grub-pc/timeout
+ local tmpfile
+ tmpfile=/tmp/grub.Q94e5IZZXU
+ local setting
+ setting=GRUB_TIMEOUT
+ local template
+ template=grub-pc/timeout
+ db_get grub-pc/timeout
+ _db_cmd 'GET grub-pc/timeout'
+ _db_internal_IFS=' 	
'
+ IFS=' '
+ printf '%s\n' 'GET grub-pc/timeout'
+ IFS=' 	
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=10
+ case ${_db_internal_line%%[ 	]*} in
+ return 0
+ local value
++ sed -e 's,[$`"\],\\&,g'
++ echo 10
+ value=10
+ grep -q '^GRUB_TIMEOUT=' /tmp/grub.Q94e5IZZXU
++ echo 10
++ sed -e 's,[\@],\\&,g'
+ value=10
+ sed -i -re 's@^(GRUB_TIMEOUT=).*@\1"10"@' /tmp/grub.Q94e5IZZXU
+ sed -i -e 's/^\(GRUB_TIMEOUT=\)"\([0-9][0-9]*\)"/\1\2/' /tmp/grub.Q94e5IZZXU
+ db_get grub-pc/hidden_timeout
+ _db_cmd 'GET grub-pc/hidden_timeout'
+ _db_internal_IFS=' 	
'
+ IFS=' '
+ printf '%s\n' 'GET grub-pc/hidden_timeout'
+ IFS=' 	
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[ 	]*} in
+ return 0
+ '[' true = false ']'
+ ucf --three-way --debconf-ok --sum-file=/usr/share/grub/default/grub.md5sum /tmp/grub.Q94e5IZZXU /etc/default/grub
++ 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
+ fix_mixed_system=
+ test -e /boot/grub/stage2
++ get_wubi_device
++ '[' '!' -x /usr/share/lupin-support/grub-mkimage ']'
++ return 1
+ wubi_device=
+ true
+ '[' '' ']'
+ test -e /boot/grub/stage2
+ running_in_container
+ type systemd-detect-virt
+ systemd-detect-virt --quiet --container
+ test -z 2.02-2ubuntu8
+ test -e /boot/grub/core.img
+ test -e /boot/grub/i386-pc/core.img
+ question=grub-pc/install_devices
+ priority=high
++ grub-mkdevicemap -m -
++ grep -v '^(fd[0-9]\+)'

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1783562

Title:
  package grub-pc 2.02-2ubuntu8.2 failed to install/upgrade: installed
  grub-pc package post-installation script subprocess returned error
  exit status 10

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  This error come up every time I start my system.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: grub-pc 2.02-2ubuntu8.2
  ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
  Uname: Linux 4.15.0-29-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  Date: Tue Jul 24 20:46:47 2018
  DuplicateSignature:
   package:grub-pc:2.02-2ubuntu8.2
   Setting up unattended-upgrades (1.1ubuntu1.18.04.5) ...
   dpkg: error processing package unattended-upgrades (--configure):
    installed unattended-upgrades package post-installation script subprocess returned error exit status 10
  ErrorMessage: installed grub-pc package post-installation script subprocess returned error exit status 10
  InstallationDate: Installed on 2018-03-14 (132 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic root=UUID=2d103f0a-4c1b-4b58-9ce0-f4b78f65a235 ro quiet splash
  Python3Details: /usr/bin/python3.6, Python 3.6.5, unpackaged
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, unpackaged
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.3
  SourcePackage: grub2
  Title: package grub-pc 2.02-2ubuntu8.2 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 10
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1783562/+subscriptions



More information about the foundations-bugs mailing list