Your message dated Sun, 17 Nov 2024 11:02:59 +0000
with message-id <[email protected]>
and subject line Bug#1077694: fixed in prometheus-node-exporter-collectors
0.0~git20230203.6f710f8-1+deb12u2
has caused the Debian Bug report #1077694,
regarding prometheus-node-exporter-collectors: upgradable packages
(apt_upgrades_pending) are not printed but appears as held packages
(apt_upgrades_held)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1077694: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077694
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: prometheus-node-exporter-collectors
Version: 0.0~git20230203.6f710f8-1+deb12u1
Severity: important
Dear Maintainer.
It appears that /usr/share/prometheus-node-exporter-collectors/apt_info.py
reports upgradable packages as "held" :
* What was the outcome of this action?
On a Debian stable machine with currently 29 packages upgradable and 1 held
package :
apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
nano
The following packages will be upgraded:
base-files bash distro-info-data libc-bin libc-l10n libc6
libcryptsetup12 libcurl3-gnutls libgnutls30
libnss-systemd libpam-systemd libperl5.36 libseccomp2
libsystemd-shared libsystemd0 libudev1 locales
perl perl-base perl-modules-5.36 postfix python3-idna systemd
systemd-sysv systemd-timesyncd tar
tzdata udev usrmerge
29 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 30,5 MB of archives.
After this operation, 490 kB of additional disk space will be used.
Do you want to continue? [Y/n]
apt_info.py reports upgradable packages as as "held" :
/usr/share/prometheus-node-exporter-collectors/apt_info.py
# HELP apt_upgrades_pending Apt packages pending updates by origin.
# TYPE apt_upgrades_pending gauge
apt_upgrades_pending{origin="",arch=""} 0
# HELP apt_upgrades_held Apt packages pending updates but held back.
# TYPE apt_upgrades_held gauge
apt_upgrades_held{origin="Debian:bookworm/stable",arch="all"} 7
apt_upgrades_held{origin="Debian:bookworm/stable",arch="amd64"} 23
# HELP apt_autoremove_pending Apt packages pending autoremoval.
# TYPE apt_autoremove_pending gauge
apt_autoremove_pending 0
# HELP node_reboot_required Node reboot is required for software updates.
# TYPE node_reboot_required gauge
node_reboot_required 0
* What outcome did you expect instead?
I expect instead to see apt_upgrades_pending info like this :
...
# TYPE apt_upgrades_pending gauge
apt_upgrades_pending{origin="Debian:bookworm/stable",arch="all"} 7
apt_upgrades_pending{origin="Debian:bookworm/stable",arch="amd64"} 23
...
and the right number of held packages :
...
apt_upgrades_held{origin="Debian:bookworm/stable",arch="amd64"} 1
...
-- System Information:
Debian Release: 12.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-23-amd64
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages prometheus-node-exporter-collectors depends on:
ii moreutils 0.67-1
ii prometheus-node-exporter 1.5.0-1+b6
ii python3-apt 2.6.0
ii systemd-sysv 252.17-1~deb12u1
Versions of packages prometheus-node-exporter-collectors recommends:
pn ipmitool <none>
ii jq 1.6-2.1
pn nvme-cli <none>
ii python3 3.11.2-1+b1
pn smartmontools <none>
prometheus-node-exporter-collectors suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: prometheus-node-exporter-collectors
Source-Version: 0.0~git20230203.6f710f8-1+deb12u2
Done: Reinhard Tartler <[email protected]>
We believe that the bug you reported is fixed in the latest version of
prometheus-node-exporter-collectors, which is due to be installed in the Debian
FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Reinhard Tartler <[email protected]> (supplier of updated
prometheus-node-exporter-collectors package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 15 Nov 2024 19:13:55 -0500
Binary: prometheus-node-exporter-collectors
Source: prometheus-node-exporter-collectors
Architecture: all source
Version: 0.0~git20230203.6f710f8-1+deb12u2
Distribution: bookworm
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Reinhard Tartler <[email protected]>
Closes: 1077694
Description:
prometheus-node-exporter-collectors - Supplemental textfile collector scripts
for Prometheus node_expor
Changes:
prometheus-node-exporter-collectors (0.0~git20230203.6f710f8-1+deb12u2)
bookworm; urgency=medium
.
* Team upload
.
[ Antoine Beaupré ]
* Add missing `apt_package_cache_timestamp_seconds` metrics ommitted from
previous upload.
.
[ Reinhard Tartler ]
* apt_info.py: fix apt_upgrades_pending and apt_upgrades_held, Closes:
#1077694
* backport another improvement to apt_package_cache_timestamp_seconds
Checksums-Sha1:
6d041877ccdba77d941193af9569e73707f0a430 2646
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2.dsc
4180c8313eb35fac77dd9d03bb8ef9decbefb20d 7308
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2.debian.tar.xz
d5d78ad25d4aabb4a3ad6d7e5a7f01842e6d61b7 28872
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2_all.deb
b6fe50ab8332427d2645684c1795e412416f269f 6234
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2_amd64.buildinfo
Checksums-Sha256:
7baacd20097b4e97d55aae3375ccf1a2075491cded9e91a33cf3302f3d9789f5 2646
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2.dsc
8f29591e3a0bebc61ec039c967c72021ded10f7aaeb6afde3d4117daa8f6fe63 7308
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2.debian.tar.xz
9b859261317100e543e0de097c78c336cc6071162e7413e5d12f80c7eb010cc1 28872
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2_all.deb
83f81041f08ff2c31990c63cd6f1dd45ca76360c5161231aac72e9fe56e7d268 6234
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2_amd64.buildinfo
Files:
e2aa92c5c74790f24645ea68bec08bb4 2646 net optional
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2.dsc
b6ebc480ef66c84b9981b760a8b883ba 7308 net optional
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2.debian.tar.xz
26e135399788b680a2048c075239cc3e 28872 net optional
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2_all.deb
f3199418f8a74bb3e4fe8a6ed588727a 6234 net optional
prometheus-node-exporter-collectors_0.0~git20230203.6f710f8-1+deb12u2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEMN59F2OrlFLH4IJQSadpd5QoJssFAmc43kQUHHNpcmV0YXJ0
QHRhdXdhcmUuZGUACgkQSadpd5QoJsubkQ/8CBqXLxIP+6GhQb34RDFtTXT2oYpE
DO7nIgZO8WSnRgiE3lSQeV1D2sRrjhZJJdixyDj70KDuIx7P5SMqWjHDVoCrSiXD
KzkZCmRq3iDmcjeibX7JaaCDKl6Nynf/bZnU3AgJlnLJaPfdiKgfNc1hRjRCLKbw
k4eKeg1s2S6/k3XHlzRah0hbhYMjvMtowsfi75JsCf/g1sS1kHF7woQfPt/Tx3Oh
qx1fhXzuZpLSZ6SQ1zH3AF1ZXIEps0s3mnLLqc4P3Xn09mzV8NzhOPY7QN+VXYUu
VLMlBwajgT2AB0NSA4+gnQka32xFouLwU0lLUKKMohyC3NGwXuAYHTyTellNhn2/
oYVyOQ3s+e/+fLWhR6yPDSJJQ8rds8fOOQavkAEMMUt5AFizlI2BqBaML2CmB8by
pHPGFUdpoqTQuoAojFnhdkEKfX7f4wfn+o7GVF1LHZnjsWLNo2BJbDv07iRvh8qZ
BDzMHfaHummh0OrSpAB9CjsQsAiMoz0xzmX4rZ5LlJMaqnP8B4nkiIbSxTtH3Rj5
jwmAPqhGdGAtR0qwoJ1Ie5/MxWwD/e+RL8zdA7GrfG+iOqUDQCxGhFqpkqfvFcoH
v/VpTqE5+2k1ipQACzDfuzC3PNKM1bsCe++QvAYwMRhRgAAjfOo44y6wQPuN2402
fQ6g3EqGmmqb/WY=
=+hv0
-----END PGP SIGNATURE-----
pgpsbEJAxTsCV.pgp
Description: PGP signature
--- End Message ---