This also affects running demotions.py in the ubuntu-release-upgrader source package.
$ ./demotions.py wily xenial > demoted.cfg Traceback (most recent call last): File "./demotions.py", line 90, in <module> cache.update(prog) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 454, in update raise FetchFailedException(e) apt.cache.FetchFailedException: E:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi', E:Sub-process returned an error code
This also affects running demotions.py in the ubuntu- release- upgrader source package.
$ ./demotions.py wily xenial > demoted.cfg update( prog) python2. 7/dist- packages/ apt/cache. py", line 454, in update ption(e) FetchFailedExce ption: E:Problem executing scripts APT::Update: :Post-Invoke- Success 'if /usr/bin/test -e /usr/bin/ appstreamcli; then appstreamcli refresh > /dev/null; fi', E:Sub-process returned an error code
Traceback (most recent call last):
File "./demotions.py", line 90, in <module>
cache.
File "/usr/lib/
raise FetchFailedExce
apt.cache.