Package: how-can-i-help
Version: 15
Severity: normal
Usertags: home

When `how-can-i-help --apt` is run from unattended-upgrades it fails:

how-can-i-help: Unable to resolve your $HOME directory - cannot continue.

This is because it has bogus home directory handling.
The HOME environment variable does not have to be present,
programs must fall back to the value in the passwd file.

pabs@chianamo ~ $ unset HOME
pabs@chianamo /home/pabs $ how-can-i-help 
how-can-i-help: Unable to resolve your $HOME directory - cannot continue.
pabs@chianamo /home/pabs $ echo ~
/home/pabs
pabs@chianamo /home/pabs $ getent passwd pabs | cut -d: -f6
/home/pabs

-- System Information:
Debian Release: 9.0
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 
'testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 
'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 
'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages how-can-i-help depends on:
ii  ruby         1:2.3.3
ii  ruby-debian  0.3.9+b6
ii  ruby-json    2.0.1+dfsg-3

how-can-i-help recommends no packages.

how-can-i-help suggests no packages.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to