TRy installing cached RPMs by urpmi (RPM can't resolve dependencies)

This commit is contained in:
Mikhail Novosyolov 2019-03-09 16:10:17 +03:00
parent 29195674e0
commit bd59cfb08f
2 changed files with 3 additions and 2 deletions

View file

@ -3,7 +3,7 @@
Summary: Tools for building live CDs
Name: livecd-tools
Version: 21.1
Release: 48
Release: 49
Epoch: 1
License: GPLv2+
Group: System/Base

View file

@ -100,7 +100,8 @@ if [ -n "${failed_pkgs}" ]; then
# It will be done without potentially buggy perl-URPM.
( set +f
urpmi_cache="${urpmiRoot}/var/cache/urpmi/rpms"
rpm -Uvh ${urpmi_cache}/*.rpm || : )
#rpm -Uvh --nodeps ${urpmi_cache}/*.rpm || :
urpmi ${urpmi_cache}/*.rpm || :)
fi
# Now, regardless success of installing one-by-one, let's install all packages and see if it will be successfull