1

I'm on Ubuntu 16.04LTS, and I'm trying to install MonoDevelop through the Flatpak package.

I am almost done, only thing missing is the runtime. When I run the following command I get an error:

flatpak run com.xamarin.MonoDevelop
error: runtime/org.freedesktop.Platform/x86_64/1.4 not installed

Then I try to install it:

flatpak install gnome org.freedesktop.Platform//1.4

Installing: org.freedesktop.Platform/x86_64/1.4 from gnome

Receiving delta parts: 0/9 6.1 kB/s 98.3 kB/120.1 MB 5 hours 25 minutes
Receiving delta parts: 0/9 25.1 kB/s 426.0 kB/120.1 MB 1 hours 19 minut
Receiving delta parts: 0/9 34.9 kB/s 627.5 kB/120.1 MB 57 minutes 7 sec
Receiving delta parts: 0/9 34.8 kB/s 660.3 kB/120.1 MB 57 minutes 17 se
Receiving delta parts: 0/9 48.6 kB/s 971.6 kB/120.1 MB 40 minutes 52 se
Receiving delta parts: 0/9 84.5 kB/s 1.8 MB/120.1 MB 23 minutes 20 seconds remaining

error: While pulling runtime/org.freedesktop.Platform/x86_64/1.4 from remote gnome:
Error resolving 'sdk.gnome.org': Temporary failure in name resolution

Sometimes it doesn't show "Receiving delta parts", it goes straight to the error.

Maybe the repository for this runtime is broken, or the server! Can someone point me in the right direction?

4

2 回答 2

0

问题出在文件 /etc/resolv.conf 中,它的名称服务器为 127.0.0.1,我将其更改为 8.8.8.8,以便继续运行时安装。

也可以尝试运行:sudo service network-manager restart

我认为这会将 127.0.0.1 重置为 127.0.1.1,否则按照我对 8.8.8.8 所说的手动更改它,它会起作用。

于 2016-12-12T13:17:32.660 回答
0

在所有命令前加上“sudo”

例子:

$ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo sudo flatpak install

或者

$ flathub org.gtk.Gtk3theme.deepin
于 2021-08-17T03:20:06.957 回答