Hi team,
I have seen this issue several times (I am using a F40 system) but now I have captured the log when using the sar cmd which is part of the sysstat package: on the command line
I tried running the sar cmd which it wasn't present on the system thus bash/Fedora nicely suggests to install it but fails on the process
$ sar
bash: sar: command not found...
Install package 'sysstat' to provide command 'sar'? [N/y] y
* Waiting in queue...
* Loading list of packages....
The following packages have to be installed:
pcp-conf-6.3.0-2.fc40.x86_64 Performance Co-Pilot run-time configuration
pcp-libs-6.3.0-2.fc40.x86_64 Performance Co-Pilot run-time libraries
sysstat-12.7.5-2.fc40.x86_64 Collection of performance monitoring tools for Linux
Proceed with changes? [N/y] y
* Waiting in queue...
* Waiting for authentication...
* Waiting in queue...
* Downloading packages... Failed to install packages: Cannot download Packages/p/pcp-conf-6.3.0-2.fc40.x86_64.rpm: All mirrors were tried; Last error: Status code: 404 for http://mirror.math.princeton.edu/pub/fedora/linux/updates/40/Everything/x86_64/Packages/p/pcp-libs-6.3.0-2.fc40.x86_64.rpm (IP: 128.112.18.21)
so it fails trying to install the dependency pc-conf with version 6.3.0-2, but if I explicitly install
$ sudo dnf install sysstat
.
-
Dependencies resolved.
=================================================================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================================================================================================================================================
Installing:
sysstat x86_64 12.7.5-2.fc40 fedora 511 k
Installing dependencies:
pcp-conf x86_64 6.3.1-1.fc40 updates 30 k
pcp-libs x86_64 6.3.1-1.fc40 updates 650 k
Transaction Summary
=================================================================================================================================================================================================================================================================================
Install 3 Packages
Total download size: 1.2 M
Installed size: 3.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): pcp-conf-6.3.1-1.fc40.x86_64.rpm 118 kB/s | 30 kB 00:00
(2/3): pcp-libs-6.3.1-1.fc40.x86_64.rpm 1.0 MB/s | 650 kB 00:00
(3/3): sysstat-12.7.5-2.fc40.x86_64.rpm 760 kB/s | 511 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 908 kB/s | 1.2 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : pcp-conf-6.3.1-1.fc40.x86_64 1/3
Installing : pcp-libs-6.3.1-1.fc40.x86_64 2/3
Installing : sysstat-12.7.5-2.fc40.x86_64 3/3
Running scriptlet: sysstat-12.7.5-2.fc40.x86_64 3/3
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /usr/lib/systemd/system/sysstat.service.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /usr/lib/systemd/system/sysstat-collect.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /usr/lib/systemd/system/sysstat-summary.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-rotate.timer → /usr/lib/systemd/system/sysstat-rotate.timer.
Installed:
pcp-conf-6.3.1-1.fc40.x86_64 pcp-libs-6.3.1-1.fc40.x86_64 sysstat-12.7.5-2.fc40.x86_64
complete!
it all goes fine. Note that this time the pcp-conf version is different, 6.3.1.1 (versus the previous one 6.3.0-2), so I believe something is not right when
picking the right repository in the first case.
I tried running the sar cmd which it wasn't present on the system thus bash/Fedora nicely suggests to install it but fails on the process
$ sar
bash: sar: command not found...
Install package 'sysstat' to provide command 'sar'? [N/y] y
* Waiting in queue...
* Loading list of packages....
The following packages have to be installed:
pcp-conf-6.3.0-2.fc40.x86_64 Performance Co-Pilot run-time configuration
pcp-libs-6.3.0-2.fc40.x86_64 Performance Co-Pilot run-time libraries
sysstat-12.7.5-2.fc40.x86_64 Collection of performance monitoring tools for Linux
Proceed with changes? [N/y] y
* Waiting in queue...
* Waiting for authentication...
* Waiting in queue...
* Downloading packages... Failed to install packages: Cannot download Packages/p/pcp-conf-6.3.0-2.fc40.x86_64.rpm: All mirrors were tried; Last error: Status code: 404 for http://mirror.math.princeton.edu/pub/fedora/linux/updates/40/Everything/x86_64/Packages/p/pcp-libs-6.3.0-2.fc40.x86_64.rpm (IP: 128.112.18.21)
so it fails trying to install the dependency pc-conf with version 6.3.0-2, but if I explicitly install
$ sudo dnf install sysstat
.
-
Dependencies resolved.
=================================================================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=================================================================================================================================================================================================================================================================================
Installing:
sysstat x86_64 12.7.5-2.fc40 fedora 511 k
Installing dependencies:
pcp-conf x86_64 6.3.1-1.fc40 updates 30 k
pcp-libs x86_64 6.3.1-1.fc40 updates 650 k
Transaction Summary
=================================================================================================================================================================================================================================================================================
Install 3 Packages
Total download size: 1.2 M
Installed size: 3.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): pcp-conf-6.3.1-1.fc40.x86_64.rpm 118 kB/s | 30 kB 00:00
(2/3): pcp-libs-6.3.1-1.fc40.x86_64.rpm 1.0 MB/s | 650 kB 00:00
(3/3): sysstat-12.7.5-2.fc40.x86_64.rpm 760 kB/s | 511 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 908 kB/s | 1.2 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : pcp-conf-6.3.1-1.fc40.x86_64 1/3
Installing : pcp-libs-6.3.1-1.fc40.x86_64 2/3
Installing : sysstat-12.7.5-2.fc40.x86_64 3/3
Running scriptlet: sysstat-12.7.5-2.fc40.x86_64 3/3
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /usr/lib/systemd/system/sysstat.service.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /usr/lib/systemd/system/sysstat-collect.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /usr/lib/systemd/system/sysstat-summary.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-rotate.timer → /usr/lib/systemd/system/sysstat-rotate.timer.
Installed:
pcp-conf-6.3.1-1.fc40.x86_64 pcp-libs-6.3.1-1.fc40.x86_64 sysstat-12.7.5-2.fc40.x86_64
complete!
it all goes fine. Note that this time the pcp-conf version is different, 6.3.1.1 (versus the previous one 6.3.0-2), so I believe something is not right when
picking the right repository in the first case.
Any idea what could be causing this?
Leo
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue