AIX Open Source

 View Only
Expand all | Collapse all

dnf installation of samba.ppc fails with sha256 check failed for 3 packages

  • 1.  dnf installation of samba.ppc fails with sha256 check failed for 3 packages

    Posted Wed March 29, 2023 06:17 AM

    Hello,

    We want to install samba on our AIX 7.2 system. This worked fine on other systems before, but now some months later I get an error for some of the dependencies.

    When trying to install samba via "dnf install samba.ppc" I get the following output (dnf installation is fresh and updated to the latest packages)

    # ./dnf -v install samba.ppc
    Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, migrate, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
    DNF version: 4.2.17
    cachedir: /var/cache/dnf
    os-release file not found
    os-release: falling back to basic User-Agent: missing NAME or VERSION_ID
    repo: using cache for: AIX_Toolbox
    AIX_Toolbox: using metadata from Fri Mar 24 17:24:13 MEZ 2023.
    repo: using cache for: AIX_Toolbox_noarch
    AIX_Toolbox_noarch: using metadata from Fri Mar 10 14:33:27 MEZ 2023.
    repo: using cache for: AIX_Toolbox_72
    AIX_Toolbox_72: using metadata from Fri Feb 10 18:20:50 MEZ 2023.
    Last metadata expiration check: 0:31:27 ago on Wed Mar 29 11:07:31 MESZ 2023.
    No module defaults found
    Completion plugin: Generating completion cache...
    --> Starting dependency resolution
    ---> Package coreutils.ppc 9.0-1 will be installed
    ---> Package samba.ppc 4.16.8-1 will be installed
    ---> Package samba-client.ppc 4.16.8-1 will be installed
    ---> Package samba-common.ppc 4.16.8-1 will be installed
    ---> Package samba-devel.ppc 4.16.8-1 will be installed
    ---> Package samba-libs.ppc 4.16.8-1 will be installed
    ---> Package samba-winbind.ppc 4.16.8-1 will be installed
    ---> Package samba-winbind-clients.ppc 4.16.8-1 will be installed
    ---> Package openldap.ppc 2.4.58-3 will be upgraded
    ---> Package openldap.ppc 2.5.12-1 will be an upgrade
    ---> Package popt.ppc 1.7-2 will be upgraded
    ---> Package popt.ppc 1.18-1 will be an upgrade
    --> Finished dependency resolution
    Dependencies resolved.
    ===========================================================================================================================================================================================================================================================================================================================
     Package                                                                                Architecture                                                         Version                                                                    Repository                                                                    Size
    ===========================================================================================================================================================================================================================================================================================================================
    Installing:
     samba                                                                                  ppc                                                                  4.16.8-1                                                                   AIX_Toolbox                                                                  2.0 M
    Upgrading:
     openldap                                                                               ppc                                                                  2.5.12-1                                                                   AIX_Toolbox                                                                  4.0 M
     popt                                                                                   ppc                                                                  1.18-1                                                                     AIX_Toolbox                                                                  256 k
    Installing dependencies:
     coreutils                                                                              ppc                                                                  9.0-1                                                                      AIX_Toolbox                                                                  9.2 M
     samba-client                                                                           ppc                                                                  4.16.8-1                                                                   AIX_Toolbox                                                                  499 k
     samba-common                                                                           ppc                                                                  4.16.8-1                                                                   AIX_Toolbox                                                                  9.5 M
     samba-devel                                                                            ppc                                                                  4.16.8-1                                                                   AIX_Toolbox                                                                  266 k
     samba-libs                                                                             ppc                                                                  4.16.8-1                                                                   AIX_Toolbox                                                                  1.7 M
     samba-winbind                                                                          ppc                                                                  4.16.8-1                                                                   AIX_Toolbox                                                                  502 k
     samba-winbind-clients                                                                  ppc                                                                  4.16.8-1                                                                   AIX_Toolbox                                                                  127 k

    Transaction Summary
    ===========================================================================================================================================================================================================================================================================================================================
    Install  8 Packages
    Upgrade  2 Packages

    coreutils-9.0-1.ppc: sha256 check failed: !9695836!e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 vs 23bf306d6fd62a89bc7a6b3b88ad384ab12116ae325f364cdf1135e8cb89d972
    samba-4.16.8-1.ppc: sha256 check failed: !2106920!e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 vs 2e55819da8bd289ddf6aa50aa9d9d432417eadea309e83b4c20b4a78cdf1a0b5
    samba-client-4.16.8-1.ppc: sha256 check failed: !510987!e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 vs 0979b4dcf294c31840fec20a8cebc380acc23ce824457cc330a92ffa3921bea4
    Total download size: 28 M
    Is this ok [y/N]: y
    Downloading Packages:
    Segmentation fault(coredump).1.ppc.rpm                                                                                                      0% [                                                                                                                                         ] ---  B/s |   0  B     --:-- ETA

    Does anyone have an idea of what might be our problem?

    Thanks in advance.

    Best regards,

    Lukas



    ------------------------------
    Lukas Volkening
    ------------------------------


  • 2.  RE: dnf installation of samba.ppc fails with sha256 check failed for 3 packages

    Posted Wed March 29, 2023 01:57 PM

    Hi Lukas

    Do you have gpgcheck enabled in dnf.conf file and imported any keys to rpm database ?



    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: dnf installation of samba.ppc fails with sha256 check failed for 3 packages

    Posted Wed April 19, 2023 06:29 AM
    Edited by Lukas Vo. Wed April 19, 2023 06:31 AM

    Hello Sangamesh,

    First thank you very much for your fast reply and sorry for my late reply... The forum itself blocked me from commenting my own post... Now it should be possible again.

    I have not importes any keys to rpm database manually. If so, it was done automatically.

    Here is our cnf.conf file. It is defualt, I haven`t changed anything in it:

    [main]
    cachedir=/var/cache/dnf
    keepcache=1
    debuglevel=2
    logfile=/var/log/dnf.log
    obsoletes=1
    plugins=1
    gpgcheck=1
    installonly_limit=3
    clean_requirements_on_remove=True
    best=True
    skip_if_unavailable=True

    [AIX_Toolbox]
    name=AIX generic repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
    enabled=1
    gpgcheck=0

    [AIX_Toolbox_noarch]
    name=AIX noarch repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/
    enabled=1
    gpgcheck=0

    [AIX_Toolbox_72]
    name=AIX 7.2 specific repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/
    enabled=1
    gpgcheck=0





    ------------------------------
    Lukas Vo.
    ------------------------------