From 42b166487cb3a7a719567d149864fc2aad359b89 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 12 Jan 2016 08:43:32 -0500 Subject: [PATCH] fixing pbuilder so it looks in universe as well Signed-off-by: Alfredo Deza --- ceph-build/build/setup_pbuilder | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ceph-build/build/setup_pbuilder b/ceph-build/build/setup_pbuilder index bdf4b47f..4aa0387f 100755 --- a/ceph-build/build/setup_pbuilder +++ b/ceph-build/build/setup_pbuilder @@ -52,6 +52,16 @@ if [ $file_size_kb -lt 1 ]; then sudo rm -f "$pbuild_tar" fi +# Ordinarily pbuilder only pulls packages from "main". ceph depends on +# packages like python-virtualenv which are in "universe". We have to configure +# pbuilder to look in "universe". Otherwise the build would fail with a message similar +# to: +# The following packages have unmet dependencies: +# pbuilder-satisfydepends-dummy : Depends: python-virtualenv which is a virtual package. +# Depends: xmlstarlet which is a virtual package. +# Unable to resolve dependencies! Giving up... +echo 'COMPONENTS="main universe"' > ~/.pbuilderrc + sudo pbuilder --clean if [ -e $basedir/$DIST.tgz ]; then -- 2.47.3