sudo apt-get update执行失败问题解决

2023-05-16

错误

在执行sudo apt-get update命令时,执行结果失败,错误信息如下:

获取:1 http://repo.mysql.com trusty InRelease [33.5 kB]
100% [1 InRelease gpgv 33.5 kB] [正在等待报头] [正在等待报头] [正�Couldn't create tempfiles for splitting up /var/lib/apt/lists/partial/repo.m忽略 http://repo.mysql.com trusty InRelease
忽略 http://archive.ubuntu.com trusty InRelease
获取:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
命中 http://ppa.launchpad.net trusty InRelease
48% [InRelease gpgv 15.5 kB] [正在等待报头] [2 InRelease 14.2 kB/65.9 kB Couldn't create tempfiles for splitting up /var/lib/apt/lists/ppa.lau忽略 http://ppa.launchpad.net trusty InRelease
获取:3 https://download.docker.com trusty InRelease
命中 https://apt.dockerproject.org ubuntu-trusty InRelease
55% [InRelease gpgv 48.7 kB] [正在等待报头] [2 InRelease 14.2 kB/65.9 kB Couldn't create tempfiles for splitting up /var/lib/apt/lists/apt.doc忽略 https://apt.dockerproject.org ubuntu-trusty InRelease
59% [3 InRelease gpgv 26.5 kB] [正在等待报头] [2 InRelease 14.2 kB/65.9 kCouldn't create tempfiles for splitting up /var/lib/apt/lists/partial错误 https://download.docker.com trusty InRelease

命中 http://nginx.org trusty InRelease
59% [InRelease gpgv 3,593 B] [正在等待报头] [2 InRelease 14.2 kB/65.9 kB Couldn't create tempfiles for splitting up /var/lib/apt/lists/nginx.o忽略 http://nginx.org trusty InRelease
获取:4 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
忽略 http://nginx.org trusty/nginx Sources/DiffIndex
获取:5 https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages/DiffIndex
忽略 https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages/DiffIndex
忽略 http://ppa.launchpad.net trusty/main amd64 Packages/DiffIndex
忽略 http://nginx.org trusty/nginx amd64 Packages/DiffIndex
85% [2 InRelease gpgv 65.9 kB] [4 InRelease 37.4 kB/65.9 kB 57%] [正在等待�Couldn't create tempfiles for splitting up /var/lib/apt/lists/parti错误 http://security.ubuntu.com trusty-security InRelease

忽略 http://repo.mysql.com trusty/mysql-5.7 Sources/DiffIndex
忽略 http://nginx.org trusty/nginx i386 Packages/DiffIndex
100% [4 InRelease gpgv 65.9 kB] [正在等待报头] [正在等待报头] [正�Couldn't create tempfiles for splitting up /var/lib/apt/lists/partial/archiv错误 http://archive.ubuntu.com trusty-updates InRelease

忽略 https://apt.dockerproject.org ubuntu-trusty/main i386 Packages/DiffIndex
命中 http://archive.ubuntu.com trusty-backports InRelease
100% [InRelease gpgv 65.9 kB] [正在等待报头] [正在等待报头] [正在Couldn't create tempfiles for splitting up /var/lib/apt/lists/archive.ubuntu.忽略 http://archive.ubuntu.com trusty-backports InRelease
忽略 http://ppa.launchpad.net trusty/main i386 Packages/DiffIndex
忽略 http://repo.mysql.com trusty/mysql-apt-config amd64 Packages/DiffIndex
命中 http://archive.ubuntu.com trusty Release.gpg
命中 https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages
忽略 http://archive.ubuntu.com trusty-backports/main Sources/DiffIndex
命中 https://apt.dockerproject.org ubuntu-trusty/main i386 Packages
获取:6 https://apt.dockerproject.org ubuntu-trusty/main Translation-zh_CN
忽略 http://repo.mysql.com trusty/mysql-5.7 amd64 Packages/DiffIndex
忽略 http://archive.ubuntu.com trusty-backports/restricted Sources/DiffIndex
忽略 http://archive.ubuntu.com trusty-backports/universe Sources/DiffIndex
忽略 http://archive.ubuntu.com trusty-backports/multiverse Sources/DiffIndex

▽
meserver 8.8.8.8
忽略 http://repo.mysql.com trusty/mysql-tools amd64 Packages/DiffIndex
忽略 http://archive.ubuntu.com trusty-backports/main amd64 Packages/DiffIndex
命中 http://ppa.launchpad.net trusty/main Translation-en
忽略 http://archive.ubuntu.com trusty-backports/restricted amd64 Packages/DiffIndex
忽略 http://repo.mysql.com trusty/mysql-apt-config i386 Packages/DiffIndex
忽略 http://archive.ubuntu.com trusty-backports/universe amd64 Packages/DiffIndex
命中 http://ppa.launchpad.net trusty/main amd64 Packages
忽略 http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages/DiffIndex
忽略 http://archive.ubuntu.com trusty-backports/main i386 Packages/DiffIndex
忽略 http://repo.mysql.com trusty/mysql-5.7 i386 Packages/DiffIndex
忽略 https://apt.dockerproject.org ubuntu-trusty/main Translation-zh_CN
命中 http://ppa.launchpad.net trusty/main i386 Packages

▽
nameserver 8.8.8.8
忽略 http://archive.ubuntu.com trusty-backports/restricted i386 Packages/DiffIndex
忽略 https://apt.dockerproject.org ubuntu-trusty/main Translation-zh
忽略 https://apt.dockerproject.org ubuntu-trusty/main Translation-en
忽略 http://archive.ubuntu.com trusty-backports/universe i386 Packages/DiffIndex
忽略 http://repo.mysql.com trusty/mysql-tools i386 Packages/DiffIndex
忽略 http://archive.ubuntu.com trusty-backports/multiverse i386 Packages/DiffIndex
命中 http://archive.ubuntu.com trusty-backports/main Translation-en
命中 http://nginx.org trusty/nginx Sources
命中 http://nginx.org trusty/nginx amd64 Packages
命中 http://archive.ubuntu.com trusty-backports/multiverse Translation-en
命中 http://nginx.org trusty/nginx i386 Packages
忽略 http://nginx.org trusty/nginx Translation-zh_CN
忽略 http://nginx.org trusty/nginx Translation-zh
命中 http://archive.ubuntu.com trusty-backports/restricted Translation-en
忽略 http://nginx.org trusty/nginx Translation-en
忽略 http://ppa.launchpad.net trusty/main Translation-zh_CN
命中 http://archive.ubuntu.com trusty-backports/universe Translation-en
忽略 http://ppa.launchpad.net trusty/main Translation-zh
命中 http://archive.ubuntu.com trusty Release
W: GPG 错误:http://repo.mysql.com trusty InRelease: 无法运行 gpgv 以验证签名(您安装了 gpgv 吗?)
W: GPG 错误:http://ppa.launchpad.net trusty InRelease: 无法运行 gpgv 以验证签名(您安装了 gpgv 吗?)
W: GPG 错误:https://apt.dockerproject.org ubuntu-trusty InRelease: 无法运行 gpgv 以验证签名(您安装了 gpgv 吗?)
W: 校验签名出错。此仓库未被更新,仍然使用以前的索引文件。GPG 错误:https://download.docker.com trusty InRelease: 无法运行 gpgv 以验证签名(您安装了 gpgv 吗?)

W: GPG 错误:http://nginx.org trusty InRelease: 无法运行 gpgv 以验证签名(您安装了 gpgv 吗?)
W: 校验签名出错。此仓库未被更新,仍然使用以前的索引文件。GPG 错误:http://security.ubuntu.com trusty-security InRelease: 无法运行 gpgv 以验证签名(您安装了 gpgv 吗?)

W: 校验签名出错。此仓库未被更新,仍然使用以前的索引文件。GPG 错误:http://archive.ubuntu.com trusty-updates InRelease: 无法运行 gpgv 以验证签名(您安装了 gpgv 吗?)

W: GPG 错误:http://archive.ubuntu.com trusty-backports InRelease: 无法运行 gpgv 以验证签名(您安装了 gpgv 吗?)
E: Couldn't create temporary file to work with /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_Release - mkstemp (2: No such file or directory)

解决方法

尝试各种方法都不能解决问题,最终找到解决方法按如下,依次执行下列命令:

sudo apt-get clean
sudo mv /var/lib/apt/lists /tmp
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

sudo apt-get update执行失败问题解决 的相关文章

  • setTimeout 不延迟 $.each 中的函数调用

    我的网站上有几个div 我想一一更新 为了不一次向服务器发送超过 200 个请求 我希望每个请求延迟 1 秒 我尝试过的 var tourBox tour box tourBox each function var box this set
  • 如何使用 sudo 执行 bash 函数?

    我尝试导出该函数 然后使用 bash 执行它 但这不起作用 export f my func sudo bash c my func bash my func command not found 如果我尝试在不使用 sudo 的情况下使用
  • 从套接字读取二进制数据

    我正在尝试连接到服务器 然后向其发送 HTTP 请求 在本例中为 GET 这个想法是请求一个文件 然后从服务器接收它 它应该适用于文本文件和二进制文件 例如 imgs 我对文本文件没有问题 它工作得很好 但我对二进制文件有一些麻烦 首先 我
  • jquery 使用智能投票插件进行轮询

    我一生都在努力让这个插件正常工作 但我不理解状态函数 因此重试不会触发 poll 10000 function retry get willfail function response status if status success Do
  • 如果控制台应用程序需要 root 权限,它如何在 OS X 下对自身进行 sudo? [关闭]

    Closed 这个问题是无关 help closed questions 目前不接受答案 我想知道命令行应用程序是否可以请求根访问权限 例如尝试使用sudo 我正在寻找一种解决方案 允许编写需要的应用程序sudo如果需要的话 可以享受特权
  • Yii搜索方法不起作用并且不与数据库中的数据进行比较

    您好 昨天我尝试了一种按日期时间创建搜索的方法 您可以看到链接 搜索任务 https stackoverflow com questions 23517282 yii search form by date from to criteria
  • sudo 使用什么 shell

    我很抱歉 因为这一定是其他人问过的问题 但这似乎是谷歌证明 我试图弄清楚正在调用什么 shell 因为我遇到了不一致的情况 如果我这样做 我的脚本将无法工作sudo 但是如果我的话确实有效sudo bash 然而当我sudo echo 0
  • 使用 QNetworkAccessManager 支持 https。运行时遇到 SslErrors

    我正在使用 QNetworkAccessManager 执行 https get 操作 我在运行时遇到 SSLErrors 经过一段时间的研究 我能够在安装 OpenSSL 后运行我的程序 我需要两个 dll libeay32 dll 和
  • 具有大量输入数据的 REST 端点 (GET)

    我正在开发一个应用程序 我需要将对象列表传递到 REST 端点 该端点将执行一些计算并将结果返回给调用者 问题更多的是一个哲学问题 即如何处理这种情况 在 GET 请求中传递巨大的负载是一个坏主意 同时 它并不是真正的 POST PUT 请
  • HTML
    标签导致 Rails 表单提交 GET 而不是 POST 请求

    我有一个可以正常工作的表单 直到我添加样式标签 我正在使用 twitter bootstrap 该应用程序是 Rails 3 1 我使用的是 Mac 这是一个可以正常工作的表格 没有任何问题 div class alert message
  • PHP 使用带有标头的 cURL 和 GET 请求

    过去有一些更棘手的问题 如下所示 如何从 PHP 发送带有标头的 GET 请求 https stackoverflow com questions 19259490 how do i send a get request with a he
  • 在 Python 中使用 Paramiko 模块切换到 root 用户时出现“必须从终端运行”

    我正在尝试通过 Python 脚本自动执行任务 这个想法是以普通用户身份登录 然后发送su命令并切换到 root 帐户 我无法直接以 root 身份登录的原因是SSHD不允许 root 登录 这是我所拥有的 ip 192 168 105 8
  • 获取 QComboBox 的所有项目 - PyQt4 (Python)

    我有很多QComboBoxes 在某个时刻 我需要获取特定的每个项目QComboBox迭代 虽然我只能有一个与中的项目相对应的项目列表QComboBox 我宁愿直接从小部件本身获取它们 有大量的QComboBoxes每个都有很多项目 有没有
  • Elasticsearch:如何查询连接数?

    如何询问我的 Elasticsearch 服务器现在有多少个连接 这与插座数量相同吗 我也不知道如何获得这些数字 这与客户端的数量不同 对吧 因为每个客户端可能打开多个连接 找不到任何相关信息 但我确实发现您可以在 Elasticsearc
  • 使用PHP获取http url参数而不自动解码

    我有一个像这样的网址 test php x hello world y 00h 00e 00l 00l 00o 当我将它写入文件时 file put contents x txt GET x gt hello world file put
  • 第301章

    Problem 访客打开网址website com i 133r534 213213 12312312但此网址不再有效 需要将其转发到website com 视频 133r534 213213 12312312 我尝试过的 在过去的几个小时
  • iOS 安全性将带有密码的数据发送至服务器或从服务器发送数据

    我正在构建一个应用程序 需要在服务器执行任何操作之前从用户设备发送密码以在服务器上进行身份验证 事情是这样的 用户的手机上有一个纯文本密码 该密码也在服务器中以 bcrypt 二进制文件的形式存在 用户想要从数据库中获取某些内容 因此用户通
  • Swift:转义闭包捕获非转义参数“onCompletion”

    我的 swift 有问题 我正在尝试发送 API 请求 然后检索数据 但收到以下错误消息 Swift 转义闭包捕获非转义参数 onCompletion 有谁知道我该如何解决这个问题 提前致谢 Code class RestApiManage
  • Spark Java框架中如何使用get获取请求参数?

    我是 Sparkjava 的新手 我想使用 Spark java 读取我的请求参数 但我无法找到正确的语法 请帮帮我 下面是我的路由方法和客户端对其的调用 我的客户请求网址 smartapp getDataViewModelConfig c
  • 更改“/usr/bin/”的所有权:不允许操作

    我刚刚改变了我的所有者 犯了一个巨大的错误 usr bin from root对一个普通人user 每当我尝试执行时 sudo chown root usr bin这给了我 chown changing ownership of usr b

随机推荐

  • Docker(四)Image、Container

    一 Image镜像 Docker把应用程序及其依赖 xff0c 打包在image文件里面 只有通过这个文件 xff0c 才能生成Docker容器 image文件可以看作是容器的模板 Docker根据image文件生成容器的实例 同一个ima
  • 报错:ModuleNotFoundError: No module named ‘PIL‘

    运行代码的时候报错 xff0c 如图所示 xff1a 表示python中没有配置pillow库 纠正的步骤 xff1a window 43 R xff0c 并且在框中输入cmd 进入python所在的目录下 xff0c cd appdata
  • Window10 Excel复制粘贴卡死

    Windows10 Excel复制粘贴卡死 excel复制大量数据有时卡死 xff0c 关机重启也没用 网上找了好多方法没效果 xff0c 突然想到windows10有个云剪切板功能 xff0c 就想关了试试没想到解决了 xff0c 哈哈哈
  • (Latex)期刊论文里的数学字符怎么打出来的?

    xff08 Latex xff09 期刊论文里的数学字符怎么打出来的 导入包试一试 by 今天不飞了 最近边查文献边写文章 xff0c 看到别人文章公式里的变量那叫一个花里胡哨 xff0c 再看看自己的 不能忍 xff0c 我也要 于是搜集
  • 面试:ARM篇

    1 IIC I2C 1 由日本飞利浦公司研发的一种 串行半双工的总线 2 采用两根线 SCL 和 SDA 特点 1 硬件比较简单 比较节约资源的一种总线 2 主要用于两个芯片之间的通信 也可以是多主机多从机 但基本不用 3 传输速度一般在4
  • 工作日志——首次通过k8s Elasticsearch获取新建Pod的日志缓慢的原因

    使用k8s Elasticsearch查看pod日志的时候偶尔会遇到这样的情况 xff0c 在创建完容器并运行后去查看日志的时候总是加载不出来 xff0c 需要等待十几秒甚至一分钟才能加载 我 有幸 被分配来解决这个问题 xff0c 经过一
  • WSL2 安装 Ubuntu-20.04 子系统CUDA(Win10和Win11)

    1 安装WSL的CUDA驱动 驱动下载地址 xff1a https developer nvidia com cuda wsl 选好你自己的显卡类型 下载完成后直接默认安装就行 2 安装WSL2 xff08 使用Ubuntu 20 04版本
  • ROS MELODIC ARM64的一些源

    默认注释了源码镜像以提高 apt update 速度 xff0c 如有需要可自行取消注释 deb https mirrors tuna tsinghua edu cn ubuntu ports bionic main restricted
  • 手写spring核心原理Version3

    上两篇博文手写spring核心原理Version1和手写spring核心原理Version2分别介绍了如何完成一个自动注入 以及如何用设计模式进行重构 xff0c 接下来这篇将仿照SpringMVC对参数列表以及methodMapping进
  • Netty Reactor线程模型

    前两篇博文分别介绍了Java 线程模型 xff1a BIO NIO和Reactor线程模型 xff0c 本篇博文将介绍Reactor线程模型在Netty中的实际应用 Netty模型 Netty模型的简单介绍 Netty 主要基于主从 Rea
  • JVM:类的加载过程

    类的加载过程 类的加载过程整体可以分为五个阶段 xff1a 加载 验证 准备 解析 初始化 xff0c 其中验证 准备和解析又被概括为链接 加载 通过一个类的全限定名获取定义此类的二进制字节流 xff1b 将这个字节流所代表的的静态存储结构
  • Hive On Tez 进度条不显示问题修复

    问题描述 用Hive客户端使用beeline命令执行SQL的时候 xff0c 有些情况下会显示进度条 xff0c 有些情况不显示进度条 显示进度条的情况 设置默认执行引擎为Tez lt property gt lt name gt hive
  • DataTables从安装到入门的详细教程之一:DataTables介绍及安装

    DataTables介绍 Datatables是一款jquery表格插件 它是一个高度灵活的工具 xff0c 可以将任何HTML表格添加高级的交互功能 分页 xff0c 即时搜索和排序 几乎支持任何数据源 xff1a DOM xff0c j
  • CSS换行和不换行

    强制不换行 div white space nowrap 自动换行 div word wrap break word word break normal 强制英文单词断行 div word break break all
  • Linux:Shell脚本基本命令

    24 span class token keyword if span span class token punctuation span span class token punctuation span span class token
  • Spring Boot设置值:分别用@ConfigurationProperties和@Value给属性设值及其区别

    目录 64 ConfigurationProperties给属性映射值 编写JavaBean 编写配置文件 测试类 xff1a 运行结果 xff1a 64 Value给属性设置值 编写JavaBean 运行结果 xff1a 64 Confi
  • Mac Intrellij IDEA中使用debug调试

    目录 一 Debug开篇 二 基本用法 amp 快捷键 三 变量查看 四 计算表达式 五 智能步入 六 断点条件设置 七 多线程调试 八 回退断点 九 中断Debug 十 附 xff1a JRebel激活 Debug用来追踪代码的运行流程
  • Docker创建容器步骤解析

    创建hello world容器 以创建一个简单的hello world容器为例 xff0c 介绍docker创建容器的几大步骤 运行命令 xff1a docker run hello world docker运行步骤分析
  • 什么是代理服务器及其作用

    什么是代理服务器 代理服务器 xff08 Proxy Server xff09 是网上提供转接功能的服务器 xff0c 在一般情况下 xff0c 我们使用网络浏览器直接去连接其他Internet站点取得网络信息时 xff0c 是直接联系到目
  • sudo apt-get update执行失败问题解决

    错误 在执行sudo apt get update命令时 xff0c 执行结果失败 xff0c 错误信息如下 xff1a 获取 xff1a 1 http repo mysql com trusty InRelease 33 5 kB 100