Public bug reported:
########
OS version: Ubuntu 14.04.6 LTS, Trusty Tahr
OS flavor: Ubuntu Studio
########
Package versions exhibiting error:
1.0.5~ubuntu14.04.1
1.0.6~ubuntu14.04.1
########
Scenario:
Error first occurred when I tried to install solaar package a few weeks ago, to
drive my new Logitech wireless keyboard+mouse, I gave up after 2 or 3 tries and
purged the package from the system.
Yesterday, I decided to give it another try with the new package version, but
the error is still the same.
########
Error message:
root@mrblack:~# apt install solaar
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
solaar
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/204 kB of archives.
After this operation, 1 241 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package solaar.
(Reading database ... 309925 files and directories currently installed.)
Preparing to unpack .../solaar_1.0.6~ubuntu14.04.1_all.deb ...
Unpacking solaar (1.0.6~ubuntu14.04.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1.1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up solaar (1.0.6~ubuntu14.04.1) ...
File "/usr/share/solaar/lib/solaar/ui/config_panel.py", line 503
sbox._button.set_label(f'{active} / {total}')
^
SyntaxError: invalid syntax
File "/usr/share/solaar/lib/solaar/ui/diversion_rules.py", line 1212
return f'{x}, {y}'
^
SyntaxError: invalid syntax
File "/usr/share/solaar/lib/logitech_receiver/settings.py", line 995
f'{self.__class__.__name__}: failed to validate read value for
{item}.{sub_item}: ' +
^
SyntaxError: invalid syntax
File "/usr/share/solaar/lib/logitech_receiver/device.py", line 422
_log.info(f'Tried to remove nonexistent notification handler {id} from
device {self}.')
^
SyntaxError: invalid syntax
File "/usr/share/solaar/lib/logitech_receiver/hidpp20.py", line 497
)
^
SyntaxError: invalid syntax
File "/usr/share/solaar/lib/hidapi/udev.py", line 167
phys = f'{receiver_phys}:{index}'
^
SyntaxError: invalid syntax
dpkg: error processing package solaar (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
solaar
E: Sub-process /usr/bin/dpkg returned an error code (1)
########
** Affects: solaar (Ubuntu)
Importance: Undecided
Status: New
** Tags: configuration postinst solaar syntax
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1936447
Title:
Package post-install configuration fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/solaar/+bug/1936447/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs