Bug#927910: screenfetch: error printed if /proc/fb doesn't exist

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Bug#927910: screenfetch: error printed if /proc/fb doesn't exist

Matti Viljanen
Package: screenfetch
Version: 3.8.0-8
Severity: minor

Dear Maintainer,

I am running Debian Buster on my Fujitsu Q703 aka. QNap TS-221, details
of which you can find below. I installed screenfetch via apt and ran the
command, and it printed out a warning before the actual output:

awk: cannot open /proc/fb (No such file or directory)

This is because my NAS box does not have a framebuffer device, and the
Debian version of the screenfetch is rather old. This happens in
DetectIntelGPU() function, which does not test if file /proc/fb exists.

This was fixed in upstream in 20 Apr 2017:


Please consider updating the source. Thank you.

-- System Information:
Debian Release: buster/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 4.19.0-4-marvell
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8),
LANGUAGE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages screenfetch depends on:
ii  bc      1.07.1-2+b1
ii  procps  2:3.3.15-2

Versions of packages screenfetch recommends:
ii  scrot  0.9-1

screenfetch suggests no packages.

-- no debconf information