I’d expect that there had been a problem with the repository, except that it is always able to download 47% of the package, yet stops there. At that point, it constantly switches between ≈ 60 KiB and 0.
Script started, output log file is '/home/RokeJulianLockhart/output.txt.log', input log file is '/home/RokeJulianLockhart/input.txt.log', timing file is '/home/RokeJulianLockhart/timings.txt.log'.
PowerShell 7.4.5
A new PowerShell stable release is available: v7.4.6
Upgrade now, or check out the release page at:
https://aka.ms/PowerShell-Release?tag=v7.4.6
PS /home/RokeJulianLockhart> sudo dnf upgrade --offline --refresh -y && sudo dnf5 offline reboot
[sudo] password for RokeJulianLockhart:
Updating and loading repositories:
RPM Fusion for Fedora 41 - Nonfree - Steam 100% | 15.3 KiB/s | 7.3 KiB | 00m00s
Fedora 41 - x86_64 - Debug 100% | 40.4 KiB/s | 18.2 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Steam Debug 100% | 58.7 KiB/s | 7.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Free tainted 100% | 23.5 KiB/s | 7.2 KiB | 00m00s
Visual Studio Code 100% | 15.1 KiB/s | 1.5 KiB | 00m00s
warpdotdev 100% | 9.6 KiB/s | 1.5 KiB | 00m00s
Copr repo for CoolerControl owned by codifryed 100% | 8.9 KiB/s | 1.5 KiB | 00m00s
Fedora 41 - x86_64 100% | 55.9 KiB/s | 23.3 KiB | 00m00s
RPM Fusion for Fedora 41 - Free 100% | 27.1 KiB/s | 7.9 KiB | 00m00s
Fedora 41 - x86_64 - Test Updates 100% | 49.8 KiB/s | 21.8 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree 100% | 26.6 KiB/s | 8.1 KiB | 00m00s
Copr repo for Koi owned by birkch 100% | 11.6 KiB/s | 1.5 KiB | 00m00s
Fedora 41 - x86_64 - Test Updates Debug 100% | 17.2 KiB/s | 20.4 KiB | 00m01s
RPM Fusion for Fedora 41 - Nonfree - Updates 100% | 61.6 KiB/s | 7.9 KiB | 00m00s
RPM Fusion for Fedora 41 - Free - Updates 100% | 64.7 KiB/s | 7.8 KiB | 00m00s
TeamViewer - x86_64 100% | 24.7 KiB/s | 3.4 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree tainted 100% | 58.4 KiB/s | 7.4 KiB | 00m00s
google-chrome-unstable 100% | 11.6 KiB/s | 1.3 KiB | 00m00s
google-chrome 100% | 18.4 KiB/s | 1.3 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 28.6 KiB/s | 23.7 KiB | 00m01s
Fedora 41 - x86_64 - Updates - Debug 100% | 35.6 KiB/s | 19.0 KiB | 00m01s
Fedora 41 openh264 (From Cisco) - x86_64 100% | 3.1 KiB/s | 989.0 B | 00m00s
Brave Browser 100% | 22.7 KiB/s | 2.0 KiB | 00m00s
Fedora 41 openh264 (From Cisco) - x86_64 - Debug 100% | 1.7 KiB/s | 997.0 B | 00m01s
Copr repo for prismlauncher owned by g3tchoo 100% | 11.6 KiB/s | 1.5 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Upgrading:
ImageMagick x86_64 1:7.1.1.40-1.fc41 updates-testing 92.4 KiB
replacing ImageMagick x86_64 1:7.1.1.39-1.fc41 <unknown> 92.4 KiB
ImageMagick-c++ x86_64 1:7.1.1.40-1.fc41 updates-testing 693.2 KiB
replacing ImageMagick-c++ x86_64 1:7.1.1.39-1.fc41 <unknown> 693.2 KiB
ImageMagick-libs x86_64 1:7.1.1.40-1.fc41 updates-testing 9.1 MiB
replacing ImageMagick-libs x86_64 1:7.1.1.39-1.fc41 <unknown> 9.1 MiB
code-insiders x86_64 1.96.0-1731305244.el8 code 377.0 MiB
replacing code-insiders x86_64 1.96.0-1731063649.el8 @stored_transaction 377.0 MiB
ibus x86_64 1.5.31-1.fc41 updates-testing 134.2 MiB
replacing ibus x86_64 1.5.31~rc1-2.fc41 @stored_transaction 134.2 MiB
ibus-gtk2 x86_64 1.5.31-1.fc41 updates-testing 44.1 KiB
replacing ibus-gtk2 x86_64 1.5.31~rc1-2.fc41 @stored_transaction 44.1 KiB
ibus-gtk3 x86_64 1.5.31-1.fc41 updates-testing 48.1 KiB
replacing ibus-gtk3 x86_64 1.5.31~rc1-2.fc41 @stored_transaction 48.1 KiB
ibus-libs x86_64 1.5.31-1.fc41 updates-testing 860.0 KiB
replacing ibus-libs x86_64 1.5.31~rc1-2.fc41 @stored_transaction 860.0 KiB
ibus-panel x86_64 1.5.31-1.fc41 updates-testing 281.6 KiB
replacing ibus-panel x86_64 1.5.31~rc1-2.fc41 @stored_transaction 281.6 KiB
ibus-setup noarch 1.5.31-1.fc41 updates-testing 329.7 KiB
replacing ibus-setup noarch 1.5.31~rc1-2.fc41 @stored_transaction 329.7 KiB
ibus-typing-booster noarch 2.26.11-1.fc41 updates-testing 5.1 MiB
replacing ibus-typing-booster noarch 2.26.8-1.fc41 @stored_transaction 5.1 MiB
ibus-xinit noarch 1.5.31-1.fc41 updates-testing 1.6 KiB
replacing ibus-xinit noarch 1.5.31~rc1-2.fc41 @stored_transaction 1.6 KiB
python3-typer noarch 0.13.0-1.fc41 updates-testing 16.5 KiB
replacing python3-typer noarch 0.12.5-1.fc41 <unknown> 16.5 KiB
python3-typer-cli noarch 0.13.0-1.fc41 updates-testing 6.8 KiB
replacing python3-typer-cli noarch 0.12.5-1.fc41 <unknown> 6.7 KiB
python3-typer-slim noarch 0.13.0-1.fc41 updates-testing 533.7 KiB
replacing python3-typer-slim noarch 0.12.5-1.fc41 <unknown> 546.4 KiB
Transaction Summary:
Upgrading: 15 packages
Replacing: 15 package
Total size of inbound packages is 155 MiB. Need to download 155 MiB.
[1/1] ImageMagick-1:7.1.1.40-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[1/2] ImageMagick-libs-1:7.1.1.40-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[1/3] ImageMagick-c++-1:7.1.1.40-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[1/5] ibus-0:1.5.31-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[2/6] ibus-gtk2-0:1.5.31-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[3/7] ibus-gtk3-0:1.5.31-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[4/8] ibus-libs-0:1.5.31-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[5/9] ibus-setup-0:1.5.31-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 6/10] ibus-xinit-0:1.5.31-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 7/11] ibus-panel-0:1.5.31-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 8/12] ibus-typing-booster-0:2.26.11-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 9/13] python3-typer-0:0.13.0-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[10/14] python3-typer-cli-0:0.13.0-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[11/15] python3-typer-slim-0:0.13.0-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[12/15] code-insiders-0:1.96.0-1731305244.el8.x86_64 47% [======== ] | 0.0 B/s | 64.1 MiB | -43m04s
------------------------------------------------------------------------------------------------------------------------------------------------------------
[14/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s
1 Like
Ah, it probably is an issue with the repository:
[12/15] code-insiders-0:1.96.0-1731305244.el8.x86_64 95% [================= ] | 3.3 MiB/s | 130.5 MiB | -00m01s
>>> Curl error (92): Stream error in the HTTP/2 framing layer for https://packages.microsoft.com/yumrepos/vscode/Packages/c/code-insiders-1.96.0-1731305244.el8.x86_64.rpm [HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)] - https://packages.microsoft.com/yumrepos/vscode/Packages/c/code-insiders-1.96.0
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[14/15] Total 100% | 0.0 B/s | 0.0 B | 00m00sFailed to download packages
Librepo error: ftruncate() failed: No such file or directory
Can anyone confirm? I used vscode-docs/docs/setup/linux.md at e0b395019dd4a064ed5445daebc639e108356b19 · microsoft/vscode-docs · GitHub to install it.
vgaetera
(Vladislav Grigoryev)
November 11, 2024, 1:05pm
3
It works fine for me, try a different routing path:
Openh264 update issue - #12 by vgaetera
1 Like
@vgaetera , thanks for the advice — I’ll use torsocks
in the future, to diagnose connection failures. However, it doesn’t seem to work for this:
[12/15] code-insiders-0:1.96.0-1731305244.el8.x86_64 47% [========= ] | 0.0 B/s | 64.7 MiB | -01d01h
It also appears to cause problems with other repositories:
root@sayw4i:/home/RokeJulianLockhart# sudo torsocks dnf upgrade --offline --refresh -y
Updating and loading repositories:
1731331163 ERROR torsocks[190352]: Unable to resolve. Status reply: 4 (in socks5_recv_resolve_reply() at socks5.c:677)
RPM Fusion for Fedora 41 - Free tainted 100% | 8.5 KiB/s | 7.2 KiB | 00m01s
RPM Fusion for Fedora 41 - Nonfree - Steam 100% | 6.0 KiB/s | 7.3 KiB | 00m01s
TeamViewer - x86_64 100% | 1.8 KiB/s | 3.4 KiB | 00m02s
Copr repo for prismlauncher owned by g3tchoo 100% | 1.7 KiB/s | 1.5 KiB | 00m01s
Fedora 41 - x86_64 - Updates 100% | 18.9 KiB/s | 23.7 KiB | 00m01s
Fedora 41 - x86_64 100% | 16.2 KiB/s | 23.3 KiB | 00m01s
google-chrome 100% | 1.5 KiB/s | 1.3 KiB | 00m01s
Fedora 41 - x86_64 - Test Updates Debug 100% | 14.1 KiB/s | 20.4 KiB | 00m01s
Copr repo for Koi owned by birkch 100% | 586.0 B/s | 1.5 KiB | 00m03s
Copr repo for CoolerControl owned by codifryed 100% | 1.5 KiB/s | 1.5 KiB | 00m01s
RPM Fusion for Fedora 41 - Nonfree - Updates 100% | 8.5 KiB/s | 7.9 KiB | 00m01s
Fedora 41 openh264 (From Cisco) - x86_64 - Debug 100% | 710.0 B/s | 997.0 B | 00m01s
warpdotdev 100% | 677.0 B/s | 1.3 KiB | 00m02s
>>> Status code: 403 for https://releases.warp.dev/linux/rpm/stable/repodata/repomd.xml (IP: 34.96.117.51) - https://releases.warp.dev/linux/rpm/stable/repodata/repomd.xml - repomd.xml
>>> Status code: 403 for https://releases.warp.dev/linux/rpm/stable/repodata/repomd.xml (IP: 34.96.117.51) - https://releases.warp.dev/linux/rpm/stable/repodata/repomd.xml - repomd.xml
>>> Status code: 403 for https://releases.warp.dev/linux/rpm/stable/repodata/repomd.xml (IP: 34.96.117.51) - https://releases.warp.dev/linux/rpm/stable/repodata/repomd.xml - repomd.xml
>>> Status code: 403 for https://releases.warp.dev/linux/rpm/stable/repodata/repomd.xml (IP: 34.96.117.51) - https://releases.warp.dev/linux/rpm/stable/repodata/repomd.xml - repomd.xml
>>> Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
RPM Fusion for Fedora 41 - Nonfree - Steam Debug 100% | 6.8 KiB/s | 7.5 KiB | 00m01s
vgaetera
(Vladislav Grigoryev)
November 11, 2024, 1:30pm
5
Try this way:
sudo dnf swap libcurl-minimal libcurl
sudo dnf clean all
See also: Curl; Missing protocol "smtps" in Fed40 - #17 by vekruse
1 Like
Unfortunately, @vgaetera , it appears that I’m using libcurl
already:
PS /home/RokeJulianLockhart> sudo dnf swap libcurl-minimal libcurl
[sudo] password for RokeJulianLockhart:
Updating and loading repositories:
warpdotdev 100% | 8.2 KiB/s | 1.5 KiB | 00m00s
Repositories loaded.
Package "libcurl-8.9.1-2.fc41.x86_64" is already installed.
Package "libcurl-8.9.1-2.fc41.i686" is already installed.
No packages to remove for argument: libcurl-minimal
Nothing to do.
PS /home/RokeJulianLockhart> sudo dnf clean all
Removed 113 files, 100 directories. 0 errors occurred.
It continues to fail (even with --allowerasing
) too:
[12/15] code-insiders-0:1.96.0-1731305244.el8.x86_64 47% [======== ] | 22.4 KiB/s | 64.1 MiB | -54m49s
Many thanks, though.
1 Like
vgaetera
(Vladislav Grigoryev)
November 11, 2024, 2:35pm
7
To continue troubleshooting, check the output:
rpm -q -a "*curl*"
rpm -V -a "*curl*"
type curl
curl -V
update-crypto-policies --show
update-crypto-policies --is-applied
update-crypto-policies --check
URL="https://packages.microsoft.com/yumrepos/vscode/\
Packages/c/code-insiders-1.96.0-1731305244.el8.x86_64.rpm"
curl -v -o "${URL##*/}" "${URL}"
To isolate the problem, try this:
wget -O "${URL##*/}" "${URL}"
sudo dnf upgrade "${URL##*/}" --setopt=localpkg_gpgcheck=1
1 Like
vgaetera
(Vladislav Grigoryev)
November 11, 2024, 4:19pm
9
> ldd $(readlink -f $(type -P dnf)) | grep -e curl
libcurl.so.4 => /lib64/libcurl.so.4 (0x00007fb190916000)
I’m temporarily out of ideas other than using strace or inspecting the DNF5 source code to understand which specific library calls it uses.
I guess it would be best to open an issue upstream, especially if the problem is reproducible and reoccurs on the next update:
Issues · rpm-software-management/dnf5 · GitHub
1 Like
Of course, it now miraculously works:
sudo dnf upgrade --offline --refresh -y
PS /home/RokeJulianLockhart> sudo dnf upgrade --offline --refresh -y
Updating and loading repositories:
Fedora 41 openh264 (From Cisco) - x86_64 100% | 1.8 KiB/s | 989.0 B | 00m01s
RPM Fusion for Fedora 41 - Free 100% | 27.8 KiB/s | 7.9 KiB | 00m00s
Fedora 41 - x86_64 - Test Updates Debug 100% | 49.1 KiB/s | 20.4 KiB | 00m00s
Copr repo for Koi owned by birkch 100% | 7.8 KiB/s | 1.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree 100% | 25.8 KiB/s | 8.1 KiB | 00m00s
RPM Fusion for Fedora 41 - Free tainted 100% | 23.5 KiB/s | 7.2 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 56.7 KiB/s | 25.1 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Steam 100% | 59.7 KiB/s | 7.3 KiB | 00m00s
Visual Studio Code 100% | 18.0 KiB/s | 1.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Steam Debug 100% | 23.6 KiB/s | 7.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree tainted 100% | 21.8 KiB/s | 7.4 KiB | 00m00s
google-chrome 100% | 3.7 KiB/s | 1.3 KiB | 00m00s
warpdotdev 100% | 4.3 KiB/s | 1.5 KiB | 00m00s
Copr repo for prismlauncher owned by g3tchoo 100% | 7.4 KiB/s | 1.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Free - Updates 100% | 35.5 KiB/s | 7.2 KiB | 00m00s
Fedora 41 - x86_64 100% | 30.1 KiB/s | 23.3 KiB | 00m01s
Fedora 41 openh264 (From Cisco) - x86_64 - Debug 100% | 3.0 KiB/s | 997.0 B | 00m00s
google-chrome-unstable 100% | 7.2 KiB/s | 1.3 KiB | 00m00s
Fedora 41 - x86_64 - Updates - Debug 100% | 29.3 KiB/s | 20.2 KiB | 00m01s
Fedora 41 - x86_64 - Test Updates 100% | 55.0 KiB/s | 21.8 KiB | 00m00s
Fedora 41 - x86_64 - Debug 100% | 24.1 KiB/s | 18.2 KiB | 00m01s
TeamViewer - x86_64 100% | 14.4 KiB/s | 3.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Updates 100% | 59.4 KiB/s | 7.4 KiB | 00m00s
Brave Browser 100% | 24.7 KiB/s | 2.0 KiB | 00m00s
Copr repo for CoolerControl owned by codifryed 100% | 4.2 KiB/s | 1.5 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Upgrading:
code-insiders x86_64 1.96.0-1731478130.el8 code 377.1 MiB
replacing code-insiders x86_64 1.96.0-1731391612.el8 @stored_transaction 377.1 MiB
Transaction Summary:
Upgrading: 1 package
Replacing: 1 package
Total size of inbound packages is 136 MiB. Need to download 136 MiB.
After this operation, 15 KiB extra will be used (install 377 MiB, remove 377 MiB).
[1/1] code-insiders-0:1.96.0-1731478130.el8.x86_64 100% | 3.0 MiB/s | 136.1 MiB | 00m46s
------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total 100% | 3.0 MiB/s | 136.1 MiB | 00m46s
Testing offline transaction
Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`.
Complete!
I presume because you helpfully allowed me to bypass dnf
to download that problematic update. Thank you. A shame that despite all your work, we weren’t able to diagnose the fault… feels like I’ve wasted your effort.
1 Like
vgaetera
(Vladislav Grigoryev)
November 13, 2024, 7:04pm
12
No problem, it helped me hone my troubleshooting skills and now we know what to do if a similar problem suddenly reappears.
1 Like