Come posso liberarmene?
$ sudo apt-get update
Hit: 1 http://se.archive.ubuntu.com/ubuntu xenial InRelease
Hit: 2 http://se.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit: 3 http://download.virtualbox.org/virtualbox/debian xenial InRelease
Hit: 4 http://se.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit: 5 http://ppa.launchpad.net/freecad-community/ppa/ubuntu xenial InRelease
Ottieni: 6 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit: 7 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu xenial InRelease
Hit: 8 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial InRelease
Hit: 9 http://ppa.launchpad.net/geany-dev/ppa/ubuntu xenial InRelease
Ottieni: 10 http://security.ubuntu.com/ubuntu pacchetti xenial-security / main amd64 [517 kB]
Hit: 11 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease
Hit: 12 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial InRelease
Hit: 13 http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu xenial InRelease
Hit: 14 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Ottieni: 15 http://security.ubuntu.com/ubuntu pacchetti xenial-security / main i386 [455 kB]
Ottieni: 16 http://security.ubuntu.com/ubuntu xenial-security / main Translation-it [221 kB]
Ottieni: 17 http://security.ubuntu.com/ubuntu xenial-security / main amd64 DEP-11 Metadata [67,7 kB]
Ottieni: 18 http://security.ubuntu.com/ubuntu xenial-security / main DEP-11 64x64 icone [68,0 kB]
Ottieni: 19 http://security.ubuntu.com/ubuntu xenial-security / universe amd64 DEP-11 Metadata [107 kB]
Ottieni: 20 http://security.ubuntu.com/ubuntu xenial-security / universe Icone DEP-11 64x64 [142 kB]
Recuperato 1 685 kB in 1s (969 kB / s)
La cache di sistema di AppStream è stata aggiornata, ma sono stati rilevati problemi: i file dei metadati presentano errori: /var/cache/app-info/xmls/fwupd.xml
Lettura degli elenchi dei pacchetti ... Fine
E: Problema nell'esecuzione degli script APT :: Update :: Post-Invoke-Success 'if / usr / bin / test -w / var / cache / app-info -a -e / usr / bin / appstreamcli; quindi appstreamcli refresh-cache> / dev / null; fi'
E: Il processo secondario ha restituito un codice di errore
$ sudo appstreamcli --version
Versione dello strumento CLI AppStream: 0.10.6
$ sudo appstreamcli refresh-cache --force --verbose
** (appstreamcli: 13014): DEBUG: aggiunto / usr / share / app-info / xmls al percorso di ricerca dei metadati.
** (appstreamcli: 13014): DEBUG: aggiunto / var / lib / app-info / yaml al percorso di ricerca dei metadati.
** (appstreamcli: 13014): DEBUG: aggiunto / var / cache / app-info / xmls al percorso di ricerca dei metadati.
** (appstreamcli: 13014): DEBUG: aggiornamento della cache AppStream
** (appstreamcli: 13014): DEBUG: ricerca di dati in: / usr / share / app-info / xmls
** (appstreamcli: 13014): DEBUG: ricerca di dati in: / var / cache / app-info / xmls
** (appstreamcli: 13014): DEBUG: ricerca di dati in: / var / lib / app-info / yaml
** (appstreamcli: 13014): DEBUG: Lettura: /usr/share/app-info/xmls/org.freedesktop.fwupd.xml
** (appstreamcli: 13014): DEBUG: Lettura: /var/cache/app-info/xmls/fwupd.xml
** (appstreamcli: 13014): DEBUG: ATTENZIONE: impossibile analizzare i dati XML: Entità: riga 265: errore parser: EntityRef: attesa ';'
<checksum nomefile = "Firmware_SF30 e SN30_Pro_V1.26.dat" target = "contenuto" t
^
--- SNIP -------
** (appstreamcli: 13014): DEBUG: system / os / package / zathura-pdf-poppler.desktop estende system / os / package / zathura.desktop, ma system / os / package / zathura.desktop non è stato trovato.
** (appstreamcli: 13014): DEBUG: errore durante l'aggiornamento del pool di dati in memoria: i file dei metadati presentano errori: /var/cache/app-info/xmls/fwupd.xml
** (appstreamcli: 13014): DEBUG: il linguaggio di base è: en
La cache di sistema di AppStream è stata aggiornata, ma sono stati rilevati problemi: i file dei metadati presentano errori: /var/cache/app-info/xmls/fwupd.xml
Guardando: Errore di corruzione della libreria durante apt-get update I "rimedi" non aiutano, il problema persiste.
Leggendo questo: Ubuntu 16.04: errore appstreamcli durante get-update ... purtroppo ha una versione precedente da scaricare e installare come rimedio.
fwupdbug: github.com/hughsie/lvfs-website/issues/33
/var/cache/app-info/xmls/fwupd.xmlper sostituire il &con &(nella riga 265 nella mia versione)