どうすればこれを取り除くことができますか?
$ sudo apt-get update
ヒット:1 http://se.archive.ubuntu.com/ubuntu xenial InRelease
ヒット:2 http://se.archive.ubuntu.com/ubuntu xenial-updates InRelease
ヒット:3 http://download.virtualbox.org/virtualbox/debian xenial InRelease
ヒット:4 http://se.archive.ubuntu.com/ubuntu xenial-backports InRelease
ヒット:5 http://ppa.launchpad.net/freecad-community/ppa/ubuntu xenial InRelease
Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
ヒット:7 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu xenial InRelease
ヒット:8 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial InRelease
ヒット:9 http://ppa.launchpad.net/geany-dev/ppa/ubuntu xenial InRelease
Get:10 http://security.ubuntu.com/ubuntu xenial-security / main amd64パッケージ[517 kB]
ヒット:11 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease
ヒット:12 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial InRelease
ヒット:13 http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu xenial InRelease
ヒット:14 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Get:15 http://security.ubuntu.com/ubuntu xenial-security / main i386パッケージ[455 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security / main Translation-en [221 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security / main amd64 DEP-11メタデータ[67,7 kB]
Get:18 http://security.ubuntu.com/ubuntu xenial-security / main DEP-11 64x64アイコン[68,0 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security / universe amd64 DEP-11メタデータ[107 kB]
Get:20 http://security.ubuntu.com/ubuntu xenial-security / universe DEP-11 64x64アイコン[142 kB]
1で1 685 kBを取得(969 kB / s)
AppStreamシステムキャッシュは更新されましたが、問題が見つかりました:メタデータファイルにエラーがあります:/var/cache/app-info/xmls/fwupd.xml
パッケージリストを読み込んでいます...完了
E:スクリプト実行の問題APT :: Update :: Post-Invoke-Success 'if / usr / bin / test -w / var / cache / app-info -a -e / usr / bin / appstreamcli; 次に、appstreamcli refresh-cache> / dev / null; fi '
E:サブプロセスがエラーコードを返しました
$ sudo appstreamcli --version
AppStream CLIツールのバージョン:0.10.6
$ sudo appstreamcli refresh-cache --force --verbose
**(appstreamcli:13014):デバッグ:/ usr / share / app-info / xmlsをメタデータ検索パスに追加しました。
**(appstreamcli:13014):デバッグ:/ var / lib / app-info / yamlをメタデータ検索パスに追加しました。
**(appstreamcli:13014):デバッグ:/ var / cache / app-info / xmlsをメタデータ検索パスに追加しました。
**(appstreamcli:13014):デバッグ:AppStreamキャッシュの更新
**(appstreamcli:13014):デバッグ:/ usr / share / app-info / xmlsのデータの検索
**(appstreamcli:13014):デバッグ:/ var / cache / app-info / xmlsのデータの検索
**(appstreamcli:13014):デバッグ:/ var / lib / app-info / yamlのデータの検索
**(appstreamcli:13014):デバッグ:読み取り:/usr/share/app-info/xmls/org.freedesktop.fwupd.xml
**(appstreamcli:13014):デバッグ:読み取り:/var/cache/app-info/xmls/fwupd.xml
**(appstreamcli:13014):デバッグ:警告:XMLデータを解析できませんでした:エンティティ:265行目:パーサーエラー:EntityRef:期待 ';'
<checksum filename = "Firmware_SF30&SN30_Pro_V1.26.dat" target = "content" t
^
- -をちょきちょきと切る - - - -
**(appstreamcli:13014):デバッグ:system / os / package / zathura-pdf-poppler.desktopはsystem / os / package / zathura.desktopを拡張しますが、system / os / package / zathura.desktopが見つかりませんでした。
**(appstreamcli:13014):デバッグ:インメモリデータプールの更新中にエラーが発生しました:メタデータファイルにエラーがあります:/var/cache/app-info/xmls/fwupd.xml
**(appstreamcli:13014):デバッグ:ステミング言語:en
AppStreamシステムキャッシュは更新されましたが、問題が見つかりました:メタデータファイルにエラーがあります:/var/cache/app-info/xmls/fwupd.xml
参照: apt-get更新中のライブラリ破損エラー 「改善策」は役に立たず、問題は解決しません。
これを読む: Ubuntu 16.04:get-update中のappstreamcliエラー ...悲しいことに、救済策としてダウンロードしてインストールする古いバージョンがあります。
4
申し訳ありませんが、同じように見えますが、説明されている救済策は役に立ちません。パッケージの「パージ」は解決策ではありません。
—
ハヌ
これは別の問題だと思います。OPのappstreamバージョン(0.10.6)はlibappstream4に依存しています。同じ問題があり、libappstream3がインストールされていません。インストールしても問題は解決しません。libappstream4を再インストールしても、問題は解決しません。NOR完全appstreamを再インストールしない
—
ricab
実際の
—
ricab
fwupdバグ:github.com/hughsie/lvfs-website/issues/33
@karel et alこれは重複ではなく、パージと再インストールでは修正できないfwupdの問題が原因です。著者によると、ubuntuにはバックポートが必要です。
—
ricab
askubuntu.com/a/1053018/28943には実際に答えが含まれています:手動で編集
—
混乱
/var/cache/app-info/xmls/fwupd.xmlして&by を置き換えます&(私のバージョンの265行目)