LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-31-2013, 08:51 AM   #1
rohaanembedded
Member
 
Registered: May 2013
Location: India
Distribution: Ubuntu 11.10
Posts: 178

Rep: Reputation: Disabled
problem in installing the g++


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
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
 
Old 07-31-2013, 09:23 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by rohaanembedded View Post
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.
 
Old 07-31-2013, 10:45 AM   #3
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
at least you have determined the error is not due to randomness.

Q/ where is your OpenSuse 12.3 install disk?
A/ Don't know!
http://opensuse-guide.org/repositories.php
 
1 members found this post helpful.
Old 07-31-2013, 10:55 AM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
actually, second look

It looks like your repos are messed up


http://download.opensuse.org/distribution/12.3/repo/oss
should be?
http://download.opensuse.org/distrib...repo/oss/suse/
( that contains the 'missing' repodata/repomd.xml )

try editing each repo ( as per guide ) adding /suse to the end of each.
 
1 members found this post helpful.
Old 08-01-2013, 02:54 AM   #5
rohaanembedded
Member
 
Registered: May 2013
Location: India
Distribution: Ubuntu 11.10
Posts: 178

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by Firerat View Post
actually, second look

It looks like your repos are messed up


http://download.opensuse.org/distribution/12.3/repo/oss
should be?
http://download.opensuse.org/distrib...repo/oss/suse/
( that contains the 'missing' repodata/repomd.xml )

try editing each repo ( as per guide ) adding /suse to the end of each.
Dear sir,
Thanks for all ur ryplys

i will try the way you have suggested and the CD thing also

Regards
rihaan
 
Old 08-01-2013, 03:55 AM   #6
rohaanembedded
Member
 
Registered: May 2013
Location: India
Distribution: Ubuntu 11.10
Posts: 178

Original Poster
Rep: Reputation: Disabled
hi everybody,

i put my Opensuse cd and it got installed

Thanks
rohaan
 
Old 08-01-2013, 04:03 AM   #7
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by rohaanembedded View Post
hi everybody,

i put my Opensuse cd and it got installed

Thanks
rohaan


Would still be a good idea to sort out the issue with the online repos
Without those you will not get security updates
 
Old 08-01-2013, 05:24 AM   #8
rohaanembedded
Member
 
Registered: May 2013
Location: India
Distribution: Ubuntu 11.10
Posts: 178

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by Firerat View Post


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.

regards
rohan
 
Old 08-01-2013, 08:07 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by rohaanembedded
i put my Opensuse cd and it got installed
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 View Post
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.
 
1 members found this post helpful.
Old 08-01-2013, 08:43 AM   #10
rohaanembedded
Member
 
Registered: May 2013
Location: India
Distribution: Ubuntu 11.10
Posts: 178

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by TB0ne View Post
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
 
  


Reply



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
installing problem xp after installing linux paruhang Linux - Newbie 2 10-20-2011 02:38 PM
Installing Slackware on virtual box Problem, ext4 problem alfa_80 Linux - Newbie 14 01-16-2011 12:00 PM
Installing Simplescalar: Problem installing simpleutils yy_current_buffer’ undeclared niteshg Linux - Software 1 07-03-2009 04:09 PM
Problem Installing Limewire - Received Errors While Installing taurusx5 Linux - Software 2 08-05-2008 02:39 AM
Installing Red5 - Problem @ Installing fedora-rpmdevtools Aziz Linux - Software 2 11-04-2006 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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

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