failure to create a liveCD on ubuntu16.04.1LTS

Asked by pgm UbuntuOne

When trying to create a liveCD using this toolkit, I selected a few languages, then I picked option for automatic rather than manual.
This is the error that was displayed:
------------------------------------------------------------------------------------------------------
Building failed.

Please look at /home/primus/tmp/build.log to see what went wrong.

If you cannot find the problem, please send a support request at:

 https://launchpad.net/products/uck/+addticket

----------------------------------------------------------------------------------------------------
These are the contents of the log file described above
----------------------------------------------------------------------------------------------------
Build (/usr/bin/uck-gui --wait-before-exit) started at 2017-02-04 08:27:22
>> Ubuntu Customization Kit 2.4.7 on Ubuntu 16.04, 4.4.0-59-generic x86_64
Starting CD remastering on Sat Feb 4 08:27:29 CST 2017
Customization dir=/home/primus/tmp/customization-scripts
Mounting ISO image...
mount: /dev/loop0 is write-protected, mounting read-only
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
Unpacking SquashFS image...
Unmounting SquashFS image...
Creating apt cache...
Creating root home...
Mounting /proc
Mounting /sys
Mounting /dev/pts
Mounting /tmp
Mounting /home/primus/tmp/remaster-root-home
Mounting /home/primus/tmp/remaster-apt-cache
Mounting /run
Mounting /home/primus/tmp/customization-scripts
Copying fstab/mtab...
Creating DBUS uuid...
Deactivating initctl...
Deactivating update-grub...
Deactivating grub-probe...
Hacking grub-probe postinst/postrm...
Remembering kernel update state...
>> Customizing: Ubuntu 16.04, 4.4.0-31-generic x86_64
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [207 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [463 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [86.8 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [68.2 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [43.0 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [6828 B]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2272 B]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [200 B]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [183 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [306 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [187 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [6828 B]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2272 B]
AppStream cache update completed, but some metadata was ignored due to errors.
Fetched 1766 kB in 2s (691 kB/s)
Reading package lists...
Installing language packs (de
en
ru)...
Reading package lists...
Building dependency tree...
Reading state information...
language-pack-de is already the newest version (1:16.04+20160627).
language-pack-de-base is already the newest version (1:16.04+20160627).
language-pack-en-base is already the newest version (1:16.04+20160627).
language-pack-gnome-de is already the newest version (1:16.04+20160627).
language-pack-gnome-de-base is already the newest version (1:16.04+20160627).
language-pack-gnome-en-base is already the newest version (1:16.04+20160627).
language-pack-gnome-ru is already the newest version (1:16.04+20160627).
language-pack-gnome-ru-base is already the newest version (1:16.04+20160627).
language-pack-ru is already the newest version (1:16.04+20160627).
language-pack-ru-base is already the newest version (1:16.04+20160627).
The following packages will be upgraded:
  language-pack-en language-pack-gnome-en
2 upgraded, 0 newly installed, 0 to remove and 388 not upgraded.
Need to get 314 kB of archives.
After this operation, 2078 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 language-pack-en all 1:16.04+20161009 [145 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 language-pack-gnome-en all 1:16.04+20161009 [169 kB]
Fetched 314 kB in 1s (183 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 191926 files and directories currently installed.)
Preparing to unpack .../language-pack-en_1%3a16.04+20161009_all.deb ...
Unpacking language-pack-en (1:16.04+20161009) over (1:16.04+20160627) ...
Replacing files in old package language-pack-en-base (1:16.04+20160627) ...
Preparing to unpack .../language-pack-gnome-en_1%3a16.04+20161009_all.deb ...
Unpacking language-pack-gnome-en (1:16.04+20161009) over (1:16.04+20160627) ...
Replacing files in old package language-pack-gnome-en-base (1:16.04+20160627) ...
Setting up language-pack-en (1:16.04+20161009) ...
Setting up language-pack-gnome-en (1:16.04+20161009) ...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Removing unnecessary language packages...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  firefox-locale-es* firefox-locale-fr* firefox-locale-it* firefox-locale-pt*
  firefox-locale-zh-hans* language-pack-es* language-pack-es-base*
  language-pack-fr* language-pack-fr-base* language-pack-gnome-es*
  language-pack-gnome-es-base* language-pack-gnome-fr*
  language-pack-gnome-fr-base* language-pack-gnome-it*
  language-pack-gnome-it-base* language-pack-gnome-pt*
  language-pack-gnome-pt-base* language-pack-gnome-zh-hans*
  language-pack-gnome-zh-hans-base* language-pack-it* language-pack-it-base*
  language-pack-pt* language-pack-pt-base* language-pack-zh-hans*
  language-pack-zh-hans-base*
0 upgraded, 0 newly installed, 25 to remove and 379 not upgraded.
After this operation, 132 MB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 191943 files and directories currently installed.)
Removing firefox-locale-es (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-fr (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-it (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-pt (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-zh-hans (47.0+build3-0ubuntu0.16.04.1) ...
Removing language-pack-gnome-es-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-es-base (1:16.04+20160627) ...
Removing language-pack-es-base (1:16.04+20160627) ...
Purging configuration files for language-pack-es-base (1:16.04+20160627) ...
Removing language-pack-gnome-fr-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-fr-base (1:16.04+20160627) ...
Removing language-pack-fr-base (1:16.04+20160627) ...
Purging configuration files for language-pack-fr-base (1:16.04+20160627) ...
Removing language-pack-gnome-it-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-it-base (1:16.04+20160627) ...
Removing language-pack-gnome-pt-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-pt-base (1:16.04+20160627) ...
Removing language-pack-gnome-zh-hans-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-zh-hans-base (1:16.04+20160627) ...
Removing language-pack-it-base (1:16.04+20160627) ...
Purging configuration files for language-pack-it-base (1:16.04+20160627) ...
Removing language-pack-pt-base (1:16.04+20160627) ...
Purging configuration files for language-pack-pt-base (1:16.04+20160627) ...
Removing language-pack-zh-hans-base (1:16.04+20160627) ...
Purging configuration files for language-pack-zh-hans-base (1:16.04+20160627) ...
Removing language-pack-gnome-es (1:16.04+20160627) ...
Removing language-pack-es (1:16.04+20160627) ...
Removing language-pack-gnome-fr (1:16.04+20160627) ...
Removing language-pack-fr (1:16.04+20160627) ...
Removing language-pack-gnome-it (1:16.04+20160627) ...
Removing language-pack-gnome-pt (1:16.04+20160627) ...
Removing language-pack-gnome-zh-hans (1:16.04+20160627) ...
Removing language-pack-it (1:16.04+20160627) ...
Removing language-pack-pt (1:16.04+20160627) ...
Removing language-pack-zh-hans (1:16.04+20160627) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Done
Restoring kernel update state...
Reactivating initctl...
Reactivating update-grub...
Reactivating grub-probe...
Reactivating grub-probe postinst/postrm...
Removing /home/username directory...
Removing generated machine uuid...
Removing generated fstab/mtab...
Removing crash reports...
Unmounting /home/primus/tmp/remaster-root/var/cache/apt...
Unmounting /home/primus/tmp/remaster-root/tmp/customization-scripts...
Unmounting /home/primus/tmp/remaster-root/tmp...
Unmounting /home/primus/tmp/remaster-root/sys...
Unmounting /home/primus/tmp/remaster-root/run...
Unmounting /home/primus/tmp/remaster-root/root...
Unmounting /home/primus/tmp/remaster-root/proc...
Unmounting /home/primus/tmp/remaster-root/dev/pts...
Cleaning up temporary directories...
Running ISO customization script /home/primus/tmp/customization-scripts/customize_iso...
--2017-02-04 08:29:48-- http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/dists/xenial/main/source/Sources.gz
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.88.161, 91.189.88.152, 91.189.88.149, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.88.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1102678 (1.1M) [application/x-gzip]
Saving to: ‘/tmp/tmp.Ph6Idso64K/Sources.gz’

     0K .......... .......... .......... .......... .......... 4% 122K 8s
    50K .......... .......... .......... .......... .......... 9% 122K 8s
   100K .......... .......... .......... .......... .......... 13% 25.0M 5s
   150K .......... .......... .......... .......... .......... 18% 450M 4s
   200K .......... .......... .......... .......... .......... 23% 161K 4s
   250K .......... .......... .......... .......... .......... 27% 6.81M 3s
   300K .......... .......... .......... .......... .......... 32% 606M 2s
   350K .......... .......... .......... .......... .......... 37% 9.08M 2s
   400K .......... .......... .......... .......... .......... 41% 459K 2s
   450K .......... .......... .......... .......... .......... 46% 22.7M 1s
   500K .......... .......... .......... .......... .......... 51% 10.5M 1s
   550K .......... .......... .......... .......... .......... 55% 7.20M 1s
   600K .......... .......... .......... .......... .......... 60% 25.6M 1s
   650K .......... .......... .......... .......... .......... 65% 11.9M 1s
   700K .......... .......... .......... .......... .......... 69% 24.7M 1s
   750K .......... .......... .......... .......... .......... 74% 47.9M 0s
   800K .......... .......... .......... .......... .......... 78% 14.4M 0s
   850K .......... .......... .......... .......... .......... 83% 524K 0s
   900K .......... .......... .......... .......... .......... 88% 26.5M 0s
   950K .......... .......... .......... .......... .......... 92% 7.83M 0s
  1000K .......... .......... .......... .......... .......... 97% 166M 0s
  1050K .......... .......... ...... 100% 22.1M=1.4s

2017-02-04 08:29:50 (777 KB/s) - ‘/tmp/tmp.Ph6Idso64K/Sources.gz’ saved [1102678/1102678]

--2017-02-04 08:29:50-- http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.88.162, 91.189.88.161, 91.189.88.152, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.88.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6465 (6.3K) [text/html]
Saving to: ‘index.html’

     0K ...... 100% 190M=0s

2017-02-04 08:29:51 (190 MB/s) - ‘index.html’ saved [6465/6465]

tar (child): *.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Unable to extract gfxboot-theme-ubuntu source package
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

-

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Ubuntu Customization Kit has not been developed for years, and has the note
"!!!PROJECT DISCONTINUED!!!"
on its Launchpad homepage.

Recent Ubuntu releases differ from previous ones in a manner, that certain steps of UCK now fail.

I can give some advice:
 1. deselect all language packages that contain the string -touch- in their name
 2. modify /usr/lib/uck/customization-profiles/localized_cd/customize_iso and change in line ~84 (the longest line in the whole file) the part

... $(zgrep gz ...
  into
... $(zgrep xz ...

and three lines later
  change

tar xfz *.tar.gz ||
   into
tar xfJ *.tar.xz ||

You might read recent questions and bugs related to UCK on Launchpad. These recommendations (and some more) have already been given to other persons with similar problems.

Can you help with this problem?

Provide an answer of your own, or ask pgm UbuntuOne for more information if necessary.

To post a message you must log in.