LINUX.ORG.RU

Проблема с обновлением ПО

 , , ,


0

1

Сижу на Fedora 36, использую flatpak

Я попытался обновить приложения в консоли командой (sudo dnf upgrade). Некоторые приложения обновились, но появились 3 ошибки:


created by dnf config-manager from file:///home 0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'home_boguskladik_':
  - Curl error (37): Couldn't read a file:// file for file:///home/boguskladik/repodata/repomd.xml [Couldn't open file /home/boguskladik/repodata/repomd.xml]
Error: Failed to download metadata for repo 'home_boguskladik_': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
RPM Fusion for Fedora 36 - Nonfree - NVIDIA Dri 0.0  B/s |   0  B     01:29    
Errors during downloading metadata for repository 'rpmfusion-nonfree-nvidia-driver':
  - Curl error (6): Couldn't resolve host name for https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-36&arch=x86_64 [Could not resolve host: mirrors.rpmfusion.org]
  - Curl error (28): Timeout was reached for https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-36&arch=x86_64 [Resolving timed out after 30000 milliseconds]
Error: Failed to download metadata for repo 'rpmfusion-nonfree-nvidia-driver': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-36&arch=x86_64 [Could not resolve host: mirrors.rpmfusion.org]
RPM Fusion for Fedora 36 - Nonfree - Steam      0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'rpmfusion-nonfree-steam':
  - Curl error (6): Couldn't resolve host name for https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-36&arch=x86_64 [Could not resolve host: mirrors.rpmfusion.org]
Error: Failed to download metadata for repo 'rpmfusion-nonfree-steam': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-36&arch=x86_64 [Could not resolve host: mirrors.rpmfusion.org]
Ignoring repositories: home_boguskladik_, rpmfusion-nonfree-nvidia-driver, rpmfusion-nonfree-steam
Last metadata expiration check: 5:13:57 ago on Thu 21 Jul 2022 11:30:26 MSK.
Dependencies resolved.
Nothing to do.
Complete!

Потом я попытался зайти в Центр Приложений, и там последняя проверка обновлений была 8 дней назад. И когда я пытаюсь по ручному проверить, ничего не выходит. Так и остается 8 дней.

Потом я попытался обновить ПО от flatpak с помощью команды(flatpak upgrade) и получил вот это:

Looking for updates…
F: Warning: Treating remote fetch error as non-fatal since runtime/org.telegram.desktop.webview/x86_64/stable is already installed: No such ref 'runtime/org.telegram.desktop.webview/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.telegram.desktop.webview.Locale/x86_64/stable is already installed: No such ref 'runtime/org.telegram.desktop.webview.Locale/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.pulseaudio.pavucontrol.Locale/x86_64/stable is already installed: No such ref 'runtime/org.pulseaudio.pavucontrol.Locale/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.mozilla.Thunderbird.Locale/x86_64/stable is already installed: No such ref 'runtime/org.mozilla.Thunderbird.Locale/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.gnome.Platform/x86_64/42 is already installed: No such ref 'runtime/org.gnome.Platform/x86_64/42' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.gnome.Platform/x86_64/41 is already installed: No such ref 'runtime/org.gnome.Platform/x86_64/41' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.gnome.Platform.Locale/x86_64/42 is already installed: No such ref 'runtime/org.gnome.Platform.Locale/x86_64/42' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.gnome.Platform.Locale/x86_64/41 is already installed: No such ref 'runtime/org.gnome.Platform.Locale/x86_64/41' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Sdk/x86_64/21.08 is already installed: No such ref 'runtime/org.freedesktop.Sdk/x86_64/21.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Sdk/x86_64/20.08 is already installed: No such ref 'runtime/org.freedesktop.Sdk/x86_64/20.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Sdk.Locale/x86_64/21.08 is already installed: No such ref 'runtime/org.freedesktop.Sdk.Locale/x86_64/21.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Sdk.Locale/x86_64/20.08 is already installed: No such ref 'runtime/org.freedesktop.Sdk.Locale/x86_64/20.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform/x86_64/21.08 is already installed: No such ref 'runtime/org.freedesktop.Platform/x86_64/21.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform/x86_64/20.08 is already installed: No such ref 'runtime/org.freedesktop.Platform/x86_64/20.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.openh264/x86_64/2.0 is already installed: No such ref 'runtime/org.freedesktop.Platform.openh264/x86_64/2.0' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/21.08 is already installed: No such ref 'runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/21.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.Locale/x86_64/21.08 is already installed: No such ref 'runtime/org.freedesktop.Platform.Locale/x86_64/21.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.Locale/x86_64/20.08 is already installed: No such ref 'runtime/org.freedesktop.Platform.Locale/x86_64/20.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.GL32.nvidia-515-57/x86_64/1.4 is already installed: No such ref 'runtime/org.freedesktop.Platform.GL32.nvidia-515-57/x86_64/1.4' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.GL32.nvidia-510-68-02/x86_64/1.4 is already installed: No such ref 'runtime/org.freedesktop.Platform.GL32.nvidia-510-68-02/x86_64/1.4' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.GL32.default/x86_64/21.08 is already installed: No such ref 'runtime/org.freedesktop.Platform.GL32.default/x86_64/21.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.GL.nvidia-515-57/x86_64/1.4 is already installed: No such ref 'runtime/org.freedesktop.Platform.GL.nvidia-515-57/x86_64/1.4' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.GL.nvidia-510-68-02/x86_64/1.4 is already installed: No such ref 'runtime/org.freedesktop.Platform.GL.nvidia-510-68-02/x86_64/1.4' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.GL.default/x86_64/21.08 is already installed: No such ref 'runtime/org.freedesktop.Platform.GL.default/x86_64/21.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.GL.default/x86_64/20.08 is already installed: No such ref 'runtime/org.freedesktop.Platform.GL.default/x86_64/20.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/org.freedesktop.Platform.Compat.i386/x86_64/21.08 is already installed: No such ref 'runtime/org.freedesktop.Platform.Compat.i386/x86_64/21.08' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/io.github.Figma_Linux.figma_linux.Locale/x86_64/stable is already installed: No such ref 'runtime/io.github.Figma_Linux.figma_linux.Locale/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/de.haeckerfelix.Fragments.Locale/x86_64/stable is already installed: No such ref 'runtime/de.haeckerfelix.Fragments.Locale/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since runtime/com.mattjakeman.ExtensionManager.Locale/x86_64/stable is already installed: No such ref 'runtime/com.mattjakeman.ExtensionManager.Locale/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/us.zoom.Zoom/x86_64/stable is already installed: No such ref 'app/us.zoom.Zoom/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/org.telegram.desktop/x86_64/stable is already installed: No such ref 'app/org.telegram.desktop/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/org.pulseaudio.pavucontrol/x86_64/stable is already installed: No such ref 'app/org.pulseaudio.pavucontrol/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/org.onlyoffice.desktopeditors/x86_64/stable is already installed: No such ref 'app/org.onlyoffice.desktopeditors/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/org.mozilla.Thunderbird/x86_64/stable is already installed: No such ref 'app/org.mozilla.Thunderbird/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/io.github.Figma_Linux.figma_linux/x86_64/stable is already installed: No such ref 'app/io.github.Figma_Linux.figma_linux/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/de.haeckerfelix.Fragments/x86_64/stable is already installed: No such ref 'app/de.haeckerfelix.Fragments/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/com.valvesoftware.Steam/x86_64/stable is already installed: No such ref 'app/com.valvesoftware.Steam/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/com.mattjakeman.ExtensionManager/x86_64/stable is already installed: No such ref 'app/com.mattjakeman.ExtensionManager/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/com.github.tchx84.Flatseal/x86_64/stable is already installed: No such ref 'app/com.github.tchx84.Flatseal/x86_64/stable' in remote flathub
F: Warning: Treating remote fetch error as non-fatal since app/com.discordapp.Discord/x86_64/stable is already installed: No such ref 'app/com.discordapp.Discord/x86_64/stable' in remote flathub
Nothing to do.

И еще стоит добавить, до этого я включал в файлике /etc/dnf/dnf.conf одну настройку и сидел все время с ней:

fastestmirror=True

Но после получения выше упомянутых проблем, я закомментировал эту строку, но результатов это не дало.

Curl error (37): Couldn’t read a file:// file for file:///home/boguskladik/repodata/repomd.xml

У тебя был подключен локальный репозиторий. Он сейчас есть?

Curl error (6): Couldn’t resolve host name for https://mirrors.rpmfusion.org/metalink?repo=non

Проблема с DNS и разрешением доменного имени. У меня разрешается, проверь что DNS сервер указан, доступен и отвечает на запросы.

kostik87 ★★★★★
()
Ответ на: комментарий от Bogus_Kladik

Этот локальный репозиторий появился тогда, когда я установил docker.

Отключи, если его нет.

А как это проверить?

Ок гугл, что такое DNS. Ок гугл, что такое DNS сервер. Ок гугл, как в Linux указывается DNS сервер. Доступность сервера можно проверить с помощью ping.

kostik87 ★★★★★
()
Последнее исправление: kostik87 (всего исправлений: 1)

- Curl error (37): Couldn't read a file:// file for file:///home/boguskladik/repodata/repomd.xml [Couldn't open file /home/boguskladik/repodata/repomd.xml]

Мдааа, кто же репу в home кладёт? Подозреваю виной тому sudo, как всегда. Рекомендую снести эту вредоносную прогу и научиться пользоваться аккаунтом root для администрирования, полностью раздельно от пользовательского аккаунта для пользования.

Curl error (6): Couldn't resolve host name for https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-36&a... [Could not resolve host: mirrors.rpmfusion.org]

Что пишет команда

nslookup mirrors.rpmfusion.org
?

firkax ★★★★★
()
Ответ на: комментарий от IIIypuk

По поводу добавления, мне вместо со своим писать? (nameserver 127.0.0.53), т.е. просто ниже, или удалить его?

По поводу команды curl https://mirrors.rpmfusion.org :

curl: (6) Could not resolve host: mirrors.rpmfusion.org
Bogus_Kladik
() автор топика
Ответ на: комментарий от firkax

Да в том то и речь, что я этого не делал я устанавливал Docker, как было написано на оф сайте, т.е. просто копировал отткуда команды, ничего своего не вставляя, и после этого появилось вот это.

По поводу команды nslookup mirrors.rpmfusion.org :

;; connection timed out; no servers could be reached
Bogus_Kladik
() автор топика
Ответ на: комментарий от Bogus_Kladik

Да в том то и речь, что я этого не делал я устанавливал Docker, как было написано на оф сайте,

Видимо у докера всё совсем плохо с технической культурой, раз даже на оф сайте такие вредительсвкие инструкции.

firkax ★★★★★
()
Ответ на: комментарий от firkax

Видимо у докера всё совсем плохо с технической культурой

У докера все нормально с культурой - официальная дока https://docs.docker.com/engine/install/fedora/ дает несколько вариантов установки:
самый простой - добавить репо
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
и затем установить докер
sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin
«но свинья грязь найдет!!!»
Сторонний репо нужно подключать, так как Федора (вместе с Red Hat) забила на докер и перешла на podman.

sigurd ★★★★★
()
Последнее исправление: sigurd (всего исправлений: 3)
Ответ на: комментарий от firkax

Откуда тогда у него репа в home появилась по офф инструкциям?

Откуда вывод про офф. инструкции? Ссылку на офф. доку от разработчика я привел - там нет создания своей репы в home!

sigurd ★★★★★
()