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

相关文章

Spring Boot 集成 Quartz并使用Cron 表达式实现定时任务

《SpringBoot集成Quartz并使用Cron表达式实现定时任务》本篇文章介绍了如何在SpringBoot中集成Quartz进行定时任务调度,并通过Cron表达式控制任务... 目录前言1. 添加 Quartz 依赖2. 创建 Quartz 任务3. 配置 Quartz 任务调度4. 启动 Sprin

Linux下如何使用C++获取硬件信息

《Linux下如何使用C++获取硬件信息》这篇文章主要为大家详细介绍了如何使用C++实现获取CPU,主板,磁盘,BIOS信息等硬件信息,文中的示例代码讲解详细,感兴趣的小伙伴可以了解下... 目录方法获取CPU信息:读取"/proc/cpuinfo"文件获取磁盘信息:读取"/proc/diskstats"文

Java使用SLF4J记录不同级别日志的示例详解

《Java使用SLF4J记录不同级别日志的示例详解》SLF4J是一个简单的日志门面,它允许在运行时选择不同的日志实现,这篇文章主要为大家详细介绍了如何使用SLF4J记录不同级别日志,感兴趣的可以了解下... 目录一、SLF4J简介二、添加依赖三、配置Logback四、记录不同级别的日志五、总结一、SLF4J

使用Python实现一个优雅的异步定时器

《使用Python实现一个优雅的异步定时器》在Python中实现定时器功能是一个常见需求,尤其是在需要周期性执行任务的场景下,本文给大家介绍了基于asyncio和threading模块,可扩展的异步定... 目录需求背景代码1. 单例事件循环的实现2. 事件循环的运行与关闭3. 定时器核心逻辑4. 启动与停

如何使用Nginx配置将80端口重定向到443端口

《如何使用Nginx配置将80端口重定向到443端口》这篇文章主要为大家详细介绍了如何将Nginx配置为将HTTP(80端口)请求重定向到HTTPS(443端口),文中的示例代码讲解详细,有需要的小伙... 目录1. 创建或编辑Nginx配置文件2. 配置HTTP重定向到HTTPS3. 配置HTTPS服务器

Java使用ANTLR4对Lua脚本语法校验详解

《Java使用ANTLR4对Lua脚本语法校验详解》ANTLR是一个强大的解析器生成器,用于读取、处理、执行或翻译结构化文本或二进制文件,下面就跟随小编一起看看Java如何使用ANTLR4对Lua脚本... 目录什么是ANTLR?第一个例子ANTLR4 的工作流程Lua脚本语法校验准备一个Lua Gramm

Java Optional的使用技巧与最佳实践

《JavaOptional的使用技巧与最佳实践》在Java中,Optional是用于优雅处理null的容器类,其核心目标是显式提醒开发者处理空值场景,避免NullPointerExce... 目录一、Optional 的核心用途二、使用技巧与最佳实践三、常见误区与反模式四、替代方案与扩展五、总结在 Java

使用Java将DOCX文档解析为Markdown文档的代码实现

《使用Java将DOCX文档解析为Markdown文档的代码实现》在现代文档处理中,Markdown(MD)因其简洁的语法和良好的可读性,逐渐成为开发者、技术写作者和内容创作者的首选格式,然而,许多文... 目录引言1. 工具和库介绍2. 安装依赖库3. 使用Apache POI解析DOCX文档4. 将解析

Qt中QUndoView控件的具体使用

《Qt中QUndoView控件的具体使用》QUndoView是Qt框架中用于可视化显示QUndoStack内容的控件,本文主要介绍了Qt中QUndoView控件的具体使用,具有一定的参考价值,感兴趣的... 目录引言一、QUndoView 的用途二、工作原理三、 如何与 QUnDOStack 配合使用四、自

C++使用printf语句实现进制转换的示例代码

《C++使用printf语句实现进制转换的示例代码》在C语言中,printf函数可以直接实现部分进制转换功能,通过格式说明符(formatspecifier)快速输出不同进制的数值,下面给大家分享C+... 目录一、printf 原生支持的进制转换1. 十进制、八进制、十六进制转换2. 显示进制前缀3. 指