Comment 17 for bug 1325142

Revision history for this message
tomsam (tomsam) wrote :

> I'm using UCK (Ubuntu Customization Kit) to create a custom 64-bit Xubuntu 14.04 image.

same here.

>For libpam-systemd and whoopsie I can workaround it by editing the following files as described by hamish:
> /var/lib/dpkg/info/whoopsie.prerm
> /var/lib/dpkg/info/libpam-systemd\:amd64.prerm
> /var/lib/dpkg/info/libpam-systemd\:amd64.postinst
> (change "exit $?" to "exit 0" in the invoke-rc.d lines)

this, however, doesn't work for me (see below)

Reproducable by:

$ uck-gui

# welcome to
click OK

# language packs
select de + en
click OK

# languages at boot time
select de + en
click OK

# default language
select en
click OK

# desktop environments
select Other (for xubuntu desktop)
click OK

# select iso image
select xubuntu-14.04.1-desktop-amd64.iso
click OK

# Please enter the name for your CD
click OK

# customize
select yes
click OK

# windows related files
select yes
click OK

# hyprid image
select yes
click OK

# ready to build
click OK

-> enter sudo password if you are asked for it <-

# Select items from list (Run console, continue building)
select Run console application
click OK

# in root console
apt-get update

=> all fine, no messages

apt-get upgrade

=> error msg as above
=> files modified as proposed by jox above (5 files)

apt-get upgrade

Result:

update-initramfs: Generating /boot/initrd.img-3.13.0-32-generic
/tmp/mkinitramfs_QAcwho/scripts/casper-bottom/48xubuntu_maybe_ubiquity: 6: .: Can't open /scripts/casper-functions
Errors were encountered while processing:
 libpam-systemd:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any news on this issue?
Is uck broken or just the libpam update?

PS
$ dpkg -l | grep uck
ii uck 2.4.7-0ubuntu1 all Tool to customize official Ubuntu Live CDs