Package: apt-file
Version: 3.0
Severity: wishlist

I would like apt-file to return failure/errors when apt-helper or other
subprocesses are killed or fail. Currently it returns success:

pabs@chianamo ~ $ sh -c 'while ! killall apt-helper 2> /dev/null ; do true ; 
done' & apt-file search --regex "bin/.*(lint|check|valid|tidy|detect)" ; echo 
apt-file returned $?
[1] 9125
xargs: /usr/lib/apt/apt-helper: terminated by signal 15
Command xargs -0r /usr/lib/apt/apt-helper cat-file exited with code 125 at 
/usr/bin/apt-file line 234.
A subprocess exited uncleanly (raw: 32000) - result may be incomplete at 
/usr/bin/apt-file line 276.
fgetty: /bin/checkpassword.login
xserver-xorg-input-vmmouse: /bin/vmmouse_detect
[1]+  Done                    sh -c 'while ! killall apt-helper 2> /dev/null ; 
do true ; done'
apt-file returned 0

I am comparing the apt-file output from day to day for CATS related
binaries and today I had to terminate the cron job for this. As a
result the file where I cache apt-file results was replaced with
apt-file error output and the diff between days was huge.

-- System Information:
Debian Release: stretch/sid
  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.6.0-trunk-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 apt-file depends on:
ii  apt                      1.2.12
ii  libapt-pkg-perl          0.1.29+b5
ii  liblist-moreutils-perl   0.413-1+b1
ii  libregexp-assemble-perl  0.36-1
ii  perl                     5.22.2-1

apt-file recommends no packages.

apt-file 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