*** This bug is a duplicate of bug 1614375 *** https://bugs.launchpad.net/bugs/1614375
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: appstream (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1613589 Title: Problem executing scripts 50appstream Status in appstream package in Ubuntu: Confirmed Bug description: Hello, When trying to upgrade my system I had this error: E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi' I temporary fixed this error by doing this change: --- /tmp/50appstream 2016-08-16 09:44:01.377654705 +0200 +++ /etc/apt/apt.conf.d/50appstream 2016-08-16 09:36:56.514716939 +0200 @@ -38,5 +38,5 @@ # Refresh AppStream cache when APT's cache is updated (i.e. apt update) APT::Update::Post-Invoke-Success { - "if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi"; + "if /usr/bin/test -d /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi"; }; ProblemType: Bug DistroRelease: Ubuntu 16.10 Package: appstream 0.9.7-1 ProcVersionSignature: Ubuntu 4.4.0-33.52-generic 4.4.15 Uname: Linux 4.4.0-33-generic x86_64 ApportVersion: 2.20.3-0ubuntu7 Architecture: amd64 CurrentDesktop: Unity Date: Tue Aug 16 09:38:54 2016 InstallationDate: Installed on 2015-08-10 (371 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) SourcePackage: appstream UpgradeStatus: Upgraded to yakkety on 2016-04-29 (109 days ago) mtime.conffile..etc.apt.apt.conf.d.50appstream: 2016-08-16T09:36:56.514717 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1613589/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp