Met the "pkg-map failed"issue for building ubuntu/IPA and debian/IPA ramdisk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
High
|
Ye-hong Fang |
Bug Description
When building ubuntu/IPA and debian/IPA ramdisk, it will report "pkg-map failed" issue using latest upstream code.
dib-run-parts Thu Aug 27 12:01:05 UTC 2015 Running /tmp/in_
+ set -eu
+ set -o pipefail
++ dirname /tmp/in_
+ package-installs -d /tmp/in_
+ set -eu
+ set -o pipefail
++ basename /usr/local/
+ SCRIPTNAME=
++ getopt -o hd: -n package-installs -- -d /tmp/in_
+ TEMP=' -d '\''/tmp/
+ '[' 0 '!=' 0 ']'
+ eval set -- ' -d '\''/tmp/
++ set -- -d /tmp/in_
+ WORKDIR=
+ true
+ case "$1" in
+ WORKDIR=
+ shift 2
+ true
+ case "$1" in
+ shift
+ break
+ '[' -z /tmp/in_
+ PACKAGES=
++ find /tmp/in_
+ for PACKAGEFILE in '$(find $WORKDIR -maxdepth 1 -name "package-
++ basename /tmp/in_
+ basefile=
+ element_
+ read pkg
+ '[' -z '# Git isn'\''t a dependency of this element, but is a dependency of pbr' ']'
+ '[' '#' = '#' ']'
+ continue
+ read pkg
+ '[' -z '# if you are doing pip install on a git cloned directoy, because this' ']'
+ '[' '#' = '#' ']'
+ continue
+ read pkg
+ '[' -z '# looks to be a fairly common pattern it makes sense to have git on the' ']'
+ '[' '#' = '#' ']'
+ continue
+ read pkg
+ '[' -z '# target image' ']'
+ '[' '#' = '#' ']'
+ continue
+ read pkg
+ '[' -z git ']'
+ '[' g = '#' ']'
+ '[' g = - ']'
+ '[' -e /usr/share/
+ PACKAGES=' git'
+ read pkg
+ '[' -n ' git' ']'
+ install-packages git
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
git-man libcurl3-gnutls liberror-perl
Suggested packages:
gettext-base git-daemon-run git-daemon-sysvinit git-doc git-el git-email
git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
Recommended packages:
patch
The following NEW packages will be installed:
git git-man libcurl3-gnutls liberror-perl
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/12.2 MB of archives.
After this operation, 24.1 MB of additional disk space will be used.
Selecting previously unselected package libcurl3-
(Reading database ... 38055 files and directories currently installed.)
Preparing to unpack .../libcurl3-
Unpacking libcurl3-
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-
Unpacking git-man (1:2.1.3-1+hLinux) ...
Selecting previously unselected package git.
Preparing to unpack .../git_
Unpacking git (1:2.1.3-1+hLinux) ...
Processing triggers for man-db (2.7.0.2-3+hLinux) ...
/usr/bin/mandb: can't create index cache /var/cache/
Setting up libcurl3-
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:2.1.3-1+hLinux) ...
Setting up git (1:2.1.3-1+hLinux) ...
Processing triggers for libc-bin (2.19-13+hLinux) ...
+ package-installs-v2 --phase install.d /tmp/package-
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
package_names = json.loads(
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 5 column 7 (char 61)
installing signed_grub_efi from grub2
installing signed_shim_efi from grub2
installing grub_bios from grub2
installing syslinux-common from iso
installing syslinux from iso
installing isolinux from iso
installing curl from ironic-agent
pkg-map failed
Changed in diskimage-builder: | |
status: | Fix Committed → Fix Released |
This bug is fixed by /review. openstack. org/#/c/ 217511/
https:/