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 Cache本地缓存示例代码

《使用SpringCache本地缓存示例代码》缓存是提高应用程序性能的重要手段,通过将频繁访问的数据存储在内存中,可以减少数据库访问次数,从而加速数据读取,:本文主要介绍使用SpringCac... 目录一、Spring Cache简介核心特点:二、基础配置1. 添加依赖2. 启用缓存3. 缓存配置方案方案

使用Python的requests库来发送HTTP请求的操作指南

《使用Python的requests库来发送HTTP请求的操作指南》使用Python的requests库发送HTTP请求是非常简单和直观的,requests库提供了丰富的API,可以发送各种类型的HT... 目录前言1. 安装 requests 库2. 发送 GET 请求3. 发送 POST 请求4. 发送

Nginx中配置使用非默认80端口进行服务的完整指南

《Nginx中配置使用非默认80端口进行服务的完整指南》在实际生产环境中,我们经常需要将Nginx配置在其他端口上运行,本文将详细介绍如何在Nginx中配置使用非默认端口进行服务,希望对大家有所帮助... 目录一、为什么需要使用非默认端口二、配置Nginx使用非默认端口的基本方法2.1 修改listen指令

Python WebSockets 库从基础到实战使用举例

《PythonWebSockets库从基础到实战使用举例》WebSocket是一种全双工、持久化的网络通信协议,适用于需要低延迟的应用,如实时聊天、股票行情推送、在线协作、多人游戏等,本文给大家介... 目录1. 引言2. 为什么使用 WebSocket?3. 安装 WebSockets 库4. 使用 We

python中的显式声明类型参数使用方式

《python中的显式声明类型参数使用方式》文章探讨了Python3.10+版本中类型注解的使用,指出FastAPI官方示例强调显式声明参数类型,通过|操作符替代Union/Optional,可提升代... 目录背景python函数显式声明的类型汇总基本类型集合类型Optional and Union(py

Java使用正则提取字符串中的内容的详细步骤

《Java使用正则提取字符串中的内容的详细步骤》:本文主要介绍Java中使用正则表达式提取字符串内容的方法,通过Pattern和Matcher类实现,涵盖编译正则、查找匹配、分组捕获、数字与邮箱提... 目录1. 基础流程2. 关键方法说明3. 常见场景示例场景1:提取所有数字场景2:提取邮箱地址4. 高级

使用SpringBoot+InfluxDB实现高效数据存储与查询

《使用SpringBoot+InfluxDB实现高效数据存储与查询》InfluxDB是一个开源的时间序列数据库,特别适合处理带有时间戳的监控数据、指标数据等,下面详细介绍如何在SpringBoot项目... 目录1、项目介绍2、 InfluxDB 介绍3、Spring Boot 配置 InfluxDB4、I

使用Java读取本地文件并转换为MultipartFile对象的方法

《使用Java读取本地文件并转换为MultipartFile对象的方法》在许多JavaWeb应用中,我们经常会遇到将本地文件上传至服务器或其他系统的需求,在这种场景下,MultipartFile对象非... 目录1. 基本需求2. 自定义 MultipartFile 类3. 实现代码4. 代码解析5. 自定

使用Python实现无损放大图片功能

《使用Python实现无损放大图片功能》本文介绍了如何使用Python的Pillow库进行无损图片放大,区分了JPEG和PNG格式在放大过程中的特点,并给出了示例代码,JPEG格式可能受压缩影响,需先... 目录一、什么是无损放大?二、实现方法步骤1:读取图片步骤2:无损放大图片步骤3:保存图片三、示php

使用Python实现一个简易计算器的新手指南

《使用Python实现一个简易计算器的新手指南》计算器是编程入门的经典项目,它涵盖了变量、输入输出、条件判断等核心编程概念,通过这个小项目,可以快速掌握Python的基础语法,并为后续更复杂的项目打下... 目录准备工作基础概念解析分步实现计算器第一步:获取用户输入第二步:实现基本运算第三步:显示计算结果进