安装`lrzsz`包及其报错解决办法

rz命令的安装包名是lrzsz

安装lrzsz包时报错Failed to mount cd:///?devices=/dev/sr1,/dev/sr0 on /var/adm/mount/AP_0x9XSGs6: Mounting media failed (mount: no medium found on /dev/sr0)

环境

  • Windows 7
  • VM player
  • SUSE Enterprise 11

报错详细

安装lrzsz包时,报错 如下:

linux-velh:~ # zypper install -y lrzsz
Loading repository data...
Reading installed packages...
'lrzsz' not found in package names. Trying capabilities.
Resolving package dependencies...
The following NEW package is going to be installed:
rzsz
1 new package to install.
Overall download size: 96.0 KiB. After the operation, additional 244.0 KiB will be
used.
Continue? [y/n/?] (y): y
Retrieving package rzsz-0.12.20-934.22.x86_64 (1/1), 96.0 KiB (244.0 KiB unpacked)
Failed to mount cd:///?devices=/dev/sr1,/dev/sr0 on /var/adm/mount/AP_0x9XSGs6: Mounting media failed (mount: no medium found on /dev/sr0)
Please insert medium [SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138] #1 and type 'y' to continue or 'n' to cancel the operation. [yes/no] (no): no
Failed to provide Package rzsz-0.12.20-934.22. Do you want to retry retrieval?
[SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138|cd:///?devices=/dev/sr1,/dev/sr0] Can't provide file './suse/x86_64/rzsz-0.12.20-934.22.x86_64.rpm' from repository 'SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138'
History:
- Failed to mount cd:///?devices=/dev/sr1,/dev/sr0 on /var/adm/mount/AP_0x9XSGs6: Mounting media failed (mount: no medium found on /dev/sr0)
- Can't provide ./suse/x86_64/rzsz-0.12.20-934.22.x86_64.rpm
Abort, retry, ignore? [a/r/i] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user
Please see the above error message for a hint

原因

这是由于没有关在SUSE的镜像造成的,

  • 虚拟机设置->硬件->CD?DVD(SATA)->勾选已连接->使用ISO镜像文件->选择安装的镜像

然后在虚拟机中重新安装lrzsz

posted @   咕咚!  阅读(3907)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
点击右上角即可分享
微信分享提示