Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 126 lines (91 sloc) 4.64 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
= Using YOU (Yast Online Update) support in mrepo
Dag Wieers <dag@wieers.com>
0.8.4svn, 19 october 2007

// Please send me improvements to this document.

This document describes how to set up a Yast Online Update mirror for
various Novell/SUSE distributions and architectures.

== Requirements
The youget python script needs cElementTree support.


== Novell update credentials for NLD9 (and alike)
To be able to download updates from update.novell.com you need to copy the
files _/etc/ximian/mcookie_ and _/etc/ximian/partnernet_ from a registered
system to your +$srcdir/$dist-$arch/+ directory.

So for NLD9, you would have eg:

    /var/mrepo/nld9-i586/mcookie
    /var/mrepo/nld9-i586/partnernet

These are used by youget to authenticate with the YOU server.


== Novell update credentials for SLES10 (and alike)
To be able to download updates from nu.novell.com you need to copy the
files _/etc/zmd/deviceid_ and _/etc/zmd/secret_ from a registered
system to your +$srcdir/$dist-$arch/+ directory.

So for SLES10, you would have eg:

    /var/mrepo/sles10-x86_64/deviceid
    /var/mrepo/sles10-x86_64/secret

These are used by youget to authenticate with the YOU server.


== YOU configuration
Having done that, you can enable multiple channels for these credentials by
adding a configuration like the one below:

----
[nld9]
name = Novell Linux Desktop $release SP3 ($arch)
release = 9
arch = i586
iso = NLD$release-SP3-$arch-CD?.iso
updates = you://update.novell.com/data/$RCE/nld9/getPackage/nld-9-$arch/
extras = you://update.novell.com/data/$RCE/nld9-extras/getPackage/nld-9-$arch/
updates-sdk = you://update.novell.com/data/$RCE/nld9-sdk/getPackage/nld-9-$arch/
----

or

----
[sles10]
name = SuSE Linux Enterprise Server $release SP1 ($arch)
release = 10
arch = i586 ia64 ppc s390x x86_64
iso = SLES-$release-SP1-$arch-CD?.iso SLES-$release-SP1-$arch-DVD?.iso
updates = you://nu.novell.com/repo/$RCE/SLES10-SP1-Updates/sles-10-$arch/
updates-sdk = you://nu.novell.com/repo/$RCE/SLE10-SDK-Updates/sles-10-$arch/
----

After that, mrepo should be able to successfully log on and download
all packages for the configured channels.


== Updates and SDK channel subscription
Before you can use the Updates or SDK channel from the Novell website, make
sure you have registered the SLES and SDK media (DVD or CD) within YaST.
Only if the +rug ca+ command returns a subscription for the updates and for
the SDK channel, it will work with mrepo:

----
system:~ # rug ca

Sub'd? | Name | Service
-------+---------------------------------------------------+--------------------------------------------------
Yes | SUSE Linux Enterprise Server 10 SP1 | SUSE Linux Enterprise Server 10 SP1
Yes | SUSE Linux Enterprise Software Development Kit 10 | SUSE Linux Enterprise Software Development Kit 10
Yes | SLES10-SP1-Updates | https://nu.novell.com
       | SLE10-SP1-Debuginfo-Updates | https://nu.novell.com
Yes | SLE10-SDK-Updates | https://nu.novell.com
----


== Troubleshooting
If you have problems making one of the catalogs (channels) work, you may
have a problem with your zmd cache or zmdb. Resolution is described in
TID 3303599, 3181469 and 3818394. After following those procedures, rerun
suse_register with your Novell login and activation code, eg:

----
service novell-zmd stop
rm -f /etc/zmd/{deviceid,secret}
rm -rf /var/cache/zmd/*
service novell-zmd start
suse_register -n -a email=company@example.com -a regcode-sles=03474hdkndg3934957340
----


== Links
 * TID 3181469: Activation fails with error indicating the database disk image is malformed
   https://secure-support.novell.com/KanisaPlatform/Publishing/718/3181469_f.SAL_Public.html

 * TID 3303599: Resetting your ZEN Updater and Novell Customer Center key registration
   https://secure-support.novell.com/KanisaPlatform/Publishing/718/3303599_f.SAL_Public.html

 * TID 3423640: SLE 10 SDK update catalog won't get added to ZEN-Updater configuration
   https://secure-support.novell.com/KanisaPlatform/Publishing/728/3423640_f.SAL_Public.html

 * TID 3818394: Activation fails with an error downloading XML data.
   https://secure-support.novell.com/KanisaPlatform/Publishing/718/3818394_f.SAL_Public.html

 * SDB: Generating YaST Installation Sources
   http://en.opensuse.org/SDB:Generating_YaST_Installation_Sources

 * Creating YaST Installation Sources
   http://en.opensuse.org/Creating_YaST_Installation_Sources

 * Secure Installation Sources
   http://en.opensuse.org/Secure_Installation_Sources
Something went wrong with that request. Please try again.