Closed krak3n77 closed 1 year ago
Thanks for reporting this, @detectingdragon77.
Does this happen on a stock install of Raspbian? In the logs, it looks like you've installed lots of other packages, so your Debian packages might not be in a consistent state before the install.
Which OS version is this?
Thanks for reporting this, @detectingdragon77.
Does this happen on a stock install of Raspbian? In the logs, it looks like you've installed lots of other packages, so your Debian packages might not be in a consistent state before the install.
Which OS version is this?
Raspberry Pi OS with desktop Release date: May 3rd 2023 System: 64-bit Kernel version: 6.1 Debian version: 11 (bullseye) I ran apt upgrade before all this and rebooted.
@detectingdragon77 - Thanks for the extra details!
@db39 - Can you try reproducing this?
@mtlynch - I've been able to reproduce this error.
First, I installed Raspberry Pi OS (64-BIT) (with desktop) using the Raspberry Pi imager.
Then I logged in via ssh
and ran the TinyPilot install command:
curl \
--silent \
--show-error \
https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/get-tinypilot.sh | \
bash - && \
sudo reboot
The initial issues were dependencies and permissions:
+ HAS_PRO_INSTALLED=0
++ dirname bash
+ SCRIPT_DIR=.
+ [[ . = \. ]]
+ SCRIPT_DIR=/opt/tinypilot
+ readonly SCRIPT_DIR
+ readonly TINYPILOT_README=/opt/tinypilot/README.md
+ TINYPILOT_README=/opt/tinypilot/README.md
+ [[ -f /opt/tinypilot/README.md ]]
+ readonly HAS_PRO_INSTALLED
+ [[ 0 = 1 ]]
+ readonly LEGACY_INSTALLER_DIR=/opt/tinypilot-updater
+ LEGACY_INSTALLER_DIR=/opt/tinypilot-updater
+ readonly RAMDISK_SIZE_MIB=500
+ RAMDISK_SIZE_MIB=500
++ free --mebi
++ grep --fixed-strings Mem:
++ tr --squeeze-repeats ' '
++ cut --delimiter ' ' --fields 4
+ FREE_MEMORY_MIB=383
+ readonly FREE_MEMORY_MIB
+ INSTALLER_DIR=/mnt/tinypilot-installer
+ trap clean_up EXIT
+ (( 383 >= 500 ))
++ mktemp --directory
+ INSTALLER_DIR=/tmp/tmp.gtUZaPnxWy
+ readonly INSTALLER_DIR
+ readonly BUNDLE_FILE=/tmp/tmp.gtUZaPnxWy/bundle.tgz
+ BUNDLE_FILE=/tmp/tmp.gtUZaPnxWy/bundle.tgz
++ curl https://gk.tinypilotkvm.com/community/download/latest --location --output /tmp/tmp.gtUZaPnxWy/bundle.tgz --write-out '%{http_code}' --silent
+ HTTP_CODE=200
+ readonly HTTP_CODE
+ [[ 200 != \2\0\0 ]]
+ sudo tar --gunzip --extract --file /tmp/tmp.gtUZaPnxWy/bundle.tgz --directory /tmp/tmp.gtUZaPnxWy
+ sudo chown root:root --recursive /tmp/tmp.gtUZaPnxWy
+ [[ 0 -eq 1 ]]
+ pushd /tmp/tmp.gtUZaPnxWy
/tmp/tmp.gtUZaPnxWy ~
+ sudo ./install
+ . lib.sh
+ readonly TEMP_DIR=/var/tmp
+ TEMP_DIR=/var/tmp
++ mktemp --tmpdir=/var/tmp --suffix .yml
+ INSTALL_SETTINGS_FILE=/var/tmp/tmp.Jknoaq0rqa.yml
+ readonly INSTALL_SETTINGS_FILE
+ readonly TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml
+ TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml
+ readonly USTREAMER_SETTINGS_FILE=/home/ustreamer/config.yml
+ USTREAMER_SETTINGS_FILE=/home/ustreamer/config.yml
++ ls tinypilot_20230613161050_armhf.deb
+ TINYPILOT_DEBIAN_PACKAGE=tinypilot_20230613161050_armhf.deb
+ readonly TINYPILOT_DEBIAN_PACKAGE
+ trap clean_up EXIT
+ grep -q '^Model *: Raspberry Pi 3' /proc/cpuinfo
++ lsb_release --id --short
+ [[ Debian == \R\a\s\p\b\i\a\n ]]
+ grep -q boot=overlay /proc/cmdline
+ [[ -f /home/tinypilot/settings.yml ]]
+ echo 'No pre-existing settings file found at: /home/tinypilot/settings.yml'
No pre-existing settings file found at: /home/tinypilot/settings.yml
+ yaml_set_if_undefined /var/tmp/tmp.Jknoaq0rqa.yml ustreamer_port 8001
+ local file_path=/var/tmp/tmp.Jknoaq0rqa.yml
+ local key=ustreamer_port
+ local value=8001
+ grep --silent '^ustreamer_port:' /var/tmp/tmp.Jknoaq0rqa.yml
+ echo 'ustreamer_port: 8001'
+ tee --append /var/tmp/tmp.Jknoaq0rqa.yml
ustreamer_port: 8001
+ yaml_set_if_undefined /var/tmp/tmp.Jknoaq0rqa.yml ustreamer_persistent true
+ local file_path=/var/tmp/tmp.Jknoaq0rqa.yml
+ local key=ustreamer_persistent
+ local value=true
+ grep --silent '^ustreamer_persistent:' /var/tmp/tmp.Jknoaq0rqa.yml
+ echo 'ustreamer_persistent: true'
+ tee --append /var/tmp/tmp.Jknoaq0rqa.yml
ustreamer_persistent: true
+ USE_TC358743_DEFAULTS=false
+ grep --silent '^ustreamer_capture_device:' /var/tmp/tmp.Jknoaq0rqa.yml
+ '[' -f /home/ustreamer/config.yml ']'
+ grep --silent 'capture_device: "tc358743"' /home/ustreamer/config.yml
+ false
+ yaml_set_if_undefined /var/tmp/tmp.Jknoaq0rqa.yml ustreamer_encoder hw
+ local file_path=/var/tmp/tmp.Jknoaq0rqa.yml
+ local key=ustreamer_encoder
+ local value=hw
+ grep --silent '^ustreamer_encoder:' /var/tmp/tmp.Jknoaq0rqa.yml
+ echo 'ustreamer_encoder: hw'
+ tee --append /var/tmp/tmp.Jknoaq0rqa.yml
ustreamer_encoder: hw
+ yaml_set_if_undefined /var/tmp/tmp.Jknoaq0rqa.yml ustreamer_format jpeg
+ local file_path=/var/tmp/tmp.Jknoaq0rqa.yml
+ local key=ustreamer_format
+ local value=jpeg
+ grep --silent '^ustreamer_format:' /var/tmp/tmp.Jknoaq0rqa.yml
+ echo 'ustreamer_format: jpeg'
+ tee --append /var/tmp/tmp.Jknoaq0rqa.yml
ustreamer_format: jpeg
+ yaml_set_if_undefined /var/tmp/tmp.Jknoaq0rqa.yml ustreamer_resolution 1920x1080
+ local file_path=/var/tmp/tmp.Jknoaq0rqa.yml
+ local key=ustreamer_resolution
+ local value=1920x1080
+ grep --silent '^ustreamer_resolution:' /var/tmp/tmp.Jknoaq0rqa.yml
+ echo 'ustreamer_resolution: 1920x1080'
+ tee --append /var/tmp/tmp.Jknoaq0rqa.yml
ustreamer_resolution: 1920x1080
+ echo 'Final install settings:'
Final install settings:
+ cat /var/tmp/tmp.Jknoaq0rqa.yml
ustreamer_port: 8001
ustreamer_persistent: true
ustreamer_encoder: hw
ustreamer_format: jpeg
ustreamer_resolution: 1920x1080
+ apt-get update --allow-releaseinfo-change-suite
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://deb.debian.org/debian bullseye-backports InRelease
Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
+ apt-get install -y git libffi-dev libssl-dev python3-dev python3-venv lsb-release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.30.2-1+deb11u2).
libffi-dev is already the newest version (3.3-6).
lsb-release is already the newest version (11.1.0).
libssl-dev is already the newest version (1.1.1n-0+deb11u5).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python3-cups : Depends: python3 (< 3.10) but it is not going to be installed
Depends: python3 (>= 3.9~) but it is not going to be installed
python3-dev : Depends: python3 (= 3.9.2-3) but it is not going to be installed
Depends: python3.9-dev (>= 3.9.2-0~) but it is not going to be installed
python3-rpi.gpio : Depends: python3 (< 3.10) but it is not going to be installed
Depends: python3 (>= 3.9~) but it is not going to be installed
python3-smbus : Depends: python3 (< 3.10) but it is not going to be installed
Depends: python3 (>= 3.9~) but it is not going to be installed
python3-venv : Depends: python3.9-venv (>= 3.9.2-0~) but it is not going to be installed
Depends: python3 (= 3.9.2-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
+ clean_up
+ rm -rf /var/tmp/tmp.Jknoaq0rqa.yml
+ clean_up
+ umount --lazy /tmp/tmp.gtUZaPnxWy
umount: /tmp/tmp.gtUZaPnxWy: not mounted.
+ true
+ rm -rf /opt/tinypilot-updater /tmp/tmp.gtUZaPnxWy
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/bundle.tgz': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/lib.sh': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/tinypilot_20230613161050_armhf.deb': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/install': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/ansible.cfg': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/requirements.txt': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tasks/setup-FreeBSD.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tasks/vhosts.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tasks/setup-RedHat.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tasks/setup-Archlinux.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tasks/setup-OpenBSD.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tasks/setup-Debian.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tasks/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tasks/setup-Ubuntu.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/.circleci/config.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/handlers/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tests/check-trailing-whitespace': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/tests/check-trailing-newline': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/.gitignore': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/README.md': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/templates/nginx.conf.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/templates/vhost.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/templates/nginx.repo.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/vars/Archlinux.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/vars/OpenBSD.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/vars/RedHat.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/vars/FreeBSD.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/vars/Debian.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/meta/.galaxy_install_info': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/meta/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/molecule/requirements.txt': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/molecule/default/molecule.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/molecule/default/converge.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/.ansible-lint': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/.yamllint': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/LICENSE': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-nginx/defaults/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/tasks/ustreamer.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/tasks/nginx.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/tasks/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/handlers/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/.gitignore': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/docs/usb-gadget-driver.md': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/README.md': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/templates/tinypilot.systemd.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/vars/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/meta/requirements.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/meta/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/molecule/requirements.txt': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/molecule/default/molecule.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/molecule/default/converge.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/.yamllint': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/LICENSE': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-tinypilot/defaults/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tasks/update_boot_cmdline.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tasks/remove_tc358743.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tasks/check_saved_settings.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tasks/install_janus.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tasks/provision_tc358743.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tasks/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tasks/install_launcher.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/.circleci/config.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/handlers/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tests/decode-edid': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tests/check-bash': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tests/check-trailing-whitespace': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/tests/check-trailing-newline': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/.gitignore': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/README.md': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/templates/janus.jcfg.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/templates/janus.transport.websockets.jcfg.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/templates/ustreamer.systemd.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/templates/janus.plugin.ustreamer.jcfg.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/templates/load-tc358743-edid.systemd.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/templates/config.yml.j2': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/vars/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/vars/Debian.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/vars/Ubuntu.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/files/launch': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/meta/.galaxy_install_info': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/meta/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/molecule/requirements.txt': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/molecule/default/molecule.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/molecule/default/converge.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/.yamllint': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/LICENSE': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/roles/ansible-role-ustreamer/defaults/main.yml': Permission denied
rm: cannot remove '/tmp/tmp.gtUZaPnxWy/install.yml': Permission denied
So I ran sudo apt --fix-broken install -y
, before running the install command again - this time running bash
with sudo
:
curl \
--silent \
--show-error \
https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/get-tinypilot.sh | \
sudo bash - && \
sudo reboot
Which re-produced the error:
TASK [ansible-role-tinypilot : install TinyPilot Debian package] **************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'python3:armhf' 'python3-venv:armhf' 'sudo:armhf'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)
", "rc": 100, "stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)
", "stderr_lines": ["E: Sub-process /usr/bin/dpkg returned an error code (1)"], "stdout": "Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
blt cups-pk-helper docutils-common edid-decode flashrom fonts-piboto
freeglut3 giblib1 gir1.2-atk-1.0 gir1.2-gdkpixbuf-2.0 gir1.2-gmenu-3.0
gir1.2-gtk-3.0 gir1.2-harfbuzz-0.0 gir1.2-notify-0.7
gir1.2-packagekitglib-1.0 gir1.2-pango-1.0 gir1.2-polkit-1.0 gir1.2-secret-1
gnome-menus gtk2-engines-clearlookspix gtk2-engines-pixflat gui-pkinst
hplip-data i2c-tools ibverbs-providers javascript-common libaio1
libboost-iostreams1.74.0 libboost-thread1.74.0 libcupsimage2 libdaxctl1
libexpat1-dev libftdi1-2 libfuse2 libgdata-common libgdata22 libgfapi0
libgfrpc0 libgfxdr0 libglu1-mesa libglusterfs0 libgnome-menu-3-0
libgoa-1.0-0b libgoa-1.0-common libhpmud0 libi2c0 libibverbs1 libimagequant0
libjs-jquery libjs-sphinxdoc libjs-underscore libldb2 libmikmod3 libndctl6
libnma-common libnma0 libpmem1 libpmemblk1 libportmidi0 libpython3-dev
libpython3-stdlib libpython3.9-dev libqt5designer5 libqt5help5 libqt5test5
librados2 librbd1 librdmacm1 librtimulib-dev librtimulib-utils librtimulib7
libsane-hpaio libsdl-mixer1.2 libsdl-ttf2.0-0 libtalloc2 libtcl8.6
libtevent0 libtk8.6 libturbojpeg0 libwbclient0 lxde-common lxplug-bluetooth
lxplug-cputemp lxplug-ejecter lxplug-magnifier lxplug-menu lxplug-netman
lxplug-network lxplug-ptbatt lxplug-updater lxplug-volumepulse pi-greeter
pi-printer-support pishutdown pixflat-icons printer-driver-escpr
printer-driver-hpcups printer-driver-postscript-hp python-apt-common
python3-asttokens python3-blinker python3-bs4 python3-click python3-colorama
python3-debconf python3-docutils python3-html5lib python3-isort
python3-itsdangerous python3-jedi python3-jwt python3-logilab-common
python3-mccabe python3-mypy-extensions python3-opengl python3-parso
python3-pexpect python3-piexif python3-ptyprocess python3-pygments
python3-pyinotify python3-responses python3-roman python3-send2trash
python3-soupsieve python3-typing-extensions python3-v4l2
python3-webencodings python3-werkzeug read-edid rp-bookshelf rpd-plym-splash
rpd-wallpaper rpi.gpio-common scrot sgml-base tk8.6-blt2.5 xml-core xsel
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libaudit1:armhf libcap-ng0:armhf libpam-modules:armhf libpam0g:armhf
libpcre2-8-0:armhf libselinux1:armhf python3-minimal:armhf python3.9:armhf
python3.9-minimal:armhf python3.9-venv:armhf
Suggested packages:
libpam-doc:armhf python3-doc:armhf python3-tk:armhf python3.9-doc:armhf
binutils:armhf binfmt-support:armhf
The following packages will be REMOVED:
python3 python3-apt python3-cap1xxx python3-cups python3-dev python3-minimal
python3-rpi.gpio python3-smbus python3-venv python3.9 python3.9-dev
python3.9-minimal python3.9-venv sudo
The following NEW packages will be installed:
libaudit1:armhf libcap-ng0:armhf libpam-modules:armhf libpam0g:armhf
libpcre2-8-0:armhf libselinux1:armhf python3:armhf python3-minimal:armhf
python3-venv:armhf python3.9:armhf python3.9-minimal:armhf
python3.9-venv:armhf sudo:armhf
Preconfiguring packages ...
0 upgraded, 13 newly installed, 14 to remove and 25 not upgraded.
Need to get 0 B/3965 kB of archives.
After this operation, 1848 kB disk space will be freed.
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 93703 files and directories currently installed.)\r
Removing python3-cap1xxx (0.1.3) ...\r
Removing python3-rpi.gpio (0.7.0-0.2+b2) ...\r
Removing python3-venv (3.9.2-3) ...\r
Removing python3.9-venv (3.9.2-1) ...\r
dpkg: python3.9: dependency problems, but removing anyway as you requested:\r
python3.9-dev depends on python3.9 (= 3.9.2-1).\r
python3 depends on python3.9 (>= 3.9.2-0~).\r
\r
Removing python3.9 (3.9.2-1) ...\r
Selecting previously unselected package python3.9-minimal:armhf.\r
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 93664 files and directories currently installed.)\r
Preparing to unpack .../python3.9-minimal_3.9.2-1_armhf.deb ...\r
Unpacking python3.9-minimal:armhf (3.9.2-1) over (3.9.2-1) ...\r
dpkg: python3-minimal: dependency problems, but removing anyway as you requested:\r
python3 depends on python3-minimal (= 3.9.2-3).\r
\r
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 93663 files and directories currently installed.)\r
Removing python3-minimal (3.9.2-3) ...\r
Setting up python3.9-minimal:armhf (3.9.2-1) ...\r
Selecting previously unselected package python3-minimal:armhf.\r
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 93644 files and directories currently installed.)\r
Preparing to unpack .../python3-minimal_3.9.2-3_armhf.deb ...\r
Unpacking python3-minimal:armhf (3.9.2-3) ...\r
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 93663 files and directories currently installed.)\r
Removing python3-dev (3.9.2-3) ...\r
dpkg: python3: dependency problems, but removing anyway as you requested:\r
ssh-import-id depends on python3:any.\r
raspi-utils depends on python3:any.\r
python3-wheel depends on python3:any.\r
python3-werkzeug depends on python3:any.\r
python3-webencodings depends on python3:any.\r
python3-v4l2 depends on python3:any.\r
python3-urllib3 depends on python3:any.\r
python3-typing-extensions depends on python3:any.\r
python3-toml depends on python3:any.\r
python3-soupsieve depends on python3:any.\r
python3-smbus:arm64 depends on python3 (<< 3.10).\r
python3-smbus:arm64 depends on python3 (>= 3.9~).\r
python3-smbus:arm64 depends on python3 (<< 3.10).\r
python3-smbus:arm64 depends on python3 (>= 3.9~).\r
python3-six depends on python3:any.\r
python3-setuptools depends on python3:any.\r
python3-serial depends on python3:any.\r
python3-send2trash depends on python3:any.\r
python3-roman depends on python3:any.\r
python3-responses depends on python3:any.\r
python3-requests depends on python3:any.\r
python3-pyinotify depends on python3:any.\r
python3-pygments depends on python3:any.\r
python3-ptyprocess depends on python3:any.\r
python3-pkg-resources depends on python3:any.\r
python3-pip depends on python3:any.\r
python3-pigpio depends on python3:any.\r
python3-piexif depends on python3:any.\r
python3-pexpect depends on python3:any.\r
python3-parso depends on python3:any.\r
python3-opengl depends on python3:any.\r
python3-mypy-extensions depends on python3:any.\r
python3-mote depends on python3:any (>= 3.4~).\r
python3-mccabe depends on python3:any.\r
python3-logilab-common depends on python3:any.\r
python3-lib2to3 depends on python3:any (>= 3.9.1-0~).\r
python3-lib2to3 depends on python3:any (<< 3.10).\r
python3-lib2to3 depends on python3:any (>= 3.9.1-0~).\r
python3-lib2to3 depends on python3:any (<< 3.10).\r
python3-jwt depends on python3:any.\r
python3-jedi depends on python3:any.\r
python3-itsdangerous depends on python3:any.\r
python3-isort depends on python3:any.\r
python3-idna depends on python3:any.\r
python3-html5lib depends on python3:any.\r
python3-gpiozero depends on python3:any.\r
python3-docutils depends on python3:any.\r
python3-distutils depends on python3:any (>= 3.9.1-0~).\r
python3-distutils depends on python3:any (<< 3.10).\r
python3-distutils depends on python3:any (>= 3.9.1-0~).\r
python3-distutils depends on python3:any (<< 3.10).\r
python3-distro depends on python3:any.\r
python3-debconf depends on python3:any.\r
python3-cups:arm64 depends on python3 (<< 3.10).\r
python3-cups:arm64 depends on python3 (>= 3.9~).\r
python3-cups:arm64 depends on python3 (<< 3.10).\r
python3-cups:arm64 depends on python3 (>= 3.9~).\r
python3-colorzero depends on python3:any (>= 3.3.2-2~).\r
python3-colorama depends on python3:any (>= 3.6~).\r
python3-click depends on python3:any.\r
python3-chardet depends on python3:any.\r
python3-certifi depends on python3:any.\r
python3-bs4 depends on python3:any.\r
python3-blinker depends on python3:any.\r
python3-asttokens depends on python3:any.\r
python3-apt depends on python3 (<< 3.10).\r
python3-apt depends on python3 (>= 3.9~).\r
python3-apt depends on python3:any.\r
python3-apt depends on python3 (<< 3.10).\r
python3-apt depends on python3 (>= 3.9~).\r
python3-apt depends on python3:any.\r
python3-apt depends on python3 (<< 3.10).\r
python3-apt depends on python3 (>= 3.9~).\r
python3-apt depends on python3:any.\r
printer-driver-postscript-hp depends on python3:any.\r
printer-driver-escpr depends on python3:any.\r
lsb-release depends on python3:any.\r
libgupnp-1.2-dev:arm64 depends on python3:any.\r
libglib2.0-dev-bin depends on python3:any.\r
hplip-data depends on python3:any.\r
gnome-menus depends on python3:any.\r
\r
Removing python3 (3.9.2-3) ...\r
Setting up python3-minimal:armhf (3.9.2-3) ...\r
Selecting previously unselected package python3:armhf.\r
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 93626 files and directories currently installed.)\r
Preparing to unpack .../python3_3.9.2-3_armhf.deb ...\r
Unpacking python3:armhf (3.9.2-3) ...\r
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 93644 files and directories currently installed.)\r
Removing python3-apt (2.2.1) ...\r
Selecting previously unselected package python3.9:armhf.\r
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 93613 files and directories currently installed.)\r
Preparing to unpack .../python3.9_3.9.2-1_armhf.deb ...\r
Unpacking python3.9:armhf (3.9.2-1) ...\r
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 93629 files and directories currently installed.)\r
Removing python3-cups:arm64 (2.0.1-4+b1) ...\r
Removing python3-smbus:arm64 (4.2-1+b1) ...\r
Removing python3.9-dev (3.9.2-1) ...\r
Removing sudo (1.9.5p2-3+deb11u1) ...\r
You have asked that the sudo package be removed,\r
but no root password has been set.\r
Without sudo, you may not be able to gain administrative privileges.\r
\r
If you would prefer to access the root account with su(1)\r
or by logging in directly,\r
you must set a root password with \"sudo passwd\".\r
\r
If you have arranged other means to access the root account,\r
and you are sure this is what you want,\r
you may bypass this check by setting an environment variable \r
(export SUDO_FORCE_REMOVE=yes).\r
\r
Refusing to remove sudo.\r
dpkg: error processing package sudo (--remove):\r
installed sudo package pre-removal script subprocess returned error exit status 1\r
dpkg: too many errors, stopping\r
Errors were encountered while processing:\r
sudo\r
Processing was halted because there were too many errors.\r
", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages were automatically installed and are no longer required:", " blt cups-pk-helper docutils-common edid-decode flashrom fonts-piboto", " freeglut3 giblib1 gir1.2-atk-1.0 gir1.2-gdkpixbuf-2.0 gir1.2-gmenu-3.0", " gir1.2-gtk-3.0 gir1.2-harfbuzz-0.0 gir1.2-notify-0.7", " gir1.2-packagekitglib-1.0 gir1.2-pango-1.0 gir1.2-polkit-1.0 gir1.2-secret-1", " gnome-menus gtk2-engines-clearlookspix gtk2-engines-pixflat gui-pkinst", " hplip-data i2c-tools ibverbs-providers javascript-common libaio1", " libboost-iostreams1.74.0 libboost-thread1.74.0 libcupsimage2 libdaxctl1", " libexpat1-dev libftdi1-2 libfuse2 libgdata-common libgdata22 libgfapi0", " libgfrpc0 libgfxdr0 libglu1-mesa libglusterfs0 libgnome-menu-3-0", " libgoa-1.0-0b libgoa-1.0-common libhpmud0 libi2c0 libibverbs1 libimagequant0", " libjs-jquery libjs-sphinxdoc libjs-underscore libldb2 libmikmod3 libndctl6", " libnma-common libnma0 libpmem1 libpmemblk1 libportmidi0 libpython3-dev", " libpython3-stdlib libpython3.9-dev libqt5designer5 libqt5help5 libqt5test5", " librados2 librbd1 librdmacm1 librtimulib-dev librtimulib-utils librtimulib7", " libsane-hpaio libsdl-mixer1.2 libsdl-ttf2.0-0 libtalloc2 libtcl8.6", " libtevent0 libtk8.6 libturbojpeg0 libwbclient0 lxde-common lxplug-bluetooth", " lxplug-cputemp lxplug-ejecter lxplug-magnifier lxplug-menu lxplug-netman", " lxplug-network lxplug-ptbatt lxplug-updater lxplug-volumepulse pi-greeter", " pi-printer-support pishutdown pixflat-icons printer-driver-escpr", " printer-driver-hpcups printer-driver-postscript-hp python-apt-common", " python3-asttokens python3-blinker python3-bs4 python3-click python3-colorama", " python3-debconf python3-docutils python3-html5lib python3-isort", " python3-itsdangerous python3-jedi python3-jwt python3-logilab-common", " python3-mccabe python3-mypy-extensions python3-opengl python3-parso", " python3-pexpect python3-piexif python3-ptyprocess python3-pygments", " python3-pyinotify python3-responses python3-roman python3-send2trash", " python3-soupsieve python3-typing-extensions python3-v4l2", " python3-webencodings python3-werkzeug read-edid rp-bookshelf rpd-plym-splash", " rpd-wallpaper rpi.gpio-common scrot sgml-base tk8.6-blt2.5 xml-core xsel", "Use 'sudo apt autoremove' to remove them.", "The following additional packages will be installed:", " libaudit1:armhf libcap-ng0:armhf libpam-modules:armhf libpam0g:armhf", " libpcre2-8-0:armhf libselinux1:armhf python3-minimal:armhf python3.9:armhf", " python3.9-minimal:armhf python3.9-venv:armhf", "Suggested packages:", " libpam-doc:armhf python3-doc:armhf python3-tk:armhf python3.9-doc:armhf", " binutils:armhf binfmt-support:armhf", "The following packages will be REMOVED:", " python3 python3-apt python3-cap1xxx python3-cups python3-dev python3-minimal", " python3-rpi.gpio python3-smbus python3-venv python3.9 python3.9-dev", " python3.9-minimal python3.9-venv sudo", "The following NEW packages will be installed:", " libaudit1:armhf libcap-ng0:armhf libpam-modules:armhf libpam0g:armhf", " libpcre2-8-0:armhf libselinux1:armhf python3:armhf python3-minimal:armhf", " python3-venv:armhf python3.9:armhf python3.9-minimal:armhf", " python3.9-venv:armhf sudo:armhf", "Preconfiguring packages ...", "0 upgraded, 13 newly installed, 14 to remove and 25 not upgraded.", "Need to get 0 B/3965 kB of archives.", "After this operation, 1848 kB disk space will be freed.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 93703 files and directories currently installed.)", "Removing python3-cap1xxx (0.1.3) ...", "Removing python3-rpi.gpio (0.7.0-0.2+b2) ...", "Removing python3-venv (3.9.2-3) ...", "Removing python3.9-venv (3.9.2-1) ...", "dpkg: python3.9: dependency problems, but removing anyway as you requested:", " python3.9-dev depends on python3.9 (= 3.9.2-1).", " python3 depends on python3.9 (>= 3.9.2-0~).", "", "Removing python3.9 (3.9.2-1) ...", "Selecting previously unselected package python3.9-minimal:armhf.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 93664 files and directories currently installed.)", "Preparing to unpack .../python3.9-minimal_3.9.2-1_armhf.deb ...", "Unpacking python3.9-minimal:armhf (3.9.2-1) over (3.9.2-1) ...", "dpkg: python3-minimal: dependency problems, but removing anyway as you requested:", " python3 depends on python3-minimal (= 3.9.2-3).", "", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 93663 files and directories currently installed.)", "Removing python3-minimal (3.9.2-3) ...", "Setting up python3.9-minimal:armhf (3.9.2-1) ...", "Selecting previously unselected package python3-minimal:armhf.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 93644 files and directories currently installed.)", "Preparing to unpack .../python3-minimal_3.9.2-3_armhf.deb ...", "Unpacking python3-minimal:armhf (3.9.2-3) ...", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 93663 files and directories currently installed.)", "Removing python3-dev (3.9.2-3) ...", "dpkg: python3: dependency problems, but removing anyway as you requested:", " ssh-import-id depends on python3:any.", " raspi-utils depends on python3:any.", " python3-wheel depends on python3:any.", " python3-werkzeug depends on python3:any.", " python3-webencodings depends on python3:any.", " python3-v4l2 depends on python3:any.", " python3-urllib3 depends on python3:any.", " python3-typing-extensions depends on python3:any.", " python3-toml depends on python3:any.", " python3-soupsieve depends on python3:any.", " python3-smbus:arm64 depends on python3 (<< 3.10).", " python3-smbus:arm64 depends on python3 (>= 3.9~).", " python3-smbus:arm64 depends on python3 (<< 3.10).", " python3-smbus:arm64 depends on python3 (>= 3.9~).", " python3-six depends on python3:any.", " python3-setuptools depends on python3:any.", " python3-serial depends on python3:any.", " python3-send2trash depends on python3:any.", " python3-roman depends on python3:any.", " python3-responses depends on python3:any.", " python3-requests depends on python3:any.", " python3-pyinotify depends on python3:any.", " python3-pygments depends on python3:any.", " python3-ptyprocess depends on python3:any.", " python3-pkg-resources depends on python3:any.", " python3-pip depends on python3:any.", " python3-pigpio depends on python3:any.", " python3-piexif depends on python3:any.", " python3-pexpect depends on python3:any.", " python3-parso depends on python3:any.", " python3-opengl depends on python3:any.", " python3-mypy-extensions depends on python3:any.", " python3-mote depends on python3:any (>= 3.4~).", " python3-mccabe depends on python3:any.", " python3-logilab-common depends on python3:any.", " python3-lib2to3 depends on python3:any (>= 3.9.1-0~).", " python3-lib2to3 depends on python3:any (<< 3.10).", " python3-lib2to3 depends on python3:any (>= 3.9.1-0~).", " python3-lib2to3 depends on python3:any (<< 3.10).", " python3-jwt depends on python3:any.", " python3-jedi depends on python3:any.", " python3-itsdangerous depends on python3:any.", " python3-isort depends on python3:any.", " python3-idna depends on python3:any.", " python3-html5lib depends on python3:any.", " python3-gpiozero depends on python3:any.", " python3-docutils depends on python3:any.", " python3-distutils depends on python3:any (>= 3.9.1-0~).", " python3-distutils depends on python3:any (<< 3.10).", " python3-distutils depends on python3:any (>= 3.9.1-0~).", " python3-distutils depends on python3:any (<< 3.10).", " python3-distro depends on python3:any.", " python3-debconf depends on python3:any.", " python3-cups:arm64 depends on python3 (<< 3.10).", " python3-cups:arm64 depends on python3 (>= 3.9~).", " python3-cups:arm64 depends on python3 (<< 3.10).", " python3-cups:arm64 depends on python3 (>= 3.9~).", " python3-colorzero depends on python3:any (>= 3.3.2-2~).", " python3-colorama depends on python3:any (>= 3.6~).", " python3-click depends on python3:any.", " python3-chardet depends on python3:any.", " python3-certifi depends on python3:any.", " python3-bs4 depends on python3:any.", " python3-blinker depends on python3:any.", " python3-asttokens depends on python3:any.", " python3-apt depends on python3 (<< 3.10).", " python3-apt depends on python3 (>= 3.9~).", " python3-apt depends on python3:any.", " python3-apt depends on python3 (<< 3.10).", " python3-apt depends on python3 (>= 3.9~).", " python3-apt depends on python3:any.", " python3-apt depends on python3 (<< 3.10).", " python3-apt depends on python3 (>= 3.9~).", " python3-apt depends on python3:any.", " printer-driver-postscript-hp depends on python3:any.", " printer-driver-escpr depends on python3:any.", " lsb-release depends on python3:any.", " libgupnp-1.2-dev:arm64 depends on python3:any.", " libglib2.0-dev-bin depends on python3:any.", " hplip-data depends on python3:any.", " gnome-menus depends on python3:any.", "", "Removing python3 (3.9.2-3) ...", "Setting up python3-minimal:armhf (3.9.2-3) ...", "Selecting previously unselected package python3:armhf.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 93626 files and directories currently installed.)", "Preparing to unpack .../python3_3.9.2-3_armhf.deb ...", "Unpacking python3:armhf (3.9.2-3) ...", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 93644 files and directories currently installed.)", "Removing python3-apt (2.2.1) ...", "Selecting previously unselected package python3.9:armhf.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 93613 files and directories currently installed.)", "Preparing to unpack .../python3.9_3.9.2-1_armhf.deb ...", "Unpacking python3.9:armhf (3.9.2-1) ...", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 93629 files and directories currently installed.)", "Removing python3-cups:arm64 (2.0.1-4+b1) ...", "Removing python3-smbus:arm64 (4.2-1+b1) ...", "Removing python3.9-dev (3.9.2-1) ...", "Removing sudo (1.9.5p2-3+deb11u1) ...", "You have asked that the sudo package be removed,", "but no root password has been set.", "Without sudo, you may not be able to gain administrative privileges.", "", "If you would prefer to access the root account with su(1)", "or by logging in directly,", "you must set a root password with \"sudo passwd\".", "", "If you have arranged other means to access the root account,", "and you are sure this is what you want,", "you may bypass this check by setting an environment variable ", "(export SUDO_FORCE_REMOVE=yes).", "", "Refusing to remove sudo.", "dpkg: error processing package sudo (--remove):", " installed sudo package pre-removal script subprocess returned error exit status 1", "dpkg: too many errors, stopping", "Errors were encountered while processing:", " sudo", "Processing was halted because there were too many errors."]}
PLAY RECAP ********************************************************************************************************************************************************************************************************
localhost : ok=45 changed=0 unreachable=0 failed=1 skipped=20 rescued=0 ignored=0
I'll continue looking into this.
So I have an update, I figured out that the issue was not when building but when installing the compiled deb. It is compiling for armhf for some reason instead of arm64, and this caused conflicting dependencies between python3:arm64 and python3:armhf. Is there a way to specify the build architecture?
Ah, right. I forgot that as of #1352, our Debian packages are architecture specific.
64-bit was never officially supported, but for certain stretches, it just worked anyway. But right now, it's definitely not going to work as we're only building armhf (32-bit), and we don't have resources to support 64-bit.
Sorry, I understand it's a frustrating answer, but we're a small team so we can only support one architecture at the moment.
Ah, right. I forgot that as of #1352, our Debian packages are architecture specific.
64-bit was never officially supported, but for certain stretches, it just worked anyway. But right now, it's definitely not going to work as we're only building armhf (32-bit), and we don't have resources to support 64-bit.
Sorry, I understand it's a frustrating answer, but we're a small team so we can only support one architecture at the moment.
Ok understood, thanks for the explanation.
I think many distributions are moving away from 32 bit, and many armhf boards are very long in the tooth at this point, it shouldn't be a huge challenge to produce both 32 and 64 bit Debian packages because you are just relying on Python for most of the heavy lifting, and it handles the 32/64 bit translations for you, you just need to output both a 32bit armhf and a 64 bit arm64 debian.
Check out this tool that can help make the process WAY simpler.
@detectingdragon77 hi, could you write this suggestion to readme.md
, today i try to install, but i meet same issue. I think you can give some suggestion when install!
Update: sorry, you give a suggestion we have to use 32bit OS, could you can make it in bold ?
@detectingdragon77 hi, could you write this suggestion to
readme.md
, today i try to install, but i meet same issue. I think you can give some suggestion when install!Update: sorry, you give a suggestion we have to use 32bit OS, could you can make it in bold ?
I'm sorry, I've pretty much abandoned trying to use this.
I am sorry because i try to suggest this project collaborator to add more readme. By the way. which the best way you use kvm ?
Description
Briefly summarize the problem you're experiencing.
What's the behavior that you expect?
Your answer A successful installation.
What's happening instead?
I am receiving an error when trying to install tiny pilot, check uploaded log. Your answer
What are the steps to reproduce this behavior?
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Please paste the URL you see when you run @@
/opt/tinypilot/dev-scripts/dump-logs
log.txt