栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

Ubuntu 切换阿里源报错 Aborted core dumped executing scripts APT::Update::Post Sub-process returned an error

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Ubuntu 切换阿里源报错 Aborted core dumped executing scripts APT::Update::Post Sub-process returned an error

1. 问题现象

Ubuntu 切换阿里源后使用 sudo apt-get update 更新报错:

Fetched 60.6 MB in 15s (3,983 kB/s)                                                                                                                                 
*** Error in `appstreamcli': double free or corruption (fasttop): 0x0000000002077400 ***
======= Backtrace: =========

appstreamcli(ascli_refresh_cache+0x12e)[0x4049de]
appstreamcli(as_client_run+0x6fb)[0x403ceb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f09c4ef4830]
appstreamcli(_start+0x29)[0x403519]
======= Memory map: ========
00400000-00408000 r-xp 00000000 08:02 36700210                           /usr/bin/appstreamcli
00607000-00608000 r--p 00007000 08:02 36700210                           /usr/bin/appstreamcli
00608000-00609000 rw-p 00008000 08:02 36700210                           /usr/bin/appstreamcli
0135a000-02eb3000 rw-p 00000000 00:00 0                                  [heap]
7f09b8000000-7f09b8021000 rw-p 00000000 00:00 0 
7f09b8021000-7f09bc000000 ---p 00000000 00:00 0 
7f09bf6a2000-7f09bf6ad000 r-xp 00000000 08:02 37094102                   /usr/lib/x86_64-linux-
......
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
2. 解决方法
sudo apt-get purge libappstream3
sudo apt-get update
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/740200.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号