fuel-main/mirror
Alexei Sheplyakov 95601a3f4d mirror/centos: fail on broken/missing package(s)
Apparently yumdownloader does not raise an error if some packages are
missing or broken (dependencies can not be satisfied). As a result some
packages have silently disappered from the mirror (kmod-openvswitch) and
others have been broken (sheepdog).

Patch yumdownloader so it bails out if some packages are missing or have
broken dependencies. As a side effect yumdownloader raises an error if
some of the packages being downloaded conflict (like kernel-headers vs
kernel-headers-lt), so modify the mirroring code to detect and handle
the conflicting packages.

More strict dependencies check yield some unexpected issues. In
particular a few 32 bit packages are broken due to the upgraded base
packages from Fuel repo being x86_64 only. In particular, 32 bit dmraid
package is broken due to device-mapper-libs:

Package: device-mapper-libs-1.02.79-8.el6.i686 (base)
    Requires: device-mapper = 1.02.79-8.el6
    Available: device-mapper-1.02.79-8.el6.x86_64 (base)
        device-mapper = 1.02.79-8.el6
    Installing: device-mapper-1.02.90-2.mira1.x86_64 (fuel)
        device-mapper = 1.02.90-2.mira1

To solve the problem configure yum to exclude most of i686 packages.
The configuration appeared to be a bit cumbersome since *some* i686
packages are required. In particular syslinux package requires
syslinux-nonlinux (binaries which run in syslinux environment before
booting the OS) which is formally an i686 package.

Closes-Bug: #1457382
Related-Bug: #1456459
Change-Id: I404b662cd3b54ee9d058692bb30177b985871b16
2015-05-25 18:43:11 +03:00
..
centos mirror/centos: fail on broken/missing package(s) 2015-05-25 18:43:11 +03:00
docker Download centos base image instead of fuel/centos 2015-03-10 17:04:52 +00:00
ubuntu Fixed errors in packages/deb and mirror/ubuntu 2015-04-28 19:44:25 +03:00
module.mk Remove differential (diff) repos 2015-04-29 13:51:25 +03:00