[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 ** Changed in: appstream (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/comments/24 works for me as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 This fix also worked for me. https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/comments/24 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 ** Also affects: appstream Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 ** Information type changed from Public Security to Private Security ** Information type changed from Private Security to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 ** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 Instructions for installing the patches to test (in Matthias' comment https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/comments/24 on bug #1579712) *did* solve the issue for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 Yes click on the bug link below and check out post #24 for the fix. It worked for me -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 Yes, this is already fixed in proposed-updates. A more complete fix is in Yakkety, but the one in x-p-u will do the job just fine (see the bug report this one is a duplicate of for details). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 I noticed the same problem on a fresh 16.04 install. I booted it again few days later, and noticed "appstreamcli refresh" process using 100% cpu. Running strace on it doesn't show any activity. Gdb shows that it seems to be looping in as_yamldata_parse_distro_data (): (gdb) bt #0 0x7eff42d03c4c in as_yamldata_parse_distro_data () from /usr/lib/x86_64-linux-gnu/libappstream.so.3 #1 0x7eff42d05537 in as_metadata_parse_yaml () from /usr/lib/x86_64-linux-gnu/libappstream.so.3 #2 0x7eff42d05c55 in as_metadata_parse_file () from /usr/lib/x86_64-linux-gnu/libappstream.so.3 #3 0x7eff42d08d49 in as_data_pool_update () from /usr/lib/x86_64-linux-gnu/libappstream.so.3 #4 0x7eff42cfe272 in as_cache_builder_refresh () from /usr/lib/x86_64-linux-gnu/libappstream.so.3 #5 0x004049de in ascli_refresh_cache () #6 0x00403ceb in as_client_run () #7 0x7eff4292c830 in __libc_start_main (main=0x403490 , argc=2, argv=0x7ffc131f67c8, init=, fini=, rtld_fini=, stack_end=0x7ffc131f67b8) at ../csu/libc-start.c:291 #8 0x00403519 in _start () -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 An strace of the appstreamcli process while it's stuck at 100% CPU shows nothing at all, so it looks like it got stuck in a loop doing "something" that needs no syscalls... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
*** This bug is a duplicate of bug 1579712 *** https://bugs.launchpad.net/bugs/1579712 ** This bug has been marked a duplicate of bug 1579712 Refresh hangs due to strdup on non-NULL terminated string -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
** Description changed: I did a fresh install of Ubuntu 16.04 without being connected to the internet because when connected to the internet the install would lock up at the point that ubuntu was "Retrieving 56 of 56". - Installation (without internet) was successful, then I connected to the internet and tried to update: - sudo apt-get update + Installation (without internet) was successful, then I connected to the + internet and tried to update: - The update-process seemed to be stuck, so I discovered that the command - appstreamcli was at 100% processor utilization indefinitely. + user@pc:~$ sudo apt-get update + Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] + Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease + Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB] + Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB] + Fetched 281 kB in 0s (387 kB/s) + Terminated + Reading package lists... Done + 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' + E: Sub-process returned an error code + + + The update-process seemed to be stuck, so I discovered that the command appstreamcli was at 100% processor utilization indefinitely. When I kill that process the update fails. This is clearly a bug, but hopefully someone can suggest a work-around until it is fixed. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: appstream 0.9.4-1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Thu May 19 19:08:30 2016 InstallationDate: Installed on 2016-05-19 (0 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) ProcEnviron: - LANGUAGE=en_US - TERM=xterm-256color - PATH=(custom, no user) - LANG=en_US.UTF-8 - SHELL=/bin/bash + LANGUAGE=en_US + TERM=xterm-256color + PATH=(custom, no user) + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: appstream UpgradeStatus: No upgrade log present (probably fresh install) ** Description changed: I did a fresh install of Ubuntu 16.04 without being connected to the internet because when connected to the internet the install would lock up at the point that ubuntu was "Retrieving 56 of 56". Installation (without internet) was successful, then I connected to the internet and tried to update: + The update-process seemed to be stuck, so I discovered that the command + appstreamcli was at 100% processor utilization indefinitely. + + When I kill that process the update fails. This is clearly a bug, but + hopefully someone can suggest a work-around until it is fixed. + user@pc:~$ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease - Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB] - Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB] - Fetched 281 kB in 0s (387 kB/s) + Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB] + Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB] + Fetched 281 kB in 0s (387 kB/s) Terminated Reading package lists... Done 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' E: Sub-process returned an error code - - The update-process seemed to be stuck, so I discovered that the command appstreamcli was at 100% processor utilization indefinitely. - - When I kill that process the update fails. This is clearly a bug, but - hopefully someone can suggest a work-around until it is fixed. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: appstream 0.9.4-1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Thu May 19 19:08:30 2016 InstallationDate: Installed on 2016-05-19 (0 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) ProcEnviron: LANGUAGE=en_US TERM=xterm-256color PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: appstream UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to:
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
I have the same problem, and it happens with both apt-get and synaptic when I try to update the list of packages. It has nothing to do with installing without an internet connection, as for me this just started happening tonight (it worked fine before). A "workaround" is to remove the appstream package, which also removes the GNOME/Ubuntu Software package (the GUI software installer), which is fine for me (I never use those anyway), but probably not for "regular" users... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1583845] Re: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: appstream (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583845 Title: Can't "apt-get update" - appstreamcli stuck at 100% Processor Utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs