search for: new_rpm

Displaying 1 result from an estimated 1 matches for "new_rpm".

Did you mean: new_rpms
2015 Nov 05
1
synthesizing yum transactions
...s in question? I feel I've come close, with this methodology, basically coercing yum to rebuild a database in a private directory: # installroot for yum workdir=/home/yum-hack rm -rf ${workdir} mkdir -p ${workdir} cd ${workdir} # list of newer RPMs (after transaction ID 1) new=new_rpms # dup repos and rpm/yum databases for tree in /var/lib/rpm/ /var/cache/yum/ /var/lib/yum/ /etc/yum.repos.d/; do echo ${tree} mkdir -p ./${tree} cp -pr ${tree}/* ./${tree} done cat new_rpm | xargs /usr/bin/yum -y --nogpgcheck --installroot=${workdir} \ --setopt=tsflags=nos...