Public bug reported: We’re in the midst of building an Ubuntu 15.04 based live image for our OpenPOWER servers, which loads via petitboot, from across a network. We’ve run into an issue, described below, with loading an nfs-common package. I specifically am working to create Ubuntu live image for PPC64LE. I ran into issues initially creating a live image in a machine that’s already booted up with Live image. But now I am running into the same issue even with a machine booted up with regular ubuntu image. Details: Ubuntu Release used: Vivid Issue: As I follow the attached Live image creation process from line 2, after I chroot into subdirectory with linux base system. I install a package called nfs-common (Refer Line 29 of ‘attached' Live image creation process. Also appended at the end of this email) apt-get install nfs-common After trying to install the above package, I am running into an issue where “dpkg” gets corrupted when I am installing this package "nfs-tools" . After this step, trying to remove and re-install nfs-common or installing any other package does not work and throws out same errors repeatedly. Below is a snippet root@IBM-P8-2:/# apt-get install nfs-common Reading package lists... Done Building dependency tree Reading state information... Done nfs-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up nfs-common (1:1.2.8-9ubuntu8.1) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory invoke-rc.d: unknown initscript, /etc/init.d/gssd not found. dpkg: error processing package nfs-common (--configure): (This error repeats itself if we install any other package or try to remove nfs-common after this step) subprocess installed post-installation script returned error exit status 100 Errors were encountered while processing: nfs-common E: Sub-process /usr/bin/dpkg returned an error code (1) I am also appending the Live image process steps till this issue occurs (till line 29) below. 1 Building Live image 2 apt-get install debootstrap schroot 3 mkdir work 4 mkdir chroot 5 cd work 6 debootstrap --arch=ppc64el vivid chroot http://ports.ubuntu.com/ 7 8 sudo cp /etc/hosts chroot/etc/hosts 9 sudo cp /etc/resolv.conf chroot/etc/resolv.conf 10 sudo cp /etc/apt/sources.list chroot/etc/apt/sources.list 11 sudo mount --bind /dev /home/racker/work/chroot/dev 12 sudo chroot chroot 13 14 mount none -t proc /proc 15 mount none -t sysfs /sys 16 mount none -t devpts /dev/pts 17 export HOME=/root 18 export LC_ALL=C 19 20 # set password for root 21 passwd root 22 23 apt-get update 24 # apt-get install tasksel 25 # tasksel 26 pick Ubuntu Server, SSH Servert 27 Using tasksel to install the base Ubuntu Server is important - it makes sure all of the system level facilities ar e present 28 29 # apt-get install nfs-common
Thanks Adi Gangidi Systems Engineer Mobile: (619) 822-0458 Email: adi.gangidi [at] rackspace [dot] com ** Affects: nfs-utils (Ubuntu) Importance: Undecided Status: New ** Attachment added: "PPC_Live_image_process.txt" https://bugs.launchpad.net/bugs/1468089/+attachment/4419582/+files/PPC_Live_image_process.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1468089 Title: PPC64LE Ubuntu Live image creation: Issue installing nfs-common To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1468089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs