首页 > 其他分享 >openEuler 22.03 LTS 升级到 openEuler 24.03 LTS

openEuler 22.03 LTS 升级到 openEuler 24.03 LTS

时间:2024-08-19 22:49:37浏览次数:14  
标签:LTS http 24.03 repo 22.03 org openEuler

升级前准备

cd /etc/yum.repos.d/
sudo cp openEuler.repo openEuler.repo_2203lts_back

sudo vim openEuler.repo

将22.03 替换为 24.03

#generic-repos is licensed under the Mulan PSL v2.
#You can use this software according to the terms and conditions of the Mulan PSL v2.
#You may obtain a copy of Mulan PSL v2 at:
#    http://license.coscl.org.cn/MulanPSL2
#THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
#PURPOSE.
#See the Mulan PSL v2 for more details.

[OS]
name=OS
baseurl=http://repo.openeuler.org/openEuler-24.03-LTS/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler

[everything]
name=everything
baseurl=http://repo.openeuler.org/openEuler-24.03-LTS/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS/everything/$basearch/RPM-GPG-KEY-openEuler

[EPOL]
name=EPOL
baseurl=http://repo.openeuler.org/openEuler-24.03-LTS/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler

[debuginfo]
name=debuginfo
baseurl=http://repo.openeuler.org/openEuler-24.03-LTS/debuginfo/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS/debuginfo/$basearch/RPM-GPG-KEY-openEuler

[source]
name=source
baseurl=http://repo.openeuler.org/openEuler-24.03-LTS/source/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS/source/RPM-GPG-KEY-openEuler

[update]
name=update
baseurl=http://repo.openeuler.org/openEuler-24.03-LTS/update/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler

[update-source]
name=update-source
baseurl=http://repo.openeuler.org/openEuler-24.03-LTS/update/source/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS/source/RPM-GPG-KEY-openEuler

保存后开始升级

sudo dnf update --allowerasing | sudo tee update_log

升级完成后重启

sudo reboot
cat /etc/os-release

 

标签:LTS,http,24.03,repo,22.03,org,openEuler
From: https://www.cnblogs.com/mouseOrCat/p/18368262

相关文章

  • Ubuntu 24.04 LTS 相关配置
    更换软件源#备份sudocp/etc/apt/sources.list.d/ubuntu.sources/etc/apt/sources.list.d/ubuntu.sources.bak#编辑,将其追加在文件最后sudovim/etc/apt/sources.list.d/ubuntu.sources#阿里云Types:debURIs:http://mirrors.aliyun.com/ubuntu/Suites:noblenob......
  • 024、Vue3+TypeScript基础,使用withDefaults在父传子没数据时给出默认值
    01、index.ts代码如下://定义一个接口,用于限制person对象的具体属性exportinterfacePersonInter{id:string;name:string;age:number;}exporttypePersons=Array<PersonInter>;02、App.vue代码如下;<template><divclass="app">&......
  • 解决openEuler只有lo无网卡的问题,或者安装过程中没有网卡,添加后也不成功的问题
    安装过后没有网卡的原因即使你手动添加网卡后也没法用,那可能的就是你在选择操作系统版本时候出现了问题,导致的你在安装过程中网卡与当前版本不兼容,或者不兼容导致无法识别不到你的网卡。举个例子:安装openeuler22.03过程中选择版本其他Liunx5.x内核64位就可以识别到网卡,我试......
  • Spark的配置文件$SPARK_HOME/conf/spark-defaults.conf
    importorg.apache.spark.sql.SparkSessionobjectSparkSessionExample{defmain(args:Array[String]):Unit={valspark=SparkSession.builder.appName("SparkSessionExample").config("spark.master","local").getOrCreate()......
  • Ubuntu 22.04 LTS 环境下部署 Docker 服务
    sudosystemctlstopapparmor.servicesudosystemctldisableapparmor.servicesudoufwdisable#Uninstallallconflictingpackages.sudoaptremove-ydocker.iodocker-docdocker-composedocker-compose-v2podman-dockercontainerdrunc#SetupDocker&#......
  • vmware安装OpenEuler系统
    第一步下载OpenEuler系统镜像包官网下载地址,服务器版3.9G最小化安装镜像包https://www.openeuler.org/zh/download/?version=openEuler%2024.03%20LTS镜像下载完成开始安装第二步创建虚拟机运行OpenEuler镜像 默认 默认  磁盘  cpu 内存   ......
  • PTE vs IELTS All In One
    PTEvsIELTSAllInOne雅思vsPTE——您应该选择哪一个英语水平考试?虽然这两项测试最终都为学生提供了在英语为母语的国家学习、工作或移民的机会,但它们仍然有其独特的差异。PTE-学术考试(PTE-A)是一项完全通过计算机进行的两小时英语考试,评估考生的口语、听力、阅读和写......
  • 派胜OA ExpressOA 3.0 现已支持 Ubuntu 24.04 LTS
    ExpressOA3.0跨平台,高性能,现代化的协同办公平台系统。ExpressOA3.0现已支持Ubuntu24.04LTS-世界上最流行的Linux操作系统。访问派胜OA官网:www.paioffice.com随着.NET8的推出,Ubuntu在支持.NET社区方面迈出了重大的一步。.NET8将在Ubuntu24.04LTS及22.04......
  • OpenGauss部署案例之---OpenEuler 20.03部署OpenGauss企业版
    案例说明:在OpenEuler20.03系统,x86架构下部署OpenGauss5.0.1企业版单实例数据库。数据库版本:openGauss=#selectversion();version------------------------------------------------------------......
  • [转]相同CRC不同数据的测试.CRC16 - CRC64 test results on 18.2M dataset
    转载自: http://www.backplane.com/matt/crc64.html  CRC16-CRC64testresultson18.2Mdataset,w/programsourceProgram&TestRunbyMattDillon18.2Mmessage-iddatasetsuppliedbyJoeGrecoIwouldliketothankeveryonewhoofferedtheirhistoryf......