我在 sudo apt-get update 的输出中有一堆错误:重复条目和 404 未找到错误。
想通了这些,我希望:我删除了与它们没有任何关联的包的 PPA,然后我删除了/etc/apt/sources.list.
看来我已经把它搞砸了。现在大部分台词都说Ign when I do sudo apt-get update。
我该如何理顺我搞砸的事情?我需要摆脱这些Ign到处都是。大概有50%(眼球猜测)Igns!
我有 Google Chrome 版本 70.0.3538.77(官方版本)(64 位)。
今天,在跑完sudo apt updateand 之后sudo apt full-upgrade,我看到:
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.
Run Code Online (Sandbox Code Playgroud)
我查看了apt-secure的手册页,但它非常技术性且难以遵循,至少对我而言。
那么我该如何解决这个问题呢?
编辑:现在,我已经从软件源中删除了现有的 Google Chrome ppa,然后运行sudo apt update并sudo apt full-upgrade成功安装/升级了以下内容:
The following NEW packages will be installed:
python3-netifaces
The following packages will …Run Code Online (Sandbox Code Playgroud) 基本上,我想在add-apt-repository ppa:(whatever)没有“按 Enter 继续”提示的情况下运行。我该怎么做?
本质上,我想在没有用户输入的情况下部署在 shell 脚本中添加存储库。
可能的重复:
什么是 PPA 以及如何使用它们?
我总是喜欢让我的程序保持最新,但在 ubuntu 软件中心,软件并不总是最新的。我了解存储库,我想添加一些,以便如何在启动板中找到某些程序的存储库。我正在使用 Ubuntu 12.04.1。
较新的内核“主线”版本可从Ubuntu 内核团队获得,例如 3.4 和 3.5,而 Ubuntu 12.04 是 3.2。
随着 VLC 2.0 的发布,我如何在 Ubuntu(实际上是 XUbuntu,就我而言)11.10 中获取它?要下载任何 PPA 或软件包?官方页面上写着“问问你最喜欢的包装商......”
几天前,我在执行时开始收到以下错误apt-get update:
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'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Run Code Online (Sandbox Code Playgroud)
根据WebUpd8 , that , that , that和that page,我似乎不再需要密钥了。
如果我取下钥匙
/etc/apt/trusted.gpg.d/webupd8team_ubuntu_java.gpg
pub rsa1024 2010-05-04 [SC]
7B2C 3B08 89BF 5709 A105 D03A C251 8248 EEA1 4886
uid [ unknown] Launchpad …Run Code Online (Sandbox Code Playgroud) 我最近发布了一个答案,我写了添加 PPA。但我现在意识到,我不知道PPA和存储库之间的区别是什么。所以有人可以向我解释一下吗?
运行时:
sudo apt-get update && sudo apt-get dist-upgrade
Run Code Online (Sandbox Code Playgroud)
我得到了这个输出:
Ign http://security.ubuntu.com utopic-security InRelease
Ign http://gb.archive.ubuntu.com utopic InRelease
Ign http://extras.ubuntu.com utopic InRelease
Get:1 http://security.ubuntu.com utopic-security Release.gpg [933 B]
Ign http://dl.google.com stable InRelease
Ign http://gb.archive.ubuntu.com utopic-updates InRelease
Get:2 http://extras.ubuntu.com utopic Release.gpg [72 B]
Get:3 http://security.ubuntu.com utopic-security Release [62.0 kB]
Ign http://gb.archive.ubuntu.com utopic-backports InRelease
Get:4 http://dl.google.com stable Release.gpg [198 B]
Hit http://extras.ubuntu.com utopic Release
Hit http://gb.archive.ubuntu.com utopic Release.gpg
Get:5 http://dl.google.com stable Release [1,347 B]
Err http://dl.google.com stable Release
Get:6 http://gb.archive.ubuntu.com utopic-updates Release.gpg [933 …Run Code Online (Sandbox Code Playgroud) 随着 Linux 的不断发展壮大,我们使用 Linux 的次数越多,病毒的威胁就越大。
我们也知道,Linux 中的病毒/威胁(如果有)在以普通用户身份运行时会难以运行或传播,但如果病毒/威胁以 root 用户身份运行,则情况就不同了。
这种危险的一个例子是,如果病毒被隐藏在 PPA 中(有意或无意),或者如果应用程序有意植入后门(例如,pidgin 可以秘密地将密码发送到特定地址)。
如果我们从 Launchpad PPA 添加软件,是否能保证软件来自免费病毒/后门威胁?