rpm-software-management / dnf

Package manager based on libdnf and libsolv. Replaces YUM.
GNU General Public License v2.0
1.22k stars 405 forks source link

Support RPMTRANS_FLAG_DEPLOOPS #2057

Closed opoplawski closed 4 months ago

opoplawski commented 4 months ago

I think this could be helpful for debugging some installer issues - e.g. https://bugzilla.redhat.com/show_bug.cgi?id=2244744

j-mracek commented 4 months ago

LGTM

opoplawski commented 4 months ago

Just to note that this seems to work:

dnf --releasever=40 --disablerepo=rawhide\* --enablerepo=fedora,updates --installroot=/srv/test --setopt=tsflags=deploops  install postfix
Fedora 40 - x86_64                                                                                                                  6.7 MB/s |  33 MB     00:04
Fedora 40 openh264 (From Cisco) - x86_64                                                                                            1.3 kB/s | 1.8 kB     00:01
Fedora 40 - x86_64 - Updates                                                                                                        109  B/s | 134  B     00:01
Running transaction test
warning: 1 Strongly Connected Components
warning: SCC #1: 133 members (28 external dependencies)
warning:        alternatives-1.26-3.fc40.x86_64
warning:                -> glibc-2.39-2.fc40.x86_64
warning:        postfix-2:3.8.5-3.fc40.x86_64
warning:                => systemd-255.3-1.fc40.x86_64
warning:                -> policycoreutils-3.6-3.fc40.x86_64
warning:                -> cyrus-sasl-lib-2.1.28-19.fc40.x86_64
...