虚拟机中openSUSE安装软件问题的解决

虚拟机中安装完openSUSE 12.1后想安装个软件试试,于是我在terminal中敲入zypper install emacs

结果出现如下错误:

Failed to mount cd:///?devices=/dev/disk/by-id/ata-VMware_Virtual_IDE_CDROM_Drive_10000000000000000001 on /var/adm/mount/AP_0x00000001: Mounting media failed (mount: no medium found on /dev/sr0)

Please insert medium [openSUSE-12.1-12.1-1.4] #1 and type 'y' to continue or 'n' to cancel the operation. [yes/no] (no): 

看看信息的意思好像是要我们插入DVD, 于是进vm的setting,在CD/DVD(IDE)标签选项中,指定openSUSE的iso镜像,然后将connected选上。
问题就解决了。

这个时候zypper install emacs就很顺利的成功了。

你可能感兴趣的:(虚拟机,opensuse,zypper)