Installation ‘lrzsz’ package and its error reporting solution

rzThe command to install the package name is lrzsz.

Error when installing lrzsz packageFailed to mount cd:///?devices=/dev/sr1,/dev/sr0 on /var/adm/mount/AP_0x9XSGs6: Mounting media failed (mount: no medium found on /dev/sr0)

Environment

Windows 7

VM player

SUSE Enterprise 11

Error details

When installing the lrzsz package, the following error was reported:

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

 

Cause

This is due to the fact that the image is not closed in SUSE

Virtual machine settings – > Hardware – > CD?DVD(SATA)-> Check connected – > Use ISO image file – > Select the image to install

Then reinstall the lrzsz package in the virtual machine

Similar Posts: