Ubuntu Customization Kit

Building failed!

Asked by manishmahabir on 2010-04-30

Can you please help me?

Ubuntu Customization Kit 2.0.12
Starting CD remastering on Fri Apr 30 15:21:57 IST 2010
Customization dir=/home/elf17/tmp/customization-scripts
Mounting ISO image...
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
Unpacking SquashFS image...
Unmounting SquashFS image...
Copying customization scripts...
Copying resolv.conf...
Copying local apt cache, if available
Creating DBUS uuid
Err http://security.ubuntu.com lucid-security Release.gpg
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid Release.gpg
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates Release.gpg
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com lucid Release
Ign http://archive.ubuntu.com lucid-updates Release
Ign http://archive.ubuntu.com lucid/main Packages
Ign http://archive.ubuntu.com lucid/restricted Packages
Ign http://security.ubuntu.com lucid-security Release
Ign http://archive.ubuntu.com lucid/main Sources
Ign http://archive.ubuntu.com lucid/restricted Sources
Ign http://archive.ubuntu.com lucid-updates/main Packages
Ign http://archive.ubuntu.com lucid-updates/restricted Packages
Ign http://archive.ubuntu.com lucid-updates/main Sources
Ign http://security.ubuntu.com lucid-security/main Packages
Ign http://archive.ubuntu.com lucid-updates/restricted Sources
Ign http://security.ubuntu.com lucid-security/restricted Packages
Ign http://archive.ubuntu.com lucid/main Packages
Ign http://archive.ubuntu.com lucid/restricted Packages
Ign http://security.ubuntu.com lucid-security/main Sources
Ign http://archive.ubuntu.com lucid/main Sources
Ign http://security.ubuntu.com lucid-security/restricted Sources
Ign http://archive.ubuntu.com lucid/restricted Sources
Ign http://security.ubuntu.com lucid-security/main Packages
Ign http://archive.ubuntu.com lucid-updates/main Packages
Ign http://security.ubuntu.com lucid-security/restricted Packages
Ign http://security.ubuntu.com lucid-security/main Sources
Ign http://archive.ubuntu.com lucid-updates/restricted Packages
Ign http://security.ubuntu.com lucid-security/restricted Sources
Ign http://archive.ubuntu.com lucid-updates/main Sources
Ign http://archive.ubuntu.com lucid-updates/restricted Sources
Err http://security.ubuntu.com lucid-security/main Packages
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid/main Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com lucid-security/restricted Packages
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com lucid-security/main Sources
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid/restricted Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid/main Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com lucid-security/restricted Sources
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid/restricted Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates/main Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates/restricted Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates/main Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates/restricted Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/Release.gpg Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release.gpg Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/main/binary-i386/Packages.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/restricted/binary-i386/Packages.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/main/source/Sources.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/restricted/source/Sources.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/main/binary-i386/Packages.gz Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/main/binary-i386/Packages.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/binary-i386/Packages.gz Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/main/source/Sources.gz Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/binary-i386/Packages.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/source/Sources.gz Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/main/source/Sources.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/source/Sources.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

E: Some index files failed to download, they have been ignored, or old ones used instead.
Err http://archive.ubuntu.com lucid Release.gpg
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com lucid-security Release.gpg
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates Release.gpg
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com lucid-security Release
Ign http://security.ubuntu.com lucid-security/main Packages
Ign http://archive.ubuntu.com lucid Release
Ign http://security.ubuntu.com lucid-security/restricted Packages
Ign http://archive.ubuntu.com lucid-updates Release
Ign http://security.ubuntu.com lucid-security/main Sources
Ign http://archive.ubuntu.com lucid/main Packages
Ign http://security.ubuntu.com lucid-security/restricted Sources
Ign http://archive.ubuntu.com lucid/restricted Packages
Ign http://security.ubuntu.com lucid-security/main Packages
Ign http://archive.ubuntu.com lucid/main Sources
Ign http://security.ubuntu.com lucid-security/restricted Packages
Ign http://archive.ubuntu.com lucid/restricted Sources
Ign http://security.ubuntu.com lucid-security/main Sources
Ign http://archive.ubuntu.com lucid-updates/main Packages
Ign http://security.ubuntu.com lucid-security/restricted Sources
Ign http://archive.ubuntu.com lucid-updates/restricted Packages
Err http://security.ubuntu.com lucid-security/main Packages
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com lucid-updates/main Sources
Err http://security.ubuntu.com lucid-security/restricted Packages
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com lucid-security/main Sources
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com lucid-security/restricted Sources
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com lucid-updates/restricted Sources
Ign http://archive.ubuntu.com lucid/main Packages
Ign http://archive.ubuntu.com lucid/restricted Packages
Ign http://archive.ubuntu.com lucid/main Sources
Ign http://archive.ubuntu.com lucid/restricted Sources
Ign http://archive.ubuntu.com lucid-updates/main Packages
Ign http://archive.ubuntu.com lucid-updates/restricted Packages
Ign http://archive.ubuntu.com lucid-updates/main Sources
Ign http://archive.ubuntu.com lucid-updates/restricted Sources
Err http://archive.ubuntu.com lucid/main Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid/restricted Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid/main Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid/restricted Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates/main Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates/restricted Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates/main Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com lucid-updates/restricted Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/Release.gpg Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release.gpg Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/main/binary-i386/Packages.gz Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/binary-i386/Packages.gz Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/main/source/Sources.gz Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/source/Sources.gz Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/main/binary-i386/Packages.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/restricted/binary-i386/Packages.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/main/source/Sources.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/restricted/source/Sources.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/main/binary-i386/Packages.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/binary-i386/Packages.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/main/source/Sources.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/source/Sources.gz Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

E: Some index files failed to download, they have been ignored, or old ones used instead.
apt-get update failed, error=100
Unmounting directory /home/elf17/tmp/remaster-root/proc...
Unmounting directory /home/elf17/tmp/remaster-root/sys...
Unmounting directory /home/elf17/tmp/remaster-root/dev/pts...
Unmounting directory /home/elf17/tmp/remaster-root/var/run...
Saving apt cache
Cleaning up apt
Removing customize dir...
Cleaning up temporary directories...
Restoring /root directory...
Removing /home/username directory, if created...
Restoring resolv.conf...

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
2010-04-30
Last reply:
2010-05-15
Wolf Geldmacher (wolf-womaro) said : #1

Looks like you do not have a network connection.
- Can you access the Internet from your host installation?
- Do you need proxies to access the Internet?

manishmahabir (manishmahabir) said : #2

i can access the internet from my machine using proxies but i am unable to ping from terminal.

Wolf Geldmacher (wolf-womaro) said : #3

UCK does not support access to the Ubuntu repositories via proxies out-of-the-box.

You will have to manually modify the files ~/tmp/customization-scripts/customize and ~/tmp/customization-scripts/customize_iso (these file get created when UCK is run for the first time) and insert the following lines somewhere near the top of the files:

export http_proxy="http://userid:password@proxy-ip:port-number/"
export ftp_proxy="http://userid:password@proxy-ip:port-number/"
export https_proxy="http://userid:password@proxy-ip:port-number/"
(replace userid, password, proxy-ip and port-number with the correct values for your setup!)

This will make the commands that require HTTP/FTP/HHTPS internet access use the proxies specified.

A more detailed explanation on how to use apt (the package manager) with proxies can be found via google. For example
http://blogs.sun.com/venky/entry/using_apt_get_with_a has a more detailed description.

Wolf Geldmacher (wolf-womaro) said : #4

Found an even simpler solution: Just add the line
Defaults env_keep += "http_proxy https_proxy ftp_proxy all_proxy no_proxy"
to your /etc/sudoers file. sudo/gksudo should then pass the settings in your
current environment on to the chroot environment.

manishmahabir (manishmahabir) said : #5

Thanks!

Can you help with this problem?

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

To post a message you must log in.