PDA

View Full Version : SLES 11 SP4 How to download packages to my SLES 11.4 ?



schwarts1984
20-Nov-2017, 09:11
Hi all,
I have the following VM i downloaded from suse website: SLES 11.4 with kernel 3.0.101-63-default
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 4

After download the image, i activated with registration:
suse_register -a regcode-sles=XXXXXX-a email=X@X.X -L /root/.suse_register.log

I would like to install the following packages for kernel version 3.0.101-80 (current installed kernel is 3.0.101-63):
Kernel
kernel sources
kernel devel

How do i do it ?
I am trying to search for that kernel version with zypper, when I query I get:
suse4ilan74:~ # zypper se kernel
Refreshing service 'nu_novell_com'.
Download (curl) error for 'https://nu.novell.com/repo/repoindex.xml?credentials=NCCcredentials':
Error code: Unrecognized error
Error message: Unknown SSL protocol error in connection to nu.novell.com:443

Abort, retry, ignore? [a/r/i/? shows all options] (a): a


Is this network issue or license issue ? How to test myregistration/license is valid ?
How can i search for a specific kernel version ? in centos/redhat i use: "yum search --showduplicate kernel" , what is the equivalent in suse ?

schwarts1984
20-Nov-2017, 09:39
In addition, When trying to add repo i receive:
suse4ilan74:~ # zypper addrepo --check --refresh --name "SLES11-SP4-Updates (x86_64)" https://updates.suse.com/repo/$RCE/SLES11-SP4-Updates/sle-11-x86_64 "SLES11-SP4-Updates"
Adding repository 'SLES11-SP4-Updates (x86_64)' [\]
Permission to access 'https://updates.suse.com/repo/SLES11-SP4-Updates/sle-11-x86_64/repodata/repomd.xml' denied.


I also noticed that when i login to https://scc.suse.com and see my systems, the Credentials that are set for this machine are not the same credentials as in file /etc/zypp/credentials.d/NCCcredentials
the Login/Password are different, why is this ? whats the difference ?

smflood
20-Nov-2017, 11:58
On 20/11/17 08:14, schwarts1984 wrote:

> I have the following VM i downloaded from suse website: SLES 11.4 with
> kernel 3.0.101-63-default
> SUSE Linux Enterprise Server 11 (x86_64)
> VERSION = 11
> PATCHLEVEL = 4

I'm not aware of a VM available from SUSE. Can you provide more
information and/or post a link to the SUSE download page.

> After download the image, i activated with registration:
> suse_register -a regcode-sles=XXXXXX-a email=X@X.X -L
> /root/.suse_register.log
>
> I would like to install the following packages for kernel version
> 3.0.101-80 (current installed kernel is 3.0.101-63):
> Kernel
> kernel sources
> kernel devel
>
> How do i do it ?
> I am trying to search for that kernel version with zypper, when I query
> I get:
> suse4ilan74:~ # zypper se kernel
> Refreshing service 'nu_novell_com'.
> Download (curl) error for
> 'https://nu.novell.com/repo/repoindex.xml?credentials=NCCcredentials':
> Error code: Unrecognized error
> Error message: Unknown SSL protocol error in connection to
> nu.novell.com:443
>
> Abort, retry, ignore? [a/r/i/? shows all options] (a): a
>
>
> Is this network issue or license issue ? How to test
> myregistration/license is valid ?
> How can i search for a specific kernel version ? in centos/redhat i use:
> "yum search --showduplicate kernel" , what is the equivalent in suse ?

Your zypper command above is the equivalent but I see from your own
reply there are other issues which I'll address next.

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.
------------------------------------------------------------------------

smflood
20-Nov-2017, 12:07
On 20/11/17 08:44, schwarts1984 wrote:

> In addition, When trying to add repo i receive:
> suse4ilan74:~ # zypper addrepo --check --refresh --name
> "SLES11-SP4-Updates (x86_64)"
> https://updates.suse.com/repo/$RCE/SLES11-SP4-Updates/sle-11-x86_64
> "SLES11-SP4-Updates"
> Adding repository 'SLES11-SP4-Updates (x86_64)' [\]
> Permission to access
> 'https://updates.suse.com/repo/SLES11-SP4-Updates/sle-11-x86_64/repodata/repomd.xml'
> denied.
>
>
> I also noticed that when i login to https://scc.suse.com and see my
> systems, the Credentials that are set for this machine are not the same
> credentials as in file /etc/zypp/credentials.d/NCCcredentials
> the Login/Password are different, why is this ? whats the difference ?

So around the time of SLES11 SP4 being released SUSE implemented their
own SUSE Customer Center (SCC) which is used with SUSE Linux Enterprise
12 but can also be used with SLE11. From the above it looks like your
SLES11 SP4 VM(?) is talking to the Novell (Micro Focus) Customer Center
(NCC) which is the default behaviour with SLE11. I thought SUSE had a
TID which explained how to switch a non-SMT server to SCC but I now
can't find it so will ask SUSE.

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.
------------------------------------------------------------------------

schwarts1984
20-Nov-2017, 14:18
VM i mean an ISO file that was downloaded from https://www.suse.com/products/server/download/

smflood
22-Nov-2017, 14:47
On 20/11/17 13:24, schwarts1984 wrote:

> VM i mean an ISO file that was downloaded from
> https://www.suse.com/products/server/download/

Ah okay, thanks for clarifying. So that's the media from which you can
install your own machine(s), physical or virtual.

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.
------------------------------------------------------------------------

smflood
22-Nov-2017, 14:54
On 20/11/17 08:14, schwarts1984 wrote:

> I would like to install the following packages for kernel version
> 3.0.101-80 (current installed kernel is 3.0.101-63):
> Kernel
> kernel sources
> kernel devel
>
> How do i do it ?
> I am trying to search for that kernel version with zypper, when I query
> I get:
> suse4ilan74:~ # zypper se kernel
> Refreshing service 'nu_novell_com'.
> Download (curl) error for
> 'https://nu.novell.com/repo/repoindex.xml?credentials=NCCcredentials':
> Error code: Unrecognized error
> Error message: Unknown SSL protocol error in connection to
> nu.novell.com:443
>
> Abort, retry, ignore? [a/r/i/? shows all options] (a): a
>
>
> Is this network issue or license issue ? How to test
> myregistration/license is valid ?
> How can i search for a specific kernel version ? in centos/redhat i use:
> "yum search --showduplicate kernel" , what is the equivalent in suse ?

In addition to my previous reply to this particular message, once your
server is correctly registered, you should be able to do "zypper se -s
kernel" to list all kernel-related packages.

You can then install a particular version using "zypper in
<package>-<version>" - if <version> is lower than the installed one
(i.e. you have already fully patched your server) use --oldpackage so
"zypper in --oldpackage <package>-<version>".

However I should warn against running older versions of some packages,
particularly kernel-related ones, since the reason newer versions exist
is likely to fix security vulnerabilities.

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.
------------------------------------------------------------------------