Debian Stable(Buster)でDDDデバッガを正常にインストールできません。

Debian Stable(Buster)でDDDデバッガを正常にインストールできません。

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を介してデフォルトのデスクトップインストールのみをインストールしました。

パッケージのインストールに問題が発生したのは今回が初めてなので、resources.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$ 

ベストアンサー1

libbabeltrace1の現在のバージョンhttp://ftp.fr.debian.org/debian/pool/main/b/babeltrace/libbabeltrace1_1.5.6-2+deb10u1_i386.deb です。

トレースに以前のバージョンであり、リポジトリで利用できなくなったlibbabeltrace1_1.5.6-2_i386.debが表示されるため、404エラーが発生します。

これはパッケージのリストが最新ではないことを意味します。適切なアップデートがアップデートに失敗した場合、最も簡単な方法はそのエントリを削除して強制的に新しくダウンロードすることです。

この試み:

sudo su
apt clean
rm /var/lib/apt/lists/*debian*
apt update
apt install ddd

おすすめ記事