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

From MicroFocusInternationalWiki
Jump to: navigation, search
(Creating up-to-date bootstrap repositories)
(No need to delete obsolete package since mgrcreate-bootstrap-repo delete them)
Line 1: Line 1:
 
[[SUSE_Manager|SUSE Manager Main Page]]
 
[[SUSE_Manager|SUSE Manager Main Page]]
 
=== 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 introduced in SUSE Manager 1.7.
  
'''/!\ First, if present you have to uninstall packages of the old bootstrap repositories/!\ '''
+
Of course you should have the related Pool and Update channels available and synced to be able to create the bootstrap repository you want :
1) <pre># zypper remove spacewalk-client-repository spacewalk-client-repository-sle-10-4
+
<pre># mgr-create-bootstrap-repo
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-SP3-x86_64 (of course you should have the related Pool and Update channels available and synced to be able to create the bootstrap repository) :
+
2) <pre># mgr-create-bootstrap-repo
+
 
SLE-10-SP4-x86_64
 
SLE-10-SP4-x86_64
 
SLE-11-SP1-x86_64
 
SLE-11-SP1-x86_64

Revision as of 14:47, 4 May 2015

SUSE Manager Main Page

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 introduced in SUSE Manager 1.7.

Of course you should have the related Pool and Update channels available and synced to be able to create the bootstrap repository you want :

# mgr-create-bootstrap-repo
SLE-10-SP4-x86_64
SLE-11-SP1-x86_64
SLE-11-SP2-x86_64
SLE-11-SP3-x86_64
SLE-12-x86_64
Enter product label: SLE-11-SP3-x86_64
copy 'spacewalk-client-tools-1.7.14.18-0.5.2.noarch'
copy 'zypper-1.6.308-0.9.16.x86_64'
copy 'libzypp-9.37.1-0.7.1.x86_64'
copy 'satsolver-tools-0.17.7-0.6.2.1.x86_64'
copy 'zypp-plugin-python-0.3-2.5.38.x86_64'
copy 'zypp-plugin-spacewalk-0.9.5-0.5.5.x86_64'
copy 'spacewalk-check-1.7.14.18-0.5.2.noarch'
copy 'spacewalk-client-setup-1.7.14.18-0.5.2.noarch'
copy 'newt-0.52.10-1.35.113.x86_64'
copy 'libnewt0_52-0.52.10-1.35.113.x86_64'
copy 'python-newt-0.52.10-1.35.113.x86_64'
copy 'python-dmidecode-3.10.11-0.10.1.x86_64'
copy 'python-ethtool-0.7-0.15.15.1.x86_64'
copy 'python-openssl-0.7.0-1.17.2.x86_64'
copy 'rhnlib-2.5.51.5-0.5.1.x86_64'
copy 'spacewalksd-4.9.15.3-0.5.3.x86_64'
copy 'suseRegisterInfo-1.7.4-0.5.1.x86_64'
copy 'libcurl4-7.19.7-1.28.1.x86_64'
copy 'slang-2.1.1-58.18.x86_64'
Spawning worker 0 with 26 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 and SLE-11-SP2-x86_64 .

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

 For bootstrapping SLES11 SP1 clients you need to create a compatibility symlink.
 
 $> cd /srv/www/htdocs/pub/repositories
 $> ln -s sle/11/1/bootstrap susemanager-client-setup


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