Unable to upgrade 64 bit OES2 SP1 with 32 bit novell-sss to 64 bit OES2 SP2 using rug update

0 Likes

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.




  1. Update all available patches through YaST Online Update as shown in the screen shot.


    1. Go to YaST --> Software --> Online Update

  2. Select "Patches" in Filter field as shown in screnshot below.

  • Select "All Patches" in Show Patch Category.








Fig1: Listing the available patches for upgrade


Click to view.









Fig2: Successful completion of patch update.


Click to view.






  • Remove the 32bit novell-sss rpm installed by default with 64bit OES2 SP1 as described

    1. 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


    1. Launch YaST, go to Software --> Online Update. Search for novell-sss and select 64bit novell-nss package.


  • Click "Accept" to install.








Fig3: Searching for 64bit novell-sss rpm and selecting for installation


Click to view.









Fig4: Prompting of arch change


Click to view.









Fig5: Confirmation of arch change


Click to view.










Fig6: Prompting for reboot after arch change


Click to view.







  • Follow "rug" commands to continue upgrade as in the below screen shot.






    Fig7: "rug" commands to proceed with upgrade


    Click to view.









    Fig8: Upgrade is completed successfully and prompting for reboot of the system


    Click to view.









    Fig9: After reboot, continuing with the eDirectory configuration


    Click to view.









    Fig10: eDirectory upgrade in progress


    Click to view.










    Fig11: After successfully configuring OES services


    Click to view.










    Fig12: Verifying eDirectory version and login, after successful completion of upgrade to OES2 SP2


    Click to view.





Tags:

Labels:

How To-Best Practice
Comment List
Related
Recommended