微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法为 Ubuntu 18.04 获取/安装最新的单声道版本

如何解决无法为 Ubuntu 18.04 获取/安装最新的单声道版本

我正在按照此官方链接安装 Mono,如下所示: https://www.mono-project.com/download/stable/#download-lin-ubuntu

成功运行:

sudo apt install gnupg ca-certificates

然后在执行时收到:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

[sudo] password for rduis: 

Executing: /tmp/apt-key-gpghome.pxKRgkz7VK/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
gpg: key A6A19B38D3D831EF: 2 signatures not checked due to missing keys
gpg: key A6A19B38D3D831EF: "Xamarin Public Jenkins (auto-signing) <releng@xamarin.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

那么:

echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list

deb https://download.mono-project.com/repo/ubuntu stable-bionic main

下一步:

sudo apt update

Ign:1 https://download.mono-project.com/repo/ubuntu stable-bionic InRelease                                                        
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease                                              
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                       
Ign:4 https://download.mono-project.com/repo/ubuntu vs-bionic InRelease                                        
Err:5 https://download.mono-project.com/repo/ubuntu stable-bionic Release                                      
  Certificate verification Failed: The certificate is NOT trusted. The certificate issuer is unkNown.  Could not handshake: Error in the certificate verification. [IP: 152.xxx.xx.xxx xxx]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Err:7 https://download.mono-project.com/repo/ubuntu vs-bionic Release                                                           
  Certificate verification Failed: The certificate is NOT trusted. The certificate issuer is unkNown.  Could not handshake: Error in the certificate verification. [IP: 152.xxx.xx.xxx xxx]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [49.0 kB]  
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]             
Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [60.4 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]                                
Get:13 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [290 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]                                
Get:15 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [9,292 B]                                
Reading package lists... Done                                                                                                       
E: The repository 'https://download.mono-project.com/repo/ubuntu stable-bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely,and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://download.mono-project.com/repo/ubuntu vs-bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely,and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

尽管出现上述错误,继续安装单声道如下:

sudo apt install mono-devel

经过这个验证安装版本的单声道:

mono --version
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)
copyright (C) 2002-2014 Novell,Inc,Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    disabled:      none
    Misc:          softdebug 
    LLVM:          supported,not enabled.
    GC:            sgen

但是,对于 Ubuntu 仿生,mono 具有最新版本,版本:6.12.0.122-0xamarin1+ubuntu1804b1。我只能获得旧版本的单声道。我的开发需要最高可用版本的单声道。新手到单声道。非常感谢任何帮助。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?