Unable to upgrade 64 bit OES2 SP1 with 32bit novell-sss to 64 bit OES2 SP2 using rug update
24-Sep-2009 02:53 PM
Problem Statement:
Unable to upgrade 64 bit OES2 SP1 with 32bit novell-sss to 64 bit OES2 SP2 using rug update.
Intended Audience:
Test engineers, NTS and Customers wish to upgrade 64 bit OES2 SP1 to 64 bit OES2 SP2
Problem Description:
64bit OES2 SP1
server installed and configured with
eDirectory. Registered to Novell Customer Center and keep updating to latest patches. Upgrade OES2 SP1 with 32bit novell-sss to OES2 SP2 using online rug upgrade. Upgrade fails with error "Dependency resolution failed:" as follows.
cit-h45-73:~ # rug up -t patch -g recommended Resolving Dependencies... ERROR: Dependency resolution failed: Unresolved dependencies: Installing patch:product-oes2-sp2-0-5.noarch[oes2sp2-online] Installing patch:oes2sp2o-OES2SP2-6280-beta4.5.noarch[oes2sp2-online] Installing patch:product-sles10-sp3-0-20.noarch[sles10sp3-online] Installing patch:product-sles10-sp3-0-20.noarch[sles10sp3-online] patch:slesp3o-sp3_online-6217-0.noarch[sles10sp3-online] provides slesp3o-sp3_online == 6217-0, but another version of that patch is already installed. There are no installable providers of slesp3o-sp3_online for patch:product-sles10-sp3-0-20.noarch[sles10sp3-online] patch:slesp3o-sp3_online-6217-0.noarch[sles10sp3-online] provides slesp3o-sp3_online == 6217-0, but another version of that patch is already installed. There are no installable providers of slesp3o-sp3_online for patch:product-sles10-sp3-0-20.noarch[sles10sp3-online] script:product-oes2-sp2-script.sh-0-5.noarch[oes2sp2-online] needed by patch:product-oes2-sp2-0-5.noarch[oes2sp2-online] Installing script:product-oes2-sp2-script.sh-0-5.noarch[oes2sp2-online] atom:novell-sss-3.4.1-31.x86_64[oes2sp2-online] needed by patch:oes2sp2o-OES2SP2-6280-beta4.5.noarch[oes2sp2-online] Installing atom:novell-sss-3.4.1-31.x86_64[oes2sp2-online] script:product-sles10-sp3-script.sh-0-20.noarch[sles10sp3-online] needed by patch:product-sles10-sp3-0-20.noarch[sles10sp3-online] Installing script:product-sles10-sp3-script.sh-0-20.noarch[sles10sp3-online] glibc-2.4-31.68.1.x86_64[sles10sp3-online] needed by patch:product-sles10-sp3-0-20.noarch[sles10sp3-online] message:product-sles10-sp3-message-0-20.noarch[sles10sp3-online] needed by patch:product-sles10-sp3-0-20.noarch[sles10sp3-online] Installing message:product-sles10-sp3-message-0-20.noarch[sles10sp3-online] product:SUSE_SLES_SP3-10.3-2.x86_64[sles10sp3-online] needed by patch:product-sles10-sp3-0-20.noarch[sles10sp3-online] patch:slesp3o-sp3_online-6217-0.noarch[sles10sp3-online] provides slesp3o-sp3_online == 6217-0, but another version of that patch is already installed. There are no installable providers of slesp3o-sp3_online for message:product-sles10-sp3-message-0-20.noarch[sles10sp3-online] patch:slesp3o-sp3_online-6217-0.noarch[sles10sp3-online] provides slesp3o-sp3_online == 6217-0, but another version of that patch is already installed. There are no installable providers of slesp3o-sp3_online for script:product-sles10-sp3-script.sh-0-20.noarch[sles10sp3-online] novell-sss-3.4.1-31.x86_64[oes2sp2-online] provides novell-sss == 3.4.1-31, but has another architecture. There are no installable providers of novell-sss >= 3.4.1-31 for atom:novell-sss-3.4.1-31.x86_64[oes2sp2-online] patch:slesp3o-sp3_online-6217-0.noarch[sles10sp3-online] provides slesp3o-sp3_online == 6217-0, but another version of that patch is already installed. There are no installable providers of slesp3o-sp3_online for script:product-oes2-sp2-script.sh-0-5.noarch[oes2sp2-online] patch:oes2sp2o-OES2SP2-6280-beta4.5.noarch[oes2sp2-online] needed by script:product-oes2-sp2-script.sh-0-5.noarch[oes2sp2-online]
Solution:
The issue here is the architecture change of novell-sss i.e SecretStore. 64 bit OES2 SP1 has installed novell-sss.i586 and the novell-sss from OES2 SP2 is x86_64. The architecture is changing and rug can not change the arch of a package.
Following are the steps to address this issue and proceed with rug update.
- Update all available patches through YaST Online Update as shown in the screen shot.
- Go to YaST --> Software --> Online Update
- Select "Patches" in Filter field as shown in screnshot below.
- Select "All Patches" in Show Patch Category.
http://www.novell.com/communities/fi...2/8966-1_0.jpg
Fig1: Listing the available patches for upgrade
Click to view.
http://www.novell.com/communities/fi...2/8966-2_0.jpg
Fig2: Successful completion of patch update.
Click to view.
- Remove the 32bit novell-sss rpm installed by default with 64bit OES2 SP1 as described
- locate the novell-nss rpm
cit-h45-73:~ # rpm -qa | grep novell-sss
novell-sss-3.4.1-26
cit-h45-73:~ #
- Verify whether novell-sss is installed
cit-h45-73:~ # rpm -qi novell-sss-3.4.1-26 Name : novell-sss Relocations: (not relocatable) Version : 3.4.1 Vendor: Novell, Inc. Release : 26 Build Date: Tue Nov 18 22:07:23 2008 Install Date: Wed Feb 11 12:37:00 2009 Build Host: i386build7.provo.build.net Group : Productivity/Networking/Novell Source RPM: novell-sss-3.4.1-26.src.rpm Size : 1347423 License: Any commercial Signature : DSA/SHA1, Tue Nov 18 22:08:17 2008, Key ID 14c28bc97e2e3b05 Packager : http://support.novell.com URL : http://www.novell.com/products Summary : Novell SecretStore Service Description : Novell SecretStore Service for eDirectory 8.8.x Distribution: Novell Open Enterprise Server 2.0.1 Linux (i586) cit-h45-73:~ #
- Remove the package
cit-h45-73:~ # rpm -e novell-sss-3.4.1-26 cit-h45-73:~ #
- Confirm that novell-rpm does not exist
cit-h45-73:~ # rpm -qa | grep novell-sss cit-h45-73:~ #
- Iinstall 64bit novell-sss from YaST Online Update
- Launch YaST, go to Software --> Online Update. Search for novell-sss and select 64bit novell-nss package.
- Click "Accept" to install.
http://www.novell.com/communities/fi...2/8966-3_0.jpg
Fig3: Searching for 64bit novell-sss rpm and selecting for installation
Click to view.
http://www.novell.com/communities/fi...2/8966-4_0.jpg
Fig4: Prompting of arch change
Click to view.
http://www.novell.com/communities/fi...2/8966-5_0.jpg
Fig5: Confirmation of arch change
Click to view.
http://www.novell.com/communities/fi...2/8966-6_0.jpg
Fig6: Prompting for reboot after arch change
Click to view.
- Follow "rug" commands to continue upgrade as in the below screen shot.
http://www.novell.com/communities/fi...2/8966-7_0.jpg
Fig7: "rug" commands to proceed with upgrade
Click to view.
http://www.novell.com/communities/fi...2/8966-8_0.jpg
Fig8: Upgrade is completed successfully and prompting for reboot of the system
Click to view.
http://www.novell.com/communities/fi...2/8966-9_0.jpg
Fig9: After reboot, continuing with the eDirectory configuration
Click to view.
http://www.novell.com/communities/fi.../8966-10_0.jpg
Fig10: eDirectory upgrade in progress
Click to view.
http://www.novell.com/communities/fi.../8966-11_0.jpg
Fig11: After successfully configuring OES services
Click to view.
http://www.novell.com/communities/fi.../8966-12_0.jpg
Fig12: Verifying eDirectory version and login, after successful completion of upgrade to OES2 SP2
Click to view.
More...