From c7065bb6a0a0fa27667b6dfc117630f938c10014 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 8 Feb 2014 18:45:00 +0100 Subject: [PATCH] fix for ubuntu builds that could not find python-rpm despite the addition of the universe source list (apt-get update needed) --- lbuild-initvm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 34c9115d..b346fe2a 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -724,6 +724,8 @@ function devel_or_vtest_tools () { ( cd /vservers/$lxc/etc/apt ; head -1 sources.list | sed -e s,main,universe, > sources.list.d/universe.list ) # also adding a link to updates sounds about right ( cd /vservers/$lxc/etc/apt ; head -1 sources.list | sed -e 's, main,-updates main,' > sources.list.d/updates.list ) + # tell apt about the changes + chroot /vservers/$lxc apt-get update fi for package in $packages ; do # container not started yet -- 2.43.0