Failed to update 1 package
cannot update repo 'fedora': Cannot prepare internal mirrorlist:
Curl error (6):
Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64
[Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6):
Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64
[Could not resolve host: mirrors.fedoraproject.org]
And the same behavior of âRepair Systemâ button, but if I open Discover i can update almost without problems.
On the answer suggested to change the local resolvers assuming that theyâre talking about dns, Iâm using a pi-hole to manage dns petitions but never get a petition when the pc starts up.
So Iâm thinking of disabling the âoffline updatesâ feature, I donât have a problem with update before turn off my pc or there is a way to debug this with Discover? or how you update all the packages that arenât updated when use dnf? flatpak packages can be updated with âflatpak updateâ but for the updates of others packages like themes of kde that shows on discover, there exist a command to do that?
If the package is installed from one of the standard fedora or synced repos, then a dnf update --refresh will update all that are current in the repo. Flatpaks are separate by design since they are not an âofficialâ fedora product and not managed by dnf.
I have never allowed the system to do the offline update since it reminds me too much of MS habits.
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Link 2 (enp2s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 3 (wlp3s0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.10.109
DNS Servers: 192.168.10.109
Today when I power up the pc, the error shows again:
And on the registers of Pi-hole, there is not a petition to mirrors.fedoraproject.org at the time when the pc starts up:
After searching I came to the conclusion that you canât get rid of that warning and is something that happens so randomly that I disabled offline updates and just update with dnf and flatpak commands and use discover only to update addons disabling all the sources.
[root@fedora ~]# pkcon update
Getting updates [=========================]
Finished [=========================]
Starting [=========================]
Testing changes [=========================]
Finished [ ] (0%)
The following packages have to be installed:
libappindicator-gtk3-12.10.0-31.fc35.x86_64 Application indicators library - GTK 3
libdbusmenu-gtk3-16.04.0-18.fc35.x86_64 Library for passing menus over DBus - Development files - GTK+2 version - GTK+3 version
libindicator-gtk3-12.10.1-21.fc35.x86_64 GTK+3 build of libindicator
The following packages have to be updated:
VirtualBox-6.1.32-5.fc35.x86_64 A general-purpose full virtualizer for PC hardware
VirtualBox-kmodsrc-6.1.32-5.fc35.noarch VirtualBox kernel module source code
VirtualBox-server-6.1.32-5.fc35.x86_64 core part (host server) for VirtualBox
discord-0.0.17-4.fc35.x86_64 All-in-one voice and text chat for gamers
Proceed with changes? [N/y]