Problem executing scripts 50appstream

Bug #1613589 reported by Matthieu Baerts
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
appstream (Ubuntu)
Confirmed
Undecided
Unassigned

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

Revision history for this message
Matthieu Baerts (matttbe) wrote :
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Here is what I had today:

    $ sudo appstreamcli refresh
    AppStream data pool was loaded, but some metadata was ignored due to errors.

Revision history for this message
Matthieu Baerts (matttbe) wrote :

It seems the bug is fixed when installing appstream_0.9.8-3_amd64.deb and libappstream3_0.9.8-3_amd64.deb packages.

Changed in appstream (Ubuntu):
status: New → Fix Committed
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Here is what I had today:

    appstreamcli: /build/appstream-yPrSXI/appstream-0.9.8/obj-x86_64-linux-gnu/src/ascache.pb.h :3644 : void ASCache::Url::set_type(ASCache::Url_Type): l'assertion « ::ASCache::Url_Type_IsValid(value) » a échoué.

Changed in appstream (Ubuntu):
status: Fix Committed → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in appstream (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.