Bug 2350481

Summary: failed: The rpm transaction contains more elements than requested
Product: [Fedora] Fedora Reporter: customercare
Component: dnf5Assignee: rpm-software-management
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: amatej, a.trubitsyn, damnedyankee, dwlegg, dwmw2, igeorgex, jkolarik, nsella, pkratoch, ppisar, rpm-software-management
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: dnf5-5.4.3.0-1.fc44 dnf5-5.2.18.0-5.fc43 dnf5-5.4.3.0-2.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-22 01:12:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description customercare 2025-03-06 21:45:39 UTC
Name        : dnf5
Version     : 5.2.7.0
Release     : 1.fc41
Architecture: x86_64


$ dnf update

....
[  1/703] zix-0:0.6.2-1.fc41.x86_64                                                                                                                                                                                                     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                                                  100% |   0.0   B/s |   0.0   B |  00m00s
[  1/704] zlib-ng-0:2.2.3-2.fc41.x86_64                                                                                                                                                                                                 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                                                  100% |   0.0   B/s |   0.0   B |  00m00s
[  1/705] zlib-ng-compat-0:2.2.3-2.fc41.x86_64                                                                                                                                                                                          100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                                                  100% |   0.0   B/s |   0.0   B |  00m00s
[  1/706] zstd-0:1.5.7-1.fc41.x86_64                                                                                                                                                                                                    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                                                  100% |   0.0   B/s |   0.0   B |  00m00s
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[706/706] Total                                                                                                                                                                                                                         100% |   0.0   B/s |   0.0   B |  00m00s
Transaktion wird ausgeführt
terminate called after throwing an instance of 'libdnf5::AssertionError'
  what():  libdnf5/rpm/transaction.cpp:193: void libdnf5::rpm::Transaction::fill(const libdnf5::base::Transaction&): Assertion 'implicit_ts_elements.empty()' failed: The rpm transaction contains more elements than requested


btw: while checking for already downloaded rpms , the counter is miscounted with this pattern:

[1/1]
[2/2]
[3/3]
[4/4]
[5/5]
..
[706/706] .. see above.

should be 

[1/706]
[2/706]
[3/706]


Reproducible: Always

Comment 1 amatej 2025-03-07 05:56:51 UTC
> btw: while checking for already downloaded rpms , the counter is miscounted with this pattern:

I believe this should already be fixed by https://github.com/rpm-software-management/dnf5/pull/1989

Comment 2 Jack 2025-03-16 11:37:54 UTC
Same issue for the past several weeks:

sudo dnf -y update
....
[494/495] z3-libs-0:4.13.4-1.fc41.x86_64                                                                                                         100% |   4.0 MiB/s |   7.0 MiB |  00m02s
[495/495] thunderbird-0:128.8.0-1.fc41.x86_64                                                                                                    100% |   4.6 MiB/s | 117.5 MiB |  00m26s
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[495/495] Total                                                                                                                                  100% |   6.2 MiB/s |   1.9 GiB |  05m20s
Running transaction
terminate called after throwing an instance of 'libdnf5::AssertionError'
  what():  libdnf5/rpm/transaction.cpp:193: void libdnf5::rpm::Transaction::fill(const libdnf5::base::Transaction&): Assertion 'implicit_ts_elements.empty()' failed: The rpm transaction contains more elements than requested
Aborted

Comment 3 amatej 2025-04-22 08:22:54 UTC
*** Bug 2360965 has been marked as a duplicate of this bug. ***

Comment 4 David W. Legg 2025-04-28 12:07:09 UTC
dnf update --exclude=audacity*


reporter:       libreport-2.17.15
type:           CCpp
reason:         dnf5 killed by SIGABRT
journald_cursor: s=ba5e9344dfc94054963f95303db481f2;i=34a06;b=0aebb270c8a9487a8d16c9c6a0924b73;m=13d62247;t=633d576c31ba0;x=72026bcf7a8fda5c
executable:     /usr/bin/dnf5
cmdline:        dnf update $'--exclude=audacity*'
cgroup:         0::/user.slice/user-0.slice/session-c1.scope
rootdir:        /
uid:            0
kernel:         6.14.3-300.fc42.x86_64
package:        dnf5-5.2.13.1-1.fc42
runlevel:       N 5
backtrace_rating: 4
crash_function: libdnf5::rpm::Transaction::fill
comment:        dnf update --exclude=audacity*

Comment 5 David W. Legg 2025-05-19 11:32:55 UTC
Just did a dnf update


reporter:       libreport-2.17.15
type:           CCpp
reason:         dnf5 killed by SIGABRT
journald_cursor: s=ba5e9344dfc94054963f95303db481f2;i=8e11a;b=825f77253ba84b0fac2b5ff520e961f2;m=b5819cc7;t=6354291c77835;x=cc8332d5e7eff472
executable:     /usr/bin/dnf5
cmdline:        dnf update
cgroup:         0::/user.slice/user-0.slice/session-c1.scope
rootdir:        /
uid:            0
kernel:         6.14.6-300.fc42.x86_64
package:        dnf5-5.2.13.1-1.fc42
runlevel:       N 5
backtrace_rating: 4
crash_function: libdnf5::rpm::Transaction::fill
comment:        Just did a dnf update

Comment 6 a.trubitsyn 2025-11-18 16:36:14 UTC
I see this error on Fedora43 at 2025-11-18
sudo dnf update -y && sudo dnf upgrade -y
[sudo] пароль для al: 
Попробуйте ещё раз.
[sudo] пароль для al: 
Обновление и загрузка репозиториев:
 RPM Fusion for Fedora 43 - Nonfree - Updates                                                                                                                 100% |   1.6 KiB/s |   7.0 KiB |  00m04s
 RPM Fusion for Fedora 43 - Free - Updates                                                                                                                    100% |   4.5 KiB/s |   8.0 KiB |  00m02s
 Fedora 43 - x86_64 - Updates                                                                                                                                 100% |  22.7 KiB/s |  21.6 KiB |  00m01s
Репозитории загружены.
Пакет                                                               Арх.            Версия                                                              Репозиторий                             Размер
Обновление:
 cups                                                               x86_64          1:2.4.14-3.fc43                                                     updates                                8.1 MiB
   замена cups                                                      x86_64          1:2.4.14-2.fc43                                                     fedora                                 8.1 MiB
 cups-client                                                        x86_64          1:2.4.14-3.fc43                                                     updates                              178.8 KiB
   замена cups-client                                               x86_64          1:2.4.14-2.fc43                                                     fedora                               178.8 KiB
 cups-filesystem                                                    noarch          1:2.4.14-3.fc43                                                     updates                                0.0   B
   замена cups-filesystem                                           noarch          1:2.4.14-2.fc43                                                     fedora                                 0.0   B
 cups-ipptool                                                       x86_64          1:2.4.14-3.fc43                                                     updates                                4.4 MiB
   замена cups-ipptool                                              x86_64          1:2.4.14-2.fc43                                                     fedora                                 4.4 MiB
 cups-libs                                                          i686            1:2.4.14-3.fc43                                                     updates                              673.4 KiB
   замена cups-libs                                                 i686            1:2.4.14-2.fc43                                                     fedora                               673.4 KiB
 cups-libs                                                          x86_64          1:2.4.14-3.fc43                                                     updates                              618.7 KiB
   замена cups-libs                                                 x86_64          1:2.4.14-2.fc43                                                     fedora                               618.7 KiB
 perl-libwww-perl                                                   noarch          6.81-1.fc43                                                         updates                              522.8 KiB
   замена perl-libwww-perl                                          noarch          6.79-2.fc43                                                         fedora                               522.5 KiB
 python3-boto3                                                      noarch          1.40.72-1.fc43                                                      updates                                2.3 MiB
   замена python3-boto3                                             noarch          1.40.70-1.fc43                                                      updates                                2.3 MiB
 python3-botocore                                                   noarch          1.40.72-1.fc43                                                      updates                              105.4 MiB
   замена python3-botocore                                          noarch          1.40.70-1.fc43                                                      updates                              105.3 MiB
 python3-pdfminer                                                   noarch          20251107-1.fc43                                                     updates                                8.7 MiB
   замена python3-pdfminer                                          noarch          20250506-5.fc43                                                     fedora                                 8.7 MiB
 wine-dxvk                                                          x86_64          2.7.1-4.fc43                                                        updates                               18.2 MiB
   замена wine-dxvk                                                 x86_64          2.7.1-3.fc43                                                        fedora                                18.1 MiB
 wine-dxvk-d3d10                                                    x86_64          2.7.1-4.fc43                                                        updates                              964.5 KiB
   замена wine-dxvk-d3d10                                           x86_64          2.7.1-3.fc43                                                        fedora                               964.4 KiB
 wine-dxvk-d3d8                                                     x86_64          2.7.1-4.fc43                                                        updates                               13.4 MiB
   замена wine-dxvk-d3d8                                            x86_64          2.7.1-3.fc43                                                        fedora                                13.3 MiB
 wine-dxvk-d3d9                                                     x86_64          2.7.1-4.fc43                                                        updates                               16.9 MiB
   замена wine-dxvk-d3d9                                            x86_64          2.7.1-3.fc43                                                        fedora                                16.8 MiB
 wine-dxvk-dxgi                                                     x86_64          2.7.1-4.fc43                                                        updates                               15.4 MiB
   замена wine-dxvk-dxgi                                            x86_64          2.7.1-3.fc43                                                        fedora                                15.3 MiB

Сводка транзакции:
 Обновление:         15 пакетов
 Замена:         15 пакетов

Общий размер входящих пакетов составляет 35 MiB. Необходимо загрузить 35 MiB.
После этой операции будут использоваться дополнительные 291 KiB (установка 196 MiB, удаление 195 MiB).
[ 1/15] cups-filesystem-1:2.4.14-3.fc43.noarch                                                                                                                100% |  62.8 KiB/s |  12.6 KiB |  00m00s
[ 2/15] cups-client-1:2.4.14-3.fc43.x86_64                                                                                                                    100% | 311.6 KiB/s |  72.6 KiB |  00m00s
[ 3/15] perl-libwww-perl-0:6.81-1.fc43.noarch                                                                                                                 100% | 323.6 KiB/s | 209.4 KiB |  00m01s
[ 4/15] cups-libs-1:2.4.14-3.fc43.x86_64                                                                                                                      100% | 357.7 KiB/s | 261.1 KiB |  00m01s
[ 5/15] cups-libs-1:2.4.14-3.fc43.i686                                                                                                                        100% | 350.1 KiB/s | 284.6 KiB |  00m01s
[ 6/15] cups-1:2.4.14-3.fc43.x86_64                                                                                                                           100% |   1.4 MiB/s |   1.5 MiB |  00m01s
[ 7/15] wine-dxvk-d3d10-0:2.7.1-4.fc43.x86_64                                                                                                                 100% | 783.2 KiB/s | 321.1 KiB |  00m00s
[ 8/15] python3-boto3-0:1.40.72-1.fc43.noarch                                                                                                                 100% | 235.5 KiB/s | 455.9 KiB |  00m02s
[ 9/15] wine-dxvk-dxgi-0:2.7.1-4.fc43.x86_64                                                                                                                  100% |   1.5 MiB/s |   3.6 MiB |  00m02s
[10/15] wine-dxvk-0:2.7.1-4.fc43.x86_64                                                                                                                       100% |   1.5 MiB/s |   4.1 MiB |  00m03s
[11/15] cups-ipptool-1:2.4.14-3.fc43.x86_64                                                                                                                   100% | 914.0 KiB/s |   3.9 MiB |  00m04s
[12/15] wine-dxvk-d3d9-0:2.7.1-4.fc43.x86_64                                                                                                                  100% | 899.7 KiB/s |   4.0 MiB |  00m05s
[13/15] wine-dxvk-d3d8-0:2.7.1-4.fc43.x86_64                                                                                                                  100% | 650.0 KiB/s |   3.0 MiB |  00m05s
[14/15] python3-pdfminer-0:20251107-1.fc43.noarch                                                                                                             100% | 830.4 KiB/s |   5.6 MiB |  00m07s
[15/15] python3-botocore-0:1.40.72-1.fc43.noarch                                                                                                              100% | 827.5 KiB/s |   8.1 MiB |  00m10s
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[15/15] Всего                                                                                                                                            100% |   3.5 MiB/s |  35.5 MiB |  00m10s
Выполнение транзакции
terminate called after throwing an instance of 'libdnf5::AssertionError'
  what():  libdnf5/rpm/transaction.cpp:195: void libdnf5::rpm::Transaction::fill(const libdnf5::base::Transaction&): Assertion 'implicit_ts_elements.empty()' failed: The rpm transaction contains more elements than requested
Аварийный останов      sudo dnf update -y
al@atosha:~$ sudo dnf update -y && sudo dnf upgrade -y
Обновление и загрузка репозиториев:
Репозитории загружены.
Пакет                                                               Арх.            Версия                                                              Репозиторий                             Размер
Обновление:
 cups                                                               x86_64          1:2.4.14-3.fc43                                                     updates                                8.1 MiB
   замена cups                                                      x86_64          1:2.4.14-2.fc43                                                     fedora                                 8.1 MiB
 cups-client                                                        x86_64          1:2.4.14-3.fc43                                                     updates                              178.8 KiB
   замена cups-client                                               x86_64          1:2.4.14-2.fc43                                                     fedora                               178.8 KiB
 cups-filesystem                                                    noarch          1:2.4.14-3.fc43                                                     updates                                0.0   B
   замена cups-filesystem                                           noarch          1:2.4.14-2.fc43                                                     fedora                                 0.0   B
 cups-ipptool                                                       x86_64          1:2.4.14-3.fc43                                                     updates                                4.4 MiB
   замена cups-ipptool                                              x86_64          1:2.4.14-2.fc43                                                     fedora                                 4.4 MiB
 cups-libs                                                          i686            1:2.4.14-3.fc43                                                     updates                              673.4 KiB
   замена cups-libs                                                 i686            1:2.4.14-2.fc43                                                     fedora                               673.4 KiB
 cups-libs                                                          x86_64          1:2.4.14-3.fc43                                                     updates                              618.7 KiB
   замена cups-libs                                                 x86_64          1:2.4.14-2.fc43                                                     fedora                               618.7 KiB
 perl-libwww-perl                                                   noarch          6.81-1.fc43                                                         updates                              522.8 KiB
   замена perl-libwww-perl                                          noarch          6.79-2.fc43                                                         fedora                               522.5 KiB
 python3-boto3                                                      noarch          1.40.72-1.fc43                                                      updates                                2.3 MiB
   замена python3-boto3                                             noarch          1.40.70-1.fc43                                                      updates                                2.3 MiB
 python3-botocore                                                   noarch          1.40.72-1.fc43                                                      updates                              105.4 MiB
   замена python3-botocore                                          noarch          1.40.70-1.fc43                                                      updates                              105.3 MiB
 python3-pdfminer                                                   noarch          20251107-1.fc43                                                     updates                                8.7 MiB
   замена python3-pdfminer                                          noarch          20250506-5.fc43                                                     fedora                                 8.7 MiB
 wine-dxvk                                                          x86_64          2.7.1-4.fc43                                                        updates                               18.2 MiB
   замена wine-dxvk                                                 x86_64          2.7.1-3.fc43                                                        fedora                                18.1 MiB
 wine-dxvk-d3d10                                                    x86_64          2.7.1-4.fc43                                                        updates                              964.5 KiB
   замена wine-dxvk-d3d10                                           x86_64          2.7.1-3.fc43                                                        fedora                               964.4 KiB
 wine-dxvk-d3d8                                                     x86_64          2.7.1-4.fc43                                                        updates                               13.4 MiB
   замена wine-dxvk-d3d8                                            x86_64          2.7.1-3.fc43                                                        fedora                                13.3 MiB
 wine-dxvk-d3d9                                                     x86_64          2.7.1-4.fc43                                                        updates                               16.9 MiB
   замена wine-dxvk-d3d9                                            x86_64          2.7.1-3.fc43                                                        fedora                                16.8 MiB
 wine-dxvk-dxgi                                                     x86_64          2.7.1-4.fc43                                                        updates                               15.4 MiB
   замена wine-dxvk-dxgi                                            x86_64          2.7.1-3.fc43                                                        fedora                                15.3 MiB

Сводка транзакции:
 Обновление:         15 пакетов
 Замена:         15 пакетов

Общий размер входящих пакетов составляет 35 MiB. Необходимо загрузить 0 B.
После этой операции будут использоваться дополнительные 291 KiB (установка 196 MiB, удаление 195 MiB).
[ 1/15] cups-1:2.4.14-3.fc43.x86_64                                                                                                                           100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[ 2/15] cups-client-1:2.4.14-3.fc43.x86_64                                                                                                                    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[ 3/15] cups-filesystem-1:2.4.14-3.fc43.noarch                                                                                                                100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[ 4/15] cups-libs-1:2.4.14-3.fc43.x86_64                                                                                                                      100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[ 5/15] cups-libs-1:2.4.14-3.fc43.i686                                                                                                                        100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[ 6/15] cups-ipptool-1:2.4.14-3.fc43.x86_64                                                                                                                   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[ 7/15] perl-libwww-perl-0:6.81-1.fc43.noarch                                                                                                                 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[ 8/15] python3-boto3-0:1.40.72-1.fc43.noarch                                                                                                                 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[ 9/15] python3-botocore-0:1.40.72-1.fc43.noarch                                                                                                              100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[10/15] python3-pdfminer-0:20251107-1.fc43.noarch                                                                                                             100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[11/15] wine-dxvk-0:2.7.1-4.fc43.x86_64                                                                                                                       100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[12/15] wine-dxvk-dxgi-0:2.7.1-4.fc43.x86_64                                                                                                                  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[13/15] wine-dxvk-d3d9-0:2.7.1-4.fc43.x86_64                                                                                                                  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[14/15] wine-dxvk-d3d8-0:2.7.1-4.fc43.x86_64                                                                                                                  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
[15/15] wine-dxvk-d3d10-0:2.7.1-4.fc43.x86_64                                                                                                                 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                                                                                                
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[15/15] Всего                                                                                                                                            100% |   0.0   B/s |   0.0   B |  00m00s
Выполнение транзакции
terminate called after throwing an instance of 'libdnf5::AssertionError'
  what():  libdnf5/rpm/transaction.cpp:195: void libdnf5::rpm::Transaction::fill(const libdnf5::base::Transaction&): Assertion 'implicit_ts_elements.empty()' failed: The rpm transaction contains more elements than requested
Аварийный останов      sudo dnf update -y

Comment 7 a.trubitsyn 2025-11-18 16:40:32 UTC
dnf info libdnf5
Обновление и загрузка репозиториев:
Репозитории загружены.
Установленные пакеты
Имя              : libdnf5
Этап             : 0
Версия           : 5.2.17.0
Выпуск           : 2.fc43
Архитектура      : x86_64
Размер установки : 3.8 MiB
Источник         : dnf5-5.2.17.0-2.fc43.src.rpm
Из репозитория   : fedora
Сводка           : Package management library
URL-адрес        : https://github.com/rpm-software-management/dnf5
Лицензия         : LGPL-2.1-or-later
Описание         : Package management library.
Поставщик        : Fedora Project

Доступные пакеты
Имя              : libdnf5
Этап             : 0
Версия           : 5.2.17.0
Выпуск           : 2.fc43
Архитектура      : i686
Размер загрузки  : 1.4 MiB
Размер установки : 3.9 MiB
Источник         : dnf5-5.2.17.0-2.fc43.src.rpm
Репозиторий      : fedora
Сводка           : Package management library
URL-адрес        : https://github.com/rpm-software-management/dnf5
Лицензия         : LGPL-2.1-or-later
Описание         : Package management library.
Поставщик        : Fedora Project

Comment 8 a.trubitsyn 2025-11-20 19:20:53 UTC
problem with wine-dxvk.
sudo dnf update -y --exclude=wine-dxvk
works
sudo dnf update -y && sudo dnf upgrade -y
not.
sudo dnf update -y && sudo dnf upgrade -y
[sudo] пароль для al: 
Обновление и загрузка репозиториев:
Репозитории загружены.
Пакет                     Арх.   Версия                  Репозиторий      Размер
Обновление:
 wine-dxvk                x86_64 2.7.1-4.fc43            updates        18.2 MiB
   замена wine-dxvk       x86_64 2.7.1-3.fc43            fedora         18.1 MiB
 wine-dxvk-d3d10          x86_64 2.7.1-4.fc43            updates       964.5 KiB
   замена wine-dxvk-d3d10 x86_64 2.7.1-3.fc43            fedora        964.4 KiB
 wine-dxvk-d3d8           x86_64 2.7.1-4.fc43            updates        13.4 MiB
   замена wine-dxvk-d3d8  x86_64 2.7.1-3.fc43            fedora         13.3 MiB
 wine-dxvk-d3d9           x86_64 2.7.1-4.fc43            updates        16.9 MiB
   замена wine-dxvk-d3d9  x86_64 2.7.1-3.fc43            fedora         16.8 MiB
 wine-dxvk-dxgi           x86_64 2.7.1-4.fc43            updates        15.4 MiB
   замена wine-dxvk-dxgi  x86_64 2.7.1-3.fc43            fedora         15.3 MiB

Сводка транзакции:
 Обновление:          5 пакетов
 Замена:          5 пакетов

Общий размер входящих пакетов составляет 15 MiB. Необходимо загрузить 0 B.
После этой операции будут использоваться дополнительные 250 KiB (установка 65 MiB, удаление 65 MiB).
[1/5] wine-dxvk-0:2.7.1-4.fc43.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[2/5] wine-dxvk-dxgi-0:2.7.1-4.fc43.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[3/5] wine-dxvk-d3d9-0:2.7.1-4.fc43.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[4/5] wine-dxvk-d3d8-0:2.7.1-4.fc43.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[5/5] wine-dxvk-d3d10-0:2.7.1-4.fc43.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
--------------------------------------------------------------------------------
[5/5] Всего                        100% |   0.0   B/s |   0.0   B |  00m00s
Выполнение транзакции
terminate called after throwing an instance of 'libdnf5::AssertionError'
  what():  libdnf5/rpm/transaction.cpp:195: void libdnf5::rpm::Transaction::fill(const libdnf5::base::Transaction&): Assertion 'implicit_ts_elements.empty()' failed: The rpm transaction contains more elements than requested
Аварийный останов      sudo dnf update -y

Comment 9 amatej 2025-11-25 06:03:48 UTC
You can check whether you don't have multiple architectures of some of the wine-dxvk* packages installed: $ dnf rq --installed wine-dxvk*
If you do and you don't need them you can uninstall one (probably the i686?)

You can also check https://github.com/rpm-software-management/dnf5/issues/518 for some additional details.

Comment 10 a.trubitsyn 2025-11-25 18:31:18 UTC
Thank you. 
I deinstall
Transaction ID : 275
Begin time     : 2025-11-22 15:37:26
Begin rpmdb    : 544252282130162b2f3bf0c15e775c5b9f154e6155febb6bbf403717ab3520c8
End time       : 2025-11-22 15:37:29
End rpmdb      : c51a476436f2bbedf2b454110de65131882fc66ab1569e7fc737f46e529fe565
User           : 1000 al <al>
Status         : Ok
Releasever     : 43
Description    : dnf remove wine-dxvk
Comment        : 
Packages altered:
  Action Package                               Reason Repository
  Remove wine-dxvk-0:2.7.1-3.fc43.x86_64       User   @System
  Remove wine-dxvk-d3d10-0:2.7.1-3.fc43.x86_64 Clean  @System
  Remove wine-dxvk-d3d8-0:2.7.1-3.fc43.x86_64  Clean  @System
  Remove wine-dxvk-d3d9-0:2.7.1-3.fc43.x86_64  Clean  @System
  Remove wine-dxvk-dxgi-0:2.7.1-3.fc43.x86_64  Clean  @System

then install wine-dxvk.
Transaction ID : 276
Begin time     : 2025-11-22 15:37:41
Begin rpmdb    : c51a476436f2bbedf2b454110de65131882fc66ab1569e7fc737f46e529fe565
End time       : 2025-11-22 15:37:47
End rpmdb      : e8e5ffb07512008d9f5b252ce835b99e950acd35b8b4a4688df9643b85dd47b0
User           : 1000 al <al>
Status         : Ok
Releasever     : 43
Description    : dnf install wine-dxvk
Comment        : 
Packages altered:
  Action  Package                               Reason          Repository
  Install wine-dxvk-0:2.7.1-4.fc43.x86_64       User            updates
  Install wine-dxvk-dxgi-0:2.7.1-4.fc43.x86_64  Dependency      updates
  Install wine-dxvk-d3d10-0:2.7.1-4.fc43.x86_64 Weak Dependency updates
  Install wine-dxvk-d3d8-0:2.7.1-4.fc43.x86_64  Weak Dependency updates
  Install wine-dxvk-d3d9-0:2.7.1-4.fc43.x86_64  Weak Dependency updates


Second one for the month. 
First one on upgrade from fedora 42 to 43 (all wine not only wine-dxvk), 
then on update wine-dxvk from 2.7.1-3.fc43 to 2.7.1-4.fc43)

Comment 11 Adam Williamson (Red Hat non-Fedora) 2025-12-02 02:33:17 UTC
This message is a reminder that Fedora Linux 41 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 41 on 2025-12-15.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '41'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 41 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 12 a.trubitsyn 2026-03-11 16:54:19 UTC
If user not experienced enough, make previous system-upgrade (for example from f42 to f43) without problems, he or she can use it with -y option like
"dnf -y system-upgrade download"
and stuck with bug #2446153.

dnf5 can download not one, but max_parallel_downloads (according to /etc/dnf.conf) rpm packages at same time.
And at scenario with not enough space on / all of that files may be broken.
But if user add some more space on / on next use of "dnf system-upgrade download" check only first of that broken files, not all of them, like
[3640/3640] Всего                                                                                                                      100% |   0.0   B/s |   0.0   B |  03m31s
Тестирование автономной транзакции
Сбой транзакции: Сбой проверки подписей.
OpenPGP check for package "arm-none-eabi-gcc-cs-1:15.2.0-4.fc44.x86_64" (/usr/lib/sysimage/libdnf5/offline/packages/arm-none-eabi-gcc-cs-15.2.0-4.fc44.x86_64.rpm) from repo "fedora" has failed: Возникла проблема при открытии пакета.
...
[3640/3640] Всего                                                                                                                                        100% | 210.3 KiB/s |  47.5 MiB |  03m51s
Тестирование автономной транзакции
Сбой транзакции: Сбой проверки подписей.
OpenPGP check for package "atheros-firmware-20260221-1.fc44.noarch" (/usr/lib/sysimage/libdnf5/offline/packages/atheros-firmware-20260221-1.fc44.noarch.rpm) from repo "fedora" has failed: Возникла проблема при открытии пакета.

and so on

But command like
for f in /usr/lib/sysimage/libdnf5/offline/packages/*.rpm ; do echo "-- $f --" ; rpmkeys --checksig $f ; done
can see all rpm with broken signature
Why "dnf system-upgrade download" don't do it?

Is it possible to add some options to check and print not only first broken files, but ALL of them?

Comment 13 a.trubitsyn 2026-03-11 17:00:11 UTC
One more suggest.
Is it possible after 
"terminate called after throwing an instance of 'libdnf5::AssertionError'"
advise user to add --debugsolver option, 
see cat /var/log/dnf5.log | grep WARNING 
see or send content of debugdata to somewhere
and so on for resolve his problem?

Comment 14 a.trubitsyn 2026-03-11 17:26:00 UTC
my bad. this time before upgrade to 44 i run
sudo dnf remove wine
not
sudo dnf remove wine*
and there are some remnants in my system. May be they prevent to upgrade
dnf list wine*
Обновление и загрузка репозиториев:
 RPM Fusion for Fedora 43 - Nonfree                                                                                                                           100% | 655.0   B/s |   9.0 KiB |  00m14s
 RPM Fusion for Fedora 43 - Nonfree - Updates                                                                                                                 100% | 902.0   B/s |   8.3 KiB |  00m09s
 Fedora 43 - x86_64                                                                                                                                           100% |   2.5 KiB/s |  23.3 KiB |  00m09s
 RPM Fusion for Fedora 43 - Free - Updates                                                                                                                    100% |   3.9 KiB/s |   8.2 KiB |  00m02s
 RPM Fusion for Fedora 43 - Free                                                                                                                              100% |   6.0 KiB/s |   8.9 KiB |  00m01s
 Fedora 43 openh264 (From Cisco) - x86_64                                                                                                                     100% |   5.1 KiB/s |   3.0 KiB |  00m01s
 Fedora 43 - x86_64 - Updates                                                                                                                                 100% |  16.7 KiB/s |  14.4 KiB |  00m01s
Репозитории загружены.
Установленные пакеты
wine-core.x86_64                         11.0-2.fc43                        updates
wine-dxvk.x86_64                         2.7.1-5.fc43                       updates
wine-dxvk-d3d10.x86_64                   2.7.1-5.fc43                       updates
wine-dxvk-d3d8.x86_64                    2.7.1-5.fc43                       updates
wine-dxvk-d3d9.x86_64                    2.7.1-5.fc43                       updates
wine-dxvk-dxgi.i686                      2.6.2-1.fc42                       <unknown>
wine-dxvk-dxgi.x86_64                    2.7.1-5.fc43                       updates
wine-filesystem.noarch                   11.0-2.fc43                        updates
wine-marlett-winefonts.noarch            11.0-2.fc43                        updates
wine-mono.noarch                         10.4.1-1.fc43                      updates
wine-symbol-winefonts.noarch             11.0-2.fc43                        updates
wine-tahoma-winefonts.noarch             11.0-2.fc43                        updates
wine-times-new-roman-winefonts.noarch    11.0-2.fc43                        updates
wine-webdings-winefonts.noarch           11.0-2.fc43                        updates
wine-wingdings-winefonts.noarch          11.0-2.fc43                        updates

Try do remove wine-dxvk-dxgi.i686 and see.
There are no problem with update with wine on other system.

Comment 15 a.trubitsyn 2026-03-11 17:41:16 UTC
Yes, it's wine-dxvk-dxgi.i686                      2.6.2-1.fc42                       <unknown>.
and /usr/lib/sysimage/libdnf5/comps_groups/x86-baremetal-tools.xml
After
sudo dnf remove wine*
and
sudo rm -rf /usr/lib/sysimage/libdnf5/comps_groups/x86-baremetal-tools.xml
sudo dnf -y system-upgrade download --releasever=44 --debugsolver
ends fine.

Please, see comments 12 and 13!!!

Comment 16 amatej 2026-06-01 11:03:35 UTC
The error reporting is enhanced in https://github.com/rpm-software-management/dnf5/pull/2753.
I believe that is the best dnf can do.

Comment 17 Petr Pisar 2026-08-18 13:11:30 UTC
*** Bug 2502013 has been marked as a duplicate of this bug. ***

Comment 18 Fedora Update System 2026-08-18 14:22:22 UTC
FEDORA-2026-958b875d17 (dnf5-5.4.3.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-958b875d17

Comment 19 Fedora Update System 2026-08-18 15:05:21 UTC
FEDORA-2026-623ddcea5b (dnf5-5.2.18.0-5.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-623ddcea5b

Comment 20 Fedora Update System 2026-08-19 01:39:54 UTC
FEDORA-2026-958b875d17 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-958b875d17`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-958b875d17

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2026-08-19 02:00:41 UTC
FEDORA-2026-623ddcea5b has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-623ddcea5b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-623ddcea5b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 Fedora Update System 2026-08-20 16:39:08 UTC
FEDORA-2026-958b875d17 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-958b875d17`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-958b875d17

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 23 Fedora Update System 2026-08-22 01:12:43 UTC
FEDORA-2026-623ddcea5b (dnf5-5.2.18.0-5.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 Fedora Update System 2026-08-22 01:24:02 UTC
FEDORA-2026-958b875d17 (dnf5-5.4.3.0-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.