Difference between revisions of "SUSE Manager/Uptodate bootstrap repo"

From MicroFocusInternationalWiki
Jump to: navigation, search
(Created page with "=== Creating up-to-date bootstrap repositories === You can have up-to-date packages for the bootstrap repositories, with the new mgr-create-bootstrap-repo command.")
 
Line 1: Line 1:
 
=== Creating up-to-date bootstrap repositories ===
 
=== Creating up-to-date bootstrap repositories ===
You can have up-to-date packages for the bootstrap repositories, with the new mgr-create-bootstrap-repo command.
+
You can have up-to-date packages for the bootstrap repositories, with the new '''mgr-create-bootstrap-repo''' command.
 +
 
 +
First you have to uninstall  packages of the old bootstrap repositories
 +
<pre># zypper remove spacewalk-client-repository spacewalk-client-repository-sle-10-4
 +
spacewalk-client-repository-sle-10-3 spacewalk-client-repository-sle-11-1
 +
Loading repository data...
 +
Reading installed packages...
 +
Resolving package dependencies...
 +
 
 +
The following packages are going to be REMOVED:
 +
  spacewalk-client-repository spacewalk-client-repository-sle-10-3
 +
  spacewalk-client-repository-sle-10-4 spacewalk-client-repository-sle-11-1
 +
 
 +
4 packages to remove.
 +
After the operation, 62.5 MiB will be freed.
 +
Continue? [y/n/?] (y): y
 +
Removing spacewalk-client-repository-0.1-0.7.1 [done]
 +
Removing spacewalk-client-repository-sle-10-4-0.1-0.7.2 [done]
 +
Removing spacewalk-client-repository-sle-11-1-0.1-0.7.1 [done]
 +
Removing spacewalk-client-repository-sle-10-3-0.1-0.7.2 [done]</pre>
 +
 
 +
Then you can call the mgr-create-bootstrap-repo for SLE-11-SP2-x86_64  :
 +
<pre># mgr-create-bootstrap-repo
 +
SLE-11-SP1-x86_64
 +
SLE-11-SP2-x86_64
 +
Enter product label: SLE-11-SP2-x86_64
 +
copy 'spacewalk-client-tools-1.2.15-0.19.1.noarch'
 +
copy 'zypper-1.3.21-0.3.1.x86_64'
 +
copy 'libzypp-6.37.9-0.3.1.x86_64'
 +
copy 'satsolver-tools-0.14.20-0.3.1.x86_64'
 +
copy 'zypp-plugin-python-0.3-2.4.2.1.x86_64'
 +
copy 'zypp-plugin-spacewalk-0.5-0.3.1.x86_64'
 +
copy 'spacewalk-check-1.2.15-0.19.1.noarch'
 +
copy 'spacewalk-client-setup-1.2.15-0.19.1.noarch'
 +
copy 'newt-0.52.10-1.35.7.x86_64'
 +
copy 'libnewt0_52-0.52.10-1.35.7.x86_64'
 +
copy 'python-newt-0.52.10-1.35.7.x86_64'
 +
copy 'python-dmidecode-3.10.11-0.6.1.x86_64'
 +
copy 'python-ethtool-0.3-0.4.1.x86_64'
 +
copy 'python-openssl-0.7.0-1.17.2.x86_64'
 +
copy 'rhnlib-2.5.28-0.7.1.x86_64'
 +
copy 'spacewalksd-4.9.7-0.11.1.x86_64'
 +
copy 'suseRegisterInfo-1.2.0-0.7.1.x86_64'
 +
copy 'libcurl4-7.19.7-1.20.21.1.x86_64'
 +
Spawning worker 0 with 18 pkgs
 +
Workers Finished
 +
Gathering worker results
 +
 
 +
Saving Primary metadata
 +
Saving file lists metadata
 +
Saving other metadata</pre>
 +
 
 +
You may repeat the command for SLE-11-SP1-x86_64.
 +
 
 +
'''So now you have the latest packages version for you bootstrap repositories.'''
 +
 
 +
 
 +
Refers to the  "'''mgr-create-bootstrap-repo'''" manpages for more informations.

Revision as of 09:25, 21 May 2013

Creating up-to-date bootstrap repositories

You can have up-to-date packages for the bootstrap repositories, with the new mgr-create-bootstrap-repo command.

First you have to uninstall packages of the old bootstrap repositories

# zypper remove spacewalk-client-repository spacewalk-client-repository-sle-10-4 
spacewalk-client-repository-sle-10-3 spacewalk-client-repository-sle-11-1
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following packages are going to be REMOVED:
  spacewalk-client-repository spacewalk-client-repository-sle-10-3 
  spacewalk-client-repository-sle-10-4 spacewalk-client-repository-sle-11-1 

4 packages to remove.
After the operation, 62.5 MiB will be freed.
Continue? [y/n/?] (y): y
Removing spacewalk-client-repository-0.1-0.7.1 [done]
Removing spacewalk-client-repository-sle-10-4-0.1-0.7.2 [done]
Removing spacewalk-client-repository-sle-11-1-0.1-0.7.1 [done]
Removing spacewalk-client-repository-sle-10-3-0.1-0.7.2 [done]

Then you can call the mgr-create-bootstrap-repo for SLE-11-SP2-x86_64  :

# mgr-create-bootstrap-repo
SLE-11-SP1-x86_64
SLE-11-SP2-x86_64
Enter product label: SLE-11-SP2-x86_64
copy 'spacewalk-client-tools-1.2.15-0.19.1.noarch'
copy 'zypper-1.3.21-0.3.1.x86_64'
copy 'libzypp-6.37.9-0.3.1.x86_64'
copy 'satsolver-tools-0.14.20-0.3.1.x86_64'
copy 'zypp-plugin-python-0.3-2.4.2.1.x86_64'
copy 'zypp-plugin-spacewalk-0.5-0.3.1.x86_64'
copy 'spacewalk-check-1.2.15-0.19.1.noarch'
copy 'spacewalk-client-setup-1.2.15-0.19.1.noarch'
copy 'newt-0.52.10-1.35.7.x86_64'
copy 'libnewt0_52-0.52.10-1.35.7.x86_64'
copy 'python-newt-0.52.10-1.35.7.x86_64'
copy 'python-dmidecode-3.10.11-0.6.1.x86_64'
copy 'python-ethtool-0.3-0.4.1.x86_64'
copy 'python-openssl-0.7.0-1.17.2.x86_64'
copy 'rhnlib-2.5.28-0.7.1.x86_64'
copy 'spacewalksd-4.9.7-0.11.1.x86_64'
copy 'suseRegisterInfo-1.2.0-0.7.1.x86_64'
copy 'libcurl4-7.19.7-1.20.21.1.x86_64'
Spawning worker 0 with 18 pkgs
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata

You may repeat the command for SLE-11-SP1-x86_64.

So now you have the latest packages version for you bootstrap repositories.


Refers to the "mgr-create-bootstrap-repo" manpages for more informations.