+ # Otherwise: error: cannot open Packages index using db3 - Invalid argument (22)
+ if [ "${i#*/epel-[45]-}" = "$i" ];then
+ rm -f $i/root/var/lib/rpm/__db.*
+ mock $opts -r $r --shell 'package-cleanup --cleandupes'
+ rm -f $i/root/var/lib/rpm/__db.*
+ mock $opts -r $r --update
+ mock $opts -r $r --install `cat $HOME/src/INSTALL`
+ fi