# Repositories missing after external proxy was activated.

**URL:** <https://forums.suse.com/t/repositories-missing-after-external-proxy-was-activated/22794>\
**Category:** SLES Updates\
**Created:** [June 28, 2012, 4:35pm UTC](https://forums.suse.com/t/repositories-missing-after-external-proxy-was-activated/22794 "2012-06-28T16:35:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sysworx](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@sysworx](https://forums.suse.com/u/sysworx)\
**Post date:** [June 28, 2012, 4:35pm UTC](https://forums.suse.com/t/repositories-missing-after-external-proxy-was-activated/22794/1 "2012-06-28T16:35:37Z")

</div>

Hi everybody,

one of our customers recently launched a proxy in his network and forgot to activate the proxy settings on his SLES10 Servers. Possibly during the failed updates thereafter, he deleted all of the Software and Update repos on the three servers.  
After activating the proxy settings on the servers I’m able to connect to the internet again. I also added the proxy settings to .curlrc.

All these Servers run on runlevel 3 and have no window managers installed. Re-registering using suse\_regiser seems to work but it won’t ad any Repos to the installation sources.

AKAIK the repos for SLES are bound somehow to the registration code. Is there any other possibility to to get the Repos for Updates and Installation manually into the system?

Thanks for any hint.

Tom

---

<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:** [June 28, 2012, 5:07pm UTC](https://forums.suse.com/t/repositories-missing-after-external-proxy-was-activated/22794/2 "2012-06-28T17:07:44Z")

</div>

> [@sysworx](#):
>
> Hi everybody,
> 
> one of our customers recently launched a proxy in his network and  
> forgot to activate the proxy settings on his SLES10 Servers. Possibly  
> during the failed updates thereafter, he deleted all of the Software and  
> Update repos on the three servers.  
> After activating the proxy settings on the servers I’m able to connect  
> to the internet again. I also added the proxy settings to .curlrc.
> 
> All these Servers run on runlevel 3 and have no window managers  
> installed. Re-registering using suse\_regiser seems to work but it won’t  
> ad any Repos to the installation sources.
> 
> AKAIK the repos for SLES are bound somehow to the registration code. Is  
> there any other possibility to to get the Repos for Updates and  
> Installation manually into the system?
> 
> Thanks for any hint.
> 
> Tom

Hi  
You need to populate proxy setting in YAST and to add two lines  
with your proxy information to /etc/profile, for example:

export http\_proxy=“[http://10.10.1.1:8081/](http://10.10.1.1:8081/)”  
export https\_proxy=“[https://10.10.1.1:8081/](https://10.10.1.1:8081/)”

Yes, the URL’s to use for manually adding are on your Novell Customer  
Center page, look for the ‘mirrors’ link it also contains the  
credentials to use.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 11 (x86\_64) Kernel 3.0.34-0.7-default  
up 1 day 19:03, 2 users, load average: 0.41, 0.43, 0.40  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

---

<div class="post-metadata">

**Author:** ![enovaklbank](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@enovaklbank](https://forums.suse.com/u/enovaklbank)\
**Post date:** [June 29, 2012, 6:22pm UTC](https://forums.suse.com/t/repositories-missing-after-external-proxy-was-activated/22794/3 "2012-06-29T18:22:30Z")

</div>

Additionally, he can try to specify the following parameter to suse\_register:

-r [–restore-repos] restore all repositories, also deleted once by the user
