Unable to locate package bashdb

Bonjour à tous
Impossible de trouver bashdb sur ma debian 9. Pourtant il devrait être dispo sur une distrib de base d’après https://www.howtoinstall.co/en/debian/stretch/bashdb
Je note au passage un petit pb avec Appstream mais d’après ce que j’ai vu sur d’autres forums on peut ignorer ces warnings mais je les rapporte ici au cas où :

root@kmcs:/home/kmc# apt update 
...
Get:69 http://cdn-fastly.deb.debian.org/debian sid/contrib DEP-11 128x128 Icons [214 kB]
Fetched 27,5 MB in 28s (959 kB/s)                                                    
The AppStream system cache was updated, but some errors were detected, which might lead to missing metadata. Refer to the verbose log for more information.
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'
E: Sub-process returned an error code
root@kmcs:/home/kmc# appstreamcli --version
AppStream CLI tool version: 0.10.6
root@kmcs:/home/kmc# apt-get install bashdb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package bashdb
root@kmcs:/home/kmc# cat /etc/apt/sources.list
# 

# deb cdrom:[Debian GNU/Linux 8 _stretch_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150908-22:00]/ stretch main

deb http://httpredir.debian.org/debian/ stretch main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-updates main contrib non-free

#backports
deb http://httpredir.debian.org/debian stretch-backports main contrib non-free

#Unstable
deb http://httpredir.debian.org/debian/ sid main contrib non-free
root@kmcs:/home/kmc# cat /etc/apt/sources.list.d/
cisofy-lynis.list        tangostudio-debian.list  
postgres.list            teamviewer.list          
root@kmcs:/home/kmc# cat /etc/apt/preferences.d/testing-avec-sid 
Package: *
Pin: release n=sid
Pin-Priority: 100

Le paquet n’est plus présent dans les dépôts Debian officiels :

https://packages.debian.org/search?arch=s390x&keywords=bashdb

La raison, le retrait pur et simple :

https://tracker.debian.org/pkg/bashdb

Un autre moyen pour debugger du bash sous Debian ?

C’est à dire ?
Avec l’option -x j’ai mon déroulé et je vois où ça bloque en générale, voir mettre un set -x dans tes scripts au besoin, et l’établissement d’un log est appréciable en programmation.

Il y a le paquet shellcheck, qui peut se montrer intéressant.

Oui j’utilisais -x jusqu’à présent mais je voulais voir s’il y avait mieux.
Je vais voir shell check
merci pour vos indications