[Rpm-maint] [rpm-software-management/rpm] Requires in package won't upgrade required package (Discussion #2724)
Matej Zerovnik
notifications at github.com
Tue Oct 17 09:43:04 UTC 2023
I have to admit this is a bit too much for me:)
Let me post the output of rpm upgrade and if you can help pointing out the problem, I'll be very happy:)
Environment:
```
[root at abc ~]# rpm -qa | grep dcgm_exporter
dcgm_exporter-3.1.7-6.el8.x86_64
[root@ abc ~]# rpm -qa | grep datacenter
datacenter-gpu-manager-2.4.7-1.x86_64
[root at abc ~]# rpm -qp dcgm_exporter-3.1.7-9.el8.x86_64.rpm --requires | grep datacenter
datacenter-gpu-manager = 1:3.2.5-1
```
Upgrading the package:
```
[root at abc ~]# rpm -Uvv dcgm_exporter-3.1.7-9.el8.x86_64.rpm
ufdio: 1 reads, 17154 total bytes in 0.000009 secs
D: ============== dcgm_exporter-3.1.7-9.el8.x86_64.rpm
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening db environment /var/lib/rpm cdb:0x401
D: opening db index /var/lib/rpm/Packages 0x400 mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Name 0x400 mode=0x0
D: read h# 400
Header SHA1 digest: OK
D: added key gpg-pubkey-3abb34f8-5ffd890e to keyring
D: added subkey 0 of main key gpg-pubkey-3abb34f8-5ffd890e to keyring
D: read h# 401
Header SHA1 digest: OK
D: added key gpg-pubkey-ef8d349f-57b6233e to keyring
D: read h# 402
Header SHA1 digest: OK
D: added key gpg-pubkey-9e61ef26-5cabbf8a to keyring
D: added subkey 0 of main key gpg-pubkey-9e61ef26-5cabbf8a to keyring
D: read h# 594
Header SHA1 digest: OK
D: added key gpg-pubkey-dfef9127-5db710ae to keyring
D: read h# 603
Header SHA1 digest: OK
D: added key gpg-pubkey-2f86d6a1-5cf7cefb to keyring
D: read h# 604
Header SHA1 digest: OK
D: added key gpg-pubkey-d42d0685-62589a51 to keyring
D: Using legacy gpg-pubkey(s) from rpmdb
D: dcgm_exporter-3.1.7-9.el8.x86_64.rpm: Header SHA256 digest: OK
D: dcgm_exporter-3.1.7-9.el8.x86_64.rpm: Header SHA1 digest: OK
ufdio: 6 reads, 8384 total bytes in 0.000006 secs
D: Plugin: calling hook init in systemd_inhibit plugin
D: read h# 1293
Header SHA256 digest: OK
Header SHA1 digest: OK
D: added binary package [0]
D: found 0 source and 1 binary packages
D: opening db index /var/lib/rpm/Conflictname 0x400 mode=0x0
D: opening db index /var/lib/rpm/Requirename 0x400 mode=0x0
D: ========== +++ dcgm_exporter-3.1.7-9.el8 x86_64/linux 0x2
D: opening db index /var/lib/rpm/Basenames 0x400 mode=0x0
D: read h# 28
Header V4 RSA/SHA256 Signature, key ID c21ad6ea: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D: Requires: /bin/sh YES (db files)
D: Requires: /bin/sh YES (cached)
D: Requires: /bin/sh YES (cached)
D: opening db index /var/lib/rpm/Providename 0x400 mode=0x0
D: read h# 1278
Header V4 RSA/SHA512 Signature, key ID d42d0685: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D: Requires: datacenter-gpu-manager = 1:3.2.5-1 YES (db provides)
D: read h# 408
Header V4 RSA/SHA256 Signature, key ID c21ad6ea: OK
Header SHA256 digest: OK
Header SHA1 digest: OK
D: Requires: libc.so.6()(64bit) YES (db provides)
D: Requires: libc.so.6(GLIBC_2.2.5)(64bit) YES (db provides)
D: Requires: libdl.so.2()(64bit) YES (db provides)
D: Requires: libdl.so.2(GLIBC_2.2.5)(64bit) YES (db provides)
D: Requires: libpthread.so.0()(64bit) YES (db provides)
D: Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) YES (db provides)
D: Requires: libpthread.so.0(GLIBC_2.3.2)(64bit) YES (db provides)
D: Requires: libresolv.so.2()(64bit) YES (db provides)
D: Requires: libresolv.so.2(GLIBC_2.2.5)(64bit) YES (db provides)
D: Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 YES (rpmlib provides)
D: Requires: rpmlib(FileDigests) <= 4.6.0-1 YES (rpmlib provides)
D: Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 YES (rpmlib provides)
D: Requires: rpmlib(PayloadIsXz) <= 5.2-1 YES (rpmlib provides)
D: Requires: rtld(GNU_HASH) YES (db provides)
D: opening db index /var/lib/rpm/Obsoletename 0x400 mode=0x0
D: ========== --- dcgm_exporter-3.1.7-6.el8 x86_64/linux 0x2
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, depth)
D: 0 0 0 1 +dcgm_exporter-3.1.7-9.el8.x86_64
D: 1 0 0 1 -dcgm_exporter-3.1.7-6.el8.x86_64
D: installing binary packages
D: closed db index /var/lib/rpm/Packages
D: closed db index /var/lib/rpm/Obsoletename
D: closed db index /var/lib/rpm/Conflictname
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Requirename
D: closed db index /var/lib/rpm/Basenames
D: closed db index /var/lib/rpm/Name
D: closed db environment /var/lib/rpm
D: opening db environment /var/lib/rpm cdb:0x401
D: opening db index /var/lib/rpm/Packages (none) mode=0x42
D: sanity checking 1 elements
D: opening db index /var/lib/rpm/Name (none) mode=0x42
D: read h# 1293
Header SHA256 digest: OK
Header SHA1 digest: OK
Verifying packages...
ufdio: 238 reads, 7548700 total bytes in 0.001874 secs
D: Plugin: calling hook tsm_pre in selinux plugin
D: Plugin: calling hook tsm_pre in systemd_inhibit plugin
D: System shutdown blocked (fd 12)
D: running pre-transaction scripts
D: computing 12 file fingerprints
D: opening db index /var/lib/rpm/Basenames (none) mode=0x42
D: opening db index /var/lib/rpm/Group (none) mode=0x42
D: opening db index /var/lib/rpm/Requirename (none) mode=0x42
D: opening db index /var/lib/rpm/Providename (none) mode=0x42
D: opening db index /var/lib/rpm/Conflictname (none) mode=0x42
D: opening db index /var/lib/rpm/Obsoletename (none) mode=0x42
D: opening db index /var/lib/rpm/Triggername (none) mode=0x42
D: opening db index /var/lib/rpm/Dirnames (none) mode=0x42
D: opening db index /var/lib/rpm/Installtid (none) mode=0x42
D: opening db index /var/lib/rpm/Sigmd5 (none) mode=0x42
D: opening db index /var/lib/rpm/Sha1header (none) mode=0x42
D: opening db index /var/lib/rpm/Filetriggername (none) mode=0x42
D: opening db index /var/lib/rpm/Transfiletriggername (none) mode=0x42
D: opening db index /var/lib/rpm/Recommendname (none) mode=0x42
D: opening db index /var/lib/rpm/Suggestname (none) mode=0x42
D: opening db index /var/lib/rpm/Supplementname (none) mode=0x42
D: opening db index /var/lib/rpm/Enhancename (none) mode=0x42
Preparing packages...
D: computing file dispositions
D: 0x0000fd00 4096 104904301 217064878 /
D: %transfiletriggerun(systemd-239-74.el8_8.5.x86_64): scriptlet start
fdio: 2 writes, 799 total bytes in 0.000014 secs
D: %transfiletriggerun(systemd-239-74.el8_8.5.x86_64): execv(/bin/sh) pid 82323
D: Plugin: calling hook scriptlet_fork_post in selinux plugin
+ test -d /run/systemd/system
+ mkdir -p /var/lib/rpm-state/systemd
+ touch /var/lib/rpm-state/systemd/needs-reload
D: %transfiletriggerun(systemd-239-74.el8_8.5.x86_64): waitpid(82323) rc 82323 status 0
D: Plugin: calling hook psm_pre in selinux plugin
D: ========== +++ dcgm_exporter-3.1.7-9.el8 x86_64-linux 0x2
D: dcgm_exporter-3.1.7-9.el8.x86_64: Header SHA256 digest: OK
D: dcgm_exporter-3.1.7-9.el8.x86_64: Header SHA1 digest: OK
D: install: dcgm_exporter-3.1.7-9.el8.x86_64 has 6 files
D: Plugin: calling hook psm_pre in selinux plugin
dcgm_exporter-3.1.7-9.el8.x86_64
D: ========== Directories not explicitly included in package:
D: 0 /etc/dcgm-exporter/
D: 1 /usr/bin/
D: 2 /usr/lib/
D: 5 /usr/lib/systemd/system/
D: ==========
D: create 100644 1 ( 0, 0) 4206 /etc/dcgm-exporter/default-counters.csv;652e56a3
ufdio: 1 writes, 4206 total bytes in 0.000012 secs
D: Plugin: calling hook fsm_file_prepare in selinux plugin
D: create 100755 1 ( 0, 0)33894280 /usr/bin/dcgm_exporter;652e56a3
ufdio: 1035 writes, 33894280 total bytes in 0.009244 secs
D: Plugin: calling hook fsm_file_prepare in selinux plugin
D: create 040755 1 ( 0, 0) 0 /usr/lib/.build-id
D: Plugin: calling hook fsm_file_prepare in selinux plugin
D: create 040755 1 ( 0, 0) 0 /usr/lib/.build-id/87
D: Plugin: calling hook fsm_file_prepare in selinux plugin
D: create 120777 1 ( 0, 0) 33 /usr/lib/.build-id/87/7a4f2ba49e09c851bd23843f72f73cf5bad640;652e56a3
D: Plugin: calling hook fsm_file_prepare in selinux plugin
D: create 100644 1 ( 0, 0) 392 /usr/lib/systemd/system/dcgm_exporter.service;652e56a3
ufdio: 1 writes, 392 total bytes in 0.000015 secs
D: Plugin: calling hook fsm_file_prepare in selinux plugin
fdio: 1067 reads, 33899928 total bytes in 0.634453 secs
D: adding "dcgm_exporter" to Name index.
D: adding 6 entries to Basenames index.
D: adding "Unspecified" to Group index.
D: adding 18 entries to Requirename index.
D: adding 2 entries to Providename index.
D: adding 6 entries to Dirnames index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Sigmd5 index.
D: adding "a1b9d18461f220e2c4cc998ea3daf45d9b39184b" to Sha1header index.
D: %post(dcgm_exporter-3.1.7-9.el8.x86_64): scriptlet start
fdio: 2 writes, 143 total bytes in 0.000010 secs
D: %post(dcgm_exporter-3.1.7-9.el8.x86_64): execv(/bin/sh) pid 82326
D: Plugin: calling hook scriptlet_fork_post in selinux plugin
+ '[' 2 -eq 1 ']'
D: %post(dcgm_exporter-3.1.7-9.el8.x86_64): waitpid(82326) rc 82326 status 0
ufdio: 6 reads, 8384 total bytes in 0.000006 secs
D: ========== +++ dcgm_exporter-3.1.7-6.el8 x86_64-linux 0x2
D: erase: dcgm_exporter-3.1.7-6.el8.x86_64 has 6 files
D: Plugin: calling hook psm_pre in selinux plugin
D: %preun(dcgm_exporter-3.1.7-6.el8.x86_64): scriptlet start
fdio: 2 writes, 158 total bytes in 0.000008 secs
D: %preun(dcgm_exporter-3.1.7-6.el8.x86_64): execv(/bin/sh) pid 82327
D: Plugin: calling hook scriptlet_fork_post in selinux plugin
+ '[' 1 -eq 0 ']'
D: %preun(dcgm_exporter-3.1.7-6.el8.x86_64): waitpid(82327) rc 82327 status 0
dcgm_exporter-3.1.7-6.el8.x86_64
D: skip 100644 1 ( 0, 0) 392 /usr/lib/systemd/system/dcgm_exporter.service
D: erase 120777 1 ( 0, 0) 33 /usr/lib/.build-id/7e/eadd30532162b7ac11e2c8899a169bf32b8534
D: skip 040755 2 ( 0, 0) 4096 /usr/lib/.build-id/7e
D: skip 040755258 ( 0, 0) 8192 /usr/lib/.build-id
D: skip 100755 1 ( 0, 0)33894280 /usr/bin/dcgm_exporter
D: skip 100644 1 ( 0, 0) 4206 /etc/dcgm-exporter/default-counters.csv
D: %postun(dcgm_exporter-3.1.7-6.el8.x86_64): scriptlet start
D: %postun(dcgm_exporter-3.1.7-6.el8.x86_64): execv(/bin/sh) pid 82328
D: Plugin: calling hook scriptlet_fork_post in selinux plugin
D: %postun(dcgm_exporter-3.1.7-6.el8.x86_64): waitpid(82328) rc 82328 status 0
D: --- h# 1293 dcgm_exporter-3.1.7-6.el8.x86_64
D: adding "dcgm_exporter" to Name index.
D: adding 6 entries to Basenames index.
D: adding "Unspecified" to Group index.
D: adding 18 entries to Requirename index.
D: adding 2 entries to Providename index.
D: adding 6 entries to Dirnames index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Sigmd5 index.
D: adding "b5fbf68034bd4321d9fa3e791fd5952380899cf1" to Sha1header index.
D: running post-transaction scripts
D: %transfiletriggerin(glibc-common-2.28-225.el8_8.6.x86_64): scriptlet start
fdio: 2 writes, 21 total bytes in 0.000009 secs
D: %transfiletriggerin(glibc-common-2.28-225.el8_8.6.x86_64): execv(/bin/sh) pid 82329
D: Plugin: calling hook scriptlet_fork_post in selinux plugin
+ /sbin/ldconfig
D: %transfiletriggerin(glibc-common-2.28-225.el8_8.6.x86_64): waitpid(82329) rc 82329 status 0
D: %transfiletriggerin(systemd-239-74.el8_8.5.x86_64): scriptlet start
fdio: 2 writes, 322 total bytes in 0.000013 secs
D: %transfiletriggerin(systemd-239-74.el8_8.5.x86_64): execv(/bin/sh) pid 82331
D: Plugin: calling hook scriptlet_fork_post in selinux plugin
+ test -d /run/systemd/system
+ /usr/bin/systemctl daemon-reload
D: %transfiletriggerin(systemd-239-74.el8_8.5.x86_64): waitpid(82331) rc 82331 status 0
D: read h# 1294
Header SHA256 digest: OK
Header SHA1 digest: OK
D: Plugin: calling hook psm_pre in selinux plugin
D: Plugin: calling hook tsm_post in selinux plugin
D: Plugin: calling hook tsm_post in systemd_inhibit plugin
D: System shutdown unblocked
D: closed db index /var/lib/rpm/Packages
D: closed db index /var/lib/rpm/Enhancename
D: closed db index /var/lib/rpm/Supplementname
D: closed db index /var/lib/rpm/Suggestname
D: closed db index /var/lib/rpm/Recommendname
D: closed db index /var/lib/rpm/Transfiletriggername
D: closed db index /var/lib/rpm/Filetriggername
D: closed db index /var/lib/rpm/Sha1header
D: closed db index /var/lib/rpm/Sigmd5
D: closed db index /var/lib/rpm/Installtid
D: closed db index /var/lib/rpm/Dirnames
D: closed db index /var/lib/rpm/Triggername
D: closed db index /var/lib/rpm/Obsoletename
D: closed db index /var/lib/rpm/Conflictname
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Requirename
D: closed db index /var/lib/rpm/Group
D: closed db index /var/lib/rpm/Basenames
D: closed db index /var/lib/rpm/Name
D: closed db environment /var/lib/rpm
D: Exit status: 0
```
What does `D: Requires: datacenter-gpu-manager = 1:3.2.5-1 YES (db provides)` mean?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2724#discussioncomment-7302039
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/2724/comments/7302039 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231017/44f59cfe/attachment-0001.html>
More information about the Rpm-maint
mailing list