Wowza Community

Wowza Caused Error when do-release-upgrade on ubuntu 14.04 LTS

wowza stream engine 4.7.0 on ubuntu 14.04.5 LTS, want to upgrade it to 16.04.3 LTS, so runing sudo do-release-upgrade, and reported error:

UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x8b in position 1: invalid start byte

Checking the log (/var/log/dist-upgrade/main.log), found wowza caused the error:

2018-01-15 17:27:31,268 DEBUG <Package: name:‘wowzastreamingengine-4.0.3’ architecture=‘amd64’ id:106718>

2018-01-15 17:27:31,270 ERROR not handled exception:
Traceback (most recent call last):

File “./xenial”, line 8, in

File “/tmp/ubuntu-release-upgrader-9h41_686/DistUpgrade/”, line 242, in main

File “/tmp/ubuntu-release-upgrader-9h41_686/DistUpgrade/”, line 1907, in run
return self.fullUpgrade()

File “/tmp/ubuntu-release-upgrader-9h41_686/DistUpgrade/”, line 1788, in fullUpgrade
if not self.doPostInitialUpdate():

File “/tmp/ubuntu-release-upgrader-9h41_686/DistUpgrade/”, line 943, in doPostInitialUpdate
self.tasks = self.cache.installedTasks

File “/tmp/ubuntu-release-upgrader-9h41_686/DistUpgrade/”, line 807, in installedTasks
for line in pkg._pcache._records.record.split("\n"):

UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xae in position 353: invalid start byte

Should I remove wowza before do-release-upgrade and reinstall it after upgraded to 16.04.3 LTS? Thanks.