thanks for looking into this,
it looks like this is hardware related. I can reproduce this on node "modoc" but not "entei"
ubuntu@modoc:~$ uname -a
Linux modoc 3.13.0-164-generic #214-Ubuntu SMP Wed Dec 5 10:40:29 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
ubuntu@modoc:~$ sudo apt-get dist-upgrade
.....
Setting up grub-common (2.02~beta2-9ubuntu1.16) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.16) ...
Setting up grub-ieee1275-bin (2.02~beta2-9ubuntu1.16) ...
Setting up grub-ieee1275 (2.02~beta2-9ubuntu1.16) ...
locale: Cannot set LC_ALL to default locale: No such file or directory
device-mapper: deps ioctl on 1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC33900000000A0 failed: No such device or address
device-mapper: deps ioctl on 1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC33900000000C0 failed: No such device or address
device-mapper: deps ioctl on 1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC3390000000020 failed: No such device or address
device-mapper: deps ioctl on 1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC3390000000060 failed: No such device or address
device-mapper: deps ioctl on 1IBM\x20\x20\x20\x20\x20IPR-0\x20\x20\x205EC3390000000040 failed: No such device or address
Installing for powerpc-ieee1275 platform.
grub-install: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
dpkg: error processing package grub-ieee1275 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up landscape-common (14.12-0ubuntu6.14.04.4) ...
.....
For node entei:
ubuntu@entei:~$ sudo apt-get dist-upgrade
.....
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up krb5-locales (1.12+dfsg-2ubuntu5.4) ...
Setting up grub-common (2.02~beta2-9ubuntu1.16) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.16) ...
Setting up grub-ieee1275-bin (2.02~beta2-9ubuntu1.16) ...
Setting up grub-ieee1275 (2.02~beta2-9ubuntu1.16) ...
locale: Cannot set LC_ALL to default locale: No such file or directory
Installing for powerpc-ieee1275 platform.
Installation finished. No error reported.
Generating grub configuration file ...
Hello Manoj,
thanks for looking into this,
it looks like this is hardware related. I can reproduce this on node "modoc" but not "entei"
ubuntu@modoc:~$ uname -a
Linux modoc 3.13.0-164-generic #214-Ubuntu SMP Wed Dec 5 10:40:29 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
ubuntu@modoc:~$ sudo apt-get dist-upgrade 9ubuntu1. 16) ... 9ubuntu1. 16) ... 9ubuntu1. 16) ... 9ubuntu1. 16) ... x20\x20\ x20\x20IPR- 0\x20\x20\ x205EC339000000 00A0 failed: No such device or address x20\x20\ x20\x20IPR- 0\x20\x20\ x205EC339000000 00C0 failed: No such device or address x20\x20\ x20\x20IPR- 0\x20\x20\ x205EC339000000 0020 failed: No such device or address x20\x20\ x20\x20IPR- 0\x20\x20\ x205EC339000000 0060 failed: No such device or address x20\x20\ x20\x20IPR- 0\x20\x20\ x205EC339000000 0040 failed: No such device or address 0ubuntu6. 14.04.4) ...
.....
Setting up grub-common (2.02~beta2-
Setting up grub2-common (2.02~beta2-
Setting up grub-ieee1275-bin (2.02~beta2-
Setting up grub-ieee1275 (2.02~beta2-
locale: Cannot set LC_ALL to default locale: No such file or directory
device-mapper: deps ioctl on 1IBM\x20\
device-mapper: deps ioctl on 1IBM\x20\
device-mapper: deps ioctl on 1IBM\x20\
device-mapper: deps ioctl on 1IBM\x20\
device-mapper: deps ioctl on 1IBM\x20\
Installing for powerpc-ieee1275 platform.
grub-install: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
dpkg: error processing package grub-ieee1275 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up landscape-common (14.12-
.....
ubuntu@modoc:~$ sudo apt-cache policy grub-ieee1275 9ubuntu1. 16 9ubuntu1. 16 9ubuntu1. 16 0 ports.ubuntu. com/ubuntu- ports/ trusty- proposed/ main ppc64el Packages dpkg/status 02~beta2- 9ubuntu1. 15 0 ports.ubuntu. com/ubuntu- ports/ trusty-updates/main ppc64el Packages 02~beta2- 9ubuntu1. 6 0 ports.ubuntu. com/ubuntu- ports/ trusty- security/ main ppc64el Packages ports.ubuntu. com/ubuntu- ports/ trusty/main ppc64el Packages
grub-ieee1275:
Installed: 2.02~beta2-
Candidate: 2.02~beta2-
Version table:
*** 2.02~beta2-
500 http://
100 /var/lib/
2.
500 http://
2.
500 http://
2.02~beta2-9 0
500 http://
For node entei: 2ubuntu5. 4) ... 9ubuntu1. 16) ... 9ubuntu1. 16) ... 9ubuntu1. 16) ... 9ubuntu1. 16) ...
ubuntu@entei:~$ sudo apt-get dist-upgrade
.....
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up krb5-locales (1.12+dfsg-
Setting up grub-common (2.02~beta2-
Setting up grub2-common (2.02~beta2-
Setting up grub-ieee1275-bin (2.02~beta2-
Setting up grub-ieee1275 (2.02~beta2-
locale: Cannot set LC_ALL to default locale: No such file or directory
Installing for powerpc-ieee1275 platform.
Installation finished. No error reported.
Generating grub configuration file ...