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

20 views
Skip to first unread message

peter k

unread,
May 20, 2018, 3:02:35 PM5/20/18
to BeagleBoard
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

e-rcn-ee
#
#cd ./linux-stable-rcn-ee
#git checkout `uname -r` -b tmp
#
deb [arch=armhf] http://repos.rcn-ee.com/debian/ stretch main
#deb-src [arch=armhf] http://repos.rcn-ee.com/debian/ stretch main
deb-scrc http://deb.debian.org/debian stretch main
deb-scrc http://deb.debian.org/debian stretch main apt-get update

any suggestions on how to install gdbserver?


evilwulfie

unread,
May 20, 2018, 3:30:12 PM5/20/18
to beagl...@googlegroups.com
deb-scrc maybe a typo in the sources list ?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/e6a242c4-7e99-4207-a467-ebdbd3f5b2ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

peter k

unread,
May 21, 2018, 10:01:25 AM5/21/18
to BeagleBoard
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?

Robert Nelson

unread,
May 21, 2018, 10:11:45 AM5/21/18
to Beagle Board, peter...@gmail.com
On Mon, May 21, 2018 at 9:01 AM, peter k <peter...@gmail.com> wrote:
> 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 Nelson
https://rcn-ee.com/

peter k

unread,
May 21, 2018, 10:30:23 AM5/21/18
to BeagleBoard
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.

Robert Nelson

unread,
May 21, 2018, 10:36:40 AM5/21/18
to Beagle Board
On Mon, May 21, 2018 at 9:30 AM, peter k <peter...@gmail.com> wrote:
> 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. ;)

peter k

unread,
May 21, 2018, 12:31:55 PM5/21/18
to BeagleBoard
Robert, ok, thank you for your help.
Reply all
Reply to author
Forward
0 new messages