我使用该add-apt-repository命令添加了许多 PPA 。有没有一种简单的方法可以删除这些 PPA?我已经检查/etc/apt/sources.list了适当的 deb 行,但它们不在那里。
这是在服务器系统上,所以命令行解决方案会很棒!
我最近更改了与我的代理用户名相对应的密码。因此我用我的新密码更新了 apt.conf 和 /etc/environment 文件。但是当我输入
echo $http_proxy
Run Code Online (Sandbox Code Playgroud)
或者
env
Run Code Online (Sandbox Code Playgroud)
它打印所有环境变量,它显示带有旧密码的值。同样对于socks_proxy,all_proxy。
任何解决方案?
安装 Ubuntu 13.10 后,我尝试安装ubuntu-restricted-extras或安装任何软件,它显示:
E: GPG error: http://archive.canonical.com saucy InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication
Run Code Online (Sandbox Code Playgroud) 我无法更新...
我一直在尝试解决这个问题一段时间了......我发现的唯一方法是重新安装Ubuntu......
sudo apt-get update -o Debug::Acquire::http=true
0% [Connecting to mirror.bytemark.co.uk (212.110.161.69)] [Connecting to archivGET /ubuntu/dists/trusty/InRelease HTTP/1.1
Host: archive.canonical.com
Cache-Control: max-age=0
Accept: text/*
Range: bytes=213-
If-Range: Mon, 02 Jun 2014 21:50:58 GMT
User-Agent: Debian APT-HTTP/1.3 (1.0.1ubuntu2)
0% [Connecting to mirror.bytemark.co.uk (212.110.161.69)] [Waiting for headers]GET /ubuntu/dists/trusty/InRelease HTTP/1.1
Host: mirror.bytemark.co.uk
Cache-Control: max-age=0
Accept: text/*
Range: bytes=213-
If-Range: Sat, 07 Jun 2014 00:11:36 GMT
User-Agent: Debian APT-HTTP/1.3 (1.0.1ubuntu2)
GET /ubuntu/dists/trusty/InRelease HTTP/1.1
Host: extras.ubuntu.com
Cache-Control: max-age=0
Accept: text/*
Range: bytes=213-
If-Range: Sat, 07 Jun …Run Code Online (Sandbox Code Playgroud) 我无法使用 apt-get 安装任何东西。我认为这个问题是由于某种 gpg 错误造成的。我已经按照我的信念在网上做了几乎所有的事情。这就是我运行时发生的情况apt-get update。
mody@ubuntu:~$ sudo apt-get update
Get:1 http:/dl.google.com stable Release.gpg
Get:2 http:/dl.google.com stable Release
Ign http:/dl.google.com stable Release
E: GPG error: http:/dl.google.com stable Release: The following signatures were invalid: NODATA 1 NODATA 2
mody@ubuntu:~$
Run Code Online (Sandbox Code Playgroud)
我试过这些
mody@ubuntu:~$ sudo apt-get clean
mody@ubuntu:~$ sudo apt-get update && sudo apt-get upgrade
Get:1 http:/dl.google.com stable Release.gpg
Get:2 http:/dl.google.com stable Release
Ign http:/dl.google.com stable Release
E: GPG error: http:/dl.google.com stable Release: The following signatures were invalid: NODATA 1 NODATA 2 …Run Code Online (Sandbox Code Playgroud) 最近,我尝试从 Ubuntu 调整安装谷歌地球。该程序要求我添加 google earth 的存储库。好吧,在我执行命令后,我发现一条错误消息告诉我我无法添加源并且系统无法构建包 tree.i 在终端中运行sudo apt-get update
,我发现以下错误:
Fetched 143 kB in 3min 43s (637 B/s)
Reading package lists... Error!
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures were invalid: BADSIG 6AF0E1940624A220 Launchpad PPA for TualatriX
W: GPG error: http://eg.archive.ubuntu.com trusty-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/eg.archive.ubuntu.com_ubuntu_dists_trusty_multiverse_i18n_Translation-en%5fUS
E: The package lists or status file …Run Code Online (Sandbox Code Playgroud)