|
Home | Switchboard | Unix Administration | Red Hat | TCP/IP Networks | Neoliberalism | Toxic Managers |
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and bastardization of classic Unix |
Recommended Links | Configuring the Software Updater | SLES Registration | ||||
SPident | suse_register | System information | Startup and shutdown | Kernel Updates | Etc |
|
To migrate the system with SLES 11 SP 1 to the Service Pack 2 level with zypper, proceed as follows (you need to be root):
# zypper ref -s Refreshing service 'nu_novell_com'. All services have been refreshed. Repository 'SLES11-SP1-Pool' is up to date. Repository 'SLES11-SP1-Updates' is up to date. All repositories have been refreshed.
[127] root@dns02: # zypper up -t patch Refreshing service 'nu_novell_com'. Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW patches are going to be installed: slessp1-gnome-packagekit slessp1-softwaremgmt-201107 slessp1-softwaremgmt-201202 slessp1-softwaremgmt-201203 slessp1-softwaremgmt-201206 The following packages are going to be upgraded: curl gnome-packagekit gnome-packagekit-lang libcurl4 libcurl4-32bit libpackagekit-glib10 libzypp PackageKit PackageKit-lang perl-satsolver python-satsolver satsolver-tools yast2-packager yast2-pkg-bindings yast2-wagon zypper 16 packages to upgrade. Overall download size: 8.1 MiB. After the operation, additional 2.0 MiB will be used. Continue? [y/n/?] (y): y Retrieving package libpackagekit-glib10-0.3.14-2.14.5.1.x86_64 (1/16), 69.0 KiB (193.0 KiB unpacked) Retrieving delta: ./rpm/x86_64/libpackagekit-glib10-0.3.14-2.12.105_2.14.5.1.x86_64.delta.rpm, 15.0 KiB Retrieving: libpackagekit-glib10-0.3.14-2.12.105_2.14.5.1.x86_64.delta.rpm [done] Applying delta: ./libpackagekit-glib10-0.3.14-2.12.105_2.14.5.1.x86_64.delta.rpm [done] Installing: libpackagekit-glib10-0.3.14-2.14.5.1 [done] Retrieving package libcurl4-7.19.7-1.20.21.1.x86_64 (2/16), 138.0 KiB (285.0 KiB unpacked) Retrieving: libcurl4-7.19.7-1.20.21.1.x86_64.rpm [done] Installing: libcurl4-7.19.7-1.20.21.1 [done] Retrieving package libcurl4-32bit-7.19.7-1.20.21.1.x86_64 (3/16), 143.0 KiB (291.0 KiB unpacked) Retrieving: libcurl4-32bit-7.19.7-1.20.21.1.x86_64.rpm [done] Installing: libcurl4-32bit-7.19.7-1.20.21.1 [done] Retrieving package perl-satsolver-0.14.20-0.3.1.x86_64 (4/16), 284.0 KiB (838.0 KiB unpacked) Retrieving: perl-satsolver-0.14.20-0.3.1.x86_64.rpm [done] Installing: perl-satsolver-0.14.20-0.3.1 [done] Retrieving package satsolver-tools-0.14.20-0.3.1.x86_64 (5/16), 324.0 KiB (3.0 MiB unpacked) Retrieving: satsolver-tools-0.14.20-0.3.1.x86_64.rpm [done] Installing: satsolver-tools-0.14.20-0.3.1 [done] Retrieving package python-satsolver-0.14.20-0.3.1.x86_64 (6/16), 771.0 KiB (2.1 MiB unpacked) Retrieving: python-satsolver-0.14.20-0.3.1.x86_64.rpm [done] Installing: python-satsolver-0.14.20-0.3.1 [done] Retrieving package libzypp-6.37.9-0.3.1.x86_64 (7/16), 2.0 MiB (6.8 MiB unpacked) Retrieving: libzypp-6.37.9-0.3.1.x86_64.rpm [done] Installing: libzypp-6.37.9-0.3.1 [done] Retrieving package curl-7.19.7-1.20.21.1.x86_64 (8/16), 161.0 KiB (289.0 KiB unpacked) Retrieving: curl-7.19.7-1.20.21.1.x86_64.rpm [done] Installing: curl-7.19.7-1.20.21.1 [done] Retrieving package gnome-packagekit-0.3.14-2.82.1.x86_64 (9/16), 756.0 KiB (3.7 MiB unpacked) Retrieving delta: ./rpm/x86_64/gnome-packagekit-0.3.14-2.76.59_2.82.1.x86_64.delta.rpm, 127.0 KiB Retrieving: gnome-packagekit-0.3.14-2.76.59_2.82.1.x86_64.delta.rpm [done] Applying delta: ./gnome-packagekit-0.3.14-2.76.59_2.82.1.x86_64.delta.rpm [done] Installing: gnome-packagekit-0.3.14-2.82.1 [done] Retrieving package PackageKit-0.3.14-2.14.5.1.x86_64 (10/16), 543.0 KiB (2.0 MiB unpacked) Retrieving delta: ./rpm/x86_64/PackageKit-0.3.14-2.12.105_2.14.5.1.x86_64.delta.rpm, 68.0 KiB Retrieving: PackageKit-0.3.14-2.12.105_2.14.5.1.x86_64.delta.rpm [done] Applying delta: ./PackageKit-0.3.14-2.12.105_2.14.5.1.x86_64.delta.rpm [done] Installing: PackageKit-0.3.14-2.14.5.1 [done] Retrieving package zypper-1.3.21-0.3.1.x86_64 (11/16), 837.0 KiB (3.8 MiB unpacked) Retrieving: zypper-1.3.21-0.3.1.x86_64.rpm [done] Installing: zypper-1.3.21-0.3.1 [done] Additional rpm output: Starting SuSEconfig, the SuSE Configuration Tool... Running module permissions only Reading /etc/sysconfig and updating the system... Executing /sbin/conf.d/SuSEconfig.permissions... Checking permissions and ownerships - using the permissions files /etc/permissions /etc/permissions.easy /etc/permissions.d/mail-server /etc/permissions.d/postfix /etc/permissions.local setting /usr/sbin/zypp-refresh-wrapper to root:root 4755. (wrong permissions 0755) Finished. Retrieving package yast2-pkg-bindings-2.17.45.6-0.4.1.x86_64 (12/16), 528.0 KiB (1.9 MiB unpacked) Retrieving delta: ./rpm/x86_64/yast2-pkg-bindings-2.17.45_2.17.45.6-0.2.10_0.4.1.x86_64.delta.rpm, 338.0 KiB Retrieving: yast2-pkg-bindings-2.17.45_2.17.45.6-0.2.10_0.4.1.x86_64.delta.rpm [done] Applying delta: ./yast2-pkg-bindings-2.17.45_2.17.45.6-0.2.10_0.4.1.x86_64.delta.rpm [done] Installing: yast2-pkg-bindings-2.17.45.6-0.4.1 [done] Retrieving package gnome-packagekit-lang-0.3.14-2.82.1.x86_64 (13/16), 1.2 MiB (7.4 MiB unpacked) Retrieving delta: ./rpm/x86_64/gnome-packagekit-lang-0.3.14-2.76.59_2.82.1.x86_64.delta.rpm, 70.0 KiB Retrieving: gnome-packagekit-lang-0.3.14-2.76.59_2.82.1.x86_64.delta.rpm [done] Applying delta: ./gnome-packagekit-lang-0.3.14-2.76.59_2.82.1.x86_64.delta.rpm [done] Installing: gnome-packagekit-lang-0.3.14-2.82.1 [done] Retrieving package PackageKit-lang-0.3.14-2.14.5.1.x86_64 (14/16), 68.0 KiB (249.0 KiB unpacked) Retrieving delta: ./rpm/x86_64/PackageKit-lang-0.3.14-2.12.105_2.14.5.1.x86_64.delta.rpm, 17.0 KiB Retrieving: PackageKit-lang-0.3.14-2.12.105_2.14.5.1.x86_64.delta.rpm [done] Applying delta: ./PackageKit-lang-0.3.14-2.12.105_2.14.5.1.x86_64.delta.rpm [done] Installing: PackageKit-lang-0.3.14-2.14.5.1 [done] Retrieving package yast2-packager-2.17.78.4-0.4.1.x86_64 (15/16), 347.0 KiB (1.7 MiB unpacked) Retrieving delta: ./rpm/x86_64/yast2-packager-2.17.78_2.17.78.4-0.2.6_0.4.1.x86_64.delta.rpm, 87.0 KiB Retrieving: yast2-packager-2.17.78_2.17.78.4-0.2.6_0.4.1.x86_64.delta.rpm [done] Applying delta: ./yast2-packager-2.17.78_2.17.78.4-0.2.6_0.4.1.x86_64.delta.rpm [done] Installing: yast2-packager-2.17.78.4-0.4.1 [done] Retrieving package yast2-wagon-2.17.17.11-0.4.1.noarch (16/16), 58.0 KiB (245.0 KiB unpacked) Retrieving delta: ./rpm/noarch/yast2-wagon-2.17.17_2.17.17.11-0.2.56_0.4.1.noarch.delta.rpm, 32.0 KiB Retrieving: yast2-wagon-2.17.17_2.17.17.11-0.2.56_0.4.1.noarch.delta.rpm [done] Applying delta: ./yast2-wagon-2.17.17_2.17.17.11-0.2.56_0.4.1.noarch.delta.rpm [done] Installing: yast2-wagon-2.17.17.11-0.4.1 [done] Warning: One of installed patches affects the package manager itself. Run this command once more to install any other needed patches. There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs.
See Stage 3 Listing for sample results of this step. You need to llok into the listing to see if there are anomalies.
/etc/products.d/*.prod
and install them. Now the directory /etc/products.d/ contains
installed the list of file with information about distribution upgrades
and which migration products should be installed to perform the migration.
lrwxrwxrwx 1 root root 14 2011-05-22 10:14 baseproduct -> SUSE_SLES.prod -rw-r--r-- 1 root root 2897 2011-12-19 12:05 SUSE_SLES.prod
Enter the following command:
grep '<product' /etc/products.d/*.prod
A sample output could be as follows:
<productline>sles</productline> <product>SUSE_SLES-SP2-migration</product> <producttheme>SLES</producttheme>
zypper se -t product | grep -h -- "-migration" | cut -d\| -f2 A sample output could be as follows: SUSE_SLES-SP2-migration sle-sdk-SP2-migration
zypper in -t product SUSE_SLES-SP2-migration
[0]root@dns02: # zypper in -t product SUSE_SLES-SP2-migration Refreshing service 'nu_novell_com'. Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: SUSE_SLES-SP2-migration The following NEW product is going to be installed: SUSE_SLES Service Pack 2 Migration Product 1 new package to install. Overall download size: 4.0 KiB. After the operation, additional 3.0 KiB will be used. Continue? [y/n/?] (y): y Retrieving package SUSE_SLES-SP2-migration-11.1-1.6.x86_64 (1/1), 4.0 KiB (3.0 KiB unpacked) Retrieving: SUSE_SLES-SP2-migration-11.1-1.6.x86_64.rpm [done] Installing: SUSE_SLES-SP2-migration-11.1-1.6 [done]
export http_proxy="http://www-proxy.firma.com:8081/" export https_proxy="https://www-proxy.firma.com:8081/"
suse_register -d 2 -L /root/.suse_register.log
to register the products and get repositories
See Stage 7 Listing for results
[0]root@dns02: # zypper ref -s Refreshing service 'nu_novell_com'. All services have been refreshed. Repository 'SLES11-SP1-Pool' is up to date. Repository 'SLES11-SP1-Updates' is up to date. Repository 'SLES11-SP2-Core' is up to date. Repository 'SLES11-SP2-Updates' is up to date. All repositories have been refreshed.
Check the repositories using the command:
zypper lr
Output should look like:
[0]root@dns02: # zypper lr # | Alias | Name | Enabled | Refresh ---+--------------------------------------------------+--------------------------------------------------+---------+-------- 1 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | Yes | No 2 | nu_novell_com:SLE11-SP1-Debuginfo-Pool | SLE11-SP1-Debuginfo-Pool | No | Yes 3 | nu_novell_com:SLE11-SP1-Debuginfo-Updates | SLE11-SP1-Debuginfo-Updates | No | Yes 4 | nu_novell_com:SLE11-SP2-Debuginfo-Core | SLE11-SP2-Debuginfo-Core | No | Yes 5 | nu_novell_com:SLE11-SP2-Debuginfo-Updates | SLE11-SP2-Debuginfo-Updates | No | Yes 6 | nu_novell_com:SLE11-WebYaST-SP2-Pool | SLE11-WebYaST-SP2-Pool | No | Yes 7 | nu_novell_com:SLE11-WebYaST-SP2-Updates | SLE11-WebYaST-SP2-Updates | No | Yes 8 | nu_novell_com:SLES11-Extras | SLES11-Extras | No | Yes 9 | nu_novell_com:SLES11-SP1-Pool | SLES11-SP1-Pool | Yes | Yes 10 | nu_novell_com:SLES11-SP1-Updates | SLES11-SP1-Updates | Yes | Yes 11 | nu_novell_com:SLES11-SP2-Core | SLES11-SP2-Core | Yes | Yes 12 | nu_novell_com:SLES11-SP2-Updates | SLES11-SP2-Updates | Yes | Yes
Only if needed, disable repositories manually (note that
the SP1-Pool and SP1-Updates repos need to stay enabled!)
enable two new SP2 (SP2-Core, SP2-Updates) repositories, if they are not enabled (should be enabled by default)
zypper mr --disable <repo-alias> zypper mr --enable <repo-alias>
zypper dup --from SLES11-SP2-Core --from SLES11-SP2-Updates \ --from SLE11-WebYaST-SP2-Pool --from SLE11-WebYaST-SP2-UpdatesNotes:
zypper patch
suse_register -d 2 -L /root/.suse_register.log
|
||||
Bulletin | Latest | Past week | Past month |
|
Support How to upgrade to SLES-SLED 11 SP2
Society
Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
Quotes
War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda : SE quotes : Language Design and Programming Quotes : Random IT-related quotes : Somerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Bulletin:
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
History:
Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds : Larry Wall : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOS : Programming Languages History : PL/1 : Simula 67 : C : History of GCC development : Scripting Languages : Perl history : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history
Classic books:
The Peter Principle : Parkinson Law : 1984 : The Mythical Man-Month : How to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor
The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...
|
You can use PayPal to to buy a cup of coffee for authors of this site |
Disclaimer:
The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.
Last modified: March 12, 2019