Tools/environment_install/install-prereqs-ubuntu.sh -y

sampath@sampath-HP-Laptop-15g-dr0xxx:~/ardupilot$ Tools/environment_install/install-prereqs-ubuntu.sh -y
---------- Tools/environment_install/install-prereqs-ubuntu.sh start ----------

  • OPT=/opt
  • BASE_PKGS=‘build-essential ccache g++ gawk git make wget’
  • PYTHON_PKGS=‘future lxml pymavlink MAVProxy pexpect’
  • PX4_PKGS=‘python-argparse openocd flex bison libncurses5-dev autoconf texinfo libftdi-dev zlib1g-dev zip genromfs python-empy cmake cmake-data’
  • ARM_LINUX_PKGS=‘g+±arm-linux-gnueabihf pkg-config-arm-linux-gnueabihf’
  • SITL_PKGS=‘libtool libxml2-dev libxslt1-dev python-dev python-pip python-setuptools python-matplotlib python-serial python-scipy python-opencv python-numpy python-pyparsing xterm lcov gcovr’
  • ASSUME_YES=false
  • QUIET=false
    ++ uname -m
  • MACHINE_TYPE=x86_64
  • ‘[’ x86_64 == x86_64 ‘]’
  • PX4_PKGS+=’ libc6-i386’
  • ARM_ROOT=gcc-arm-none-eabi-6-2017-q2-update
  • ARM_TARBALL=gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
  • ARM_TARBALL_URL=http://firmware.ardupilot.org/Tools/STM32-tools/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
  • ARDUPILOT_TOOLS=Tools/autotest
  • OPTIND=1
  • getopts y opt
  • case “$opt” in
  • ASSUME_YES=true
  • getopts y opt
  • APT_GET=‘sudo apt-get’
  • true
  • APT_GET=‘sudo apt-get --assume-yes’
  • false
  • dpkg-query -l lsb-release
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    ++±==============-=============-============-=============================================
    ii lsb-release 11.1.0ubuntu2 all Linux Standard Base version reporting utility
  • read -r UBUNTU_CODENAME
    ++ lsb_release -c -s
  • ‘[’ focal = precise ‘]’
  • ‘[’ focal = trusty ‘]’
  • sudo usermod -a -G dialout sampath
    [sudo] password for sampath:
  • dpkg-query -l modemmanager
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    ++±==============-============-============-=================================
    rc modemmanager 1.12.8-1 amd64 D-Bus service for managing modems
  • sudo apt-get --assume-yes remove modemmanager
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package ‘modemmanager’ is not installed, so not removed
    The following packages were automatically installed and are no longer required:
    libmbim-glib4 libmbim-proxy libqmi-glib5 libqmi-proxy usb-modeswitch usb-modeswitch-data
    Use ‘sudo apt autoremove’ to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • sudo apt-get --assume-yes update
    Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:2 http://archive.canonical.com/ubuntu focal InRelease
    Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
    Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
    Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
    Get:6 http://archive.ubuntu.com/ubuntu focal-security InRelease [109 kB]
    Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [465 kB]
    Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [953 kB]
    Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [265 kB]
    Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [303 kB]
    Get:11 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
    Get:12 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,768 B]
    Get:13 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [629 kB]
    Get:14 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [128 kB]
    Get:15 http://archive.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.4 kB]
    Get:16 http://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [7,464 B]
    Get:17 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [58.3 kB]
    Fetched 3,160 kB in 6s (527 kB/s)
    Reading package lists… Done
  • apt-cache search python-wxgtk3.0
  • grep wx
    python-wxgtk3.0 - Python interface to the wxWidgets Cross-platform C++ GUI toolkit
    python-wxgtk3.0-dev - Development files for wxPython
  • SITL_PKGS+=’ python-wxgtk3.0 libtool-bin’
    ++ apt-cache search -n ‘^realpath$’
  • RP=
  • ‘[’ -n ‘’ ‘]’
  • sudo apt-get --assume-yes install build-essential ccache g++ gawk git make wget libtool libxml2-dev libxslt1-dev python-dev python-pip python-setuptools python-matplotlib python-serial python-scipy python-opencv python-numpy python-pyparsing xterm lcov gcovr python-wxgtk3.0 libtool-bin python-argparse openocd flex bison libncurses5-dev autoconf texinfo libftdi-dev zlib1g-dev zip genromfs python-empy cmake cmake-data libc6-i386 g+±arm-linux-gnueabihf pkg-config-arm-linux-gnueabihf
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Note, selecting ‘python-dev-is-python2’ instead of ‘python-dev’
    Note, selecting ‘libpython2.7-stdlib’ instead of ‘python-argparse’
    Package python-matplotlib 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

Package python-scipy 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

Package python-empy 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: Unable to locate package python-pip
E: Package ‘python-matplotlib’ has no installation candidate
E: Unable to locate package python-serial
E: Package ‘python-scipy’ has no installation candidate
E: Unable to locate package python-opencv
E: Package ‘python-empy’ has no installation candidate