ztommaso
(Tommaso Zanuso)
December 19, 2024, 1:02pm
1
Hi everyone,
since I installed Fedora 41 on my pc I have some problems during update of the system or if I try to install a packages.
When I try to upgrade the system appears the error "Downloading successful, but checksum doesn’t match. Calculated: da1fb86f1ef3b9d2daf77fbc824e48ea1acd3b5e40ede0ae6163239c5e8f02eec6c99604143d45ac8cf68acdc7b73ef41c7697564d4
>>> Downloading successful, but checksum doesn't match. Calculated: da1fb86f1ef3b9d2daf77fbc824e48ea1acd3b5e40ede0ae6163239c5e8f02eec6c99604143d45ac8cf68acdc7b73ef41c7697564d4
>>> Status code: 404 for https://rpmfusion.ip-connect.info/nonfree/fedora/updates/41/x86_64/repodata/24c28d2c782646c105a2c1ed97603886f868e317488ac85fb263195d8d4a9b22-primary.x
>>> Status code: 404 for http://rpmfusion.ip-connect.info/nonfree/fedora/updates/41/x86_64/repodata/24c28d2c782646c105a2c1ed97603886f868e317488ac85fb263195d8d4a9b22-primary.xm"
and when I install a package appears the error “Warning: skipped OpenPGP checks for 1 package from repository: @commandline
Complete!”
May you help me?
Thank you very much.
marko3209
(Mark Schlegel)
December 19, 2024, 1:18pm
2
That usually points out a repo problem when it was pushed some new packages. Like maybe some rpms were correctly pushed but the matching repodata files didn’t or they were damaged. That store of thing usually fixes itself in a short while
1 Like
straycat
(straycat)
December 19, 2024, 2:07pm
3
Have you tried sudo dnf upgrade --refresh .It may not help but also will not hurt anything.
1 Like
augenauf
(Flo)
December 19, 2024, 2:52pm
4
sudo dnf clean all
sudo dnf update
1 Like
ztommaso
(Tommaso Zanuso)
December 19, 2024, 3:51pm
5
Thank you everyone but I already tried this commands but I still have the same errors
barryascott
(Barry A Scott)
December 19, 2024, 5:06pm
6
My guess is it’s a problem with this mirror.
If you try after a day you may find the mirror has sorted out its issue.
(I edited your post to put the dnf output into pre-formatted text to make it easier to read).
ztommaso
(Tommaso Zanuso)
December 19, 2024, 7:50pm
7
Ok thank you.
I don’t know because I have this problems since some day.
tqcharm
(Mike B.)
December 20, 2024, 2:33pm
8
Does reinstalling the rpmfusion
repos help?
sudo dnf reinstall https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
ztommaso
(Tommaso Zanuso)
December 21, 2024, 8:50am
10
Yes, I tried to reinstall repos but I still have the same errors.
rpmfusion.ip-connect.info looks like a dead mirror, use another one instead.
barryascott
(Barry A Scott)
December 21, 2024, 9:58am
12
Did you change the .repo file to use this mirror?
That is what Leigh is guessing.
If not then the fedora infra team would need to remove the bad mirror.
He would need to file it against mirrors component at rpmfusion so the bad mirror can be fixed or removed.
Log in to Bugzilla
1 Like
ztommaso
(Tommaso Zanuso)
December 21, 2024, 1:03pm
16
No, I haven’t tried. Could you tell me the process and what repo should I use?
Thank you
marko3209
(Mark Schlegel)
December 22, 2024, 12:51am
19
I like to use
dnf repoinfo
to see the current repo urls. The slick thing is it shows in the “Base URL” the exact baseurl it computed from the metalink that it would use right now. It’s also a good way to remind yourself that you’ve edited a repo file and forgot to change it back.
It also shows the times you last refreshed your data for each (see the “Metadata expire”) and the time the remote server updated (the time shown in the “Updated” line under “Repodata info”
ztommaso
(Tommaso Zanuso)
December 22, 2024, 10:29am
20
user@fedora:~$ dnf repoinfo
Updating and loading repositories:
Fedora 41 - x86_64 - Updates 100% | 20.0 KiB/s | 19.0 KiB | 00m01s
Fedora 41 - x86_64 - Updates 100% | 816.7 KiB/s | 1.6 MiB | 00m02s
Repositories loaded.
Repo ID : copr:copr.fedorainfracloud.org:phracek:PyCharm
Name : Copr repo for PyCharm owned by phracek
Status : enabled
Priority : 99
Cost : 1000
Type : available
Metadata expire : 172800 seconds (last: 2024-12-21 16:17:25)
Skip if unavailable : true
Config file : /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo
URLs :
Base URL : https://download.copr.fedorainfracloud.org/results/phracek/PyCharm/fedora-41-x86_64/
OpenPGP :
Keys : https://download.copr.fedorainfracloud.org/results/phracek/PyCharm/pubkey.gpg
Verify repodata : false
Verify packages : true
Repodata info :
Available packages : 10
Total packages : 10
Size : 2.3 GiB
Revision : 1734352113
Updated : 2024-12-16 12:28:59
Repo ID : fedora
Name : Fedora 41 - x86_64
Status : enabled
Priority : 99
Cost : 1000
Type : available
Metadata expire : 604800 seconds (last: 2024-12-21 16:17:25)
Skip if unavailable : false
Config file : /etc/yum.repos.d/fedora.repo
URLs :
Base URL : Index of /fedora/linux/releases/41/Everything/x86_64/os/ (157 more)
Metalink : https://mirrors.fedoraproject.org/metalink?repo=fedora-41&arch=x86_64
OpenPGP :
Keys : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-41-x86_64
Verify repodata : false
Verify packages : true
Repodata info :
Available packages : 76624
Total packages : 76624
Size : 111.1 GiB
Revision : 1729778159
Updated : 2024-10-24 13:55:59
Repo ID : fedora-cisco-openh264
Name : Fedora 41 openh264 (From Cisco) - x86_64
Status : enabled
Priority : 99
Cost : 1000
Type : available
Metadata expire : 1209600 seconds (last: 2024-12-21 16:17:25)
Skip if unavailable : true
Config file : /etc/yum.repos.d/fedora-cisco-openh264.repo
URLs :
Base URL : Index of /openh264/41/x86_64/os (1 more)
Metalink : https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-41&arch=x86_64
OpenPGP :
Keys : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-41-x86_64
Verify repodata : false
Verify packages : true
Repodata info :
Available packages : 3
Total packages : 3
Size : 873.3 KiB
Revision : 1710184961
Updated : 2024-03-11 19:22:31
Repo ID : google-chrome
Name : google-chrome
Status : enabled
Priority : 99
Cost : 1000
Type : available
Metadata expire : 172800 seconds (last: 2024-12-21 16:17:25)
Skip if unavailable : true
Config file : /etc/yum.repos.d/google-chrome.repo
URLs :
Base URL : https://dl.google.com/linux/chrome/rpm/stable/x86_64
OpenPGP :
Keys : https://dl.google.com/linux/linux_signing_key.pub
Verify repodata : false
Verify packages : true
Repodata info :
Available packages : 4
Total packages : 4
Size : 443.5 MiB
Revision : 1734769201
Updated : 2024-12-21 08:20:01
Repo ID : rpmfusion-nonfree-nvidia-driver
Name : RPM Fusion for Fedora 41 - Nonfree - NVIDIA Driver
Status : enabled
Priority : 99
Cost : 1000
Type : available
Metadata expire : 172800 seconds (last: 2024-12-21 16:17:25)
Skip if unavailable : true
Config file : /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
URLs :
Base URL : Index of /pub/Linux/dist/rpmfusion/nonfree/fedora/nvidia-driver/41/x86_64 (40 more)
Metalink : https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-41&arch=x86_64
OpenPGP :
Keys : file:///usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-41
Verify repodata : false
Verify packages : true
Repodata info :
Available packages : 17
Total packages : 17
Size : 385.3 MiB
Content tags : binary-x86_64
Distro tags : Forty One (cpe:/o:fedoraproject:fedora:41)
Revision : 1734433254
Updated : 2024-12-17 11:02:42
Repo ID : rpmfusion-nonfree-steam
Name : RPM Fusion for Fedora 41 - Nonfree - Steam
Status : enabled
Priority : 99
Cost : 1000
Type : available
Metadata expire : 172800 seconds (last: 2024-12-21 16:17:25)
Skip if unavailable : true
Config file : /etc/yum.repos.d/rpmfusion-nonfree-steam.repo
URLs :
Base URL : Index of /pub/Linux/dist/rpmfusion/nonfree/fedora/steam/41/x86_64 (43 more)
Metalink : https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-41&arch=x86_64
OpenPGP :
Keys : file:///usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-41
Verify repodata : false
Verify packages : true
Repodata info :
Available packages : 2
Total packages : 2
Size : 18.6 MiB
Content tags : binary-x86_64
Distro tags : Forty One (cpe:/o:fedoraproject:fedora:41)
Revision : 1733125406
Updated : 2024-12-02 07:45:38
Repo ID : updates
Name : Fedora 41 - x86_64 - Updates
Status : enabled
Priority : 99
Cost : 1000
Type : available
Metadata expire : 21600 seconds (last: 2024-12-22 10:27:40)
Skip if unavailable : false
Config file : /etc/yum.repos.d/fedora-updates.repo
URLs :
Base URL : Index of /fedora/fedora/linux/updates/41/Everything/x86_64/ (102 more)
Metalink : https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64
OpenPGP :
Keys : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-41-x86_64
Verify repodata : false
Verify packages : true
Repodata info :
Available packages : 12870
Total packages : 12870
Size : 33.1 GiB
Revision : 1734827341
Updated : 2024-12-22 01:57:06
marko3209
(Mark Schlegel)
December 23, 2024, 11:07pm
21
Yes, and it is a bit overly wordy for most of my uses, so I made a bash function to wrap it.
If you pass some junk as an argument (anything really, it just checks that $1 is empty or not), it includes ‘updates-testing’ otherwise it’s just shows the default repos
like
repoinfo
or also include ‘updates-testing’ repo
repoinfo x
function repoinfo ()
{
if [[ -n "$1" ]]; then
readarray -t info < <(dnf5 repoinfo --enablerepo=updates-testing);
else
readarray -t info < <(dnf5 repoinfo);
fi;
for line in "${info[@]}";
do
case $line in
*"Repo ID"* | *"Name"* | *"Metadata expire"* | *"Base URL"* | *"Metalink"* | *"Updated"*)
echo "$line";
if [[ $line =~ Updated ]]; then
echo;
fi
;;
*)
;;
esac;
done;
echo "UTC NOW: $(date -Ru)";
echo
}