On Sat, Nov 16, 2024 at 01:06:06AM +0100, Francesco Poli wrote:
>...
> First of all, I want to introduce a new APT configuration option named
> AptListbugs::DistroRelease (this can be set by the sysadmin in any APT
> configuration file, such as /etc/apt/apt.conf.d/10apt-listbugs ).
>...

Manual maintainance by the sysadmin sounds like a bad idea to me,
using VERSION_CODENAME from /etc/os-release would be a better option.

Perhaps with a way to override this default.

>...
> Then, during its normal operation, apt-listbugs will check the tags of
> each bug. If the tags include some release tags (that is to say, tags
> that are equal to any of the codenames found in the output of
> 'distro-info --codename --all'), but not the codename corresponding to
> AptListbugs::DistroRelease (or to the -r option), then apt-listbugs
> will ignore the bug.
>...

I wonder if it would be feasible to query UDD:
https://udd.debian.org/schema/udd.html
https://udd-mirror.debian.net/

$ psql "postgresql://udd-mirror:udd-mir...@udd-mirror.debian.net/udd"
psql (17.2 (Debian 17.2-1), server 13.15 (Debian 13.15-0+deb11u1))
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: 
off, ALPN: none)
Type "help" for help.

udd=> SELECT id, severity, title FROM bugs WHERE package LIKE 'fwupd' AND 
affects_stable = TRUE ORDER BY severity;
   id    | severity  |                                                   title  
                                                 
---------+-----------+-----------------------------------------------------------------------------------------------------------
 1026243 | minor     | fwupd: please remove old .gz cache files on upgrade (now 
using .xz)
  953679 | minor     | fwupd: fwupd delays the poweroff and other problems
 1019939 | minor     | fwupd: Not well documented, what does it actually do on 
Debian systems?
  942008 | normal    | fwupd: uses SHA-1 for integrity
 1007902 | normal    | PluginFlat:legacy-bios doesn't work
 1033936 | normal    | fwupd: FuEngine failed to get releases for UEFI dbx ... 
requires >= 1.8.14
 1003457 | normal    | noisy fwupd error messages with (disabled) TPM 1.2
  941711 | normal    | fwupdmgr: gets the wrong list of updates on OptiPlex 3046
 1027979 | normal    | fwupd: failed to get public key using /fpf/OemCred: 
generic failure [0xb]
 1003932 | normal    | fwupd: GLib g_bytes_get_data: assertion 'bytes != NULL' 
failed
  943343 | normal    | fwupd: fwupd-refresh.service failed to start Refresh 
fwupd metadata and update motd.
 1020552 | normal    | fwupd: segfaults on Secure Boot dbx update
 1022047 | normal    | /usr/bin/fwupdmgr: Failed to update metadata for lvfs: 
checksum failure
  980570 | normal    | fwupd: obsolete-conffile /etc/fwupd/ata.conf
 1005417 | normal    | fwupd: conffiles not removed: 
/etc/pki/fwupd/GPG-KEY-Hughski-Limited /etc/fwupd/upower.conf
 1005977 | normal    | fwupd: Cannot update anymore, fwupdx64.efi... cannot be 
found
 1008185 | normal    | fwupd: Fails to update firmware components on Thinkpad 
T480.
 1032373 | normal    | fwupd: Can't update in Secure Boot mode on Thinkpad 
Carbon X1 Gen5
 1027486 | normal    | "Blocked executable in the ESP", internal dbus error 
message about a device that the machine doesn't have
 1007903 | normal    | error message in logs inconclusive
 1036247 | normal    | /usr/bin/fwupdtool: Unable to download / update Latitude 
7X00 firmware update
  976101 | normal    | fwupdtool keeps / fs busy on shutdown/reboot
 1055163 | normal    | gnome-control-center: Intel Management Engine disabled 
in BIOS but reporting out-of-date (active)
  995270 | normal    | fwupdmgr: WARNING: Firmware can not be updated in legacy 
BIOS mode
  945203 | important | fwupd: Cannot update firmware
  984636 | important | fwupd: dumps core upon startup
  977043 | important | fwupdmgr[1191] trap invalid opcode ip:4247d0 sp:bf98504c 
error:0 in fwupdmgr[423000+15000]
  912414 | important | fwupd: Impossible to refresh metadata from remote server
  943465 | important | fwupd is wrongly marked Multi-Arch: foreign
  921175 | important | fwupdmgr: doesn't install latest firmware update 
(0.1.25) on Thinkpad X280
  988817 | serious   | fwupd: Recommends on nonexistent package secureboot-db
(31 rows)

udd=>



cu
Adrian

Reply via email to