# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/5,258 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package update-manager-core (--configure):
package is in a very bad inconsistent state; you should
reinstall it …Run Code Online (Sandbox Code Playgroud) 当我转到“软件和更新”,然后转到“其他软件”时,我未选中此框:http://repository.spotify.com stable non-free和http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_15.10//。
如果我检查它们,我将无法下载更新,我猜它会因为它们而失败。我尝试安装 Spotify,所以我想这就是它们存在的原因。我的机器上有 Ubuntu GNOME 15.10。如何将它们从那里删除?谢谢你!
我使用 Ubuntu 16.04,安装 Skype 后遇到更新问题。当我尝试使用软件更新程序安装更新时,它会停止并给出
包系统坏了
错误。并说:
检查您是否使用第三方存储库。如果是这样,请禁用它们,因为它们是问题的常见根源。此外,在终端中运行以下命令: apt-get install -f
我禁用了第三方存储库,甚至从列表中删除了 mendeley,但问题并未解决。我尝试了apt-get install -f命令,它也给出了问题并说:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Run Code Online (Sandbox Code Playgroud)
我怎么解决这个问题?
我理解apt-get full-upgrade“包含”或“封装” apt-get upgrade && apt-get dist-upgrade,但它还包括吗apt-get update?
我下载了 BIOS 更新可执行文件并将其放入 USB 驱动器,然后在重新启动后我选择 BIOS 更新,GUI 要求我选择文件。这是我卡住的地方,因为我不知道如何选择文件并继续:
我刚刚安装了 18.04(Bionic Beaver)。我注意到,当我在应用程序中搜索“软件”一词时,预装了三种不同的软件更新管理器类型的东西(也许它们并不完全是软件更新管理器,但它们的描述中都有“更新软件” ) - “Ubuntu 软件”、“软件和更新”和“软件更新程序”:
这不是有点令人困惑和重复吗?这三个应用程序之间有什么区别?是否有任何理由不将它们合并为一两个应用程序?
我无法安装任何新软件包,甚至无法从 Ubuntu 18.04 升级。就像 VM 被困在 Ubuntu 18.04 刚刚问世的旧时代。没有可用的新软件包或任何东西。有些东西肯定搞砸了,我不知道如何解决这个问题。
[root:7e2d33988106:/]# lsb_release -a 12:55PM/09.12
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
[root:7e2d33988106:/]# cat /etc/apt/sources.list | grep -v "#" | sort -u 12:55PM/09.12
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://security.ubuntu.com/ubuntu/ …Run Code Online (Sandbox Code Playgroud) 官方消息来源将 HWE 内核解释为将对较新硬件设备的支持向后移植到较旧的 LTS 版本。
但是 HWE 内核是否只包含驱动程序/模块更新,或者还包含该特定次要版本的所有其他常规内核更新(例如本机文件系统功能更新、加密更新等)?
我有与Apt Update Gives Error for Wireguard 中描述的相同的错误和相同的系统,但是由于某些原因,那里给出的解决方案对我不起作用
bash 外壳输出:
drusakov@ldn-dr:~$ sudo apt-add-repository --remove ppa:wireguard/wireguard
Cannot add PPA: 'ppa:~wireguard/ubuntu/wireguard'.
The team named '~wireguard' has no PPA named 'ubuntu/wireguard'
Please choose from the following available PPAs:
drusakov@ldn-dr:~$ sudo apt-get update
Hit:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Err:2 http://ppa.launchpad.net/wireguard/wireguard/ubuntu focal InRelease
403 Forbidden [IP: 2001:67c:1560:8008::15 80]
Hit:3 http://packages.cloud.google.com/apt cloud-sdk InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:8 https://download.sublimetext.com apt/stable/ InRelease
Hit:9 http://archive.ubuntu.com/ubuntu focal-security …Run Code Online (Sandbox Code Playgroud) $ sudo apt update && sudo apt upgrade -y\nHit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease\nHit:2 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease \nHit:3 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease \nHit:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease \nHit:5 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease \nHit:6 http://security.ubuntu.com/ubuntu focal-security InRelease \nHit:7 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease \nHit:8 https://packages.microsoft.com/repos/ms-teams stable InRelease \nHit:9 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease\nHit:10 http://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease\nHit:11 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease\nHit:12 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease\nHit:13 http://ppa.launchpad.net/peek-developers/stable/ubuntu focal InRelease\nIgn:14 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu focal InRelease\nErr:15 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu focal Release\n 404 Not Found [IP: 91.189.95.85 80]\nReading package lists... Done\nE: The repository \'http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu focal Release\' does not have a Release …Run Code Online (Sandbox Code Playgroud)