Ubuntu 19.04,从18.04升级。
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco自从5月份我开始运行个人电脑以来,它一直运行得很好(用Ubuntu预装并从那里手动升级)。我去度假一周左右,回来后更新如下:
root@charles-H310M:/home/charles# apt update && apt upgrade
Hit:1 http://security.ubuntu.com/ubuntu disco-security InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu disco InRelease
Hit:3 http://ppa.launchpad.net/damentz/liquorix/ubuntu disco InRelease
Hit:4 http://gb.archive.ubuntu.com/ubuntu disco-updates InRelease
Hit:5 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu disco InRelease
Hit:6 http://gb.archive.ubuntu.com/ubuntu disco-backports InRelease
Ign:7 http://linux.dropbox.com/ubuntu cosmic InRelease
Hit:8 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
Get:10 http://linux.dropbox.com/ubuntu cosmic Release [6,600 B]
Hit:11 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu disco InRelease
Hit:12 http://ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu disco InRelease
Ign:13 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco InRelease
Hit:15 http://repo.vivaldi.com/stable/deb stable Release
Hit:16 http://archive.canonical.com disco InRelease
Hit:17 http://linux.teamviewer.com/deb stable InRelease
Hit:18 https://wavebox.pro/dl/client/repo x86_64/ InRelease
Fetched 6,600 B in 1s (5,433 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
47 packages can be upgraded. Run 'apt list --upgradable' to see them.
Segmentation fault (core dumped)
E: Problem executing scripts APT::Update::Post-Invoke-Stats '[ ! -f /usr/lib/ubuntu-advantage/apt-esm-hook ] || /usr/lib/ubuntu-advantage/apt-esm-hook'
E: Sub-process returned an error code因此,似乎冒犯包是ubuntu-优势-工具,但我不愿清除它,因为它是部分的ubuntu-最小的包,这听起来有点重要。
有什么建议吗?
发布于 2019-08-14 11:12:42
更新:所以答案是运行“apt升级”,因为我的命令使用的是&所以没有到达那个部分。
虽然这并不是一个严格的答案,但标准的软件更新GUI应用程序似乎能够很好地处理这一切。那有点烦人/让我担心。
因此,我对自己问题的“回答”是使用软件更新程序GUI。
https://askubuntu.com/questions/1165680
复制相似问题