SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have tried using the g++, it was not in the opensuse so i tried this
Code:
:~> cnf g++
The program 'g++' can be found in the following package:
* gcc-c++ [ path: /usr/bin/g++, repository: zypp (openSUSE-12.3-1.7) ]
Try installing with:
sudo zypper install gcc-c++
then i tried the
Code:
sudo zypper install gcc-c++
but its giving me error like
Code:
ivb@linux-v1x2:~> sudo zypper install gcc-c++
Failed to mount cd:///?devices=/dev/disk/by-id/ata-SONY_DVD_RW_DRU-880S,/dev/sr0 on /var/adm/mount/AP_0x2L9584: Mounting media failed (mount: no medium found on /dev/sr0)
Please insert medium [] #1 and type 'y' to continue or 'n' to cancel the operation. [yes/no] (no): n
Error building the cache:
[|] Valid metadata not found at specified URL
Warning: Disabling repository 'openSUSE-12.3-1.7' because of the above error.
Retrieving repository 'openSUSE-12.3-Non-Oss' metadata --------------------------------------------------------------------------------------------[\]
File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/distribution/12.3/repo/non-oss/'
Abort, retry, ignore? [a/r/i/?] (a): i
Retrieving repository 'openSUSE-12.3-Non-Oss' metadata ........................................................................................[error]
Repository 'openSUSE-12.3-Non-Oss' is invalid.
[|] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Disabling repository 'openSUSE-12.3-Non-Oss'.
Retrieving repository 'openSUSE-12.3-Oss' metadata ------------------------------------------------------------------------------------------------[|]
File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/distribution/12.3/repo/oss/'
Abort, retry, ignore? [a/r/i/?] (a): i
Retrieving repository 'openSUSE-12.3-Oss' metadata ............................................................................................[error]
Repository 'openSUSE-12.3-Oss' is invalid.
[|] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Disabling repository 'openSUSE-12.3-Oss'.
Loading repository data...
Reading installed packages...
'gcc-c++' not found in package names. Trying capabilities.
No provider of 'gcc-c++' found.
Resolving package dependencies...
Nothing to do.
i am using OpenSuse 12.3
please help me in this
Regards
rohaan
Dear sir,
i have tried using the g++, it was not in the opensuse so i tried this
Code:
:~> cnf g++
The program 'g++' can be found in the following package:
* gcc-c++ [ path: /usr/bin/g++, repository: zypp (openSUSE-12.3-1.7) ]
Try installing with:
sudo zypper install gcc-c++
then i tried the
Code:
sudo zypper install gcc-c++
but its giving me error like
Code:
ivb@linux-v1x2:~> sudo zypper install gcc-c++
Failed to mount cd:///?devices=/dev/disk/by-id/ata-SONY_DVD_RW_DRU-880S,/dev/sr0 on /var/adm/mount/AP_0x2L9584: Mounting media failed (mount: no medium found on /dev/sr0)
Please insert medium [] #1 and type 'y' to continue or 'n' to cancel the operation. [yes/no] (no): n
i am using OpenSuse 12.3 please help me in this
So the system told you it couldn't find the CD/DVD mounted...so you didn't mount it, continued anyway, and ignored the rest of the errors, and are surprised it didn't work??
Mount the CD/DVD as it told you to, and try again.
Would still be a good idea to sort out the issue with the online repos
Without those you will not get security updates
THanks,
i tired your links but its not really helping me
will reinstallation of OpenSuse will help me???? i have just installed the OpenSuse day before so No issues in reinstalling it.
Yes...which is why the system TOLD YOU to put the CD in. If you pay attention to the error messages, you can usually solve your own problems.
Quote:
Originally Posted by rohaanembedded
THanks,
i tired your links but its not really helping me
will reinstallation of OpenSuse will help me???? i have just installed the OpenSuse day before so No issues in reinstalling it.
No, and you shouldn't have to. Run YAST, go into "Software Repositories" and make the corrections there. Disable repos if you need to, and add others manually.
Yes...which is why the system TOLD YOU to put the CD in. If you pay attention to the error messages, you can usually solve your own problems.
No, and you shouldn't have to. Run YAST, go into "Software Repositories" and make the corrections there. Disable repos if you need to, and add others manually.
Dear sir,
i will try this thing
and i will try to be more and more carefull reader
thanks again sir,
Regards
Rohan
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.