[Bug 1894140] Re: grub-pc 2.04-1ubuntu29 fails to install on groovy 20.10 due to pkg deps conflict

Sean Feole 1894140 at bugs.launchpad.net
Thu Sep 3 19:27:53 UTC 2020


So after looking around a bit it would appear there is another version
of grub2 that has been uploaded to the builders. (Version
2.04-1ubuntu30)

https://launchpad.net/ubuntu/+source/grub2/2.04-1ubuntu30

Appears to have 2 fixes:

  * postinst.in: do not attempt to call grub-install upon fresh install of
    grub-pc because it it a job of installers to do that after fresh
    install.
  * grub-multi-install: fix non-interactive failures for grub-efi like it
    was fixed in postinst for grub-pc.

Not sure if this problem would be addressed in here, however the amd64
deb has failed to build and I have notified the appropriate xnoxx

** Also affects: ubuntu-kernel-tests
   Importance: Undecided
       Status: New

** Changed in: ubuntu-kernel-tests
       Status: New => Triaged

** Changed in: ubuntu-kernel-tests
   Importance: Undecided => High

** Changed in: ubuntu-kernel-tests
     Assignee: (unassigned) => Sean Feole (sfeole)

-- 
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/1894140

Title:
  grub-pc 2.04-1ubuntu29 fails to install on groovy 20.10 due to pkg
  deps conflict

Status in ubuntu-kernel-tests:
  Triaged
Status in grub2 package in Ubuntu:
  New

Bug description:
  Series: Groovy
  Arch: AMD64

  
  When attempting to deploy Groovy AMD64 images via MAAS, the deployment is failing due to curtin attempting to install grub-pc (2.04-1ubuntu29 )  which fails to install due to a depends issue noted below.  

  
  This has essentially broken all maas deployments at least on Groovy AMD64 at this time. 


  
          Setting up linux-generic (5.8.0.16.18) ...
          Setting up grub-pc (2.04-1ubuntu29) ...
          
          Creating config file /etc/default/grub with new version
          dpkg: error processing package grub-pc (--configure):
           installed grub-pc package post-installation script subprocess returned error exit status 1
          dpkg: dependency problems prevent configuration of grub-gfxpayload-lists:
           grub-gfxpayload-lists depends on grub-pc (>= 1.99~20101210-1ubuntu2); however:
            Package grub-pc is not configured yet.
          
          dpkg: error processing package grub-gfxpayload-lists (--configure):
           dependency problems - leaving unconfigured
          Processing triggers for dbus (1.12.18-1ubuntu1) ...
          Processing triggers for install-info (6.7.0.dfsg.2-5) ...
          No apport report written because the error message indicates its a followup error from a previous failure.
          Processing triggers for libc-bin (2.31-0ubuntu10) ...
          Processing triggers for systemd (246.2-1ubuntu1) ...
          Running in chroot, ignoring command 'daemon-reload'
          Processing triggers for man-db (2.9.3-2) ...
          Processing triggers for linux-image-5.8.0-16-generic (5.8.0-16.17) ...
          Errors were encountered while processing:
           grub-pc
           grub-gfxpayload-lists
          E: Sub-process /usr/bin/dpkg returned an error code (1)
          Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
          TIMED subp(['udevadm', 'settle']): 0.050
          Running command ['umount', '/tmp/tmpu39p2api/target/sys'] with allowed return codes [0] (capture=False)
          Running command ['umount', '/tmp/tmpu39p2api/target/run'] with allowed return codes [0] (capture=False)
          Running command ['umount', '/tmp/tmpu39p2api/target/proc'] with allowed return codes [0] (capture=False)
          Running command ['umount', '/tmp/tmpu39p2api/target/dev'] with allowed return codes [0] (capture=False)
          finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: FAIL: installing kernel
          finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
          Traceback (most recent call last):
            File "/curtin/curtin/commands/main.py", line 202, in main
              ret = args.func(args)
            File "/curtin/curtin/commands/curthooks.py", line 1770, in curthooks
              builtin_curthooks(cfg, target, state)
            File "/curtin/curtin/commands/curthooks.py", line 1613, in builtin_curthooks
              install_kernel(cfg, target)
            File "/curtin/curtin/commands/curthooks.py", line 371, in install_kernel
              distro.install_packages([kernel_package], target=target)
            File "/curtin/curtin/distro.py", line 405, in install_packages
              return install_cmd('install', args=pkglist, opts=opts, target=target,
            File "/curtin/curtin/distro.py", line 292, in run_apt_command
              return inchroot.subp(cmd, env=env)
            File "/curtin/curtin/util.py", line 708, in subp
              return subp(*args, **kwargs)
            File "/curtin/curtin/util.py", line 275, in subp
              return _subp(*args, **kwargs)
            File "/curtin/curtin/util.py", line 139, in _subp
              raise ProcessExecutionError(stdout=out, stderr=err,
          curtin.util.ProcessExecutionError: Unexpected error while running command.
          Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmpu39p2api/target', 'eatmydata', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'linux-generic']
          Exit code: 100
          Reason: -
          Stdout: ''
          Stderr: ''
          Unexpected error while running command.
          Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmpu39p2api/target', 'eatmydata', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'linux-generic']
          Exit code: 100
          Reason: -
          Stdout: ''
          Stderr: ''
          
  Stderr: ''

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1894140/+subscriptions



More information about the foundations-bugs mailing list