Cannot finished building iso image

Asked by pasha

Hi all!
I trying to creat an iso image from xubuntu-16.04.1-desktop-i386.iso
installing in console some packets.
Modify preseed and continue buliding

Original OS is xubuntu-16.04.1-desktop-i386.iso installed in VirtualBox

here is my log:
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Preparing build environment...
Creating X authentication cookie...
Running build process...
Build (/usr/bin/uck-gui --wait-before-exit) started at 2016-08-04 17:10:28
>> Ubuntu Customization Kit 2.4.7 on Ubuntu 16.04, 4.4.0-31-generic i686
Starting CD remastering on Чтв Авг 4 17:10:28 EEST 2016
Customization dir=/home/terminal/tmp/customization-scripts
Removing remastering root dir...
Removing ISO remastering dir...
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...
Removing win32 files...
Creating root home...
Mounting /proc
Mounting /sys
Mounting /dev/pts
Mounting /tmp
Mounting /home/terminal/tmp/remaster-root-home
Mounting /home/terminal/tmp/remaster-apt-cache
Mounting /run
Mounting /home/terminal/tmp/customization-scripts
Copying fstab/mtab...
Creating DBUS uuid...
Creating user directory...
Copying X authorization file to chroot filesystem...
xauth: file /root/.Xauthority does not exist
xauth: file /home/terminal/.Xauthority does not exist
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 i586
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [353 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [120 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [133 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 DEP-11 Metadata [44.8 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 DEP-11 Metadata [192 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [50.8 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [155 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [36.5 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [22.0 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [308 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe i386 DEP-11 Metadata [2325 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [104 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 DEP-11 Metadata [72.1 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [79.6 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [4280 B]
Fetched 1867 kB in 10s (173 kB/s)
Reading package lists...
Installing language packs ()...
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
/tmp/customization-scripts/customize: line 144: [: too many arguments
CHOICE='Run console application'
Starting console application...
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
/tmp/customization-scripts/customize: line 144: [: Continue: binary operator expected
CHOICE='Continue building'
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/terminal/tmp/remaster-root/var/cache/apt...
Unmounting /home/terminal/tmp/remaster-root/tmp/customization-scripts...
Unmounting /home/terminal/tmp/remaster-root/tmp...
Unmounting /home/terminal/tmp/remaster-root/sys...
Unmounting /home/terminal/tmp/remaster-root/run...
Unmounting /home/terminal/tmp/remaster-root/root...
Unmounting /home/terminal/tmp/remaster-root/proc/sys/fs/binfmt_misc...
Unmounting /home/terminal/tmp/remaster-root/proc...
Unmounting /home/terminal/tmp/remaster-root/dev/pts...
Cleaning up temporary directories...
Running ISO customization script /home/terminal/tmp/customization-scripts/customize_iso...
--2016-08-04 17:28:31-- http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/dists/xenial/main/source/Sources.gz
Распознаётся archive.ubuntu.com (archive.ubuntu.com)... 91.189.88.152, 91.189.88.149, 91.189.88.161, ...
Подключение к archive.ubuntu.com (archive.ubuntu.com)|91.189.88.152|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа... 200 OK
Длина: 1102678 (1,1M) [application/x-gzip]
Сохранение в каталог: ««/tmp/tmp.e1H7URcnHA/Sources.gz»».

     0K .......... .......... .......... .......... .......... 4% 320K 3s
    50K .......... .......... .......... .......... .......... 9% 418K 3s
   100K .......... .......... .......... .......... .......... 13% 409K 2s
   150K .......... .......... .......... .......... .......... 18% 526K 2s
   200K .......... .......... .......... .......... .......... 23% 489K 2s
   250K .......... .......... .......... .......... .......... 27% 640K 2s
   300K .......... .......... .......... .......... .......... 32% 645K 2s
   350K .......... .......... .......... .......... .......... 37% 893K 1s
   400K .......... .......... .......... .......... .......... 41% 752K 1s
   450K .......... .......... .......... .......... .......... 46% 719K 1s
   500K .......... .......... .......... .......... .......... 51% 1,04M 1s
   550K .......... .......... .......... .......... .......... 55% 1,05M 1s
   600K .......... .......... .......... .......... .......... 60% 1,04M 1s
   650K .......... .......... .......... .......... .......... 65% 902K 1s
   700K .......... .......... .......... .......... .......... 69% 1,17M 1s
   750K .......... .......... .......... .......... .......... 74% 1,17M 0s
   800K .......... .......... .......... .......... .......... 78% 1,26M 0s
   850K .......... .......... .......... .......... .......... 83% 1,33M 0s
   900K .......... .......... .......... .......... .......... 88% 1,61M 0s
   950K .......... .......... .......... .......... .......... 92% 1,38M 0s
  1000K .......... .......... .......... .......... .......... 97% 1,43M 0s
  1050K .......... .......... ...... 100% 1,47M=1,4s

2016-08-04 17:28:33 (761 KB/s) - «/tmp/tmp.e1H7URcnHA/Sources.gz» сохранён [1102678/1102678]

--2016-08-04 17:28:33-- http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/
Распознаётся archive.ubuntu.com (archive.ubuntu.com)... 91.189.88.152, 91.189.88.149, 91.189.88.161, ...
Подключение к archive.ubuntu.com (archive.ubuntu.com)|91.189.88.152|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа... 200 OK
Длина: 5525 (5,4K) [text/html]
Сохранение в каталог: ««index.html»».

     0K ..... 100% 4,33M=0,001s

2016-08-04 17:28:33 (4,33 MB/s) - «index.html» сохранён [5525/5525]

tar (child): *.tar.gz: Функция open завершилась с ошибкой: Нет такого файла или каталога
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.
Build ended at 2016-08-04 17:32:59
Press ENTER to close the terminal

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
pasha (agenobarba) said :
#1

How can i continue work with unpacked image whitout unpack original iso again?
How can I create an image from existing files

thanks!

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#2

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 package that contain the string -touch-
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 check recent questions and bugs related to UCK on Launchpad. These recommendations (and some more) have already been given to other persons with similar problems.

Revision history for this message
pasha (agenobarba) said :
#3

Thanks Manfred Hampl, that solved my question.

Revision history for this message
pasha (agenobarba) said :
#4

which there is an alternative to this project