【dotnet】Ubuntu 24.04安装dotnet 8.0报错

server/2024/10/18 18:13:21/

我的环境是Ubuntu 24.04,64位,使用azure的虚拟机。

报错文字如下:

kidfu@azurefu:~$ sudo apt install dotnet-sdk-8.0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:dotnet-runtime-deps-8.0 : Depends: libicu but it is not installable orlibicu72 but it is not installable orlibicu71 but it is not installable orlibicu70 but it is not installable orlibicu69 but it is not installable orlibicu68 but it is not installable orlibicu67 but it is not installable orlibicu66 but it is not installable orlibicu65 but it is not installable orlibicu63 but it is not installable orlibicu60 but it is not installable orlibicu57 but it is not installable orlibicu55 but it is not installable orlibicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.

在github上找到了修复方式,并且我自己也成功了。 

运行如下代码:

sudo rm /etc/apt/sources.list.d/microsoft-prod.list


http://www.ppmy.cn/server/108180.html

相关文章

消息队列MQ

MQ概述 1.MQ简介 MQ,Message Queue,是一种提供消息队列服务的中间件,也称为消息中间件,是一套提供了消息生产、储、消费全过程API的软件系统。消息即数据。一般消息的体量不会很大。 2.MQ用途 限流削峰 MQ可以将系统的超量请求…

.NET_web前端框架_layui_栅格布局

基础概念 layui:用于简化前端编写的框架。响应式布局(Responsive Layout):一种网页设计方法,使网页能够根据不同设备的屏幕尺寸和分辨率自动调整其内容和布局。栅格布局(Grid Layout):一种网页设计布局方法&#xff0c…

ARM 寻址举例(19)

举例: 计算一个数组的所有元素的和。 area first, code, readonly code32entry startldr r0,array ; adr r0,array ;ADR为小范围的地址读取伪指令 loopldr r1,[r0],#4cmp r1,#0addne r4,r4,r1bne loop stopb stop; DCD…

python 速成指南

第一节. 过程式 python python 的一个特点是不通过大括号 {} 来划定代码块,而是通过缩进。如果和 C/C++ 类比的话,就是在左括号的地方不要换行,然后用一个冒号 (:) 替代, C/C++ 大括号内部的东西,缩进一个 tab 或者几个空格都可以(但需要保持一致),比如: if (x <…

LuaJit分析(一)LuaJit交叉编译

​​​​​​Android 使用ndk版本 r16b 在luajit2.1.0-beta3目录下创建一个脚本文件&#xff0c;armv7编译代码如下&#xff1a; make clean NDKE:/android-ndk-r16b #ndk路径 NDKABI21 NDKTRIPLEarm-linux-androideabi NDKVER$NDK/toolchains/$NDKTRIPLE-4.9 NDKP$NDKVER/…

精彩管道不会梦到深沉蓝调

如果上天开了眼 请多给我点蓝调 多给我点沙锤 多给我点甲壳 让我吃鸡&#xff01; 星元自动机&#xff0c;新的版本之神 给宁磕一个 完蛋 你说这不是问题吗 我这篇文章从我写开始&#xff0c;到写完 炉石都换赛季了&#xff01;&#xff01;&#xff01;&#xff01…

官方辟谣,此前流传的Redmi K80将搭载升降摄像头为假

朋友们&#xff0c;最近科技圈里又掀起了一阵小波澜&#xff0c;有传言称即将推出的 K80系列将搭载复古而又充满情怀的升降摄像头。但就在大家满怀期待的时候&#xff0c;小米公关部门的王化站了出来&#xff0c;用一句“这个确实脑洞挺大的……”为这场传言画上了句号。 今天…

mybatis plus 使用 nested、 or查询

需求背景 有多组版本号区间需要查询&#xff0c;同时有需要跟其他条件的关系为and AND ( ( (app_version_num BETWEEN ? AND ?) ) OR ( (app_version_num BETWEEN ? AND ?) ) ) AND create_time > ?Mybatis plus nested、 or组合查询 lambdaWrapper.nested(wrapper …