Public bug reported:

Hi,

I see there's logic for selecting port.ubuntu.com for lpia, but it doesn't work:
 % sudo  ubuntu-vm-builder kvm intrepid -v --tmp $PWD --arch lpia --debug
2008-10-31 21:35:25,046 DEBUG    add_part - begin 0, length 4096, end 4095
2008-10-31 21:35:25,046 DEBUG    add_part - begin 4096, length 1024, end 5119
2008-10-31 21:35:25,046 DEBUG    ip: dhcp
2008-10-31 21:35:25,052 DEBUG    Temporary directory: 
/home/lool/uvb2/vmbuilderUWA9NQ
2008-10-31 21:35:25,053 DEBUG    Creating the root mount directory: 
/home/lool/uvb2/vmbuilderUWA9NQ/target
2008-10-31 21:35:25,053 DEBUG    Creating temporary root: 
/home/lool/uvb2/vmbuilderUWA9NQ/root
2008-10-31 21:35:25,053 DEBUG    Creating destination directory: ubuntu-kvm
2008-10-31 21:35:25,053 INFO     Creating disk image: 
/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img
2008-10-31 21:35:25,053 DEBUG    ['/usr/bin/kvm-img', 'create', '-f', 'raw', 
'/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img', '5120M']
2008-10-31 21:35:25,059 DEBUG    Formatting 
'/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img', fmt=raw, size=5242880 kB
2008-10-31 21:35:25,060 INFO     Adding partition table to disk image: 
/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img
2008-10-31 21:35:25,060 DEBUG    ['parted', '--script', 
'/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img', 'mklabel', 'msdos']
2008-10-31 21:35:25,077 INFO     Adding type 1 partition to disk image: 
/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img
2008-10-31 21:35:25,078 DEBUG    ['parted', '--script', '--', 
'/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img', 'mkpart', 'primary', 'ext2', '0', 
'4095']
2008-10-31 21:35:25,083 INFO     Adding type 3 partition to disk image: 
/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img
2008-10-31 21:35:25,083 DEBUG    ['parted', '--script', '--', 
'/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img', 'mkpart', 'primary', 'linux-swap', 
'4096', '5119']
2008-10-31 21:35:25,088 INFO     Creating loop devices corresponding to the 
created partitions
2008-10-31 21:35:25,089 DEBUG    ['kpartx', '-av', 
'/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img']
2008-10-31 21:35:25,100 DEBUG    gpt: 0 slices
2008-10-31 21:35:25,100 DEBUG    dos: 4 slices
2008-10-31 21:35:25,100 DEBUG    add map loop0p1 (254:3): 0 7998048 linear 
/dev/loop0 32
2008-10-31 21:35:25,101 DEBUG    add map loop0p2 (254:4): 0 2000000 linear 
/dev/loop0 7998080
2008-10-31 21:35:25,101 INFO     Creating file systems
2008-10-31 21:35:25,101 DEBUG    intrepid: 256 bit inode
2008-10-31 21:35:25,101 DEBUG    ['mkfs.ext3', '-F', '/dev/mapper/loop0p1']
2008-10-31 21:35:25,105 INFO     mke2fs 1.41.3 (12-Oct-2008)
2008-10-31 21:35:25,817 DEBUG    Filesystem label=
2008-10-31 21:35:25,818 DEBUG    OS type: Linux
2008-10-31 21:35:25,818 DEBUG    Block size=4096 (log=2)
2008-10-31 21:35:25,818 DEBUG    Fragment size=4096 (log=2)
2008-10-31 21:35:25,818 DEBUG    249984 inodes, 999756 blocks
2008-10-31 21:35:25,819 DEBUG    49987 blocks (5.00%) reserved for the super 
user
2008-10-31 21:35:25,819 DEBUG    First data block=0
2008-10-31 21:35:25,819 DEBUG    Maximum filesystem blocks=1027604480
2008-10-31 21:35:25,819 DEBUG    31 block groups
2008-10-31 21:35:25,820 DEBUG    32768 blocks per group, 32768 fragments per 
group
2008-10-31 21:35:25,820 DEBUG    8064 inodes per group
2008-10-31 21:35:25,820 DEBUG    Superblock backups stored on blocks:
2008-10-31 21:35:25,820 DEBUG           32768, 98304, 163840, 229376, 294912, 
819200, 884736
2008-10-31 21:35:25,821 DEBUG    
2008-10-31 21:35:25,823 DEBUG    Writing inode tables: done1
2008-10-31 21:35:25,823 DEBUG    Creating journal (16384 blocks): done
2008-10-31 21:35:25,823 DEBUG    Writing superblocks and filesystem accounting 
information: done
2008-10-31 21:35:25,823 DEBUG    
2008-10-31 21:35:25,824 DEBUG    This filesystem will be automatically checked 
every 30 mounts or
2008-10-31 21:35:25,824 DEBUG    180 days, whichever comes first.  Use tune2fs 
-c or -i to override.
2008-10-31 21:35:25,824 DEBUG    ['vol_id', '--uuid', '/dev/mapper/loop0p1']
2008-10-31 21:35:25,828 DEBUG    274d29f7-61bb-43be-b6ac-3dd28c3f46e3
2008-10-31 21:35:25,828 DEBUG    intrepid: 256 bit inode
2008-10-31 21:35:25,828 DEBUG    ['mkswap', '/dev/mapper/loop0p2']
2008-10-31 21:35:25,831 DEBUG    Setting up swapspace version 1, size = 999996 
KiB
2008-10-31 21:35:25,831 DEBUG    no label, 
UUID=13addb6a-742b-4dbe-926e-d1c9d0618cfd
2008-10-31 21:35:25,831 DEBUG    ['vol_id', '--uuid', '/dev/mapper/loop0p2']
2008-10-31 21:35:25,834 DEBUG    13addb6a-742b-4dbe-926e-d1c9d0618cfd
2008-10-31 21:35:25,834 INFO     Mounting target filesystems
2008-10-31 21:35:25,835 DEBUG    Mounting /
2008-10-31 21:35:25,835 DEBUG    ['mount', '-o', 'loop', '/dev/mapper/loop0p1', 
'/home/lool/uvb2/vmbuilderUWA9NQ/target/']
2008-10-31 21:35:25,842 DEBUG    Creating /var/run in root filesystem
2008-10-31 21:35:25,844 DEBUG    Creating /var/lock in root filesystem
2008-10-31 21:35:25,844 INFO     Installing guest operating system. This might 
take some time...
2008-10-31 21:35:25,844 DEBUG    debootstrapping
2008-10-31 21:35:25,844 DEBUG    ['/usr/sbin/debootstrap', '--arch=lpia', 
'intrepid', '/home/lool/uvb2/vmbuilderUWA9NQ/root', 
'http://archive.ubuntu.com/ubuntu']
2008-10-31 21:35:25,869 DEBUG    I: Retrieving Release
2008-10-31 21:35:25,948 DEBUG    I: Retrieving Packages
2008-10-31 21:35:25,954 DEBUG    I: Retrieving Packages
2008-10-31 21:35:25,961 DEBUG    I: Retrieving Packages
2008-10-31 21:35:25,968 DEBUG    E: Couldn't download 
dists/intrepid/main/binary-lpia/Packages
2008-10-31 21:35:25,970 DEBUG    Oh, dear, an exception occurred
2008-10-31 21:35:25,970 INFO     Cleaning up
2008-10-31 21:35:25,970 DEBUG    Unmounting 
/home/lool/uvb2/vmbuilderUWA9NQ/target/
2008-10-31 21:35:25,970 DEBUG    ['umount', 
'/home/lool/uvb2/vmbuilderUWA9NQ/target/']
2008-10-31 21:35:25,974 DEBUG    ['kpartx', '-d', 
'/home/lool/uvb2/vmbuilderUWA9NQ/disk0.img']
2008-10-31 21:35:25,981 DEBUG    gpt: 0 slices
2008-10-31 21:35:25,982 DEBUG    dos: 4 slices
2008-10-31 21:35:25,984 DEBUG    loop deleted : /dev/loop0
2008-10-31 21:35:25,985 DEBUG    ['rmdir', 'ubuntu-kvm']
2008-10-31 21:35:25,989 DEBUG    ['rm', '-rf', 
'/home/lool/uvb2/vmbuilderUWA9NQ']
Traceback (most recent call last):
  File "/usr/bin/ubuntu-vm-builder", line 29, in <module>
    VMBuilder.run()
  File "/usr/lib/python2.5/site-packages/VMBuilder/__init__.py", line 66, in run
    frontend.run()
  File "/usr/lib/python2.5/site-packages/VMBuilder/plugins/cli/__init__.py", 
line 67, in run
    vm.create()
  File "/usr/lib/python2.5/site-packages/VMBuilder/vm.py", line 453, in create
    raise e
VMBuilder.exception.VMBuilderException: Process (['/usr/sbin/debootstrap', 
'--arch=lpia', 'intrepid', '/home/lool/uvb2/vmbuilderUWA9NQ/root', 
'http://archive.ubuntu.com/ubuntu']) returned 1. stdout: I: Retrieving Release
I: Retrieving Packages
I: Retrieving Packages
I: Retrieving Packages
E: Couldn't download dists/intrepid/main/binary-lpia/Packages
, stderr: 


Cheers

** Affects: ubuntu-vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Wrong mirror for lpia
https://bugs.launchpad.net/bugs/291782
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to