Сan't удаляют Office v 11.1.0.9080 WPS на Ubuntu 19.10

Нет никакого способа, которым я могу удалить Office WPS... Я установил Office 2019 WPS Для Linux v. 11.1.0.9080 от wps-office_11.1.0.9080. XA_amd64.deb с помощью GDebi. Теперь я должен удалить его. В Ubuntu 19.10 я использую команду:

$ sudo apt-get purge wps-office

У меня есть результат:

Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  wps-office*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,140 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 308773 files and directories currently installed.)
Removing wps-office (11.1.0.9080.XA) ...
Traceback (most recent call last):
  File "<stdin>", line 8, in <module>
  File "/usr/lib/python3.7/configparser.py", line 1252, in __getitem__
    return self._parser.get(self._name, key)
  File "/usr/lib/python3.7/configparser.py", line 799, in get
    d)
  File "/usr/lib/python3.7/configparser.py", line 394, in before_get
    self._interpolate_some(parser, option, L, value, section, defaults, 1)
  File "/usr/lib/python3.7/configparser.py", line 444, in _interpolate_some
    "found: %r" % (rest,))
configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%U_1918052320.desktop;org.gnome.Evince.desktop;'
dpkg: error processing package wps-office (--remove):
 installed wps-office package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 wps-office
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

Есть ли что-нибудь, что я могу делать с этим?

1
задан 8 February 2020 в 20:07

1 ответ

Я не могу воспроизвести проблему на новой Ubuntu 19.10 VM, но если apt-get сбои - можно попробовать команду низкого уровня:

sudo dpkg --purge wps-office

(см. man dpkg для деталей локально или онлайн)

0
ответ дан 20 February 2020 в 22:58

Другие вопросы по тегам:

Похожие вопросы: