# repositories and/or updates mangled!

**URL:** <https://forums.suse.com/t/repositories-and-or-updates-mangled/25071>\
**Category:** SLES Updates\
**Created:** [February 3, 2014, 3:25pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071 "2014-02-03T15:25:08Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlwignall](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@carlwignall](https://forums.suse.com/u/carlwignall)\
**Post date:** [February 3, 2014, 3:25pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/1 "2014-02-03T15:25:08Z")

</div>

Hi,  
Recently installed SLES 11.3 server, was working well, then suffered drive failure in array.  
Backed up, drive(s) replaced, system fully re-installed and then restored from backup.

Everything works, except updates (as far as i can tell so far anyway)

The first error i was getting was “unsupported protocol https”. when running the update-on-demand So having removed all the repositories, and then re-added the DVD I now get the following…  
If i run the Yast-Online update. I get “No update repository configured yet, run configuration workflow now?”  
If i select Yes and end up in “Novell customer centre configuration” hitting NEXT, gives “ERROR Unsupported protocol (1)”  
checking my registration status that comes up as “config successful” and has the right dates in it etc??

If i go to updates via yast - online update configuration - it says “Current update repository (none)” if i choose “config repositories” the dvd is in the list and it’s enabled? If i choose the “register for support & get the repository” I just get the same as i did above - same error, same “your registration is ok”?

I’m just going round & round in circles on this.  
please someone come up with something before i have to wipe the box & start over. maybe if i could ‘un-register’ the box and then re-register it? if that’s possible?

Cheers,

Carl.

ps - I’m relatively new to SLES so go easy pls 🙂

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 3, 2014, 3:28pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/2 "2014-02-03T15:28:55Z")

</div>

Hi  
Yes there have been some issues with the online repositories, you can delete and re-register the system, it should then add the repositories back.

---

<div class="post-metadata">

**Author:** ![carlwignall](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@carlwignall](https://forums.suse.com/u/carlwignall)\
**Post date:** [February 10, 2014, 4:16pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/3 "2014-02-10T16:16:47Z")

</div>

hi

i tried the re-registering bit, but not the deleting.  
presumably your referring to something clever like deleting some registration files from location-currently-unknown, as opposed to wiping the box & starting over…  
i did try googling that but couldn’t find an exact match.  
pointers appreciated!

cheers

c

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 10, 2014, 4:43pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/4 "2014-02-10T16:43:38Z")

</div>

> [@](#):
>
> On Mon 10 Feb 2014 02:24:01 PM CST, carlwignall wrote:
> 
> hi
> 
> i tried the re-registering bit, but not the deleting.  
> presumably your referring to something clever like deleting some  
> registration files from location-currently-unknown, as opposed to wiping  
> the box & starting over…  
> i did try googling that but couldn’t find an exact match.  
> pointers appreciated!
> 
> cheers
> 
> c

Hi  
No, I meant delete on the Novell Customer Center, log in there and  
delete the system. Then re-register.

You can also try the -r option with the command line  
version called suse\_register to restore the repositories.

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![carlwignall](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@carlwignall](https://forums.suse.com/u/carlwignall)\
**Post date:** [February 17, 2014, 1:02pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/5 "2014-02-17T13:02:49Z")

</div>

[QUOTE=malcolmlewis;19200]Hi  
No, I meant delete on the Novell Customer Center, log in there and  
delete the system. Then re-register.

You can also try the -r option with the command line  
version called suse\_register to restore the repositories.

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop  
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]

Aha, I see. or at least i thought i did!

I haven’t registered the system at the NCC. all my interactions so far have been through [buy.suse.com](http://buy.suse.com)  
Now having logged in to NCC appears that I don’t have any products!  
so I just tried to add the one i’ve got and i get “ **subscriptions.addSubscriptionError** ” ???  
This just gets better & better!

/Edit  
Additionaly just tried suse\_register -r and also --erase-local-regdata and both return “ERROR: Unsupported protocol: (1)”  
If i just knew what the error msg meant it would be a start!  
/

Cheers,  
Carl.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 17, 2014, 4:20pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/6 "2014-02-17T16:20:34Z")

</div>

> [@](#):
>
> On Mon 17 Feb 2014 11:04:01 AM CST, carlwignall wrote:
> 
> malcolmlewis;19200 Wrote:[color=blue]
> 
> > Hi  
> > No, I meant delete on the Novell Customer Center, log in there and  
> > delete the system. Then re-register.
> > 
> > You can also try the -r option with the command line  
> > version called suse\_register to restore the repositories.
> > 
> > –  
> > Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
> > openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop  
> > If you find this post helpful and are logged into the web interface,  
> > please show your appreciation and click on the star below… Thanks![/color]
> 
> Aha, I see. or at least i thought i did!
> 
> I haven’t registered the system at the NCC. all my interactions so far  
> have been through [buy.suse.com](http://buy.suse.com)  
> Now having logged in to NCC appears that I don’t have any products!  
> so I just tried to add the one i’ve got and i get  
> “ **subscriptions.addSubscriptionError** ” ???  
> This just gets better & better!
> 
> Cheers,  
> Carl.

Hi  
If you register the system via YaST and add your subscription number  
(which you would have got when it was purchased), then it should add  
fine?

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![carlwignall](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@carlwignall](https://forums.suse.com/u/carlwignall)\
**Post date:** [February 24, 2014, 1:05pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/7 "2014-02-24T13:05:30Z")

</div>

Hi Malcolm,

Yes, I have registered it via yast. then as i said at the beginning of the thread, i had restore the whole machine from a backup, that’s when i noticed the update/repository/registration issues  
Now when i try to update i get a message “no valid repositorys”  
which sends you to the registration thing.  
pressing the button “registration status” says “registration successful” and the details button says it was registered 2-12-13 and subscription active (full version)  
Attempting to register it produces the error(s) listed previously  
Since my last post I have now got the system successfully registered at NCC. But the local problem remains.

I believe that the box is in a ‘half-registered’ state somehow, and it’s probably best to un-register it (forcefully if necessary) and then try to register it again then. unfortunately, i know not how to go in & rip out it’s registration details without, as i said, just wiping the box and starting over. But as everything else appears fine, and it’s in production now, i’m reluctant to take that course unless there are no others!

Cheers,  
Carl.

---

<div class="post-metadata">

**Author:** ![carlwignall](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@carlwignall](https://forums.suse.com/u/carlwignall)\
**Post date:** [February 24, 2014, 1:57pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/8 "2014-02-24T13:57:11Z")

</div>

Additional,  
I’ve been here - [http://www.novell.com/support/kb/doc.php?id=3303599](http://www.novell.com/support/kb/doc.php?id=3303599) and done that  
it works up to step 4,  
step 5 gives the same error as before “ERROR: Unsupported protocol: (1)”

/C

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 24, 2014, 2:19pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/9 "2014-02-24T14:19:43Z")

</div>

> [@](#):
>
> On Mon 24 Feb 2014 12:04:01 PM CST, carlwignall wrote:
> 
> Additional,  
> I’ve been here - [http://www.novell.com/support/kb/doc.php?id=3303599](http://www.novell.com/support/kb/doc.php?id=3303599) and  
> done that  
> it works up to step 4,  
> step 5 gives the same error as before “ERROR: Unsupported protocol: (1)”
> 
> /C

Hi  
So if you look at the log file, does it provide extra info?

```auto
less /root/.suse_register.log
```

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![carlwignall](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@carlwignall](https://forums.suse.com/u/carlwignall)\
**Post date:** [February 24, 2014, 2:30pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/10 "2014-02-24T14:30:51Z")

</div>

Yup, not sure it’s going to be much help though…

/----- Mon Feb 24 11:53:09 2014 ---------------------------------------  
2014-02-24 11:53:10 SUSE::SRPrivate - [info] SEND DATA to URI: [https://secure-www.novell.com/center/regsvc/?command=listproducts&lang=$](https://secure-www.novell.com/center/regsvc/?command=listproducts&lang=%24)  
2014-02-24 11:53:10 SUSE::SRPrivate - [error] ERROR: Unsupported protocol: (1)  
2014-02-24 11:53:10 SUSE::SRPrivate - [error] (2)  
/

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 24, 2014, 3:31pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/11 "2014-02-24T15:31:27Z")

</div>

> [@](#):
>
> On Mon 24 Feb 2014 12:34:02 PM CST, carlwignall wrote:
> 
> Yup, not sure it’s going to be much help though…
> 
> /----- Mon Feb 24 11:53:09 2014 ---------------------------------------  
> 2014-02-24 11:53:10 SUSE::SRPrivate - [info] SEND DATA to URI:  
> [https://secure-www.novell.com/center/regsvc/?command=listproducts&lang=$](https://secure-www.novell.com/center/regsvc/?command=listproducts&lang=$)  
> 2014-02-24 11:53:10 SUSE::SRPrivate - [error] ERROR: Unsupported  
> protocol: (1)  
> 2014-02-24 11:53:10 SUSE::SRPrivate - [error] (2)  
> /

Hi  
I’ve asked my SUSE contacts if there is something going on, but you may  
need to raise an SR, will post back with more details.

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![carlwignall](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@carlwignall](https://forums.suse.com/u/carlwignall)\
**Post date:** [February 24, 2014, 4:19pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/12 "2014-02-24T16:19:34Z")

</div>

Not sure if this will help, but i did a ‘supportconfig’ and then looked in the file ‘updates.txt’, here is what i think is the ‘long version’ of the previous log entry you asked for…

`Feb 24 11:47:44 Bender suse_register[16442]: Installed Products Dump: $VAR1 = [[ 'SUSE_SLES', '11.3', '', 'x86_64'] ];
Feb 24 11:47:46 Bender suse_register[16442]: Commandline params: no-optional:0 forceregistration:0 no-hw-data:0 batch:0 
Feb 24 11:47:46 Bender suse_register[16442]: Argument Dump: $VAR1 = { 'timezone' => { 'kind' => 'mandatory', 'value' => 'Europe/London', 'flag' => 'i', 'description' => 'Timezone' }, 'ostarget' => { 'kind' => 'mandatory', 'value' => 'sle-11-x86_64', 'flag' => 'i', 'description' => 'Target operating system identifier' }, 'processor' => { 'kind' => 'mandatory', 'value' => 'x86_64', 'flag' => 'i', 'description' => 'Processor type' }, 'platform' => { 'kind' => 'mandatory', 'value' => 'x86_64', 'flag' => 'i', 'description' => 'Hardware platform type' } };
Feb 24 11:47:46 Bender suse_register[16442]: Products Dump: $VAR1 = [];
Feb 24 11:47:46 Bender suse_register[16442]: ERROR: Unsupported protocol: (1) (2)`

---

<div class="post-metadata">

**Author:** ![carlwignall](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@carlwignall](https://forums.suse.com/u/carlwignall)\
**Post date:** [February 24, 2014, 5:16pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/13 "2014-02-24T17:16:49Z")

</div>

[QUOTE=malcolmlewis;19512]Hi  
I’ve asked my SUSE contacts if there is something going on, but you may  
need to raise an SR, will post back with more details.  
![/QUOTE]

OK Cheers,  
Carl.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 24, 2014, 5:26pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/14 "2014-02-24T17:26:30Z")

</div>

> [@](#):
>
> On Mon 24 Feb 2014 02:24:01 PM CST, carlwignall wrote:
> 
> Not sure if this will help, but i did a ‘supportconfig’ and then looked  
> in the file ‘updates.txt’, here is what i think is the ‘long version’ of  
> the previous log entry you asked for…
> 
> ## Code:
> 
> ## Feb 24 11:47:44 Bender suse\_register[16442]: Installed Products Dump: $VAR1 = [[‘SUSE\_SLES’, ‘11.3’, ‘’, ‘x86\_64’] ]; Feb 24 11:47:46 Bender suse\_register[16442]: Commandline params: no-optional:0 forceregistration:0 no-hw-data:0 batch:0 Feb 24 11:47:46 Bender suse\_register[16442]: Argument Dump: $VAR1 = { ‘timezone’ =\> { ‘kind’ =\> ‘mandatory’, ‘value’ =\> ‘Europe/London’, ‘flag’ =\> ‘i’, ‘description’ =\> ‘Timezone’ }, ‘ostarget’ =\> { ‘kind’ =\> ‘mandatory’, ‘value’ =\> ‘sle-11-x86\_64’, ‘flag’ =\> ‘i’, ‘description’ =\> ‘Target operating system identifier’ }, ‘processor’ =\> { ‘kind’ =\> ‘mandatory’, ‘value’ =\> ‘x86\_64’, ‘flag’ =\> ‘i’, ‘description’ =\> ‘Processor type’ }, ‘platform’ =\> { ‘kind’ =\> ‘mandatory’, ‘value’ =\> ‘x86\_64’, ‘flag’ =\> ‘i’, ‘description’ =\> ‘Hardware platform type’ } }; Feb 24 11:47:46 Bender suse\_register[16442]: Products Dump: $VAR1 = ; Feb 24 11:47:46 Bender suse\_register[16442]: ERROR: Unsupported protocol: (1) (2)

Hi  
So the suggestion back are;

1 - Refreshing existing registration:

```auto
suse_register -L /root/.suse_register.log
```

2 - Re-enable repositories for an existing registration :

```auto
suse_register -r
```

3 - Alternatively, he could also completely clear out the registration  
as per TID 3303599 and manually re-register perhaps using a debug  
option as this:

```auto
suse_register -d 3 -a email=<email_adress> -a regcode-sles=<sles_reg_code> >/tmp/suse-register.txt
```

If things go wrong again, he can log an SR and provide the /tmp/suse-register.txt output gathered above.

Also, just to re-confirm, there is no proxy involved?

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![carlwignall](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@carlwignall](https://forums.suse.com/u/carlwignall)\
**Post date:** [March 3, 2014, 3:09pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/15 "2014-03-03T15:09:15Z")

</div>

OK, now i think were getting somewhere. I had done the above before, but didn’t know how to get the debug txt file out of it.

It would appear my issues are with something called cURL…

`Protocol https not supported or disabled in libcurl
Closing connection -1
`

And this is the point i think i have to admit to probably being the cause!  
I was asked to install something called “Madeline 2.0 PDE” [http://eyegene.ophthy.med.umich.edu/madeline/install.php](http://eyegene.ophthy.med.umich.edu/madeline/install.php)  
Which i now see messes with OpenSSL & libCurl.  
I was just following the instructions in that link, didn’t think it would affect things they way it (probably) has.

Thanks for your help Malcolm, without knowing where to look i would still be scratching my head i think, but it looks like i need to change the title of this thread to “I messed up my SSL somehow - help!”

Cheers  
Carl.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [March 3, 2014, 3:48pm UTC](https://forums.suse.com/t/repositories-and-or-updates-mangled/25071/16 "2014-03-03T15:48:05Z")

</div>

> [@](#):
>
> On Mon 03 Mar 2014 01:14:01 PM CST, carlwignall wrote:
> 
> OK, now i think were getting somewhere. I had done the above before,  
> but didn’t know how to get the debug txt file out of it.
> 
> It would appear my issues are with something called cURL…
> 
> ## Code:
> 
> Protocol https not supported or disabled in libcurl  
> Closing connection -1
> 
> * * *
> 
> And this is the point i think i have to admit to probably being the  
> cause!  
> I was asked to install something called “Madeline 2.0 PDE”  
> [http://eyegene.ophthy.med.umich.edu/madeline/install.php](http://eyegene.ophthy.med.umich.edu/madeline/install.php)  
> Which i now see messes with OpenSSL & libCurl.  
> I was just following the instructions in that link, didn’t think it  
> would affect things they way it (probably) has.
> 
> Thanks for your help Malcolm, without knowing where to look i would  
> still be scratching my head i think, but it looks like i need to change  
> the title of this thread to “I messed up my SSL somehow - help!”
> 
> Cheers  
> Carl.

Hi  
Glad you have identified the issue, just start a new thread with the  
details and title 😉

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE 13.1 (Bottle) (x86\_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!
