openeuler rpm 安装openeuler-lsb

举报
千江有水千江月 发表于 2021/10/09 16:48:13 2021/10/09
【摘要】 ECS信息规格:2vCPUs | 4GiB | kc1.large.2镜像:openEuler 20.03 64bit with ARM | 公共镜像  openeuler rpm 安装openeuler-lsb -bash: lsb_release: command not found最近在学习openeuler,当使用lsb_release时,提示未找到# lsb_release -a...

ECS信息

  • 规格:2vCPUs | 4GiB | kc1.large.2
  • 镜像:openEuler 20.03 64bit with ARM | 公共镜像

openeuler rpm 安装openeuler-lsb

-bash: lsb_release: command not found

  • 最近在学习openeuler,当使用lsb_release时,提示未找到
# lsb_release -a
-bash: lsb_release: command not found

Error: Unable to find a match: openeuler-lsb

  • 查找解决方法,在gitee上见到了openeuler-lsb,尝试安装出现错误。
# yum install openeuler-lsb -y
Last metadata expiration check: 0:27:21 ago on Thu 30 Sep 2021 04:31:43 PM CST.
No match for argument: openeuler-lsb
Error: Unable to find a match: openeuler-lsb

论坛求助,问题得到顺利解决

# wget https://repo.oepkgs.net/openEuler/rpm/openEuler-20.03-LTS-SP1/budding-openeuler/update/aarch64/Packages/openeuler-lsb-5.0-2.oe1.aarch64.rpm
--2021-10-09 16:38:05--  https://repo.oepkgs.net/openEuler/rpm/openEuler-20.03-LTS-SP1/budding-openeuler/update/aarch64/Packages/openeuler-lsb-5.0-2.oe1.aarch64.rpm
Resolving repo.oepkgs.net (repo.oepkgs.net)... 124.70.29.98
Connecting to repo.oepkgs.net (repo.oepkgs.net)|124.70.29.98|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13600 (13K) [application/x-redhat-package-manager]
Saving to: ‘openeuler-lsb-5.0-2.oe1.aarch64.rpm’

openeuler-lsb-5.0-2.oe1.aarch64.r 100%[===========================================================>]  13.28K  --.-KB/s    in 0s      

2021-10-09 16:38:06 (325 MB/s) - ‘openeuler-lsb-5.0-2.oe1.aarch64.rpm’ saved [13600/13600]

# ll openeuler-lsb-5.0-2.oe1.aarch64.rpm 
-rw------- 1 root root 14K Aug 18 22:00 openeuler-lsb-5.0-2.oe1.aarch64.rpm

# rpm -ivh openeuler-lsb-5.0-2.oe1.aarch64.rpm 
warning: openeuler-lsb-5.0-2.oe1.aarch64.rpm: Header V3 RSA/SHA1 Signature, key ID 0ff13748: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:openeuler-lsb-5.0-2.oe1          ################################# [100%]

# lsb_release -a
LSB Version:	n/a
Distributor ID:	openEuler
Description:	openEuler release 20.03 (LTS)
Release:	20.03
Codename:	LTS

学习资料

欢迎各位同学一起来交流学习心得^_^

【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。