Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-20-2009, 01:49 PM   #1
LQ Newbie
Registered: Jun 2009
Location: Iowa City, IA
Distribution: SuSE 11, ubuntu Hardy
Posts: 28

Rep: Reputation: 15
Can't install anything from command line in SuSE... YaST problem?

Hey all-
I'm trying to install gcc and g++ so I can compile some source code for an FTP client. When I run
sudo zypper install gcc
It prompts me, I hit 'Y' and let it go. It hangs up every time though and throws this error:
Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0x00000001: No medium found (mount: No medium found on /dev/sr0)
It appears that it's looking for a CD or something, even though the package I want is obviously in the repository and just needs to be downloaded and installed. I'm at a loss here. This is a virtual machine running SuSE 11. Any help would be great. Thanks!

EDIT: So definitely a YaST problem. When I tried to install the packages using the YaST GUI, it prompted me to put the SuSE 11 install disk into the CD drive, which is bizarre, considering I installed this without a CD. Please help!

Last edited by JDska55; 07-20-2009 at 02:06 PM.
Old 07-21-2009, 07:15 AM   #2
LQ Newbie
Registered: Oct 2005
Location: malmoe, sweden
Distribution: opensuse 11.1
Posts: 4

Rep: Reputation: 0
Check your activated repos in yast or zypper. Deactivate any CD-ROM sources if any. Check out this link


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install via YAST vs. rpms via command line vikramr SUSE / openSUSE 6 10-29-2006 11:16 AM
YAST/YOU network or command line for multiple machines jantman SUSE / openSUSE 1 06-03-2006 12:14 AM
YaST Online Update command line metallica1973 SUSE / openSUSE 2 10-22-2005 08:23 AM
yast command line XaViaR SUSE / openSUSE 2 06-17-2005 01:46 PM
Yast run in command line question raynet SUSE / openSUSE 1 02-21-2005 01:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration