当前位置: 首页 > news >正文

【dotnet】Ubuntu 24.04安装dotnet 8.0报错

我的环境是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.mrgr.cn/news/11760.html

相关文章:

  • Java笔试面试题AI答之线程(4)
  • Qt的事件循环
  • 新160个crackme - 041-genocide1
  • Servlet
  • linux 安装kafaka单体服务
  • 每日一问:GET请求和POST请求的区别
  • 仓颉语言:静态类型与垃圾收集,让编程更安全高效
  • 《JavaEE进阶》----2.<Spring前传:Maven项目管理工具>
  • 深入解析 Tomcat 的六大核心组件
  • Quartz定时任务
  • 项目策划书六度自由双足机器人
  • K-means算法原理及应用场景
  • 数学建模学习(119):基于R型聚类法与Q型聚类法的分类分析
  • nacos的配置更改了还要重启服务才生效
  • 李宏毅 机器学习与深度学习【2022版】 02
  • 【Leetcode 1876 】 长度为三且各字符不同的子字符串 —— 直接比较
  • AI学习记录 - 怎么理解 torch 的 torch.nn.BatchNorm2d
  • JavaScript 动画库
  • (最新)华为 2024 届秋招-硬件技术工程师-单板硬件开发—机试题—(共12套)(每套四十题)
  • 37 使用LDT(3)