AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

    • 主页
    • 系统&网络
    • Ubuntu
    • Unix
    • DBA
    • Computer
    • Coding
    • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-265136

mrflash818's questions

Martin Hope
mrflash818
Asked: 2019-10-13 19:47:49 +0800 CST

从 Debian Stable (Buster) 成功安装 DDD 调试器时遇到问题

  • 3

从 Debian Stable (Buster) 成功安装 DDD 调试器时遇到问题

当我尝试安装 ddd 时,它无法安装并出现错误:

robert@pip2:/tmp$ sudo -l
[sudo] password for robert: 
Matching Defaults entries for robert on pip2:
    env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:    /usr/sbin\:/usr/bin\:/sbin\:/bin

User robert may run the following commands on pip2:
(ALL : ALL) ALL

robert@pip2:/tmp$ sudo aptitude install ddd
The following NEW packages will be installed:
  ddd gdb{a} libbabeltrace1{a} libc6-dbg{a} libipt2{a} libmotif-common{a}     libxm4{a} 
0 packages upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,456 kB/24.4 MB of archives. After unpacking 44.1 MB will be     used.
Do you want to continue? [Y/n/?] 
Err http://deb.debian.org/debian buster/main i386 libbabeltrace1 i386 1.5.6-2
404  Not Found [IP: 2a04:4e42:2d::204 80]
Err http://deb.debian.org/debian buster/main i386 gdb i386 8.2.1-2
404  Not Found [IP: 2a04:4e42:2d::204 80]
86% [Working]E: Failed to fetch http://deb.debian.org/debian/pool/main/b/babeltrace/libbabeltrace1_1.5.6-2_i386.deb: 404  Not Found [IP:        2a04:4e42:2d::204 80]
E: Unable to fetch some packages; try '-o APT::Get::Fix-Missing=true' to     continue with missing packages

robert@pip2:/tmp$ 

我是通过 netinst 安装的,没有任何自定义,只是默认的桌面安装。

不确定要对sources.list 进行哪些调整,因为这是我第一次在安装软件包时遇到问题。

我的 /etc/apt/sources.list 文件:

robert@pip2:/etc/apt$ cat ./sources.list
# 

# deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official i386 NETINST 20190706-11:30]/ buster main

#deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official i386 NETINST 20190706-11:30]/ buster main

deb http://deb.debian.org/debian/ buster main contrib
deb-src http://deb.debian.org/debian/ buster main contrib

deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib
deb-src http://deb.debian.org/debian/ buster-updates main contrib

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
robert@pip2:/etc/apt$ 

编辑 2019-10-13

一条评论被问到

“请将输出添加apt-get update到问题中。”

这里是:

robert@pip2:/tmp$ sudo apt-get update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Hit:3 http://security.debian.org/debian-security buster/updates InRelease      
Fetched 49.3 kB in 2s (29.8 kB/s)
Reading package lists... Done
robert@pip2:/tmp$ 

编辑 2019-10-14

另一条评论询问了 md5sum 的值。这里是:

robert@pip2:/tmp$ sudo md5sum /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease
9c0457c7c76f7eca24842cfb62de7f77  /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease

编辑 2019-10-19 尝试安装 libbabeltrace1

robert@pip2:/tmp$ sudo aptitude install libbabeltrace1
[sudo] password for robert: 
The following NEW packages will be installed:
    libbabeltrace1 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 191 kB of archives. After unpacking 612 kB will be used.
Err http://deb.debian.org/debian buster/main i386 libbabeltrace1 i386 1.5.6-2
    404  Not Found [IP: 151.101.188.204 80]
0% [Working]E: Failed to fetch http://deb.debian.org/debian/pool/main/b/babeltrace/libbabeltrace1_1.5.6-2_i386.deb: 404  Not Found [IP: 151.101.188.204 80]
E: Unable to fetch some packages; try '-o APT::Get::Fix-Missing=true' to                 continue with missing packages

robert@pip2:/tmp$ 
debian
  • 2 个回答
  • 362 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助
subwaysurfers
my femboy roommate

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve