On 3/8/26 9:31 AM, Miroslav Suchý wrote:

Dne 07. 03. 26 v 10:49 odp. Xose Vazquez Perez napsal(a):
I would add "--skip-broken --allowerasing", and

Nope. That *can* upgrade system despite some problems. But we want to reveal these problems. And if allowerasing is going to remove something we want to remove it via Obsoletes or fedora-obsolete- packages.

Yes, it could do the full transaction, but it will show a realistic global 
vision.

-------------------------------------------------------------------------------
$ LC_ALL=en_US.UTF-8 dnf distro-sync --releasever=44 --enablerepo='*-testing' 
--assumeno --best

Failed to resolve the transaction:
Problem 1: installed package openhpi-3.8.0-32.fc43.x86_64 requires 
libnetsnmp.so.40()(64bit), but none of the providers can be installed
  - net-snmp-libs-1:5.9.4-18.fc43.x86_64 does not belong to a distupgrade 
repository
  - problem with installed package
 Problem 2: cannot install both net-snmp-libs-1:5.9.5.2-4.fc44.x86_64 from 
fedora and net-snmp-libs-1:5.9.4-18.fc43.x86_64 from @System
  - installed package openhpi-libs-3.8.0-32.fc43.x86_64 requires 
libnetsnmp.so.40()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package 
net-snmp-libs-1:5.9.4-18.fc43.x86_64
  - problem with installed package
You can try to add to command line:
  --no-best to not limit the transaction to the best candidates
  --skip-broken to skip uninstallable packages


vs.


--------------------------------------------------------------------------------
$ LC_ALL=en_US.UTF-8 dnf distro-sync --releasever=44 --enablerepo='*-testing' 
--assumeno --best --skip-broken --allowerasing &>f44 ; less f44

Removing dependent packages:
 openhpi                                                   x86_64 3.8.0-32.fc43       
                <unknown>                           7.7 MiB
 openhpi-libs                                              x86_64 3.8.0-32.fc43       
                <unknown>                         419.9 KiB
Downgrading:
 dnsperf                                                   x86_64 2.14.0-5.fc44 
                      fedora                            248.5 KiB
   replacing dnsperf                                       x86_64 2.15.0-1.fc43       
                <unknown>                         252.2 KiB
 libnetfilter_conntrack                                    x86_64 1.0.9-10.fc44 
                      fedora                            139.8 KiB
   replacing libnetfilter_conntrack                        x86_64 1.1.1-1.fc43        
                <unknown>                         143.8 KiB
 selinux-policy                                            noarch 42.24-1.fc44  
                      updates-testing                    32.0 KiB
   replacing selinux-policy                                noarch 42.25-1.fc43        
                <unknown>                          32.0 KiB
 selinux-policy-devel                                      noarch 42.24-1.fc44  
                      updates-testing                    23.0 MiB
   replacing selinux-policy-devel                          noarch 42.25-1.fc43        
                <unknown>                          23.1 MiB
 selinux-policy-targeted                                   noarch 42.24-1.fc44  
                      updates-testing                    18.5 MiB
   replacing selinux-policy-targeted                       noarch 42.25-1.fc43        
                <unknown>                          18.5 MiB
 spirv-tools-libs                                          x86_64 2026.1-1.fc44 
                      updates-testing                     6.1 MiB
   replacing spirv-tools-libs                              x86_64 2026.1-2.fc43       
                <unknown>                           5.9 MiB
 thunderbird                                               x86_64 147.0-2.fc44  
                      fedora                            338.1 MiB
   replacing thunderbird                                   x86_64 148.0-3.fc43        
                <unknown>                         338.0 MiB
 thunderbird-librnp-rnp                                    x86_64 147.0-2.fc44  
                      fedora                              4.8 MiB
   replacing thunderbird-librnp-rnp                        x86_64 148.0-3.fc43        
                <unknown>                           4.8 MiB
 upower                                                    x86_64 1.91.1-1.fc44 
                      fedora                            304.7 KiB
   replacing upower                                        x86_64 1.91.1-2.fc43       
                <unknown>                         305.0 KiB
 upower-libs                                               x86_64 1.91.1-1.fc44 
                      fedora                            178.7 KiB
   replacing upower-libs                                   x86_64 1.91.1-2.fc43       
                <unknown>                         178.8 KiB
 wireshark                                                 x86_64 
1:4.6.3-2.fc44                      fedora                              9.7 MiB
   replacing wireshark                                     x86_64 1:4.6.4-1.fc43      
                <unknown>                           9.6 MiB
 wireshark-cli                                             x86_64 
1:4.6.3-2.fc44                      fedora                             93.1 MiB
   replacing wireshark-cli                                 x86_64 1:4.6.4-1.fc43      
                <unknown>                          93.0 MiB
Upgrading:

[...]

Transaction Summary:
 Installing:        70 packages
 Upgrading:       5114 packages
 Replacing:       5141 packages
 Removing:           2 packages
 Downgrading:       12 packages

Total size of inbound packages is 4 GiB. Need to download 4 GiB.
After this operation, 1 GiB extra will be used (install 13 GiB, remove 12 GiB).
Operation aborted by the user.
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to