Bug 2142255 - interrupt with CTRL+C shows logic bug in process
Summary: interrupt with CTRL+C shows logic bug in process
Keywords:
Status: CLOSED DUPLICATE of bug 2149377
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-12 08:48 UTC by customercare
Modified: 2022-12-05 13:00 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-12-05 13:00:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description customercare 2022-11-12 08:48:32 UTC
Device: Pinephone
DNF5-Speed-Rating: "OMG, is that fast!"

**THANKS**

Description of problem:

I wanted to upgrade/update(still missing) all packages on a PP: dnf5 upgrade *

in mid-download i noticed, that there will no be enough space on disk to do so and pressed CTRL+C
The download stopped, but DNF5 was going on in processing the entire list of files, as if they where
correctly download. Obviously, this is the incorrect behaviour, as it should delete the incomplete rpms
and just stop. 

1. Remark: Please ADD the summed up size of the upgrade/download packages to the end summery who many packages will be installed,updated,removed etc.
With 475 packages, calculating it by hand will be a pain in the ass.

2. Remark: while downloading the overall progressbar at the bottom line, jumps between 100% and 80% , because it doesn't show the whole 
process, it just calculates it to the point it's atm packagewise. 


Output:

$ dnf5 upgrade * 
...
[220/475] samba-client-libs-2:4.17.2-2.fc38.aarch64                                                                                                                                                                 90% [================  ] | 693.4 KiB/s |   4.6 MiB | -00m00s
[220/475] samba-winbind-modules-2:4.17.2-2.fc38.aarch64                                                                                                                                                                                 100% | 621.9 KiB/s |  66.5 KiB |  00m00s

[221/475] samba-client-libs-2:4.17.2-2.fc38.aarch64                                                                                                                                                                 97% [================= ] |   1.1 MiB/s |   4.9 MiB | -00m00s
[221/475] samba-client-libs-2:4.17.2-2.fc38.aarch64                                                                                                                                                                                      97% | 882.6 KiB/s |   4.9 MiB |  00m06s
>>> Not finished - interrupted by error: Interrupted by signal

[222/475] samba-dc-libs-2:4.17.2-2.fc38.aarch64                                                                                                                                                                                          92% |   1.4 MiB/s | 505.9 KiB |  00m00s
>>> Not finished - interrupted by error: Interrupted by signal

[223/475] samba-client-2:4.17.2-2.fc38.aarch64                                                                                                                                                                                           77% |   1.5 MiB/s | 533.6 KiB |  00m00s
>>> Not finished - interrupted by error: Interrupted by signal

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[223/475] Total                                                                                                                                                                                                    100% [==================] |   3.6 MiB/s | 466.1 MiB | -00m00s--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[223/475] Total                                                                                                                                                                                                    100% [==================] |   3.6 MiB/s | 466.1 MiB | -00m00s

Verifying GPG signatures
GPG check for package "samba-client-libs-2:4.17.2-2.fc38.aarch64" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/samba-client-libs-4.17.2-2.fc38.aarch64.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "samba-dc-libs-2:4.17.2-2.fc38.aarch64" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/samba-dc-libs-4.17.2-2.fc38.aarch64.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "samba-client-2:4.17.2-2.fc38.aarch64" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/samba-client-4.17.2-2.fc38.aarch64.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "libsmbclient-2:4.17.2-2.fc38.aarch64" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/libsmbclient-4.17.2-2.fc38.aarch64.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "samba-dc-provision-2:4.17.2-2.fc38.noarch" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/samba-dc-provision-4.17.2-2.fc38.noarch.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "libnfsidmap-1:2.6.2-1.rc3.fc38.aarch64" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/libnfsidmap-2.6.2-1.rc3.fc38.aarch64.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "libnma-1.10.4-1.fc38.aarch64" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/libnma-1.10.4-1.fc38.aarch64.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "nm-connection-editor-1.30.0-1.fc38.aarch64" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/nm-connection-editor-1.30.0-1.fc38.aarch64.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "libnma-gtk4-1.10.4-1.fc38.aarch64" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/libnma-gtk4-1.10.4-1.fc38.aarch64.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "libreport-2.17.6-1.fc38.aarch64" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/libreport-2.17.6-1.fc38.aarch64.rpm) from repo "rawhide" has failed: problem opening package.
GPG check for package "libreport-filesystem-2.17.6-1.fc38.noarch" (/var/cache/libdnf5/rawhide-135a69fc59e3201d/packages/libreport-filesystem-2.17.6-1.fc38.noarch.rpm) from repo "rawhide" has failed: problem opening package.
...




Version-Release number of selected component (if applicable):

Name        : dnf5
Version     : 5.0.0
Release     : 2~pre.fc38
Architecture: aarch64
Install Date: Sa 12 Nov 2022 09:11:04 CET

Comment 1 Fedora Admin user for bugzilla script actions 2022-11-15 00:07:11 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 amatej 2022-12-05 13:00:40 UTC
close as duplicate

*** This bug has been marked as a duplicate of bug 2149377 ***


Note You need to log in before you can comment on or make changes to this bug.