UCK fails on Multiple Isos

Asked by Jason Ebersole

I'm trying to customize a distro and continue to receive errors. I've tried OSGeo Live, Ubuntu Studio and Xubuntu and get the same errors. Trusty-updates repeatedly throws errors on the release.gpg saying "W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not open file /dev/null - open (13: Permission denied) [IP: 91.189.91.15 80]"

I'm only using English for language options, choose manual changes, removed Windows files, yes to hybrid build.

Full log from OSGeo Live attempt:
Build (/usr/bin/uck-gui --wait-before-exit) started at 2014-09-23 21:44:09
>> Ubuntu Customization Kit 2.4.7 on Ubuntu 14.04, 3.13.0-35-lowlatency x86_64
Starting CD remastering on Tue Sep 23 21:44:16 CDT 2014
Customization dir=/home/jason/tmp/customization-scripts
Mounting ISO image...
mount: block device /home/jason/Downloads/osgeo-live-mini-8.0.iso is write-protected, mounting read-only
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
mount: warning: /home/jason/tmp/remaster-root-mount seems to be mounted read-only.
Unpacking SquashFS image...
Unmounting SquashFS image...
Removing win32 files...
Creating apt cache...
Creating root home...
Mounting /proc
Mounting /sys
Mounting /dev/pts
Mounting /tmp
Mounting /home/jason/tmp/remaster-root-home
Mounting /home/jason/tmp/remaster-apt-cache
Mounting /run
Mounting /home/jason/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/jason/.Xauthority does not exist
Deactivating initctl...
Deactivating update-grub...
Deactivating grub-probe...
Hacking grub-probe postinst/postrm...
Remembering kernel update state...
Fatal Python error: Failed to open /dev/urandom
Fatal Python error: Failed to open /dev/urandom
>> Customizing: , 3.13.0-32-generic i586
Ign http://ppa.launchpad.net trusty InRelease
Ign http://cran.rstudio.com trusty/ InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Hit http://apt.geops.de trusty InRelease
gpgv: Signature made Mon Jul 7 13:47:46 2014 UTC using RSA key ID E7BDBF3D
gpgv: Good signature from "geOps APT (Official APT Sigining Key) <email address hidden>"
Hit http://apt.geops.de trusty/main i386 Packages
Ign http://archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://ppa.launchpad.net trusty Release
Ign http://ppa.launchpad.net trusty/main i386 Packages/DiffIndex
Ign http://security.ubuntu.com trusty-security Release.gpg
Get:1 http://security.ubuntu.com trusty-security Release [59.7 kB]
Ign http://security.ubuntu.com trusty-security/main i386 Packages/DiffIndex
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://security.ubuntu.com trusty-security/restricted i386 Packages/DiffIndex
Hit http://archive.ubuntu.com trusty Release.gpg
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Could not open file /dev/null - open (13: Permission denied) [IP: 91.189.92.200 80]
Hit http://archive.ubuntu.com trusty Release
gpgv: Signature made Thu May 8 14:20:33 2014 UTC using DSA key ID 437D05B5
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key <email address hidden>"
gpgv: Signature made Thu May 8 14:20:33 2014 UTC using RSA key ID C0B21F32
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <email address hidden>"
Get:2 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Ign http://archive.ubuntu.com trusty-updates/main i386 Packages/DiffIndex
Ign http://archive.ubuntu.com trusty-updates/restricted i386 Packages/DiffIndex
Ign http://archive.ubuntu.com trusty-updates/universe i386 Packages/DiffIndex
Ign http://cran.rstudio.com trusty/ Release.gpg
Get:3 http://cran.rstudio.com trusty/ Release [3703 B]
Ign http://cran.rstudio.com trusty/ Packages/DiffIndex
Ign http://security.ubuntu.com trusty-security/universe i386 Packages/DiffIndex
Ign http://security.ubuntu.com trusty-security/multiverse i386 Packages/DiffIndex
Ign http://archive.ubuntu.com trusty-updates/multiverse i386 Packages/DiffIndex
Get:4 http://archive.ubuntu.com trusty-updates/main Translation-en [145 kB]
Get:5 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [4719 B]
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Get:6 http://archive.ubuntu.com trusty-updates/universe Translation-en [103 kB]
Get:7 http://archive.ubuntu.com trusty-updates/main i386 Packages [317 kB]
Get:8 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5820 B]
Get:9 http://archive.ubuntu.com trusty-updates/universe i386 Packages [205 kB]
Get:10 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [9545 B]
Ign http://apt.geops.de trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Get:11 http://security.ubuntu.com trusty-security/universe Translation-en [28.3 kB]
Get:12 http://security.ubuntu.com trusty-security/main i386 Packages [136 kB]
Get:13 http://security.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:14 http://security.ubuntu.com trusty-security/universe i386 Packages [48.4 kB]
Get:15 http://security.ubuntu.com trusty-security/multiverse i386 Packages [1398 B]
Ign http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get:16 http://security.ubuntu.com trusty-security/main Translation-en [654 kB]
Get:17 http://cran.rstudio.com trusty/ Packages [23.6 kB]
Ign http://cran.rstudio.com trusty/ Translation-en
Fetched 1805 kB in 12min 7s (2480 B/s)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not open file /dev/null - open (13: Permission denied) [IP: 91.189.92.200 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
Ign http://ppa.launchpad.net trusty InRelease
Ign http://cran.rstudio.com trusty/ InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Ign http://ppa.launchpad.net trusty/main i386 Packages/DiffIndex
Hit http://apt.geops.de trusty InRelease
gpgv: Signature made Mon Jul 7 13:47:46 2014 UTC using RSA key ID E7BDBF3D
gpgv: Good signature from "geOps APT (Official APT Sigining Key) <email address hidden>"
Hit http://apt.geops.de trusty/main i386 Packages
Ign http://security.ubuntu.com trusty-security Release.gpg
Hit http://security.ubuntu.com trusty-security Release
Ign http://security.ubuntu.com trusty-security/main i386 Packages/DiffIndex
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://security.ubuntu.com trusty-security/restricted i386 Packages/DiffIndex
Hit http://archive.ubuntu.com trusty Release.gpg
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Could not open file /dev/null - open (13: Permission denied) [IP: 91.189.91.14 80]
Hit http://archive.ubuntu.com trusty Release
gpgv: Signature made Thu May 8 14:20:33 2014 UTC using DSA key ID 437D05B5
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key <email address hidden>"
gpgv: Signature made Thu May 8 14:20:33 2014 UTC using RSA key ID C0B21F32
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <email address hidden>"
Hit http://archive.ubuntu.com trusty-updates Release
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Ign http://archive.ubuntu.com trusty-updates/main i386 Packages/DiffIndex
Ign http://archive.ubuntu.com trusty-updates/restricted i386 Packages/DiffIndex
Ign http://archive.ubuntu.com trusty-updates/universe i386 Packages/DiffIndex
Ign http://cran.rstudio.com trusty/ Release.gpg
Get:1 http://cran.rstudio.com trusty/ Release [3703 B]
Ign http://cran.rstudio.com trusty/ Packages/DiffIndex
Ign http://security.ubuntu.com trusty-security/universe i386 Packages/DiffIndex
Ign http://security.ubuntu.com trusty-security/multiverse i386 Packages/DiffIndex
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Ign http://archive.ubuntu.com trusty-updates/multiverse i386 Packages/DiffIndex
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse i386 Packages
Ign http://apt.geops.de trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://cran.rstudio.com trusty/ Packages
Ign http://cran.rstudio.com trusty/ Translation-en
Fetched 3703 B in 12min 6s (5 B/s)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not open file /dev/null - open (13: Permission denied) [IP: 91.189.91.14 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
apt-get update failed, error=100
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/jason/tmp/remaster-root/var/cache/apt...
Unmounting /home/jason/tmp/remaster-root/tmp/customization-scripts...
Unmounting /home/jason/tmp/remaster-root/tmp...
Unmounting /home/jason/tmp/remaster-root/sys...
Unmounting /home/jason/tmp/remaster-root/run...
Unmounting /home/jason/tmp/remaster-root/root...
Unmounting /home/jason/tmp/remaster-root/proc...
Unmounting /home/jason/tmp/remaster-root/dev/pts...
Cleaning up temporary directories...

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jason Ebersole (angkor-99) said :
#1

I tested using LTS13.10 and it ran.

Revision history for this message
Curtis Patranella (patranella) said :
#2

This does NOT work with version 14.04. I also tried this with Ubuntu-Mini-Remix-14.04 and it failed exactly the same way.

"W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not open file /dev/null - open (13: Permission denied) [IP: 91.189.88.149 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
apt-get update failed, error=100"

Any assistance on this issue would be greatly appreciated.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Jack (curtisalderson) said :
#4

I am having this error too, I can't find an answer

Revision history for this message
Artem Sagajda (asagajda) said :
#5

This issue was fixed here: https://bugs.launchpad.net/uck/+bug/228235
When you start uck there's workaround mentioned on welcome screen:
...
Requirements:
1. about 5 GB of free disk space in /home/artem/tmp
   (on local machine and mounted with "dev,suid,exec" options)
...
so it's crucial to remount filesystem where ~/tmp folder resides with "dev,suid,exec" options
(in my case it's a filesystem on a separate partition with mount point /home, maybe you have /home inside root filesystem)

you can do it this way:

sudo mount -o remount,dev,suid,exec /home

or if you have not separate partition for /home:

sudo mount -o remount,dev,suid,exec /

Then try "Run console application" one more time.