LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-26-2018, 12:06 PM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 209

Rep: Reputation: 15
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
 
Old 01-26-2018, 02:53 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

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

Code:
appstreamcli refresh
 
Old 01-26-2018, 08:37 PM   #3
wufo
Member
 
Registered: Oct 2004
Posts: 209

Original Poster
Rep: Reputation: 15
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
 
Old 01-27-2018, 04:41 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 01-27-2018, 05:15 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by wufo View Post
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*'
 
Old 01-29-2018, 11:24 AM   #6
wufo
Member
 
Registered: Oct 2004
Posts: 209

Original Poster
Rep: Reputation: 15
It was libappstream3. Purges it and problem went away.

tj
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When I run apt-update, I get a /var/lib/apt/partial error kb2tfa Debian 1 10-24-2017 02:43 PM
Installing from apt-get fails often, apt-get update gives error, etc What should ido? mitchell7man Ubuntu 3 02-27-2012 02:55 AM
apt-update error madhattenNY Linux - Newbie 4 10-21-2009 04:30 PM
apt-get update error gnophear Debian 4 01-27-2009 12:18 AM
Error:apt-get update cafecheng Linux - Newbie 4 09-21-2007 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration