Public bug reported:

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

** Affects: appstream (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613589

Title:
  Problem executing scripts 50appstream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1613589/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to