我在 Ubuntu 18.04 安装中遇到了很多问题,其中有一个包名为 libidn11。没有它的可运行版本会妨碍安装其他包或升级安装(例如我的 R 安装)。我该如何在不选择核选项(重新安装 Ubuntu)的情况下解决这个问题?
E: The package libidn11 needs to be reinstalled, but I can't find an archive for it.
只需尝试重新安装像这样不起作用,我收到了上面显示的相同错误消息。
编辑:参见@steeldriver 的评论
arta@lappy-486:~$ apt policy libidn11
libidn11:
Installed: 1.33-2.1ubuntu1.1
Candidate: 1.33-2.1ubuntu1.1
Version table:
*** 1.33-2.1ubuntu1.1 100
100 /var/lib/dpkg/status
1.33-2.1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
编辑2:这是输出sudo apt update
:
arta@lappy-486:~$ sudo apt update
[sudo] password for arta:
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Get:3 http://dl.google.com/linux/chrome/deb stable Release [943 B]
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Ign:5 http://ppa.launchpad.net/kxstudio-team/hydrogen/ubuntu bionic InRelease
Get:6 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]
Err:9 http://ppa.launchpad.net/kxstudio-team/hydrogen/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Get:7 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease [15.4 kB]
Hit:8 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Get:10 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,103 B]
E: Repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease' changed its 'Label' value from 'Oracle Java (JDK) 8 / 9 Installer PPA' to 'Oracle Java (JDK) 8 Installer PPA (DISCONTINUED)'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/kxstudio-team/hydrogen/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.