i am having issues installing gdbserver on BeagleBone Black running under debian stretch

debian@beaglebone:~$ sudo apt-get install gdbserver
[sudo] password for debian:
E: Type ‘deb-scrc’ is not known on line 21 in source list /etc/apt/sources.list
E: The list of sources could not be read.
E: Type ‘deb-scrc’ is not known on line 21 in source list /etc/apt/sources.list
E: The list of sources could not be read.

the /etc/apt/sources.list contains the following code:

debian@beaglebone:~$ more /etc/apt/sources.list
deb http://deb.debian.org/debian stretch main contrib non-free
#deb-src http://deb.debian.org/debian stretch main contrib non-free

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

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

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

#Kernel source (repos.rcn-ee.com) : https://github.com/RobertCNelson/linux-stabl
e-rcn-ee

deb-scrc maybe a typo in the sources list ?

Thank you, are you saying the content of stretch install file “sources.list” is incorrect?
Should I be making a defect report to debian stretch?

No, there's nothing to report, "you" spelled it wrong:

deb-scrc http://deb.debian.org/debian stretch main
deb-scrc http://deb.debian.org/debian stretch main apt-get update

"deb-scrc" -> "deb-src" and ps, what's with the "apt-get update" ^ in
the second line, that's going to cause other issues..

Regards,

Robert, thank you for your inputs, I just made the correction and gdbserver installed ok.
By the way file “sources.list” came with the debian stretch install and had not been modified by me.

Nice try, no it did not come that way:

https://github.com/RobertCNelson/omap-image-builder/blob/master/scripts/chroot.sh#L350-L435

there's no "deb-scrc"

it was defiantly user modified. :wink:

Regards,

Robert, ok, thank you for your help.