[Bug 1800153] Re: [2.5] Failed to deploy ppc64el

Ryan Harper 1800153 at bugs.launchpad.net
Fri Oct 26 14:53:12 UTC 2018


Can you attach the curtin logs?

And do you have logs from the last previous successful run?

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

Title:
  [2.5] Failed to deploy ppc64el

Status in curtin:
  New
Status in MAAS:
  Incomplete
Status in grub2 package in Ubuntu:
  New

Bug description:
    Logs  Events  Configuration
  Installation output
  curtin: Installation started. (18.1-17-gae48e86f-0ubuntu1~18.04.1)
  third party drivers not installed or necessary.
  Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
  Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
  Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
  Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [83.2 kB]
  Get:5 http://ports.ubuntu.com/ubuntu-ports bionic/universe ppc64el Packages [8260 kB]
  Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse ppc64el Packages [133 kB]
  Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el Packages [345 kB]
  Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe ppc64el Packages [481 kB]
  Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse ppc64el Packages [1668 B]
  Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe ppc64el Packages [2844 B]
  Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main ppc64el Packages [137 kB]
  Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe ppc64el Packages [82.7 kB]
  Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse ppc64el Packages [640 B]
  Fetched 9690 kB in 2s (4034 kB/s)
  Reading package lists...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following additional packages will be installed:
    crda grub-common grub-ieee1275 grub-ieee1275-bin grub2-common iw libnl-3-200
    libnl-genl-3-200 linux-firmware linux-headers-4.15.0-38
    linux-headers-4.15.0-38-generic linux-headers-generic
    linux-image-4.15.0-38-generic linux-image-generic
    linux-modules-4.15.0-38-generic linux-modules-extra-4.15.0-38-generic
    os-prober wireless-regdb
  Suggested packages:
    multiboot-doc xorriso desktop-base genisoimage fdutils linux-doc-4.15.0
    | linux-source-4.15.0 linux-tools
  The following NEW packages will be installed:
    crda grub-common grub-ieee1275 grub-ieee1275-bin grub2-common iw libnl-3-200
    libnl-genl-3-200 linux-firmware linux-generic linux-headers-4.15.0-38
    linux-headers-4.15.0-38-generic linux-headers-generic
    linux-image-4.15.0-38-generic linux-image-generic
    linux-modules-4.15.0-38-generic linux-modules-extra-4.15.0-38-generic
    os-prober wireless-regdb
  0 upgraded, 19 newly installed, 0 to remove and 5 not upgraded.
  Need to get 130 MB of archives.
  After this operation, 673 MB of additional disk space will be used.
  Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el libnl-3-200 ppc64el 3.2.29-0ubuntu3 [48.8 kB]
  Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el libnl-genl-3-200 ppc64el 3.2.29-0ubuntu3 [10.8 kB]
  Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el wireless-regdb all 2018.05.09-0ubuntu1~18.04.1 [11.1 kB]
  Get:4 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el iw ppc64el 4.14-0.1 [89.1 kB]
  Get:5 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el crda ppc64el 3.18-1build1 [63.9 kB]
  Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el grub-common ppc64el 2.02-2ubuntu8.7 [1632 kB]
  Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el grub2-common ppc64el 2.02-2ubuntu8.7 [516 kB]
  Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-firmware all 1.173.1 [64.6 MB]
  Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-modules-4.15.0-38-generic ppc64el 4.15.0-38.41 [12.5 MB]
  Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-image-4.15.0-38-generic ppc64el 4.15.0-38.41 [6073 kB]
  Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-modules-extra-4.15.0-38-generic ppc64el 4.15.0-38.41 [31.4 MB]
  Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-image-generic ppc64el 4.15.0.38.40 [2360 B]
  Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-headers-4.15.0-38 all 4.15.0-38.41 [11.0 MB]
  Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-headers-4.15.0-38-generic ppc64el 4.15.0-38.41 [1017 kB]
  Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-headers-generic ppc64el 4.15.0.38.40 [2344 B]
  Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-generic ppc64el 4.15.0.38.40 [1868 B]
  Get:17 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el os-prober ppc64el 1.74ubuntu1 [16.1 kB]
  Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el grub-ieee1275-bin ppc64el 2.02-2ubuntu8.7 [531 kB]
  Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el grub-ieee1275 ppc64el 2.02-2ubuntu8.7 [47.0 kB]
  Preconfiguring packages ...
  Fetched 130 MB in 2s (73.2 MB/s)
  E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
  Selecting previously unselected package libnl-3-200:ppc64el.
  (Reading database ... 28516 files and directories currently installed.)
  Preparing to unpack .../00-libnl-3-200_3.2.29-0ubuntu3_ppc64el.deb ...
  Unpacking libnl-3-200:ppc64el (3.2.29-0ubuntu3) ...
  Selecting previously unselected package libnl-genl-3-200:ppc64el.
  Preparing to unpack .../01-libnl-genl-3-200_3.2.29-0ubuntu3_ppc64el.deb ...
  Unpacking libnl-genl-3-200:ppc64el (3.2.29-0ubuntu3) ...
  Selecting previously unselected package wireless-regdb.
  Preparing to unpack .../02-wireless-regdb_2018.05.09-0ubuntu1~18.04.1_all.deb ...
  Unpacking wireless-regdb (2018.05.09-0ubuntu1~18.04.1) ...
  Selecting previously unselected package iw.
  Preparing to unpack .../03-iw_4.14-0.1_ppc64el.deb ...
  Unpacking iw (4.14-0.1) ...
  Selecting previously unselected package crda.
  Preparing to unpack .../04-crda_3.18-1build1_ppc64el.deb ...
  Unpacking crda (3.18-1build1) ...
  Selecting previously unselected package grub-common.
  Preparing to unpack .../05-grub-common_2.02-2ubuntu8.7_ppc64el.deb ...
  Unpacking grub-common (2.02-2ubuntu8.7) ...
  Selecting previously unselected package grub2-common.
  Preparing to unpack .../06-grub2-common_2.02-2ubuntu8.7_ppc64el.deb ...
  Unpacking grub2-common (2.02-2ubuntu8.7) ...
  Selecting previously unselected package linux-firmware.
  Preparing to unpack .../07-linux-firmware_1.173.1_all.deb ...
  Unpacking linux-firmware (1.173.1) ...
  Selecting previously unselected package linux-modules-4.15.0-38-generic.
  Preparing to unpack .../08-linux-modules-4.15.0-38-generic_4.15.0-38.41_ppc64el.deb ...
  Unpacking linux-modules-4.15.0-38-generic (4.15.0-38.41) ...
  Selecting previously unselected package linux-image-4.15.0-38-generic.
  Preparing to unpack .../09-linux-image-4.15.0-38-generic_4.15.0-38.41_ppc64el.deb ...
  Unpacking linux-image-4.15.0-38-generic (4.15.0-38.41) ...
  Selecting previously unselected package linux-modules-extra-4.15.0-38-generic.
  Preparing to unpack .../10-linux-modules-extra-4.15.0-38-generic_4.15.0-38.41_ppc64el.deb ...
  Unpacking linux-modules-extra-4.15.0-38-generic (4.15.0-38.41) ...
  Selecting previously unselected package linux-image-generic.
  Preparing to unpack .../11-linux-image-generic_4.15.0.38.40_ppc64el.deb ...
  Unpacking linux-image-generic (4.15.0.38.40) ...
  Selecting previously unselected package linux-headers-4.15.0-38.
  Preparing to unpack .../12-linux-headers-4.15.0-38_4.15.0-38.41_all.deb ...
  Unpacking linux-headers-4.15.0-38 (4.15.0-38.41) ...
  Selecting previously unselected package linux-headers-4.15.0-38-generic.
  Preparing to unpack .../13-linux-headers-4.15.0-38-generic_4.15.0-38.41_ppc64el.deb ...
  Unpacking linux-headers-4.15.0-38-generic (4.15.0-38.41) ...
  Selecting previously unselected package linux-headers-generic.
  Preparing to unpack .../14-linux-headers-generic_4.15.0.38.40_ppc64el.deb ...
  Unpacking linux-headers-generic (4.15.0.38.40) ...
  Selecting previously unselected package linux-generic.
  Preparing to unpack .../15-linux-generic_4.15.0.38.40_ppc64el.deb ...
  Unpacking linux-generic (4.15.0.38.40) ...
  Selecting previously unselected package os-prober.
  Preparing to unpack .../16-os-prober_1.74ubuntu1_ppc64el.deb ...
  Unpacking os-prober (1.74ubuntu1) ...
  Selecting previously unselected package grub-ieee1275-bin.
  Preparing to unpack .../17-grub-ieee1275-bin_2.02-2ubuntu8.7_ppc64el.deb ...
  Unpacking grub-ieee1275-bin (2.02-2ubuntu8.7) ...
  Selecting previously unselected package grub-ieee1275.
  Preparing to unpack .../18-grub-ieee1275_2.02-2ubuntu8.7_ppc64el.deb ...
  Unpacking grub-ieee1275 (2.02-2ubuntu8.7) ...
  Processing triggers for install-info (6.5.0.dfsg.1-2) ...
  Setting up wireless-regdb (2018.05.09-0ubuntu1~18.04.1) ...
  Setting up linux-modules-4.15.0-38-generic (4.15.0-38.41) ...
  Processing triggers for libc-bin (2.27-3ubuntu1) ...
  Setting up grub-common (2.02-2ubuntu8.7) ...
  Setting up linux-headers-4.15.0-38 (4.15.0-38.41) ...
  Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
  Setting up libnl-3-200:ppc64el (3.2.29-0ubuntu3) ...
  Setting up linux-firmware (1.173.1) ...
  Setting up linux-image-4.15.0-38-generic (4.15.0-38.41) ...
  I: /boot/vmlinux.old is now a symlink to vmlinux-4.15.0-38-generic
  I: /boot/initrd.img.old is now a symlink to initrd.img-4.15.0-38-generic
  I: /boot/vmlinux is now a symlink to vmlinux-4.15.0-38-generic
  I: /boot/initrd.img is now a symlink to initrd.img-4.15.0-38-generic
  Setting up grub-ieee1275-bin (2.02-2ubuntu8.7) ...
  Setting up grub2-common (2.02-2ubuntu8.7) ...
  Setting up libnl-genl-3-200:ppc64el (3.2.29-0ubuntu3) ...
  Setting up os-prober (1.74ubuntu1) ...
  Setting up linux-headers-4.15.0-38-generic (4.15.0-38.41) ...
  Setting up iw (4.14-0.1) ...
  Setting up grub-ieee1275 (2.02-2ubuntu8.7) ...

  Creating config file /etc/default/grub with new version
  Installing for powerpc-ieee1275 platform.
  grub-install: error: the PReP partition is not empty. If you are sure you want to use it, run dd to clear it: `dd if=/dev/zero of=/dev/sda1'.
  Failed: grub-install --target=powerpc-ieee1275 /dev/sda1 --no-nvram
  WARNING: Bootloader is not properly installed, system may not be bootable
  Setting up linux-headers-generic (4.15.0.38.40) ...
  Setting up crda (3.18-1build1) ...
  Setting up linux-modules-extra-4.15.0-38-generic (4.15.0-38.41) ...
  Setting up linux-image-generic (4.15.0.38.40) ...
  Setting up linux-generic (4.15.0.38.40) ...
  Processing triggers for libc-bin (2.27-3ubuntu1) ...
  Processing triggers for linux-image-4.15.0-38-generic (4.15.0-38.41) ...
  /etc/kernel/postinst.d/initramfs-tools:
  update-initramfs: Generating /boot/initrd.img-4.15.0-38-generic
  Setting up swapspace version 1, size = 8 GiB (8589869056 bytes)
  no label, UUID=1125be4c-445c-4ea5-b16c-51b508f3f4a9
  Unexpected error while running command.
  Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '/tmp/tmp_wb0l73x/target', '/dev/sda1']
  Exit code: 1
  Reason: -
  Stdout: + pkg=grub-ieee1275
          + shift
          + dpkg-reconfigure grub-ieee1275
          Replacing config file /etc/default/grub with new version
          Installing for powerpc-ieee1275 platform.
          grub-install: error: the PReP partition is not empty. If you are sure you want to use it, run dd to clear it: `dd if=/dev/zero of=/dev/sda1'.
          Failed: grub-install --target=powerpc-ieee1275 /dev/sda1 --no-nvram
          WARNING: Bootloader is not properly installed, system may not be bootable
          + update-grub
          Generating grub configuration file ...
          Found linux image: /boot/vmlinux-4.15.0-38-generic
          Found initrd image: /boot/initrd.img-4.15.0-38-generic
          done
          + grub-install /dev/sda1
          Installing for powerpc-ieee1275 platform.
          grub-install: error: the PReP partition is not empty. If you are sure you want to use it, run dd to clear it: `dd if=/dev/zero of=/dev/sda1'.
          + exit
          failed to install grub!
          
  Stderr: ''
  curtin: Installation failed with exception: Unexpected error while running command.
  Command: ['curtin', 'curthooks']
  Exit code: 3
  Reason: -
  Stdout: Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
          Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
          Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
          Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [83.2 kB]
          Get:5 http://ports.ubuntu.com/ubuntu-ports bionic/universe ppc64el Packages [8260 kB]
          Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse ppc64el Packages [133 kB]
          Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el Packages [345 kB]
          Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe ppc64el Packages [481 kB]
          Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse ppc64el Packages [1668 B]
          Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe ppc64el Packages [2844 B]
          Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main ppc64el Packages [137 kB]
          Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe ppc64el Packages [82.7 kB]
          Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse ppc64el Packages [640 B]
          Fetched 9690 kB in 2s (4034 kB/s)
          Reading package lists...
          Reading package lists...
          Building dependency tree...
          Reading state information...
          The following additional packages will be installed:
            crda grub-common grub-ieee1275 grub-ieee1275-bin grub2-common iw libnl-3-200
            libnl-genl-3-200 linux-firmware linux-headers-4.15.0-38
            linux-headers-4.15.0-38-generic linux-headers-generic
            linux-image-4.15.0-38-generic linux-image-generic
            linux-modules-4.15.0-38-generic linux-modules-extra-4.15.0-38-generic
            os-prober wireless-regdb
          Suggested packages:
            multiboot-doc xorriso desktop-base genisoimage fdutils linux-doc-4.15.0
            | linux-source-4.15.0 linux-tools
          The following NEW packages will be installed:
            crda grub-common grub-ieee1275 grub-ieee1275-bin grub2-common iw libnl-3-200
            libnl-genl-3-200 linux-firmware linux-generic linux-headers-4.15.0-38
            linux-headers-4.15.0-38-generic linux-headers-generic
            linux-image-4.15.0-38-generic linux-image-generic
            linux-modules-4.15.0-38-generic linux-modules-extra-4.15.0-38-generic
            os-prober wireless-regdb
          0 upgraded, 19 newly installed, 0 to remove and 5 not upgraded.
          Need to get 130 MB of archives.
          After this operation, 673 MB of additional disk space will be used.
          Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el libnl-3-200 ppc64el 3.2.29-0ubuntu3 [48.8 kB]
          Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el libnl-genl-3-200 ppc64el 3.2.29-0ubuntu3 [10.8 kB]
          Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el wireless-regdb all 2018.05.09-0ubuntu1~18.04.1 [11.1 kB]
          Get:4 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el iw ppc64el 4.14-0.1 [89.1 kB]
          Get:5 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el crda ppc64el 3.18-1build1 [63.9 kB]
          Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el grub-common ppc64el 2.02-2ubuntu8.7 [1632 kB]
          Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el grub2-common ppc64el 2.02-2ubuntu8.7 [516 kB]
          Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-firmware all 1.173.1 [64.6 MB]
          Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-modules-4.15.0-38-generic ppc64el 4.15.0-38.41 [12.5 MB]
          Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-image-4.15.0-38-generic ppc64el 4.15.0-38.41 [6073 kB]
          Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-modules-extra-4.15.0-38-generic ppc64el 4.15.0-38.41 [31.4 MB]
          Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-image-generic ppc64el 4.15.0.38.40 [2360 B]
          Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-headers-4.15.0-38 all 4.15.0-38.41 [11.0 MB]
          Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-headers-4.15.0-38-generic ppc64el 4.15.0-38.41 [1017 kB]
          Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-headers-generic ppc64el 4.15.0.38.40 [2344 B]
          Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el linux-generic ppc64el 4.15.0.38.40 [1868 B]
          Get:17 http://ports.ubuntu.com/ubuntu-ports bionic/main ppc64el os-prober ppc64el 1.74ubuntu1 [16.1 kB]
          Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el grub-ieee1275-bin ppc64el 2.02-2ubuntu8.7 [531 kB]
          Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main ppc64el grub-ieee1275 ppc64el 2.02-2ubuntu8.7 [47.0 kB]
          Preconfiguring packages ...
          Fetched 130 MB in 2s (73.2 MB/s)
          E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
          Selecting previously unselected package libnl-3-200:ppc64el.
          (Reading database ... 28516 files and directories currently installed.)
          Preparing to unpack .../00-libnl-3-200_3.2.29-0ubuntu3_ppc64el.deb ...
          Unpacking libnl-3-200:ppc64el (3.2.29-0ubuntu3) ...
          Selecting previously unselected package libnl-genl-3-200:ppc64el.
          Preparing to unpack .../01-libnl-genl-3-200_3.2.29-0ubuntu3_ppc64el.deb ...
          Unpacking libnl-genl-3-200:ppc64el (3.2.29-0ubuntu3) ...
          Selecting previously unselected package wireless-regdb.
          Preparing to unpack .../02-wireless-regdb_2018.05.09-0ubuntu1~18.04.1_all.deb ...
          Unpacking wireless-regdb (2018.05.09-0ubuntu1~18.04.1) ...
          Selecting previously unselected package iw.
          Preparing to unpack .../03-iw_4.14-0.1_ppc64el.deb ...
          Unpacking iw (4.14-0.1) ...
          Selecting previously unselected package crda.
          Preparing to unpack .../04-crda_3.18-1build1_ppc64el.deb ...
          Unpacking crda (3.18-1build1) ...
          Selecting previously unselected package grub-common.
          Preparing to unpack .../05-grub-common_2.02-2ubuntu8.7_ppc64el.deb ...
          Unpacking grub-common (2.02-2ubuntu8.7) ...
          Selecting previously unselected package grub2-common.
          Preparing to unpack .../06-grub2-common_2.02-2ubuntu8.7_ppc64el.deb ...
          Unpacking grub2-common (2.02-2ubuntu8.7) ...
          Selecting previously unselected package linux-firmware.
          Preparing to unpack .../07-linux-firmware_1.173.1_all.deb ...
          Unpacking linux-firmware (1.173.1) ...
          Selecting previously unselected package linux-modules-4.15.0-38-generic.
          Preparing to unpack .../08-linux-modules-4.15.0-38-generic_4.15.0-38.41_ppc64el.deb ...
          Unpacking linux-modules-4.15.0-38-generic (4.15.0-38.41) ...
          Selecting previously unselected package linux-image-4.15.0-38-generic.
          Preparing to unpack .../09-linux-image-4.15.0-38-generic_4.15.0-38.41_ppc64el.deb ...
          Unpacking linux-image-4.15.0-38-generic (4.15.0-38.41) ...
          Selecting previously unselected package linux-modules-extra-4.15.0-38-generic.
          Preparing to unpack .../10-linux-modules-extra-4.15.0-38-generic_4.15.0-38.41_ppc64el.deb ...
          Unpacking linux-modules-extra-4.15.0-38-generic (4.15.0-38.41) ...
          Selecting previously unselected package linux-image-generic.
          Preparing to unpack .../11-linux-image-generic_4.15.0.38.40_ppc64el.deb ...
          Unpacking linux-image-generic (4.15.0.38.40) ...
          Selecting previously unselected package linux-headers-4.15.0-38.
          Preparing to unpack .../12-linux-headers-4.15.0-38_4.15.0-38.41_all.deb ...
          Unpacking linux-headers-4.15.0-38 (4.15.0-38.41) ...
          Selecting previously unselected package linux-headers-4.15.0-38-generic.
          Preparing to unpack .../13-linux-headers-4.15.0-38-generic_4.15.0-38.41_ppc64el.deb ...
          Unpacking linux-headers-4.15.0-38-generic (4.15.0-38.41) ...
          Selecting previously unselected package linux-headers-generic.
          Preparing to unpack .../14-linux-headers-generic_4.15.0.38.40_ppc64el.deb ...
          Unpacking linux-headers-generic (4.15.0.38.40) ...
          Selecting previously unselected package linux-generic.
          Preparing to unpack .../15-linux-generic_4.15.0.38.40_ppc64el.deb ...
          Unpacking linux-generic (4.15.0.38.40) ...
          Selecting previously unselected package os-prober.
          Preparing to unpack .../16-os-prober_1.74ubuntu1_ppc64el.deb ...
          Unpacking os-prober (1.74ubuntu1) ...
          Selecting previously unselected package grub-ieee1275-bin.
          Preparing to unpack .../17-grub-ieee1275-bin_2.02-2ubuntu8.7_ppc64el.deb ...
          Unpacking grub-ieee1275-bin (2.02-2ubuntu8.7) ...
          Selecting previously unselected package grub-ieee1275.
          Preparing to unpack .../18-grub-ieee1275_2.02-2ubuntu8.7_ppc64el.deb ...
          Unpacking grub-ieee1275 (2.02-2ubuntu8.7) ...
          Processing triggers for install-info (6.5.0.dfsg.1-2) ...
          Setting up wireless-regdb (2018.05.09-0ubuntu1~18.04.1) ...
          Setting up linux-modules-4.15.0-38-generic (4.15.0-38.41) ...
          Processing triggers for libc-bin (2.27-3ubuntu1) ...
          Setting up grub-common (2.02-2ubuntu8.7) ...
          Setting up linux-headers-4.15.0-38 (4.15.0-38.41) ...
          Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
          Setting up libnl-3-200:ppc64el (3.2.29-0ubuntu3) ...
          Setting up linux-firmware (1.173.1) ...
          Setting up linux-image-4.15.0-38-generic (4.15.0-38.41) ...
          I: /boot/vmlinux.old is now a symlink to vmlinux-4.15.0-38-generic
          I: /boot/initrd.img.old is now a symlink to initrd.img-4.15.0-38-generic
          I: /boot/vmlinux is now a symlink to vmlinux-4.15.0-38-generic
          I: /boot/initrd.img is now a symlink to initrd.img-4.15.0-38-generic
          Setting up grub-ieee1275-bin (2.02-2ubuntu8.7) ...
          Setting up grub2-common (2.02-2ubuntu8.7) ...
          Setting up libnl-genl-3-200:ppc64el (3.2.29-0ubuntu3) ...
          Setting up os-prober (1.74ubuntu1) ...
          Setting up linux-headers-4.15.0-38-generic (4.15.0-38.41) ...
          Setting up iw (4.14-0.1) ...
          Setting up grub-ieee1275 (2.02-2ubuntu8.7) ...
          
          Creating config file /etc/default/grub with new version
          Installing for powerpc-ieee1275 platform.
          grub-install: error: the PReP partition is not empty. If you are sure you want to use it, run dd to clear it: `dd if=/dev/zero of=/dev/sda1'.
          Failed: grub-install --target=powerpc-ieee1275 /dev/sda1 --no-nvram
          WARNING: Bootloader is not properly installed, system may not be bootable
          Setting up linux-headers-generic (4.15.0.38.40) ...
          Setting up crda (3.18-1build1) ...
          Setting up linux-modules-extra-4.15.0-38-generic (4.15.0-38.41) ...
          Setting up linux-image-generic (4.15.0.38.40) ...
          Setting up linux-generic (4.15.0.38.40) ...
          Processing triggers for libc-bin (2.27-3ubuntu1) ...
          Processing triggers for linux-image-4.15.0-38-generic (4.15.0-38.41) ...
          /etc/kernel/postinst.d/initramfs-tools:
          update-initramfs: Generating /boot/initrd.img-4.15.0-38-generic
          Setting up swapspace version 1, size = 8 GiB (8589869056 bytes)
          no label, UUID=1125be4c-445c-4ea5-b16c-51b508f3f4a9
          Unexpected error while running command.
          Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '/tmp/tmp_wb0l73x/target', '/dev/sda1']
          Exit code: 1
          Reason: -
          Stdout: + pkg=grub-ieee1275
                  + shift
                  + dpkg-reconfigure grub-ieee1275
                  Replacing config file /etc/default/grub with new version
                  Installing for powerpc-ieee1275 platform.
                  grub-install: error: the PReP partition is not empty. If you are sure you want to use it, run dd to clear it: `dd if=/dev/zero of=/dev/sda1'.
                  Failed: grub-install --target=powerpc-ieee1275 /dev/sda1 --no-nvram
                  WARNING: Bootloader is not properly installed, system may not be bootable
                  + update-grub
                  Generating grub configuration file ...
                  Found linux image: /boot/vmlinux-4.15.0-38-generic
                  Found initrd image: /boot/initrd.img-4.15.0-38-generic
                  done
                  + grub-install /dev/sda1
                  Installing for powerpc-ieee1275 platform.
                  grub-install: error: the PReP partition is not empty. If you are sure you want to use it, run dd to clear it: `dd if=/dev/zero of=/dev/sda1'.
                  + exit
                  failed to install grub!
                  
          Stderr: ''
          
  Stderr: ''

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1800153/+subscriptions



More information about the foundations-bugs mailing list