AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  yum "Transaction Check Error" trying to install samba-client

    Posted Fri March 02, 2018 09:33 AM

    Originally posted by: lgomba


    Hi when I try to install samba-client on my AIX 7.1 TL5 with

    yum install samba-client

    I get the following error which I don't quite understand what its trying to tell me

    Transaction Check Error:                                                                                           
      file /opt/freeware/64 from install of libtiff-3.8.2-1.ppc conflicts with file from package libjpeg-6b-6.ppc      
      file /opt/freeware/64/lib from install of libtiff-3.8.2-1.ppc conflicts with file from package libjpeg-6b-6.ppc 

     

    /opt/freeware/64 and /opt/freeware/64/lib are NOT files but directories.

    ie.

     

    Package package libjpeg-6b-6.ppc IS already installed

    eg.

    [remaix:root:/opt/freeware/64/lib ]>yum list libjpeg-6b-6.ppc                                                                      
    Installed Packages                                                                                                                  
    libjpeg.ppc                                                    6b-6                                                     @AIX_Toolbox
    [remaix:root: /opt/freeware/64/lib ]>                                                                                              

     

    What does package

    libtiff-3.8.2-1.ppc

    find that makes it think it conflicts with package

    libjpeg-6b-6.ppc 

    I tried running yum with --debuglevel=10 and errorlevel=10 but I don't get any additional output.

    How can I get more info on what its complaining about.

     

    Here are the files in both packages packages

    [remaix:root: /opt/freeware/64/lib ]>yum info libjpeg-6b-6.ppc                      
    Installed Packages                                                                  
    Name        : libjpeg                                                               
    Arch        : ppc                                                                   
    Version     : 6b                                                                    
    Release     : 6                                                                     
    Size        : 691 k                                                                 
    Repo        : installed                                                             
    From repo   : AIX_Toolbox                                                           
    Summary     : A library for manipulating JPEG image format files.                   
    URL         : http://www.ijg.org                                                    
    License     : IBM_ILA                                                               
    Description : The libjpeg package contains a library of functions for manipulating  
                : JPEG images, as well as simple client programs for accessing the      
                : libjpeg functions.  Libjpeg client programs include cjpeg, djpeg,     
                : jpegtran, rdjpgcom and wrjpgcom.  Cjpeg compresses an image file into
                : JPEG format.  Djpeg decompresses a JPEG file into a regular image     
                : file.  Jpegtran can perform various useful transformations on JPEG    
                : files.  Rdjpgcom displays any text comments included in a JPEG file.  
                : Wrjpgcom inserts text comments into a JPEG file.                     

     

    [remaix:root: /opt/freeware/64/lib ]>rpm -qlp ./libjpeg-6b-6.aix5.1.ppc.rpm      
    /opt/freeware/64                                                                 
    /opt/freeware/64/lib                                                             
    /opt/freeware/64/lib/libjpeg.a                                                   
    /opt/freeware/bin/cjpeg                                                          
    /opt/freeware/bin/djpeg                                                          
    /opt/freeware/bin/jpegtran                                                       
    /opt/freeware/bin/rdjpgcom                                                       
    /opt/freeware/bin/wrjpgcom                                                       
    /opt/freeware/doc/libjpeg-6b                                                     
    /opt/freeware/doc/libjpeg-6b/LICENSE                                             
    /opt/freeware/doc/libjpeg-6b/usage.doc                                           
    /opt/freeware/lib/libjpeg.a                                                      
    /opt/freeware/man/man1/cjpeg.1                                                   
    /opt/freeware/man/man1/djpeg.1                                                   
    /opt/freeware/man/man1/jpegtran.1                                                
    /opt/freeware/man/man1/rdjpgcom.1                                                
    /opt/freeware/man/man1/wrjpgcom.1                                                
    /usr/bin/cjpeg                                                                   
    /usr/bin/djpeg                                                                   
    /usr/bin/jpegtran                                                                
    /usr/bin/rdjpgcom                                                                
    /usr/bin/wrjpgcom                                                                
    /usr/lib/libjpeg.a                                                               
    [remaix:root: /opt/freeware/64/lib ]>                                           

    -------------------------------

    [remaix:root: /opt/freeware/64/lib ]>yum info libtiff.ppc                           
    Available Packages                                                                  
    Name        : libtiff                                                               
    Arch        : ppc                                                                   
    Version     : 3.8.2                                                                 
    Release     : 1                                                                     
    Size        : 774 k                                                                 
    Repo        : AIX_Toolbox                                                           
    Summary     : A library of functions for manipulating TIFF format image files.      
    URL         : http://www.libtiff.org/                                               
    License     : distributable                                                         
    Description : The libtiff package contains a library of functions for manipulating  
                : TIFF (Tagged Image File Format) image format files.  TIFF is a widely
                : used file format for bitmapped images.  TIFF files usually end in the
                : .tif extension and they are often quite large.                        
                :                                                                       
                : The libtiff package should be installed if you need to manipulate TIFF
                : format image files.                                                   
                                                                                        
    [remaix:root: /opt/freeware/64/lib ]>                                              

    [remaix:root: /opt/freeware/64/lib ]>rpm -qlp ./libtiff-3.8.2-1.aix5.2.ppc.rpm   
    /opt/freeware/64                                                                 
    /opt/freeware/64/lib                                                             
    /opt/freeware/64/lib/libtiff.a                                                   
    /opt/freeware/bin/bmp2tiff                                                       
    /opt/freeware/bin/fax2ps                                                         
    /opt/freeware/bin/fax2tiff                                                       
    /opt/freeware/bin/gif2tiff                                                       
    /opt/freeware/bin/pal2rgb                                                        
    /opt/freeware/bin/ppm2tiff                                                       
    /opt/freeware/bin/ras2tiff                                                       
    /opt/freeware/bin/raw2tiff                                                       
    /opt/freeware/bin/rgb2ycbcr                                                      
    /opt/freeware/bin/thumbnail                                                      
    /opt/freeware/bin/tiff2bw                                                        
    /opt/freeware/bin/tiff2pdf                                                       
    /opt/freeware/bin/tiff2ps                                                        
    /opt/freeware/bin/tiff2rgba                                                      
    /opt/freeware/bin/tiffcmp                                                        
    /opt/freeware/bin/tiffcp                                                         
    /opt/freeware/bin/tiffdither                                                     
    /opt/freeware/bin/tiffdump                                                       
    /opt/freeware/bin/tiffinfo                                                       
    /opt/freeware/bin/tiffmedian                                                     
    /opt/freeware/bin/tiffset                                                        
    /opt/freeware/bin/tiffsplit                                                      
    /opt/freeware/lib/libtiff.a                                                      
    /usr/bin/bmp2tiff                                                                
    /usr/bin/fax2ps                                                                  
    /usr/bin/fax2tiff                                                                
    /usr/bin/gif2tiff                                                                
    /usr/bin/pal2rgb                                                                 
    /usr/bin/ppm2tiff                                                                
    /usr/bin/ras2tiff                                                                
    /usr/bin/raw2tiff                                                                
    /usr/bin/rgb2ycbcr                                                               
    /usr/bin/thumbnail                                                               
    /usr/bin/tiff2bw                                                                 
    /usr/bin/tiff2pdf                                                                
    /usr/bin/tiff2ps                                                                 
    /usr/bin/tiff2rgba                                                               
    /usr/bin/tiffcmp                                                                 
    /usr/bin/tiffcp                                                                  
    /usr/bin/tiffdither                                                              
    /usr/bin/tiffdump                                                                
    /usr/bin/tiffinfo                                                                
    /usr/bin/tiffmedian                                                              
    /usr/bin/tiffset                                                                 
    /usr/bin/tiffsplit                                                               
    /usr/lib/libtiff.a                                                               
    [remaix:root: /opt/freeware/64/lib ]>                                           

     

    Regards ... Leslie



  • 2.  Re: yum "Transaction Check Error" trying to install samba-client

    Posted Mon March 05, 2018 04:57 PM

    Originally posted by: Brian.Fitzgerald


    I ran into this problem too.  I do not know how to genuinely FIX it, but I came up with a workaround that let me proceed.

    The problem I found with with Samba is that it needs CUPS, and CUPS is the package that needs both libjpeg and libtiff, for which there is a conflict.

    I first installed libjpeg using yum.  yum install libjpeg

    Then, I installed CUPS with the following RPM command to make it ignore the unsatisfied dependency for libtiff.

    rpm -i --nodeps cups-2.0.2-2.aix6.1.ppc.rpm cups-libs-2.0.2-2.aix6.1.ppc.rpm

    After that step, I was able to use Yum to install Samba.  yum install samba

    I do not yet know exactly what I will encounter by not having libtiff, but at least I can proceed with Samba configuration.

    Perhaps this will help you and others for now until the issue with libtiff and libjpeg is ironed out by someone more familiar with that kind of thing than I am.

     

    Regards,

    Brian

     



  • 3.  Re: yum "Transaction Check Error" trying to install samba-client

    Posted Tue March 06, 2018 10:16 AM

    Originally posted by: lgomba


    Hi Brian, thanks very much. This also worked for me to install the smb client.

    Can I ask how you determined that the issue was with CUPS, as the error was very confusing and I don't even see a reference to CUPS in the list of files from the package list I provided ?

    Regards ... Leslie



  • 4.  Re: yum "Transaction Check Error" trying to install samba-client

    Posted Tue March 06, 2018 11:20 AM

    Originally posted by: Brian.Fitzgerald


    I followed a tree of dependencies with some RPM commands.

    I had already downloaded the parts of aixtoolbox that I wanted.

     

    # pwd

    /opensource/aixtoolbox/RPMS/ppc/samba

     

    # rpm -qpR samba-4.6.4-2.aix6.1.ppc.rpm

    samba-common = 4.6.4-2

    samba-libs = 4.6.4-2

    bash

    cups >= 2.0.2-2

    AIX-rpm >= 6.1.0.0

    /bin/sh

    /bin/sh

    rpmlib(PayloadFilesHavePrefix) <= 4.0-1

    rpmlib(CompressedFileNames) <= 3.0.4-1

    /bin/sh

    /usr/bin/ksh

    libCHARSET3-samba4.so

    libaddns-samba4.so

    libads-samba4.so

    libasn1-samba4.so

    libasn1util-samba4.so

    libauth-sam-reply-samba4.so

    libauth-samba4.so

    libauthkrb5-samba4.so

    libbsd.a(shr.o)

    libc.a(shr.o)

    libcli-cldap-samba4.so

    libcli-ldap-common-samba4.so

    libcli-ldap-samba4.so

    libcli-nbt-samba4.so

    libcli-smb-common-samba4.so

    libcli-spoolss-samba4.so

    libcliauth-samba4.so

    libcom_err-samba4.so

    libcups.so

    libdbwrap-samba4.so

    libdcerpc-binding.so

    libdcerpc-samba-samba4.so

    libevents-samba4.so

    libflag-mapping-samba4.so

    libgenrand-samba4.so

    libgensec-samba4.so

    libgse-samba4.so

    libgssapi-samba4.so

    libhcrypto-samba4.so

    libheimbase-samba4.so

    libhx509-samba4.so

    libinterfaces-samba4.so

    libiov-buf-samba4.so

    libkrb5-samba4.so

    libkrb5samba-samba4.so

    libldb.so

    libldbsamba-samba4.so

    liblibcli-lsa3-samba4.so

    liblibcli-netlogon3-samba4.so

    liblibsmb-samba4.so

    libmessages-dgm-samba4.so

    libmessages-util-samba4.so

    libmsghdr-samba4.so

    libmsrpc3-samba4.so

    libndr-krb5pac.so

    libndr-nbt.so

    libndr-samba-samba4.so

    libndr-samba4.so

    libndr-standard.so

    libndr.so

    libnet-keytab-samba4.so

    libnetapi.so

    libnetif-samba4.so

    libnon-posix-acls-samba4.so

    libnpa-tstream-samba4.so

    libnsl.a(shr.o)

    libpopt-samba3-samba4.so

    libpopt.so

    libprinting-migrate-samba4.so

    libpthread.a(shr_xpg5.o)

    libreplace-samba4.so

    libroken-samba4.so

    librtl.a(shr.o)

    libsamba-cluster-support-samba4.so

    libsamba-credentials.so

    libsamba-debug-samba4.so

    libsamba-errors.so

    libsamba-hostconfig.so

    libsamba-modules-samba4.so

    libsamba-passdb.so

    libsamba-security-samba4.so

    libsamba-sockets-samba4.so

    libsamba-util.so

    libsamba3-util-samba4.so

    libsamdb-common-samba4.so

    libsamdb.so

    libsecrets3-samba4.so

    libserver-id-db-samba4.so

    libserver-role-samba4.so

    libsmb-transport-samba4.so

    libsmbconf.so

    libsmbd-base-samba4.so

    libsmbd-conn-samba4.so

    libsmbd-shim-samba4.so

    libsmbldap.so

    libsocket-blocking-samba4.so

    libsys-rw-samba4.so

    libtalloc-report-samba4.so

    libtalloc.so

    libtdb-wrap-samba4.so

    libtdb.so

    libtevent-util.so

    libtevent.so

    libtime-basic-samba4.so

    libtrusts-util-samba4.so

    libutil-cmdline-samba4.so

    libutil-reg-samba4.so

    libutil-setid-samba4.so

    libutil-tdb-samba4.so

    libwbclient.so

    libwinbind-client-samba4.so

    libwind-samba4.so

    libxattr-tdb-samba4.so

     

    cd ../cups

     

    # rpm -qpR cups-2.0.2-2.aix6.1.ppc.rpm

    cups-libs = 2.0.2-2

    /bin/sh

    /bin/sh

    libc.a(shr.o)

    libgcc_s.a(shr.o)

    libiconv.a(shr4.o)

    libpam.a(shr.o)

    libpthreads.a(shr_comm.o)

    libpthreads.a(shr_xpg5.o)

    libstdc++.a(libstdc++.so.6)

    libz.a(libz.so.1)

     

    # rpm -qpR cups-libs-2.0.2-2.aix6.1.ppc.rpm

    libjpeg >= 6b-6

    libpaper >= 1.1.23-1

    libpng >= 1.2.32-2

    libtiff >= 3.8.2-1

    libc.a(shr.o)

    libgcc_s.a(shr.o)

    libiconv.a(shr4.o)

    libpthreads.a(shr_xpg5.o)

    libstdc++.a(libstdc++.so.6)

    libz.a(libz.so.1)

     

    cd ../libjpeg

    # rpm -qpR libjpeg-6b-6.aix5.1.ppc.rpm

    libc.a(shr.o)

    libjpeg.a(libjpeg.so.62)

     

    # rpm -qpR libjpeg-devel-6b-6.aix5.1.ppc.rpm

    libjpeg

     

    Hmmmm.  The devel version in the directory with the regular binary references the directory it is in instead of a binary or an RPM.

    Maybe that breaks something in a very curious and unexpected way.  I don't know.  I hope someone does.

     

    Regards,

    Brian