LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   apt-get update error (https://www.linuxquestions.org/questions/ubuntu-63/apt-get-update-error-4175622466/)

wufo 01-26-2018 12:06 PM

apt-get update error
 
When I run
sudo apt-get update

it runs and then stops with this error:

Aborted (core dumped)
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

Any ideas?

tj

hydrurga 01-26-2018 02:53 PM

Can you try running the following command on its own (which appears to be failing) and let us know what happens:

Code:

appstreamcli refresh

wufo 01-26-2018 08:37 PM

Same results
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)

both "appstreamcli refresh" and "apt-get refresh" fail on vsyscall

tj

ondoho 01-27-2018 04:41 AM

this is something that gets executed after updates.
up to you to find out what it does, or which package it belings to.
maybe you can safely ignore it, or remove it from apt config.

hydrurga 01-27-2018 05:15 AM

Quote:

Originally Posted by wufo (Post 5812007)
Same results
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)

both "appstreamcli refresh" and "apt-get refresh" fail on vsyscall

tj

Thanks. Ok, let's try reinstalling the relevant component of appstream. First, to determine which version of libappstream you have, can you run the following:

Code:

dpkg -l '*libappstream*'

wufo 01-29-2018 11:24 AM

It was libappstream3. Purges it and problem went away.

tj


All times are GMT -5. The time now is 11:30 AM.