[Ubuntu-translations-coordinators] [Bug 1575248] [NEW] "AppStream cache update completed, but some metadata was ignored due to errors." on "sudo apt-get update"

2016-12-01 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

[Impact]

 * Checks for apt updates using apt or apt-get also update the appstream
cache.  Some of the appstream metadata installed locally isn't strictly
valid as it's missing two fields.

[Test Case]

 * fwupdmgr refresh
 * apt update
 * check for errors about metadata being ignored

[Regression Potential]

 * This is just changing the XML metadata locally, I don't see any
regression potential.

[Other Info]
 
 * This fix has been applied upstream: 
https://github.com/hughsie/fwupd/commit/f4e0e88f7cba833a4badc1a3d62f1a08dd1bfd96

[Original report]

I have found that when there are new packages available which my machine
doesn't know about yet, if I run "sudo apt-get update" this is the
output:

Get:1 http://gb.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:3 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease [82.2 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages 
[28 B]
Get:5 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease [82.2 
kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 
Packages [28 B]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe i386 
Packages [28 B]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 
Packages [28 B]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 
Packages [28 B]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse 
Translation-en [28 B]
Get:11 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages 
[1,201 kB]
Get:12 http://gb.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 
kB]
Get:13 http://gb.archive.ubuntu.com/ubuntu xenial/main Translation-en_GB 
[426 kB]
Get:14 http://gb.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 
kB]
Get:15 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 
Metadata [733 kB]
Get:16 http://gb.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons 
[409 kB]
Get:17 http://gb.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages 
[8,344 B]
Get:18 http://gb.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages 
[8,684 B]
Get:19 http://gb.archive.ubuntu.com/ubuntu xenial/restricted 
Translation-en_GB [2,556 B]
Get:20 http://gb.archive.ubuntu.com/ubuntu xenial/restricted Translation-en 
[2,908 B]
Get:21 http://gb.archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 
Metadata [186 B]
Get:22 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 
[7,532 kB]
Get:23 http://gb.archive.ubuntu.com/ubuntu xenial/universe i386 Packages 
[7,512 kB]
Get:24 http://gb.archive.ubuntu.com/ubuntu xenial/universe 
Translation-en_GB [3,040 kB]
Get:25 http://gb.archive.ubuntu.com/ubuntu xenial/universe Translation-en 
[4,354 kB]
Get:26 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 
Metadata [3,410 kB]
Get:27 http://gb.archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 
Icons [7,448 kB]
Get:28 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages 
[144 kB]
Get:29 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages 
[140 kB]
Get:30 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse 
Translation-en_GB [88.1 kB]
Get:31 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en 
[106 kB]
Get:32 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 
Metadata [63.8 kB]
Get:33 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 
Icons [230 kB]
Get:34 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages [28 B]
Get:35 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main i386 
Packages [28 B]
Get:36 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main 
Translation-en [28 B]
Get:37 http://gb.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 
Packages [28 B]
Get:38 http://gb.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 
Packages [28 B]
Get:39 http://gb.archive.ubuntu.com/ubuntu xenial-updates/restricted 
Translation-en [28 B]
Get:40 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
Packages [28 B]
Get:41 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe i386 
Packages [28 B]
Get:42 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe 
Translation-en [28 B]
Get:43 http://gb.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 
Packages [28 B]
Get:44 http://gb.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 
Packages [28 B]
Get:45 http://gb.archive.ubuntu.com/ubuntu xenial-updates/multiverse 
Translation-en [28 B]
Get:46 http://gb.archive.ubuntu.com/ubuntu xenial-backports/main amd64 
Packages [28 B]
Get:47 http://gb.archive.ubuntu.com/ubuntu xenial-backports/main i386 

[Ubuntu-translations-coordinators] [Bug 1575248] [NEW] "AppStream cache update completed, but some metadata was ignored due to errors." on "sudo apt-get update"

2016-12-01 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

[Impact]

 * Checks for apt updates using apt or apt-get also update the appstream
cache.  Some of the appstream metadata installed locally isn't strictly
valid as it's missing two fields.

[Test Case]

 * fwupdmgr refresh
 * apt update
 * check for errors about metadata being ignored

[Regression Potential]

 * This is just changing the XML metadata locally, I don't see any
regression potential.

[Other Info]
 
 * This fix has been applied upstream: 
https://github.com/hughsie/fwupd/commit/f4e0e88f7cba833a4badc1a3d62f1a08dd1bfd96

[Original report]

I have found that when there are new packages available which my machine
doesn't know about yet, if I run "sudo apt-get update" this is the
output:

Get:1 http://gb.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:3 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease [82.2 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages 
[28 B]
Get:5 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease [82.2 
kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 
Packages [28 B]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe i386 
Packages [28 B]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 
Packages [28 B]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 
Packages [28 B]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse 
Translation-en [28 B]
Get:11 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages 
[1,201 kB]
Get:12 http://gb.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 
kB]
Get:13 http://gb.archive.ubuntu.com/ubuntu xenial/main Translation-en_GB 
[426 kB]
Get:14 http://gb.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 
kB]
Get:15 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 
Metadata [733 kB]
Get:16 http://gb.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons 
[409 kB]
Get:17 http://gb.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages 
[8,344 B]
Get:18 http://gb.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages 
[8,684 B]
Get:19 http://gb.archive.ubuntu.com/ubuntu xenial/restricted 
Translation-en_GB [2,556 B]
Get:20 http://gb.archive.ubuntu.com/ubuntu xenial/restricted Translation-en 
[2,908 B]
Get:21 http://gb.archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 
Metadata [186 B]
Get:22 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 
[7,532 kB]
Get:23 http://gb.archive.ubuntu.com/ubuntu xenial/universe i386 Packages 
[7,512 kB]
Get:24 http://gb.archive.ubuntu.com/ubuntu xenial/universe 
Translation-en_GB [3,040 kB]
Get:25 http://gb.archive.ubuntu.com/ubuntu xenial/universe Translation-en 
[4,354 kB]
Get:26 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 
Metadata [3,410 kB]
Get:27 http://gb.archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 
Icons [7,448 kB]
Get:28 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages 
[144 kB]
Get:29 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages 
[140 kB]
Get:30 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse 
Translation-en_GB [88.1 kB]
Get:31 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en 
[106 kB]
Get:32 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 
Metadata [63.8 kB]
Get:33 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 
Icons [230 kB]
Get:34 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages [28 B]
Get:35 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main i386 
Packages [28 B]
Get:36 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main 
Translation-en [28 B]
Get:37 http://gb.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 
Packages [28 B]
Get:38 http://gb.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 
Packages [28 B]
Get:39 http://gb.archive.ubuntu.com/ubuntu xenial-updates/restricted 
Translation-en [28 B]
Get:40 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
Packages [28 B]
Get:41 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe i386 
Packages [28 B]
Get:42 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe 
Translation-en [28 B]
Get:43 http://gb.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 
Packages [28 B]
Get:44 http://gb.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 
Packages [28 B]
Get:45 http://gb.archive.ubuntu.com/ubuntu xenial-updates/multiverse 
Translation-en [28 B]
Get:46 http://gb.archive.ubuntu.com/ubuntu xenial-backports/main amd64 
Packages [28 B]
Get:47 http://gb.archive.ubuntu.com/ubuntu xenial-backports/main i386