So, it works. Judging from your output, you may have lost internet in the middle of that command, or your providers DNS for the IP addresses listed in your output went south. It happens . . .
william@beaglebone:~$ sudo apt-get install gdbserver [sudo] password for william: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: gdbserver 0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded. Need to get 203 kB of archives. After this operation, 347 kB of additional disk space will be used. Get:1 http://httpredir.debian.org/debian/ jessie/main gdbserver armhf 7.7.1+dfsg-5 [203 kB] Fetched 203 kB in 1s (163 kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Selecting previously unselected package gdbserver. (Reading database ... 40100 files and directories currently installed.) Preparing to unpack .../gdbserver_7.7.1+dfsg-5_armhf.deb ... Unpacking gdbserver (7.7.1+dfsg-5) ... Setting up gdbserver (7.7.1+dfsg-5) ... On Thu, Jun 23, 2016 at 8:54 AM, William Hermans <[email protected]> wrote: > By the way, When you're running as root. You do not have to use sudo. > > On Thu, Jun 23, 2016 at 8:51 AM, William Hermans <[email protected]> > wrote: > >> Try: >> >> $ sudo apt-get update >> $ sudo apt-get upgrade >> >> You're using an older APT list file and hopefully apt-get upgrade will >> fix that. If not, then probably Robert will have to tell you what he's >> changed the list to most recently. >> >> >> On Thu, Jun 23, 2016 at 8:38 AM, Ben Nguyen <[email protected]> >> wrote: >> >>> >>> Thanks, I get the same install error... However, there's a bunch of >>> error messages* during apt-get update that weren't there when before (when >>> I originally ran it after upgrading the flash from debian 7 to 8). >>> >>> By the way, I tried posting this on the forum, but couldn't find it.. >>> How did you see this?! >>> >>> Thanks! >>> Ben >>> >>> >>> * >>> login as: root >>> Debian GNU/Linux 8 >>> >>> BeagleBoard.org Debian Image 2016-05-13 >>> >>> Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian >>> >>> default username:password is [debian:temppwd] >>> >>> Last login: Thu Jun 23 05:50:53 2016 from bbb.attlocal.net >>> root@beaglebone:~# sudo apt-get update >>> Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB] >>> Hit http://repos.rcn-ee.com jessie InRelease >>> Hit https://deb.nodesource.com jessie InRelease >>> Get:2 https://deb.nodesource.com jessie/main armhf Packages [976 B] >>> Get:3 http://repos.rcn-ee.com jessie/main armhf Packages [501 kB] >>> Ign http://httpredir.debian.org jessie InRelease >>> Get:4 http://httpredir.debian.org jessie-updates InRelease [142 kB] >>> Get:5 http://security.debian.org jessie/updates/main armhf Packages >>> [345 kB] >>> Get:6 http://httpredir.debian.org jessie-updates InRelease [142 kB] >>> Get:7 http://security.debian.org jessie/updates/main armhf Packages >>> [345 kB] >>> Get:8 http://repos.rcn-ee.com jessie/main armhf Packages [501 kB] >>> Get:9 http://security.debian.org jessie/updates/contrib armhf Packages >>> [994 B] >>> Get:10 http://security.debian.org jessie/updates/non-free armhf >>> Packages [20 B] >>> Get:11 http://httpredir.debian.org jessie Release.gpg [2373 B] >>> Get:12 http://repos.rcn-ee.com jessie/main armhf Packages [501 kB] >>> Err http://httpredir.debian.org jessie Release >>> >>> Err http://httpredir.debian.org jessie-updates/contrib armhf Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> Err http://httpredir.debian.org jessie-updates/main armhf Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> Err http://httpredir.debian.org jessie-updates/non-free armhf Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> Err http://httpredir.debian.org jessie/main armhf Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> Err http://httpredir.debian.org jessie/contrib armhf Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> Err http://httpredir.debian.org jessie/non-free armhf Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> Fetched 368 kB in 4min 37s (1324 B/s) >>> Reading package lists... Done >>> W: Failed to fetch >>> http://httpredir.debian.org/debian/dists/jessie-updates/main/binary-armhf/Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> >>> W: Failed to fetch >>> http://httpredir.debian.org/debian/dists/jessie-updates/contrib/binary-armhf/Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> >>> W: Failed to fetch >>> http://httpredir.debian.org/debian/dists/jessie-updates/non-free/binary-armhf/Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> >>> W: Failed to fetch >>> http://httpredir.debian.org/debian/dists/jessie/Release >>> >>> W: Failed to fetch >>> http://httpredir.debian.org/debian/dists/jessie/main/binary-armhf/Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> >>> W: Failed to fetch >>> http://httpredir.debian.org/debian/dists/jessie/contrib/binary-armhf/Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> >>> W: Failed to fetch >>> http://httpredir.debian.org/debian/dists/jessie/non-free/binary-armhf/Packages >>> Unable to connect to httpredir.debian.org:http: [IP: >>> 2001:41c8:1000:21::21:35 80] >>> >>> W: Some index files failed to download. They have been ignored, or old >>> ones used instead. >>> " >>> >>> >>> >>> >>> " >>> root@beaglebone:~# sudo apt-get install gdbserver >>> Reading package lists... Done >>> Building dependency tree >>> Reading state information... Done >>> Package gdbserver is not available, but is referred to by another >>> package. >>> This may mean that the package is missing, has been obsoleted, or >>> is only available from another source >>> >>> E: Package 'gdbserver' has no installation candidate >>> root@beaglebone:~# >>> " >>> >>> On Wed, Jun 22, 2016 at 9:11 AM, Robert Nelson <[email protected]> >>> wrote: >>> >>>> On Wed, Jun 22, 2016 at 10:35 AM, <[email protected]> wrote: >>>> > Hi, >>>> > >>>> > I'm trying to run ./gdbserver on the beaglebone black but I get: >>>> > 'No such file or directory' >>>> > >>>> > The BBB is flashed with 8.4 (cat /etc/debian_version) >>>> > >>>> > According to the excellent Derek Molloy videos, it should come >>>> pre-installed >>>> > with debian: >>>> > https://www.youtube.com/watch?v=T9yFyWsyyGk&t=31m2s >>>> > >>>> > Unfortunately, even trying to install it manually doesn't work: >>>> > " >>>> > root@beaglebone:~# apt-get install gdbserver >>>> > Reading package lists... Done >>>> > Building dependency tree >>>> > Reading state information... Done >>>> > Package gdbserver is not available, but is referred to by another >>>> package. >>>> > This may mean that the package is missing, has been obsoleted, or >>>> > is only available from another source >>>> > E: Package 'gdbserver' has no installation candidate >>>> >>>> >>>> sudo apt-get update >>>> sudo apt-get install gdbserver >>>> >>>> Regards, >>>> >>>> -- >>>> Robert Nelson >>>> https://rcn-ee.com/ >>>> >>> >>> -- >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/beagleboard/CAF8Ceu6dx7berDp12YdN-GpHkfMEG68j3p_mD%3DpWL6dopvBbCA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/beagleboard/CAF8Ceu6dx7berDp12YdN-GpHkfMEG68j3p_mD%3DpWL6dopvBbCA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORpLovQe0ARoH-RNR6oeXJ%3DTfO9crQvKv%3DyiEecyeBy4xw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
