How to add SDK ISO file repository successfully?

I add the SDK ISO file repository of SLES, but execute “zypper in” command, it outputs:

zypper in gdb

File ‘/media.1/media’ not found on medium ‘http://xxxx.net/mrepo/SLE-12-SP1-Server-RC2-x86_64/disc2/

After checking the repository, there is indeed media.2 folder, no media.1 folder.

So how can I add SDK ISO file repository successfully? Thanks very much in advance!

[QUOTE=nanxiao;30140]I add the SDK ISO file repository of SLES, but execute “zypper in” command, it outputs:

zypper in gdb

File ‘/media.1/media’ not found on medium ‘http://xxxx.net/mrepo/SLE-12-SP1-Server-RC2-x86_64/disc2/

After checking the repository, there is indeed media.2 folder, no media.1 folder.

So how can I add SDK ISO file repository successfully? Thanks very much in advance![/QUOTE]

Did you do it like this: https://www.suse.com/documentation/sles-12/book_sle_deployment/data/sec_add-ons_install.html ?

Also it seems like you are using a non released product SLE12-SP1…

Thomas

On 26/10/2015 10:54, nanxiao wrote:
[color=blue]

I add the SDK ISO file repository of SLES, but execute “zypper in”
command, it outputs:

zypper in gdb

File ‘/media.1/media’ not found on medium
http://xxxx.net/mrepo/SLE-12-SP1-Server-RC2-x86_64/disc2/

After checking the repository, there is indeed media.2 folder, no
media.1 folder.

So how can I add SDK ISO file repository successfully? Thanks very much
in advance![/color]

SLES12 SP1 is currently in closed (authorised) beta so you should post
to the dedicated mailing list that was set up for beta testers.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Sorry, I have pasted wrong log. I have tried SLES 12, and it outputs the same error:

zypper in gdb

File ‘/media.1/media’ not found on medium ‘http://xxxx.net/mrepo/SLE-12-SDK-x86_64/disc2/

“Installing Add-ons” has the same complaints: “File ‘/media.1/media’ not found on medium …”.

Thanks! & Best Regards
Nan Xiao

On 27/10/2015 01:04, nanxiao wrote:
[color=blue]

Sorry, I have pasted wrong log. I have tried SLES 12, and it outputs the
same error:

zypper in gdb

File ‘/media.1/media’ not found on medium
http://xxxx.net/mrepo/SLE-12-SDK-x86_64/disc2/’[/color]

On the basis you’re using SLES12, note that DVD 2 isn’t required for
most installations so you should need require DVD 1 which does have the
/media.1/media file.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Hi Simon,

If I want to install src.rpm in DVD2, how can I do it?

Thanks & Best Regards
Nan Xiao

On 28/10/2015 08:44, nanxiao wrote:
[color=blue]

If I want to install src.rpm in DVD2, how can I do it?[/color]

The SDK is available online via a repo so you should add it via YaST. Go
to Software - Software Repositories, click on Add and select “Extensions
and Modules from Registration Server” then select the SDK. This also
works, if you have your local SMT Server.

You can then install the gdb source package from the SLE-SDK12-Updates
repository.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

[QUOTE=smflood;30176]On 28/10/2015 08:44, nanxiao wrote:
[color=blue]

If I want to install src.rpm in DVD2, how can I do it?[/color]

The SDK is available online via a repo so you should add it via YaST. Go
to Software - Software Repositories, click on Add and select “Extensions
and Modules from Registration Server” then select the SDK. This also
works, if you have your local SMT Server.

You can then install the gdb source package from the SLE-SDK12-Updates
repository.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------[/QUOTE]

Hi Simon,

I have tried it, but the same error occurs.

Best Regards
Nan Xiao

So with the online SDK repo added (as opposed to DVD ISOs) you should be able to install the gdb source RPM via zypper in -t srcpackage gdb

HTH.

[QUOTE=smflood;30299]So with the online SDK repo added (as opposed to DVD ISOs) you should be able to install the gdb source RPM via zypper in -t srcpackage gdb

HTH.[/QUOTE]

Hi Simon,

Thanks very much for you kind help and time!

Best Regards
Nan Xiao