Bug 2411858 - ifstat package conflicts with iproute
Summary: ifstat package conflicts with iproute
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ifstat
Version: 43
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Boian Bonev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-02 14:03 UTC by Adhidarma Hadiwinoto
Modified: 2025-11-14 01:07 UTC (History)
3 users (show)

Fixed In Version: ifstat-1.1-48.fc43 ifstat-1.1-48.fc42 ifstat-1.1-48.fc41
Clone Of:
Environment:
Last Closed: 2025-11-13 00:51:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adhidarma Hadiwinoto 2025-11-02 14:03:37 UTC
Fedora has long provides ifstat package on it's yum/DNF repository. But, since fedora 41 (as i've detect) until 43, ifstat can not be installed because /usr/bin/ifstat conflicts with iproute package.


Reproducible: Always

Steps to Reproduce:
1. sudo dnf install -y ifstat

Actual Results:
Transaction failed: Rpm transaction failed.
  - file /usr/bin/ifstat from install of ifstat-1.1-47.fc43.x86_64 conflicts with file from package iproute-6.14.0-2.fc43.x86_64


Expected Results:
ifstat installed successfuly

Additional Information:
```
$ sudo dnf install ifstat -y
Updating and loading repositories:
Repositories loaded.
Package                  Arch    Version                  Repository        Size
Installing:
 ifstat                  x86_64  1.1-47.fc43              fedora        60.9 KiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 36 KiB. Need to download 36 KiB.
After this operation, 61 KiB extra will be used (install 61 KiB, remove 0 B).
[1/1] ifstat-0:1.1-47.fc43.x86_64       100% |  51.5 KiB/s |  36.3 KiB |  00m01s
--------------------------------------------------------------------------------
[1/1] Total                             100% |  32.8 KiB/s |  36.3 KiB |  00m01s
Running transaction
Transaction failed: Rpm transaction failed.
  - file /usr/bin/ifstat from install of ifstat-1.1-47.fc43.x86_64 conflicts with file from package iproute-6.14.0-2.fc43.x86_64
```

Comment 1 Boian Bonev 2025-11-03 00:31:28 UTC
One of the binaries have to be renamed.

Maybe iproute's ifstat, because that came later?

Let's discuss and decide on it...

Comment 2 Andrea Claudi 2025-11-03 21:42:32 UTC
Hi Boian, thanks for reaching out to me. Do we have any kind of statistics on the usage of the two rpms?
My concern here is that most of the people may be accustomed to the version of ifstat provided with iproute, and dropping that can result in many complaints...

Comment 3 Adhidarma Hadiwinoto 2025-11-04 10:28:51 UTC
As far as I know, this bug happens because of unification of /usr/bin and /bin.
In the pass, iproute will put on /bin/ifstat, and ifstat will put on /usr/bin/ifstat.

About statistics of the usage of those two rpms. If we base on that,  iproute rpm is the absolute winner, because iproute rpm is always installed on fresh install. So we can not rely on that statistics.

For my day to day, i never use iproute's ifstat, so if it would be on me, I prefer the ifstat package win the name, and it also align with Boian's idea. But I understand with Andrea worry.

I would accept any maintainer's decission, as long as I can use ifstat package again.

Comment 4 Boian Bonev 2025-11-04 11:33:06 UTC
OK, thanks for making that clear - my impression was that iproute introduced the ifstat binary recently.

Based on usage, renaming ifstat's binary is better, because that will upset less users.

But I do not see an obvious new name. Does /usr/bin/ifstat-ifstat sound good?

Comment 5 Adhidarma Hadiwinoto 2025-11-04 15:36:35 UTC
Or maybe ifstat-gael or ifstat-roualland (based on name of ifstat's creator), but ifstat-ifstat is good too.

Comment 6 Fedora Update System 2025-11-05 01:21:02 UTC
FEDORA-2025-9349b8e0f6 (ifstat-1.1-48.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9349b8e0f6

Comment 7 Fedora Update System 2025-11-05 01:21:25 UTC
FEDORA-2025-41b6d43f69 (ifstat-1.1-48.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-41b6d43f69

Comment 8 Fedora Update System 2025-11-05 01:21:43 UTC
FEDORA-2025-ac77ebb7ce (ifstat-1.1-48.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-ac77ebb7ce

Comment 9 Boian Bonev 2025-11-05 01:29:35 UTC
It feels that ifstat-ifstat is the least confusing...

The update is already in rawhide and I pushed the change in the stable branches, should be ready in several of days.

Comment 10 Adhidarma Hadiwinoto 2025-11-05 08:32:09 UTC
Tested

$ ifstat-ifstat -bi enp2s0 1 10
      enp2s0      
 Kbps in  Kbps out
   12.88      5.43
   37.89     20.17
   10.54      3.54
   19.07     28.80
   32.15      7.88
   17.98     12.86
   13.94     13.23
   41.96     31.97
 4146.46     93.63
   12.49      9.76

Thanks Boian

Comment 11 Fedora Update System 2025-11-06 03:11:10 UTC
FEDORA-2025-9349b8e0f6 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-2025-9349b8e0f6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9349b8e0f6

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

Comment 12 Fedora Update System 2025-11-06 03:37:41 UTC
FEDORA-2025-41b6d43f69 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-41b6d43f69`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-41b6d43f69

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

Comment 13 Fedora Update System 2025-11-06 04:28:39 UTC
FEDORA-2025-ac77ebb7ce has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-ac77ebb7ce`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-ac77ebb7ce

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

Comment 14 Fedora Update System 2025-11-13 00:51:04 UTC
FEDORA-2025-9349b8e0f6 (ifstat-1.1-48.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-11-14 00:51:45 UTC
FEDORA-2025-41b6d43f69 (ifstat-1.1-48.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2025-11-14 01:07:46 UTC
FEDORA-2025-ac77ebb7ce (ifstat-1.1-48.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


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