Your message dated Fri, 26 Dec 2025 21:28:45 -0800
with message-id <[email protected]>
and subject line Fixed in latest version
has caused the Debian Bug report #842795,
regarding email-reminder: Fail to send email as release version cannot be detect
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.)


-- 
842795: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842795
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: email-reminder
Version: 0.7.8-3
Severity: normal

Dear Maintainer,

Not sure if this must be reported on email-reminder or lsb-release.

When email-reminder has to send an email, it did not succeed and in the
log I got:
/etc/cron.daily/email-reminder:
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 95, in <module>
    main()
  File "/usr/bin/lsb_release", line 59, in main
    distinfo = lsb_release.get_distro_information()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 341, in
get_distro_information
    distinfo = guess_debian_release()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 283, in
guess_debian_release
    rinfo = guess_release_from_apt()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 188, in
guess_release_from_apt
    releases = parse_apt_policy()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 171, in
parse_apt_policy
    close_fds=True).communicate()[0].decode('utf-8')
  File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'apt-cache'
Error: could not mail the reminder out
run-parts: /etc/cron.daily/email-reminder exited with return code 255

In a root terminal, I got:
# su - email-reminder -s /bin/bash -c /usr/bin/lsb_release
No LSB modules are available.

# su - email-reminder -s /bin/bash -c `/usr/bin/lsb_release -a`
No LSB modules are available.
ID:: Distributor : commande introuvable

# /usr/bin/lsb_release
No LSB modules are available.

# /usr/bin/lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing (stretch)
Release:        testing
Codename:       stretch

# dpkg -l | grep lsb
ii  lsb-base                              9.20161016
all          Linux Standard Base init script functionality
ii  lsb-release                           9.20161016
all          Linux Standard Base version reporting utility

# dpkg -l | grep apt
ii  apt                                   1.3.1
amd64        commandline package manager

It seems it failed as he did not find LSB modules but lsb-base is
installed.

Is there some other package which are required ?


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages email-reminder depends on:
ii  adduser                3.115
ii  cron                   3.0pl1-128
ii  debconf [debconf-2.0]  1.5.59
ii  libdate-manip-perl     6.56-1
ii  libemail-valid-perl    1.202-1
ii  libgtk2-perl           2:1.2499-1
ii  libxml-dom-perl        1.44-2
ii  perl                   5.24.1~rc3-3

Versions of packages email-reminder recommends:
ii  anacron                                    2.3-23
ii  exim4                                      4.87-3
ii  exim4-daemon-light [mail-transport-agent]  4.87-3+b1
ii  libauthen-sasl-perl                        2.1600-1
ii  libemail-mime-encodings-perl               1.315-1
ii  libnet-smtp-ssl-perl                       1.03-1

email-reminder suggests no packages.

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Version: 1.0.1-1

This should be fixed now that the backend code has been rewritten to Go.

Francois

--- End Message ---

Reply via email to