Ucc-image creation failed

HI,

I tried to create my own image. Unfortunately it fails during build.
It seems that the command fuser -k /bootstrap does not kill the running processes. This ca
uses the later umount of proc and sys to fail.
apt

This aborts with the following log entries:
locale: Cannot set LC_ALL to default locale: No such file or directory
The user syslog' is already a member ofadm’.

  • Stopping enhanced syslogd rsyslogd
    …done.
  • Starting enhanced syslogd rsyslogd
    …done.
    Setting up sudo (1.8.9p5-1ubuntu1.1) …
    Setting up locales (2.13+git20120306-12.1) …
    Processing triggers for ureadahead (0.100.0-16) …
    Setting up upstart (1.12.1-0ubuntu4.2) …
    Installing new version of config file /etc/cron.daily/upstart …
    Setting up initramfs-tools (0.103ubuntu4.2) …
    update-initramfs: deferring update (trigger activated)
    Setting up plymouth (0.8.8-0ubuntu17.1) …
    update-initramfs: deferring update (trigger activated)
    Processing triggers for libc-bin (2.19-0ubuntu6.6) …
    Processing triggers for initramfs-tools (0.103ubuntu4.2) …
    ucc-image cmd: /usr/sbin/chroot /tmp/tmpar3CcF/bootstrap apt-get install --yes --force-yes --no-install-recommends univention-config bc rsync dosfstools
    Reading package lists…
    Building dependency tree…
    Reading state information…
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

The following packages have unmet dependencies:
univention-config : Depends: python-univention but it is not going to be installed
Depends: python-univention-config-registry (= 9.0.6-9.464.201404151035) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command “/usr/sbin/chroot /tmp/tmpar3CcF/bootstrap apt-get install --yes --force-yes --no-install-recommends univention-config bc rsync dosfstools” failed with the error code 100
Traceback (most recent call last):
File “/usr/sbin/ucc-image”, line 351, in
_run_cmd(cmd_block, logfile_fd)
File “/usr/sbin/ucc-image”, line 64, in _run_cmd
raise RuntimeError(msg)
RuntimeError: The command “/usr/sbin/chroot /tmp/tmpar3CcF/bootstrap apt-get install --yes --force-yes --no-install-recommends univention-config bc rsync dosfstools” failed with the error code 100
ucc-image cmd: fuser -k /tmp/tmpar3CcF/bootstrap
The command “fuser -k /tmp/tmpar3CcF/bootstrap” failed with the error code 1
ucc-image cmd: /usr/sbin/chroot /tmp/tmpar3CcF/bootstrap umount /proc
umount: /proc: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
The command “/usr/sbin/chroot /tmp/tmpar3CcF/bootstrap umount /proc” failed with the error code 1
Finished WITH ERROR /usr/sbin/ucc-image -c /var/lib/univention-client-boot/ucc-desktop-test-i386.cfg -d UCC test -i ucc-desktop-test at 2015-07-08 14:20:51

The image.cfg is attached.

  • Folken

Hi Folken,

it seems you forgot to attach the image config file. The fuser call is not the primary problem, but the package manager failed to install all required dependencies for the package univention-config:

univention-config : Depends: python-univention but it is not going to be installed
Depends: python-univention-config-registry (= 9.0.6-9.464.201404151035) but it is not going to be installed

Your image config file will help to fix the problem. I suspect that the repository information in the section ‘sources_list’ is not complete. For UCC 2 it should look like the one in our example config.

Mastodon