[sane-devel] perfection v10
paddy-hack at member.fsf.org
Mon Jan 6 12:45:58 GMT 2020
> Il 05/01/20 13:45, Olaf Meeuwissen ha scritto:
>> Hi Valerio,
>> valerio writes:
>>> expr: syntax error: missing argument after "-"
>>> tail: invalid number of lines: "/lib/udev/rules.d/60-libsane.rules"
>> I seem to remember seeing this error before but don't have time right
>> now to look for it.
>> In the mean time, can you tell me the distribution (and its version)
>> you use. The output of
>> cat /etc/os-release
>> would be good enough for me on most Debian-based distributions.
> PRETTY_NAME="Debian GNU/Linux bullseye/sid"
That's testing/unstable. Not surprised things break :-/
> NAME="Debian GNU/Linux"
> as you asked
> in this moment I am able to scan an image if i cut the power for about
> half an hour, but not a second one.
There was a similar
expr: syntax error: missing argument after "-"
reported on the list in these two threads
without a final resolution by the looks of it. This was on Ubuntu
19.04, also pretty recent and probably not unlike Debian's bullseye.
The bug is triggered in the post-inst script of the iscan-data package,
when it calls its own make-policy-file utility. Can you provide the
log.out file created by running, as root,
sh -x make-policy-file --force --mode udev \
--registry /var/lib/iscan-data/clean-files \
--out-file policy.out > log.out 2>&1
If the policy.out file is not empty, please attach that too.
# Please use `su -l` or `sudo -i` to become root. Just `exit` to become
# your good old self again.
Hope this helps,
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
More information about the sane-devel