@dsfkljo322332: This bug affects upgrades via apt as well as dpkg. Gdebi
uses one of those on the back end, not sure which. See comment #34 and
#30 for more details.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
sudo apt remove appstream works for me, but plasma-discover depends on
it so it is also removed. Lucky for me I didn't really use that any
way.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
My bad. I forgot to install libappstream3_0.9.4-1ubuntu1_amd64.deb
installing libappstream3_0.9.4-1ubuntu1_amd64.deb wtih dpkg first did
fix the problem. I think I was using gdebi. Does this bug break gdebi
somehow?
--
You received this bug notification because you are a member of Ubuntu
Also hit by this. And unable to manually install the deb, even after rm
/usr/bin/appstreamcli
Preparing to unpack appstream_0.9.4-1ubuntu1_amd64.deb ...
Unpacking appstream (0.9.4-1ubuntu1) over (0.9.4-1ubuntu1) ...
Setting up appstream (0.9.4-1ubuntu1) ...
CPU stuck at 100%
--
You received
@dsfkljo322332: Are you using dpkg to install the upgrades? Try
upgrading the libappstream3 package first, then the appstream package.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
This runs up my CPU on Kubuntu... appstreamcli was using 13% cpu.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
Refresh hangs due to strdup on non-NULL
Today i woke up to my server's cpu fan going at full speed. Puzzled by
this i check my virtualbox machines and notice my ubuntu 16.04
installation has appstream stuck at 100% on one core. This has not
happened before.
--
You received this bug notification because you are a member of Ubuntu
@Brett: When the AppStream cache update is triggered, the APT cache is updated,
so updates will still be installed. Ideally, the fixed package is shipped via
x-updates soon, so no more people get trapped.
SRU verification is done at least, and we now have more than enough people
confirming the
I think a high priority is the better fit now, since this - for some
reason - started to hit more users than expected now, and the
manifestations of this bug are very annoying. It doesn't cause data loss
or is a critical security issue though.
** Changed in: appstream (Ubuntu Xenial)
Folks, Updates had been working fine for me until today (5/19/2016).
I updated my machines last night(all 11 of them) and now all are
experiencing the aforementioned problem with 100% CPU usage from
appstreamcli.
It appears that in my case at least that something applied last
night must be
In comment #30 I took the procedure from comment #24 and added two
commands to rename appstream's apt config file, but those commands
aren't necessary because they have no effect when appstream is installed
via the `dpkg` command.
The appstream package's postinst file explicitly calls
Matthias post #24
worked for me also thank you!
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
Refresh hangs due to strdup on non-NULL terminated string
To
+1 on Matthias' instructions on installing the patches
(https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/comments/24)...
this fixed the issue for me.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
I ran the fix Matthias mentioned in post #24 and it fixed my issue.
Thanks
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
Refresh hangs due to strdup on non-NULL
Thanks. "Medium" importance for this bug? This seems like the most
critical bug I've ever encountered, considering that if I had left my
laptop alone to "finish updating" it might have melted and caused a
forest fire before I got back :)
Yeah, I think this one deserves a critical status; the fix
@ximion: I missed that. After upgrading libappstream3 from -proposed,
everything works fine. Thanks.
The reason I warned against removing the binary is because it's a bad
practice in general, even though in this particular problem scenario the
removed binary gets restored when its package is
@Lonnie: this is the same bug. Install the package via dpkg as described
in post #24, that should solve the 100% CPU issue too - the issue
manifests itself in some very interesting ways sometimes.
** Changed in: appstream (Ubuntu)
Assignee: (unassigned) => Matthias Klumpp (ximion)
--
You
Updated appstream & libappstream3 to version 0.9.4-1ubuntu1, and
libappstream-glib8 to 0.5.13-1ubuntu1 just in case... Fixed for me.
Thanks you!
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
I tried to update after a fresh install and could not get past the appstreamcli
infinite 100% processor utilization:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845
My laptop got almost smoking hot before I finally killed the
appstreamcli process!
--
You received this bug
Mathias.
Downloading and installing deb fixed it for me. Thanks!.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
Refresh hangs due to strdup on non-NULL
Weird, I wonder what happened that many people are experiencing this now...
Removing `/usr/bin/appstreamcli` is fine if you install the fixed package
afterwards.
To install this manually, please do (for amd64, adjust URLs for other
architectures):
```
cd /tmp && mkdir asfix
cd asfix
wget
@John Wang: Did you also update libappstream3? Because that's where the
bug actually is ;-)
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
Refresh hangs due to
Okay, I've successfully upgraded to appstream 0.9.4-1ubuntu1 from the
-proposed repo, but subsequent `sudo apt-get update` invocations still
hang on appstreamcli. I have no idea what to do now.
@ludentico: Yes, sorry, I was in a hurry and didn't include full paths.
--
You received this bug
@johnwang
I guess you meant
$ sudo mv /etc/apt/apt.conf.d/50appstream
/etc/apt/apt.conf.d/50appstream.disabled
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
Disabled all my repositories by commenting out everything in
/etc/apt/sources.list and moving everything out of
/etc/apt/sources.list.d; it did the trick: could update appstream from
proposed repository. Thanks!
--
You received this bug notification because you are a member of Ubuntu
Desktop
@ludentico: Never `rm` files without also removing the package they
belong to.
I discovered a workaround:
$ sudo mv 50appstream 50appstream.disabled
$ sudo apt-get update
$ ... [do what you need here] ...
$ sudo 50appstream.disabled 50appstream
--
You received this bug notification because you
That last command should have been:
$ sudo mv 50appstream.disabled 50appstream
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
Refresh hangs due to strdup on
Removing appstreamcli seems to do the trick. I'm not aware of side
effects
sudo rm /usr/bin/appstreamcli
Source: http://trastetes.blogspot.com/2016/02/solucion-al-error-e-then-
appstreamcli.html
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is
Neither can I install any update, even after disabling third-party
repositories.
appstreamcli hangs refreshing with 100% cpu use
apt update hangs after 'Fetched XXX kb in Xs (XXX kb/s)'
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed
Peter, the package can be found at:
https://launchpad.net/ubuntu/+source/appstream/0.9.4-1ubuntu1 (as
previously posted) but I'm kinda at a loss here: dpkg -i launches
appstreamcli when setting up the package which results in me not being
able to install it so far.
--
You received this bug
@pgbennett
I'm not sure how to discover which particular repo is causing
appstreamcli to hang, so you could try disabling *all* your third party
repos then update. Or disable them one-by-one, but that could be
tedious.
--
You received this bug notification because you are a member of Ubuntu
I have appstream 0.9.4-1 installed and every time it is run
(automatically, not by me) it spikes cpu to 100%. I cannot even purge
and reinstall it, because it is run during the setup phase (to force a
new index) which pegs the cpu. Is 0.9.4-1 supposed to be ~= 0.9.6 of
upstream?
--
You received
Like Peter in #11, I cannot enable proposed because appstreamcli is
hanging on every single run. Any invocation of appstreamcli or apt
update gets stuck.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
Can somebody post a URL where I can download the proposed package
directly as I cannot install it using apt-get, which hangs because of
this bug. I am using amd64 xenial.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in
I find it is not possible to use "software and updates" to enable
proposed or to install the fix because every repository related action
results in a hang with appstreamcli using 100% CPU.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
Refresh hangs due to strdup on non-NULL
Sorry to be slow in responding. I thought I was subscribed but wasn't.
The version from -proposed (0.9.4-1ubuntu1) resolves this issue for me.
Thanks! Great to have this.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in
This issue is resolved in Yakkety, nedds fixing in Xenial still.
The patch in -proposed resolves this issue for me.
** Changed in: appstream (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is
** Changed in: appstream (Ubuntu Xenial)
Importance: Undecided => Medium
** Changed in: appstream (Ubuntu Xenial)
Milestone: None => xenial-updates
** Changed in: appstream (Ubuntu)
Milestone: xenial-updates => None
--
You received this bug notification because you are a member of
@Laney: Debian has the fix too now, included in the 0.9.6 release which
should show up in Yakkety soonish.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
Refresh
Hello Matthias, or anyone else affected,
Accepted appstream into xenial-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/appstream/0.9.4-1ubuntu1 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
I would really like to see this go through as an SRU to Xenial. I am
hitting a problem with my third-party repo 100% of the time. When I have
the repo enabled, apt-get update hangs indefinitely when it runs
appstreamcli at the end, and I assume all of the users of my repo are
experiencing the same
This will be in the upcoming 0.9.6 release, which I will release this
week. So Debian (and Yakkety) will have it very soon.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
I uploaded it - could you please upload to Debian too so that yakkety
gets this fix?
** Also affects: appstream (Ubuntu Xenial)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in
The attachment "Fix for LP#1574896 and LP#1579712" seems to be a
debdiff. The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff. If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the
Patch for this issue, together with the fix for LP: #1574896
** Patch added: "Fix for LP#1574896 and LP#1579712"
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+attachment/4659196/+files/appstream-SRU_LP1574896_LP1579712.debdiff
--
You received this bug notification
** Description changed:
- The cache refresh is blocked on a strdup on a non-NULL-terminated string in
some very rare occasions (very rare because this bug is present for almost 3y
without a single report). It regardless of that is very annoying if it happens,
and also unpredictable, so it
Hmm, since LP doesn't allow me to add the upstream bug URL directly:
https://github.com/ximion/appstream/issues/35
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1579712
Title:
48 matches
Mail list logo