Comment 15 for bug 1007439

Revision history for this message
Jan Kellermann (jan-kellermann) wrote :

Workaround: download ubuntu 12.04.3 iso, mount it and create image from iso:

wget http://releases.ubuntu.com/12.04.3/ubuntu-12.04.3-server-amd64.iso

mount ubuntu-12.04.3-server-amd64.iso /mnt/

you have to fix /usr/lib/xen-tools/karmic.d/20-setup-apt because it tries to recieve updates from given mirror:

53,56c53,56
< deb ${mirror} ${dist} main restricted universe multiverse
< deb-src ${mirror} ${dist} main restricted universe
< deb ${mirror} ${dist}-updates main restricted universe multiverse
< deb-src ${mirror} ${dist}-updates main restricted universe
---
> deb http://de.archive.ubuntu.com/ubuntu/ ${dist} main restricted universe multiverse
> deb-src http://de.archive.ubuntu.com/ubuntu/ ${dist} main restricted universe
> deb http://de.archive.ubuntu.com/ubuntu/ ${dist}-updates main restricted universe multiverse
> deb-src http://de.archive.ubuntu.com/ubuntu/ ${dist}-updates main restricted universe

xen-create-image [....] --mirror file:/mnt