Package: xen-tools
Version: 4.3.1-1
Severity: important
Tags: patch

Dear Maintainer,

When I want a centos 6'VM, the log says it stop at 20-setup-yum at :

<--extract 
hook 15-setup-arch: done.
Running hook 20-setup-yum
Loaded plugins: fastestmirror, keys, protect-packages, protectbase
Determining fastest mirrors
 * base: centos.mattclements.co.uk
 * extras: mirror.ate.info
 * updates: mirror.ovh.net
http://centos.mattclements.co.uk/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] 
PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package centos-release.x86_64 0:6-5.el6.centos.11.1 will be updated
---> Package centos-release.x86_64 0:6-5.el6.centos.11.2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch        Version                     Repository    Size
================================================================================
Updating:
 centos-release      x86_64      6-5.el6.centos.11.2         updates       20 k

Transaction Summary
================================================================================
Upgrade       1 Package(s)

Total download size: 20 k

end of extract -->

In common/20-setup-yum, I added the '-y' flag to the command, rerun and it 
worked.

I send the patch made.


-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xen-tools depends on:
ii  debootstrap              1.0.48+deb7u1
ii  libconfig-inifiles-perl  2.75-1
ii  libfile-slurp-perl       9999.19-1
ii  libtext-template-perl    1.45-2
ii  openssh-client           1:6.0p1-4
ii  perl-modules             5.14.2-21+deb7u1

Versions of packages xen-tools recommends:
ii  libexpect-perl                                   1.21-1
ii  rinse                                            2.0.1-1
ii  xen-hypervisor-4.1-amd64 [xen-hypervisor-amd64]  4.1.4-3+deb7u1
ii  xen-utils-4.1 [xen-utils]                        4.1.4-3+deb7u1

Versions of packages xen-tools suggests:
ii  btrfs-tools    0.19+20120328-7.1
pn  cfengine2      <none>
ii  reiserfsprogs  1:3.6.21-1
pn  xfsprogs       <none>

-- Configuration Files:
/etc/xen-tools/xen-tools.conf changed [not included]

-- no debconf information
--- 20-setup-yum.orig	2014-01-17 12:14:09.000000000 +0100
+++ 20-setup-yum	2013-12-11 14:55:51.000000000 +0100
@@ -33,7 +33,7 @@
     mkdir -p ${prefix}/proc
 fi
 mount -o bind /proc ${prefix}/proc
-chroot ${prefix} /usr/bin/yum update
+chroot ${prefix} /usr/bin/yum update -y
 umount ${prefix}/proc
 
 

Reply via email to