0 updates can be applied immediately. This message is shown once a day. To disable it please create the /home/jgiessel/.hushlogin file. jgiessel@DESKTOP-ISNCK32:~$ sudo add-apt-repository universe [sudo] password for jgiessel: 'universe' distribution component is already enabled for all sources. jgiessel@DESKTOP-ISNCK32:~$ sudo apt update Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:4 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1247 kB] Get:5 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [219 kB] Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [678 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] Get:8 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [116 kB] Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [13.1 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1598 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [306 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [818 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [116 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [904 kB] Get:15 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [201 kB] Fetched 6553 kB in 5s (1450 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. jgiessel@DESKTOP-ISNCK32:~$ sudo apt install python2 Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python2-minimal python2.7 python2.7-minimal Suggested packages: python2-doc python-tk python2.7-doc binutils binfmt-support The following NEW packages will be installed: libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python2 python2-minimal python2.7 python2.7-minimal 0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded. Need to get 3816 kB of archives. After this operation, 16.5 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libpython2.7-minimal amd64 2.7.18-1~20.04.1 [335 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python2.7-minimal amd64 2.7.18-1~20.04.1 [1285 kB] Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 python2-minimal amd64 2.7.17-2ubuntu4 [27.5 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libpython2.7-stdlib amd64 2.7.18-1~20.04.1 [1887 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python2.7 amd64 2.7.18-1~20.04.1 [248 kB] Get:6 http://archive.ubuntu.com/ubuntu focal/universe amd64 libpython2-stdlib amd64 2.7.17-2ubuntu4 [7072 B] Get:7 http://archive.ubuntu.com/ubuntu focal/universe amd64 python2 amd64 2.7.17-2ubuntu4 [26.5 kB] Fetched 3816 kB in 8s (492 kB/s) Selecting previously unselected package libpython2.7-minimal:amd64. (Reading database ... 33529 files and directories currently installed.) Preparing to unpack .../0-libpython2.7-minimal_2.7.18-1~20.04.1_amd64.deb ... Unpacking libpython2.7-minimal:amd64 (2.7.18-1~20.04.1) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../1-python2.7-minimal_2.7.18-1~20.04.1_amd64.deb ... Unpacking python2.7-minimal (2.7.18-1~20.04.1) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../2-python2-minimal_2.7.17-2ubuntu4_amd64.deb ... Unpacking python2-minimal (2.7.17-2ubuntu4) ... Selecting previously unselected package libpython2.7-stdlib:amd64. Preparing to unpack .../3-libpython2.7-stdlib_2.7.18-1~20.04.1_amd64.deb ... Unpacking libpython2.7-stdlib:amd64 (2.7.18-1~20.04.1) ... Selecting previously unselected package python2.7. Preparing to unpack .../4-python2.7_2.7.18-1~20.04.1_amd64.deb ... Unpacking python2.7 (2.7.18-1~20.04.1) ... Selecting previously unselected package libpython2-stdlib:amd64. Preparing to unpack .../5-libpython2-stdlib_2.7.17-2ubuntu4_amd64.deb ... Unpacking libpython2-stdlib:amd64 (2.7.17-2ubuntu4) ... Setting up libpython2.7-minimal:amd64 (2.7.18-1~20.04.1) ... Setting up python2.7-minimal (2.7.18-1~20.04.1) ... Linking and byte-compiling packages for runtime python2.7... Setting up python2-minimal (2.7.17-2ubuntu4) ... Selecting previously unselected package python2. (Reading database ... 34276 files and directories currently installed.) Preparing to unpack .../python2_2.7.17-2ubuntu4_amd64.deb ... Unpacking python2 (2.7.17-2ubuntu4) ... Setting up libpython2.7-stdlib:amd64 (2.7.18-1~20.04.1) ... Setting up python2.7 (2.7.18-1~20.04.1) ... Setting up libpython2-stdlib:amd64 (2.7.17-2ubuntu4) ... Setting up python2 (2.7.17-2ubuntu4) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for mime-support (3.64ubuntu1) ... jgiessel@DESKTOP-ISNCK32:~$ curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2548k 100 2548k 0 0 4290k 0 --:--:-- --:--:-- --:--:-- 4283k jgiessel@DESKTOP-ISNCK32:~$ sudo python2 get-pip.py ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.7. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead. jgiessel@DESKTOP-ISNCK32:~$ Tools/environment_install/install-prereqs-ubuntu.sh -y -bash: Tools/environment_install/install-prereqs-ubuntu.sh: No such file or directory jgiessel@DESKTOP-ISNCK32:~$ cd ardupilot jgiessel@DESKTOP-ISNCK32:~/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 jgiessel + dpkg-query -l modemmanager dpkg-query: no packages found matching modemmanager + sudo apt-get --assume-yes update Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease 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 Package python-pip 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 However the following packages replace it: python3-pip E: Package 'python-pip' has no installation candidate 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 jgiessel@DESKTOP-ISNCK32:~/ardupilot$ sudo python2 get-pip.py