Hello guys,
When I type** zypper install smplayer **or other apps, I was always asked to Insert medium ] #1, and if I type “no”, it prompts “Failed to mount cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_CDDVDW_TS-L633A,/dev/sr0 on /var/adm/mount/AP_0xaVZxEn: Mounting media failed (mount: no medium found on /dev/sr0)”
What’s the problem?
On 05/02/2013 10:06 AM, wuqisheng1991 wrote:
> What’s the problem?
the problem is that YaST/zypper is looking for the install medium you
used to install from…you may delete or disable it on the list of
repos for your system, thus:
- open YaST (give root pass when requested)
- click (on the right) YaST Software Repositories
- look down the list (in the right side of the window) for the repo
matching “cd:///?devices=/dev/disk/by-id/ata-TSST[blah,blah]” and - single left click it (to highlight) then
- single left click to remove the X next to “Enable” (lower left) and
- single left click to remove the X next to “Automatically refresh”
the above will retain the disabled repo, or if you wish you can
instead just click the “Delete” button after step 4. above
then,
7. single left click the “OK” in the lower right
return to zypper and it should no longer seek the long ago removed
actual install medium.
–
dd
Hi, you did give a complete solution and it works. Thank you very much! I am really fascinated with openSUSE and this forum is a really good place to find solutions.Thanks again.
On 05/02/2013 03:06 PM, wuqisheng1991 wrote:
>
> Thanks
welcome!! and, welcome to openSUSE too…Have a lot of fun!!
–
dd
All without screen captures, some people can still read and follow instructions. Good job DenverD
Welcome to openSUSE wugisheng, I was in the same place as you 7 or so months ago and still like the OS and the forums are great.
Or in short:
zypper rr <alias|name|#|URI>
for removing repo. Or
zypper mr -d <alias|name|#|URI>
for disabling repo.
Also without screenshots. ;)
Don’t forget to contribute back
dd wrote:
> On 05/02/2013 10:06 AM, wuqisheng1991 wrote:
>> What’s the problem?
>
> the problem is that YaST/zypper is looking for the install medium you
> used to install from…you may delete or disable it on the list of
> repos for your system, thus:
>
> 1. open YaST (give root pass when requested)
> 2. click (on the right) YaST Software Repositories
> 3. look down the list (in the right side of the window) for the repo
> matching “cd:///?devices=/dev/disk/by-id/ata-TSST[blah,blah]” and
> 4. single left click it (to highlight) then
> 5. single left click to remove the X next to “Enable” (lower left) and
> 6. single left click to remove the X next to “Automatically refresh”
>
> the above will retain the disabled repo, or if you wish you can
> instead just click the “Delete” button after step 4. above
>
> then,
> 7. single left click the “OK” in the lower right
>
> return to zypper and it should no longer seek the long ago removed
> actual install medium.
>
I’ve had an occasional issue where I get the same error after removing the
install disk from the list. This will appear when trying to force an update
to an app originally installed from the disk medium. Resolution is also
simple: go to YAST and install the update from there. You may need to tell
YAST to allow a vendor change, but the end result is that the original repo
is updated and the installation proceeds as desired.
Never have figured how I get into this situation and it only rarely pops up
but changing the vendor through YAST is the easiest way around it. Zypper
probably also has the same mechanism available but I haven’t needed to find
that - yet.
–
Will Honea