dapper-net怎样用_使用apt-get将Ubuntu从Dapper升级到Edgy

2023-11-05 14:10

本文主要是介绍dapper-net怎样用_使用apt-get将Ubuntu从Dapper升级到Edgy,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

dapper-net怎样用

dapper-net怎样用

Important Note: According to the Ubuntu Help:

重要说明 :根据Ubuntu帮助:

Please note – this method is much less reliable. If you use this method, you MUST be prepared to fix problems manually, such as packages being unexpectedly removed. Using Update Manager is likely to be much less problematic.

请注意–此方法可靠性较差。 如果使用此方法,则必须准备好手动解决问题,例如意外删除软件包。 使用Update Manager可能会少很多问题。

Before you read this HowTo, you may want to consider installing using the GUI with Update Manager, which is probably a simpler method for regular users.

在阅读本HowTo之前,您可能需要考虑使用带有Update Manager的GUI进行安装,这对于普通用户而言可能是一种更简单的方法。

If you are a power user, then let’s move on. First, we’ll need to install ubuntu-desktop if it’s not already installed because otherwise there will be a dependencies problem.

如果您是高级用户,那就继续吧。 首先,如果尚未安装ubuntu-desktop,我们将需要安装它,否则会出现依赖关系问题。

sudo apt-get install ubuntu-desktop

sudo apt-get install ubuntu-desktop

Now we’ll need to run a command that will change all the occurrences of dapper to edgy in our sources.list file. If you aren’t familiar, sources.list is the file that points to your list of possible upgrades and packages. For windows users, you can think of it as the file that points to Windows Update. Of course, if you are a windows user, you should really install with the Update Manager utility linked above.

现在,我们需要运行一个命令,将我们的sources.list文件中所有出现的dapper更改为edgy。 如果您不熟悉,sources.list是指向您可能的升级和软件包列表的文件。 对于Windows用户,您可以将其视为指向Windows Update的文件。 当然,如果您是Windows用户,则应该使用上面链接的Update Manager实用程序进行安装。

sudo sed -e ‘s/\sdapper/ edgy/g’ -i /etc/apt/sources.list

sudo sed -e's / \ sdapper / edgy / g'-i /etc/apt/sources.list

Now we’ll perform the actual upgrades:

现在,我们将执行实际的升级:

sudo apt-get update && sudo apt-get dist-upgrade

sudo apt-get更新&& sudo apt-get dist-upgrade

The && part of the command means that the second command will run after the first as long as the first command completes successfully.

该命令的&&部分表示只要第一个命令成功完成,第二个命令就会在第一个命令之后运行。

Now we’ll finish up the upgrade with a few more commands:

现在,我们将使用更多命令完成升级:

sudo apt-get -f install

sudo apt-get -f安装

sudo dpkg –configure -a

sudo dpkg –配置-a

Note that the –configure is actually two dashes. For some reason WordPress makes it look like a single dash. Reboot, and you are all done!

请注意,–configure实际上是两个破折号。 由于某些原因,WordPress使它看起来像一个破折号。 重新启动,一切就完成了!

Note: I’ve seen some notes that this upgrade doesn’t work very well for people running Ubuntu as a Guest in VMWare with VMWare tools installed. I tested it out and came to the same conclusion, no fix as of yet.

注意:我已经注意到一些注意事项,对于在安装了VMWare工具的VMWare中以Guest虚拟机身份运行Ubuntu的用户,此升级效果不佳。 我对其进行了测试,并得出了相同的结论,但目前尚未解决。

Update:

更新:

If upgrading gives you the error message “failed to load module GLcore”, you will want to run these commands. Thanks for this tip to Biogeek in the comments below.

如果升级后出现错误消息“无法加载模块GLcore”,则您将要运行这些命令。 感谢您在下面的评论中给Biogeek的技巧。

apt-get install xfs apt-get install –reinstall xfonts-base

apt-get install xfs apt-get install –重新安装xfonts-base

翻译自: https://www.howtogeek.com/howto/ubuntu/upgrading-ubuntu-from-dapper-to-edgy-with-apt-get/

dapper-net怎样用

这篇关于dapper-net怎样用_使用apt-get将Ubuntu从Dapper升级到Edgy的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/350346

相关文章

Python数据验证神器Pydantic库的使用和实践中的避坑指南

《Python数据验证神器Pydantic库的使用和实践中的避坑指南》Pydantic是一个用于数据验证和设置的库,可以显著简化API接口开发,文章通过一个实际案例,展示了Pydantic如何在生产环... 目录1️⃣ 崩溃时刻:当你的API接口又双叒崩了!2️⃣ 神兵天降:3行代码解决验证难题3️⃣ 深度

Linux内核定时器使用及说明

《Linux内核定时器使用及说明》文章详细介绍了Linux内核定时器的特性、核心数据结构、时间相关转换函数以及操作API,通过示例展示了如何编写和使用定时器,包括按键消抖的应用... 目录1.linux内核定时器特征2.Linux内核定时器核心数据结构3.Linux内核时间相关转换函数4.Linux内核定时

C#借助Spire.XLS for .NET实现在Excel中添加文档属性

《C#借助Spire.XLSfor.NET实现在Excel中添加文档属性》在日常的数据处理和项目管理中,Excel文档扮演着举足轻重的角色,本文将深入探讨如何在C#中借助强大的第三方库Spire.... 目录为什么需要程序化添加Excel文档属性使用Spire.XLS for .NET库实现文档属性管理Sp

python中的flask_sqlalchemy的使用及示例详解

《python中的flask_sqlalchemy的使用及示例详解》文章主要介绍了在使用SQLAlchemy创建模型实例时,通过元类动态创建实例的方式,并说明了如何在实例化时执行__init__方法,... 目录@orm.reconstructorSQLAlchemy的回滚关联其他模型数据库基本操作将数据添

Spring配置扩展之JavaConfig的使用小结

《Spring配置扩展之JavaConfig的使用小结》JavaConfig是Spring框架中基于纯Java代码的配置方式,用于替代传统的XML配置,通过注解(如@Bean)定义Spring容器的组... 目录JavaConfig 的概念什么是JavaConfig?为什么使用 JavaConfig?Jav

Java使用Spire.Doc for Java实现Word自动化插入图片

《Java使用Spire.DocforJava实现Word自动化插入图片》在日常工作中,Word文档是不可或缺的工具,而图片作为信息传达的重要载体,其在文档中的插入与布局显得尤为关键,下面我们就来... 目录1. Spire.Doc for Java库介绍与安装2. 使用特定的环绕方式插入图片3. 在指定位

Springboot3 ResponseEntity 完全使用案例

《Springboot3ResponseEntity完全使用案例》ResponseEntity是SpringBoot中控制HTTP响应的核心工具——它能让你精准定义响应状态码、响应头、响应体,相比... 目录Spring Boot 3 ResponseEntity 完全使用教程前置准备1. 项目基础依赖(M

Java使用Spire.Barcode for Java实现条形码生成与识别

《Java使用Spire.BarcodeforJava实现条形码生成与识别》在现代商业和技术领域,条形码无处不在,本教程将引导您深入了解如何在您的Java项目中利用Spire.Barcodefor... 目录1. Spire.Barcode for Java 简介与环境配置2. 使用 Spire.Barco

Android使用java实现网络连通性检查详解

《Android使用java实现网络连通性检查详解》这篇文章主要为大家详细介绍了Android使用java实现网络连通性检查的相关知识,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一下... 目录NetCheck.Java(可直接拷贝)使用示例(Activity/Fragment 内)权限要求

C# 预处理指令(# 指令)的具体使用

《C#预处理指令(#指令)的具体使用》本文主要介绍了C#预处理指令(#指令)的具体使用,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学... 目录1、预处理指令的本质2、条件编译指令2.1 #define 和 #undef2.2 #if, #el