bb - ASRock BeeBox-S 7100U - Debian - 2019 archive
back to main Debian page for this machine.
2019 archive.
2019-11-28: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: chromium chromium-common chromium-sandbox kicad-footprints kicad-packages3d kicad-symbols kicad-templates 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 415 MB of archives. After this operation, 3,536 kB of additional disk space will be used. [..] Unpacking kicad-packages3d (5.1.5-1~bpo10+1) over (5.1.3-1~bpo10+1) ... dpkg: error processing archive /tmp/apt-dpkg-install-pYEr9Y/4-kicad-packages3d_5.1.5-1~bpo10+1_all.deb (--unpack): cannot copy extracted data for './usr/share/kicad/modules/packages3d/Connector_PinSocket_1.00mm.3dshapes/PinSocket_1x28_P1.00mm_Vertical.wrl' to '/usr/share/kicad/modules/packages3d/Connector_PinSocket_1.00mm.3dshapes/PinSocket_1x28_P1.00mm_Vertical.wrl.dpkg-new': failed to write (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Preparing to unpack .../5-kicad-symbols_5.1.5-1~bpo10+1_all.deb ... Unpacking kicad-symbols (5.1.5-1~bpo10+1) over (5.1.3-1~bpo10+1) ... Preparing to unpack .../6-kicad-templates_5.1.5-1~bpo10+1_all.deb ... Unpacking kicad-templates (5.1.5-1~bpo10+1) over (5.1.3-1~bpo10+1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-pYEr9Y/4-kicad-packages3d_5.1.5-1~bpo10+1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
ok, that package is too big. Remove the old one
tingo@kg-bsbox:~$ sudo apt remove kicad-packages3d Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: kicad-packages3d 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 6 not fully installed or removed. After this operation, 5,240 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 199456 files and directories currently installed.) Removing kicad-packages3d (5.1.3-1~bpo10+1) ... Setting up kicad-footprints (5.1.5-1~bpo10+1) ... Setting up chromium-sandbox (78.0.3904.108-1~deb10u1) ... Setting up kicad-templates (5.1.5-1~bpo10+1) ... Setting up kicad-symbols (5.1.5-1~bpo10+1) ... Setting up chromium-common (78.0.3904.108-1~deb10u1) ... Setting up chromium (78.0.3904.108-1~deb10u1) ... Processing triggers for mime-support (3.62) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for desktop-file-utils (0.23-4) ...
more space now
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 11G 6.2G 64% /
install the updated one
tingo@kg-bsbox:~$ sudo apt install -t buster-backports kicad-packages3d Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: kicad-packages3d 0 upgraded, 1 newly installed, 0 to remove and 93 not upgraded. Need to get 0 B/354 MB of archives. After this operation, 5,241 MB of additional disk space will be used. Selecting previously unselected package kicad-packages3d. (Reading database ... 188048 files and directories currently installed.) Preparing to unpack .../kicad-packages3d_5.1.5-1~bpo10+1_all.deb ... Unpacking kicad-packages3d (5.1.5-1~bpo10+1) ... Setting up kicad-packages3d (5.1.5-1~bpo10+1) ...
how much space now?
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 16G 1.3G 93% /
ok
2019-11-18: sdb5 - reboot, Debian 10.2 is in
tingo@kg-bsbox:~$ cat /etc/debian_version 10.2
kernel is unchanged
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
ok
2019-11-18: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: base-files cron distro-info-data fonts-opensymbol freetype2-doc ghostscript libfreetype6 libfreetype6:i386 libfreetype6-dev libglib2.0-0 libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libgs9 libgs9-common libmariadb3 libmosquitto1 libncurses-dev libncurses5 libncurses5-dev libncurses6 libncurses6:i386 libncursesw5 libncursesw6 libnm0 libnss-systemd libpam-systemd libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-help-common libreoffice-help-en-us libreoffice-impress libreoffice-java-common libreoffice-librelogo libreoffice-math libreoffice-nlpsolver libreoffice-report-builder libreoffice-report-builder-bin libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql libreoffice-style-colibre libreoffice-style-tango libreoffice-wiki-publisher libreoffice-writer libsystemd0 libsystemd0:i386 libtinfo5 libtinfo6 libtinfo6:i386 libudev1 libudev1:i386 libxslt1.1 libxslt1.1:i386 lightning mariadb-common mosquitto-clients ncurses-base ncurses-bin ncurses-term network-manager python-cryptography python2.7 python2.7-dev python2.7-minimal python3-cryptography python3-uno systemd systemd-sysv thunderbird udev uno-libs3 ure xsltproc 89 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 216 MB of archives. After this operation, 32.6 MB of additional disk space will be used. [..] Processing triggers for initramfs-tools (0.133+deb10u1) ... update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
ok.
2019-11-15: sdb5 - bug 866772 still annoys me. Here is wishing that Xfce 4.14 fixes it, and that it comes to Debian soon.
2019-11-13: sdb5 - reboot, since I got a new kernel
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
ok.
2019-11-13: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: xdg-dbus-proxy The following packages will be upgraded: chromium chromium-common chromium-sandbox file firefox-esr gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libarchive13 libfribidi0 libfribidi0:i386 libjavascriptcoregtk-4.0-18 libmagic-mgc libmagic1 libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5widgets5 libqt5xml5 libwebkit2gtk-4.0-37 linux-image-4.19.0-6-amd64 linux-libc-dev qt5-default qt5-gtk-platformtheme qt5-qmake qt5-qmake-bin qtbase5-dev qtbase5-dev-tools 35 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 183 MB of archives. After this operation, 21.8 MB of additional disk space will be used. [..] Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for libc-bin (2.28-10) ...
ok.
2019-10-21: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libssl1.1 libssl1.1:i386 openjdk-11-jre openjdk-11-jre-headless openssh-client openssh-server openssh-sftp-server openssl sudo 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 43.6 MB of archives. After this operation, 150 kB of additional disk space will be used. [..] Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for libc-bin (2.28-10) ...
ok.
2019-10-16: sdb5 - KiCad - install InteractiveHtmlBom in ~/.kicad-plugins
2019-10-16: sdb5 - apt - install python3-wxgtk4.0
tingo@kg-bsbox:~$ sudo apt install python3-wxgtk4.0 Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: wx3.0-doc The following NEW packages will be installed: python3-wxgtk4.0 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 6,648 kB of archives. After this operation, 40.7 MB of additional disk space will be used. [..] Selecting previously unselected package python3-wxgtk4.0. (Reading database ... 198531 files and directories currently installed.) Preparing to unpack .../python3-wxgtk4.0_4.0.4+dfsg-2_amd64.deb ... Unpacking python3-wxgtk4.0 (4.0.4+dfsg-2) ... Setting up python3-wxgtk4.0 (4.0.4+dfsg-2) ...
ok
2019-10-08: sdb5 - systemd - fixing rescue mode (from pull request 10397):
tingo@kg-bsbox:~$ sudo systemctl edit rescue.service
(with gnu nano - arrgh!)
the things added is
tingo@kg-bsbox:~$ more /etc/systemd/system/rescue.service.d/override.conf [Service] Environment=SYSTEMD_SULOGIN_FORCE=1
now, lets see if this works.
2019-10-02: sdb5 - rebooted, because of new kernel:
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux
ok
2019-10-02: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: irqbalance linux-image-4.9.0-9-amd64 runit-helper Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: e2fslibs e2fsprogs e2fsprogs-l10n libcom-err2 libcom-err2:i386 libcomerr2 libext2fs2 libss2 libssl1.1 libssl1.1:i386 linux-image-4.19.0-6-amd64 linux-libc-dev openssl wpasupplicant 14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 56.0 MB of archives. After this operation, 9,216 B disk space will be freed. [..] /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64 /etc/kernel/postinst.d/zz-update-grub: Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.19.0-6-amd64 Found initrd image: /boot/initrd.img-4.19.0-6-amd64 Found linux image: /boot/vmlinuz-4.19.0-5-amd64 Found initrd image: /boot/initrd.img-4.19.0-5-amd64 Found linux image: /boot/vmlinuz-4.9.0-9-amd64 Found initrd image: /boot/initrd.img-4.9.0-9-amd64 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdg: open failed: No medium found /dev/sdh: open failed: No medium found /dev/sdi: open failed: No medium found /dev/sdj: open failed: No medium found /dev/sdk: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdg: open failed: No medium found /dev/sdh: open failed: No medium found /dev/sdi: open failed: No medium found /dev/sdj: open failed: No medium found /dev/sdk: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdg: open failed: No medium found /dev/sdh: open failed: No medium found /dev/sdi: open failed: No medium found /dev/sdj: open failed: No medium found /dev/sdk: open failed: No medium found Found unknown Linux distribution on /dev/sdb8 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdg: open failed: No medium found /dev/sdh: open failed: No medium found /dev/sdi: open failed: No medium found /dev/sdj: open failed: No medium found /dev/sdk: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdg: open failed: No medium found /dev/sdh: open failed: No medium found /dev/sdi: open failed: No medium found /dev/sdj: open failed: No medium found /dev/sdk: open failed: No medium found Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done Setting up libcomerr2:amd64 (1.44.5-1+deb10u2) ... Setting up openssl (1.1.1d-0+deb10u1) ... Setting up e2fsprogs (1.44.5-1+deb10u2) ... update-initramfs: deferring update (trigger activated) Setting up e2fsprogs-l10n (1.44.5-1+deb10u2) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for dbus (1.12.16-1) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for initramfs-tools (0.133+deb10u1) ... update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
then do that autoremove too
tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: irqbalance linux-image-4.9.0-9-amd64 runit-helper 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. After this operation, 193 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 202774 files and directories currently installed.) Removing irqbalance (1.5.0-3) ... Removing linux-image-4.9.0-9-amd64 (4.9.168-1+deb9u3) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.9.0-9-amd64 /etc/kernel/postrm.d/zz-update-grub: Generating grub configuration file ... [..] Removing runit-helper (2.8.6) ... Processing triggers for man-db (2.8.5-2) ...
ok
2019-09-23: sdb5 - reboot, Debian 10.1 is in:
tingo@kg-bsbox:~$ cat /etc/debian_version 10.1
kernel
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64 GNU/Linux
ok
2019-09-23: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: gstreamer1.0-libav libavfilter7 libnorm1 libpgm-5.2-0 librubberband2 libvidstab1.1 libzmq5 linux-image-4.19.0-6-amd64 The following packages will be upgraded: android-sdk-platform-tools android-sdk-platform-tools-common base-files bzip2 console-setup console-setup-linux cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ipp-utils cups-ppdc cups-server-common dirmngr e2fslibs e2fsprogs e2fsprogs-l10n fig2dev firefox-esr firmware-iwlwifi fonts-opensymbol ghostscript gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 gnupg gnupg-agent gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv initramfs-tools initramfs-tools-core keyboard-configuration libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libbz2-1.0 libcom-err2 libcom-err2:i386 libcomerr2 libcryptsetup12 libcups2 libcups2:i386 libcupsimage2 libexpat1 libexpat1:i386 libexpat1-dev libext2fs2 libglib2.0-0 libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libgs9 libgs9-common libjavascriptcoregtk-4.0-18 libldap-2.4-2 libldap-2.4-2:i386 libldap-common libmariadb3 libncurses-dev libncurses5 libncurses5-dev libncurses6 libncurses6:i386 libncursesw5 libncursesw6 libnghttp2-14 libnss-systemd libnss3 libpam-systemd libpulse-mainloop-glib0 libpulse0 libpulse0:i386 libpulsedsp libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-help-common libreoffice-help-en-us libreoffice-impress libreoffice-java-common libreoffice-librelogo libreoffice-math libreoffice-nlpsolver libreoffice-report-builder libreoffice-report-builder-bin libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql libreoffice-style-colibre libreoffice-style-tango libreoffice-wiki-publisher libreoffice-writer libsdl-image1.2 libsmbclient libss2 libsystemd0 libsystemd0:i386 libtinfo5 libtinfo6 libtinfo6:i386 libudev1 libudev1:i386 libwbclient0 libwebkit2gtk-4.0-37 libxslt1.1 libxslt1.1:i386 lightning linux-image-amd64 linux-libc-dev mariadb-common ncurses-base ncurses-bin ncurses-term pulseaudio pulseaudio-utils python3-reportbug python3-uno reportbug samba-libs systemd systemd-sysv thunderbird tzdata udev uno-libs3 unzip ure usb.ids xsltproc 152 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 307 MB of archives. After this operation, 275 MB of additional disk space will be used. [..] update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64 W: Possible missing firmware /lib/firmware/i915/bxt_dmc_ver1_07.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_27.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_04.bin for module i915 W: Possible missing firmware /lib/firmware/i915/cnl_dmc_ver1_07.bin for module i915 W: Possible missing firmware /lib/firmware/i915/glk_dmc_ver1_04.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_39.bin for module i915 W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver9_29.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_guc_ver9_33.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_huc_ver02_00_1810.bin for module i915 W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_07_1398.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_huc_ver01_07_1398.bin for module i915
hmm, perhaps install firmware-misc-nonfree?
tingo@kg-bsbox:~$ sudo apt install firmware-misc-nonfree Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: irqbalance linux-image-4.9.0-9-amd64 runit-helper Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: firmware-misc-nonfree 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 3,338 kB of archives. After this operation, 12.0 MB of additional disk space will be used. [..] Selecting previously unselected package firmware-misc-nonfree. (Reading database ... 202318 files and directories currently installed.) Preparing to unpack .../firmware-misc-nonfree_20190114-2_all.deb ... Unpacking firmware-misc-nonfree (20190114-2) ... Setting up firmware-misc-nonfree (20190114-2) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.133+deb10u1) ... update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
ok
2019-09-02: sdb5 - relevant to bug 866772 - when the bug is in effect, xrandr shows
tingo@kg-bsbox:~$ xrandr Screen 0: minimum 320 x 200, current 3120 x 1920, maximum 8192 x 8192 HDMI-1 connected primary 1200x1920+0+0 left (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 59.95*+ 1920x1080 60.00 60.00 50.00 59.94 24.00 23.98 1920x1080i 60.00 60.00 50.00 59.94 1600x1200 60.00 1280x1024 75.02 60.02 1152x864 75.00 1280x720 60.00 60.00 50.00 59.94 1024x768 75.03 60.00 800x600 75.00 60.32 720x576 50.00 50.00 720x576i 50.00 50.00 720x480 60.00 60.00 59.94 59.94 59.94 720x480i 60.00 60.00 59.94 59.94 640x480 75.00 60.00 59.94 59.94 720x400 70.08 DP-1 connected 1920x1200+1200+0 (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 59.95*+ 1920x1080 60.00 60.00 50.00 59.94 24.00 23.98 1920x1080i 60.00 60.00 50.00 59.94 1600x1200 60.00 1280x1024 75.02 60.02 1152x864 75.00 1280x720 60.00 60.00 50.00 59.94 1024x768 75.03 60.00 800x600 75.00 60.32 720x576 50.00 50.00 720x480 60.00 60.00 59.94 59.94 59.94 640x480 75.00 60.00 59.94 59.94 720x400 70.08
the secondary (ok, non primary) display is not rotated left. Normally (when everything is working) xrandr shows
tingo@kg-bsbox:~$ xrandr Screen 0: minimum 320 x 200, current 2400 x 1920, maximum 8192 x 8192 HDMI-1 connected primary 1200x1920+0+0 left (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 59.95*+ 1920x1080 60.00 60.00 50.00 59.94 24.00 23.98 1920x1080i 60.00 60.00 50.00 59.94 1600x1200 60.00 1280x1024 75.02 60.02 1152x864 75.00 1280x720 60.00 60.00 50.00 59.94 1024x768 75.03 60.00 800x600 75.00 60.32 720x576 50.00 50.00 720x576i 50.00 50.00 720x480 60.00 60.00 59.94 59.94 59.94 720x480i 60.00 60.00 59.94 59.94 640x480 75.00 60.00 59.94 59.94 720x400 70.08 DP-1 connected 1200x1920+1200+0 left (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 59.95*+ 1920x1080 60.00 60.00 50.00 59.94 24.00 23.98 1920x1080i 60.00 60.00 50.00 59.94 1600x1200 60.00 1280x1024 75.02 60.02 1152x864 75.00 1280x720 60.00 60.00 50.00 59.94 1024x768 75.03 60.00 800x600 75.00 60.32 720x576 50.00 50.00 720x480 60.00 60.00 59.94 59.94 59.94 640x480 75.00 60.00 59.94 59.94 720x400 70.08
both displays are rotated left.
2019-08-30: sdb5 - apt - install FreeCAD 0.18
tingo@kg-bsbox:~$ sudo apt install freecad Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: autoconf automake autotools-dev calculix-ccx freecad-common freecad-python2 freecad-runtime geoclue-2.0 gfortran gfortran-8 ibverbs-providers iio-sensor-proxy libboost-python1.67.0 libcaf-openmpi-3 libclang1-7 libcoarrays-dev libcoarrays-openmpi-dev libcoin80c libfabric1 libfreecad-python2-0.18 libgfortran-8-dev libhdf5-openmpi-103 libhwloc-dev libhwloc-plugins libhwloc5 libibverbs-dev libibverbs1 libltdl-dev libmedc11 libnetcdf-c++4 libnl-3-dev libnl-route-3-dev libnuma-dev libocct-data-exchange-7.3 libocct-foundation-7.3 libocct-modeling-algorithms-7.3 libocct-modeling-data-7.3 libocct-ocaf-7.3 libocct-visualization-7.3 libopenmpi-dev libopenmpi3 libpmix2 libpsm-infinipath1 libpsm2-2 libpyside2-5.11 libqt5positioning5 libqt5qml5 libqt5quick5 libqt5sensors5 libqt5webchannel5 libqt5webkit5 libqt5xmlpatterns5 librdmacm1 libshiboken2-5.11 libsoqt520 libspooles2.2 libtbb2 libtool libvtk7.1 libzipios++0v5 openmpi-bin openmpi-common python-pivy python-pyside2.qtcore python-pyside2.qtgui python-pyside2.qtopengl python-pyside2.qtsvg python-pyside2.qtwidgets python-pyside2uic shiboken2 Suggested packages: autoconf-archive gnu-standards autoconf-doc gettext freecad-doc povray python-collada gfortran-multilib gfortran-doc gfortran-8-multilib gfortran-8-doc libgfortran5-dbg libopenal0a libsimage-dev libhwloc-contrib-plugins libtool-doc libmed-doc libmed-tools openmpi-doc qt5-qmltooling-plugins gcj-jdk mpi-default-bin vtk7-doc vtk7-examples python-pyside2-doc The following NEW packages will be installed: autoconf automake autotools-dev calculix-ccx freecad freecad-common freecad-python2 freecad-runtime geoclue-2.0 gfortran gfortran-8 ibverbs-providers iio-sensor-proxy libboost-python1.67.0 libcaf-openmpi-3 libclang1-7 libcoarrays-dev libcoarrays-openmpi-dev libcoin80c libfabric1 libfreecad-python2-0.18 libgfortran-8-dev libhdf5-openmpi-103 libhwloc-dev libhwloc-plugins libhwloc5 libibverbs-dev libibverbs1 libltdl-dev libmedc11 libnetcdf-c++4 libnl-3-dev libnl-route-3-dev libnuma-dev libocct-data-exchange-7.3 libocct-foundation-7.3 libocct-modeling-algorithms-7.3 libocct-modeling-data-7.3 libocct-ocaf-7.3 libocct-visualization-7.3 libopenmpi-dev libopenmpi3 libpmix2 libpsm-infinipath1 libpsm2-2 libpyside2-5.11 libqt5positioning5 libqt5qml5 libqt5quick5 libqt5sensors5 libqt5webchannel5 libqt5webkit5 libqt5xmlpatterns5 librdmacm1 libshiboken2-5.11 libsoqt520 libspooles2.2 libtbb2 libtool libvtk7.1 libzipios++0v5 openmpi-bin openmpi-common python-pivy python-pyside2.qtcore python-pyside2.qtgui python-pyside2.qtopengl python-pyside2.qtsvg python-pyside2.qtwidgets python-pyside2uic shiboken2 0 upgraded, 71 newly installed, 0 to remove and 0 not upgraded. Need to get 140 MB of archives. After this operation, 613 MB of additional disk space will be used. [..] Processing triggers for shared-mime-info (1.10-1) ... Processing triggers for desktop-file-utils (0.23-4) ...
so, is it the right version? Yes, it is.
2019-08-30: sdb5 - apt - install extra-xdg-menus
tingo@kg-bsbox:~$ sudo apt install extra-xdg-menus Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: extra-xdg-menus 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 12.7 kB of archives. After this operation, 197 kB of additional disk space will be used. [..] Setting up extra-xdg-menus (1.0-4) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for man-db (2.8.5-2) ...
ok
2019-08-30: sdb5 - apt - install (upgrade) KiCad from buster-backports, to get KiCad 5.1
tingo@kg-bsbox:~$ sudo apt install -t buster-backports kicad kicad-demos kicad-doc-en kicad-footprints kicad-libraries kicad-packages3d kicad-symbols kicad-templates Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libwxgtk3.0-0v5 Use 'sudo apt autoremove' to remove it. Suggested packages: extra-xdg-menus The following packages will be upgraded: kicad kicad-demos kicad-doc-en kicad-footprints kicad-libraries kicad-packages3d kicad-symbols kicad-templates 8 upgraded, 0 newly installed, 0 to remove and 76 not upgraded. Need to get 406 MB of archives. After this operation, 279 MB of additional disk space will be used. [..] Unpacking kicad-packages3d (5.1.3-1~bpo10+1) over (5.0.2-1) ... dpkg: error processing archive /tmp/apt-dpkg-install-nkn9Sc/2-kicad-packages3d_5.1.3-1~bpo10+1_all.deb (--unpack): cannot copy extracted data for './usr/share/kicad/modules/packages3d/Connector_PinHeader_2.54mm.3dshapes/PinHeader_2x20_P2.54mm_Horizontal.step' to '/usr/share/kicad/modules/packages3d/Connector_PinHeader_2.54mm.3dshapes/PinHeader_2x20_P2.54mm_Horizontal.step.dpkg-new': failed to write (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Preparing to unpack .../3-kicad-footprints_5.1.3-1~bpo10+1_all.deb ... Unpacking kicad-footprints (5.1.3-1~bpo10+1) over (5.0.2-1) ... Preparing to unpack .../4-kicad_5.1.4+dfsg1-1~bpo10+1_amd64.deb ... Unpacking kicad (5.1.4+dfsg1-1~bpo10+1) over (5.0.2+dfsg1-1) ... Preparing to unpack .../5-kicad-demos_5.1.4+dfsg1-1~bpo10+1_all.deb ... Unpacking kicad-demos (5.1.4+dfsg1-1~bpo10+1) over (5.0.2+dfsg1-1) ... Preparing to unpack .../6-kicad-libraries_5.1.4+dfsg1-1~bpo10+1_all.deb ... Unpacking kicad-libraries (5.1.4+dfsg1-1~bpo10+1) over (5.0.2+dfsg1-1) ... Preparing to unpack .../7-kicad-doc-en_5.1.4+dfsg1-1~bpo10+1_all.deb ... Unpacking kicad-doc-en (5.1.4+dfsg1-1~bpo10+1) over (5.0.2+dfsg1-1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-nkn9Sc/2-kicad-packages3d_5.1.3-1~bpo10+1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
hmm, full? ok, cleaning the apt cache with 'apt cache autoclean' helped a bit. Retry
tingo@kg-bsbox:~$ sudo apt install -t buster-backports kicad kicad-demos kicad-doc-en kicad-footprints kicad-libraries kicad-packages3d kicad-symbols kicad-templates Reading package lists... Done Building dependency tree Reading state information... Done kicad is already the newest version (5.1.4+dfsg1-1~bpo10+1). kicad-demos is already the newest version (5.1.4+dfsg1-1~bpo10+1). kicad-demos set to manually installed. kicad-doc-en is already the newest version (5.1.4+dfsg1-1~bpo10+1). kicad-libraries is already the newest version (5.1.4+dfsg1-1~bpo10+1). kicad-footprints is already the newest version (5.1.3-1~bpo10+1). kicad-symbols is already the newest version (5.1.3-1~bpo10+1). kicad-templates is already the newest version (5.1.3-1~bpo10+1). The following package was automatically installed and is no longer required: libwxgtk3.0-0v5 Use 'sudo apt autoremove' to remove it. The following packages will be upgraded: kicad-packages3d 1 upgraded, 0 newly installed, 0 to remove and 76 not upgraded. 7 not fully installed or removed. Need to get 0 B/354 MB of archives. After this operation, 267 MB of additional disk space will be used. [..] Preparing to unpack .../kicad-packages3d_5.1.3-1~bpo10+1_all.deb ... Unpacking kicad-packages3d (5.1.3-1~bpo10+1) over (5.0.2-1) ... dpkg: error processing archive /var/cache/apt/archives/kicad-packages3d_5.1.3-1~bpo10+1_all.deb (--unpack): cannot copy extracted data for './usr/share/kicad/modules/packages3d/Connector_PinSocket_1.00mm.3dshapes/PinSocket_2x25_P1.00mm_Vertical_SMD.wrl' to '/usr/share/kicad/modules/packages3d/Connector_PinSocket_1.00mm.3dshapes/PinSocket_2x25_P1.00mm_Vertical_SMD.wrl.dpkg-new': failed to write (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/kicad-packages3d_5.1.3-1~bpo10+1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
hmm, still not enough space. Do apt autoremove
tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libwxgtk3.0-0v5 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 7 not fully installed or removed. After this operation, 17.5 MB disk space will be freed. [..] Processing triggers for shared-mime-info (1.10-1) ... Processing triggers for desktop-file-utils (0.23-4) ...
do apt clean
tingo@kg-bsbox:~$ sudo apt clean
ah, more space now
tingo@kg-bsbox:~$ sudo apt install -t buster-backports kicad-packages3d Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: kicad-packages3d 1 upgraded, 0 newly installed, 0 to remove and 76 not upgraded. Need to get 354 MB of archives. After this operation, 267 MB of additional disk space will be used. [..] Unpacking kicad-packages3d (5.1.3-1~bpo10+1) over (5.0.2-1) ... dpkg: error processing archive /var/cache/apt/archives/kicad-packages3d_5.1.3-1~bpo10+1_all.deb (--unpack): cannot copy extracted data for './usr/share/kicad/modules/packages3d/Connector_PinSocket_2.54mm.3dshapes/PinSocket_1x37_P2.54mm_Vertical_SMD_Pin1Right.step' to '/usr/share/kicad/modules/packages3d/Connector_PinSocket_2.54mm.3dshapes/PinSocket_1x37_P2.54mm_Vertical_SMD_Pin1Right.step.dpkg-new': failed to write (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/kicad-packages3d_5.1.3-1~bpo10+1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
hmm, that one refuses to install.
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 15G 2.7G 85% /
it seems that there should be space enough...
Does it help if I remove the currently installed KiCad packages first? Yes
tingo@kg-bsbox:~$ sudo apt list --installed kicad* Listing... Done kicad-demos/buster-backports,buster-backports,now 5.1.4+dfsg1-1~bpo10+1 all [installed] kicad-doc-en/buster-backports,buster-backports,now 5.1.4+dfsg1-1~bpo10+1 all [installed] kicad-footprints/buster-backports,buster-backports,now 5.1.3-1~bpo10+1 all [installed] kicad-libraries/buster-backports,buster-backports,now 5.1.4+dfsg1-1~bpo10+1 all [installed] kicad-packages3d/buster-backports,buster-backports,now 5.1.3-1~bpo10+1 all [installed] kicad-symbols/buster-backports,buster-backports,now 5.1.3-1~bpo10+1 all [installed] kicad-templates/buster-backports,buster-backports,now 5.1.3-1~bpo10+1 all [installed] kicad/buster-backports,now 5.1.4+dfsg1-1~bpo10+1 amd64 [installed,automatic]
ok
2019-08-28: sdb5 - apt - install sshpass (ansible requires it)
tingo@kg-bsbox:~$ sudo apt install sshpass Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: sshpass 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 11.3 kB of archives. After this operation, 31.7 kB of additional disk space will be used. [..] Setting up sshpass (1.06-1) ... Processing triggers for man-db (2.8.5-2) ...
ok
2019-08-27: sdb5 - apt - install xtightvncviewer
tingo@kg-bsbox:~$ sudo apt install xtightvncviewer Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: tightvncserver ssh The following NEW packages will be installed: xtightvncviewer 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 89.9 kB of archives. After this operation, 187 kB of additional disk space will be used. [..] Setting up xtightvncviewer (1:1.3.9-9) ... update-alternatives: using /usr/bin/xtightvncviewer to provide /usr/bin/vncviewer (vncviewer) in auto mode Processing triggers for man-db (2.8.5-2) ...
ok
2019-08-22: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: fonts-opensymbol libavcodec58 libavcodec58:i386 libavformat58 libavresample4 libavresample4:i386 libavutil56 libavutil56:i386 libpostproc55 libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-help-common libreoffice-help-en-us libreoffice-impress libreoffice-java-common libreoffice-librelogo libreoffice-math libreoffice-nlpsolver libreoffice-report-builder libreoffice-report-builder-bin libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql libreoffice-style-colibre libreoffice-style-tango libreoffice-wiki-publisher libreoffice-writer libswresample3 libswresample3:i386 libswscale5 libvlc-bin libvlc5 libvlccore9 python3-uno tzdata uno-libs3 ure vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization 60 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 133 MB of archives. After this operation, 80.9 kB of additional disk space will be used. [..] Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for libvlc-bin:amd64 (3.0.8-0+deb10u1) ...
ok
2019-08-14: sdb5 - I rebooted the machine, because it had trouble with usb connected SD card readers. Oh, and a new kernel is in
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux
ok
2019-08-14: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: chromium chromium-common chromium-sandbox ghostscript gir1.2-pango-1.0 libgs9 libgs9-common libpango-1.0-0 libpango-1.0-0:i386 libpangocairo-1.0-0 libpangocairo-1.0-0:i386 libpangoft2-1.0-0 libpangoft2-1.0-0:i386 libpangoxft-1.0-0 libpq5 linux-image-4.19.0-5-amd64 linux-libc-dev 17 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 111 MB of archives. After this operation, 4,520 kB of additional disk space will be used. [..] /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.19.0-5-amd64 W: Possible missing firmware /lib/firmware/i915/bxt_dmc_ver1_07.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_27.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_04.bin for module i915 W: Possible missing firmware /lib/firmware/i915/cnl_dmc_ver1_07.bin for module i915 W: Possible missing firmware /lib/firmware/i915/glk_dmc_ver1_04.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_39.bin for module i915 W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver9_29.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_guc_ver9_33.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_huc_ver02_00_1810.bin for module i915 W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_07_1398.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_huc_ver01_07_1398.bin for module i915 /etc/kernel/postinst.d/zz-update-grub: Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.19.0-5-amd64 Found initrd image: /boot/initrd.img-4.19.0-5-amd64 Found linux image: /boot/vmlinuz-4.9.0-9-amd64 Found initrd image: /boot/initrd.img-4.9.0-9-amd64 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found unknown Linux distribution on /dev/sdb8 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done [..] Processing triggers for man-db (2.8.5-2) ... Processing triggers for desktop-file-utils (0.23-4) ...
ok
2019-08-13: sdb5 - apt - install unrar
tingo@kg-bsbox:~$ sudo apt install unrar Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: unrar 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 111 kB of archives. After this operation, 381 kB of additional disk space will be used. [..] update-alternatives: using /usr/bin/unrar-nonfree to provide /usr/bin/unrar (unrar) in auto mode Processing triggers for man-db (2.8.5-2) ...
ok
2019-08-06: sdb5 - apt - install vlc
tingo@kg-bsbox:~$ sudo apt install vlc Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: fonts-freefont-ttf libaribb24-0 libbasicusageenvironment1 libcddb2 libdvbpsi10 libebml4v5 libgroupsock8 libixml10 liblirc-client0 liblivemedia64 liblua5.2-0 libmad0 libmatroska6v5 libmicrodns0 libmysofa0 libnfs12 libopenmpt-modplug1 libplacebo7 libpostproc55 libprotobuf-lite17 libproxy-tools libqt5x11extras5 libresid-builder0c2a libsdl-image1.2 libsidplay2 libspatialaudio0 libupnp13 libusageenvironment3 libva-wayland2 libvlc-bin libvlc5 libvlccore9 libxcb-xv0 vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization Suggested packages: lirc libdvdcss2 The following NEW packages will be installed: fonts-freefont-ttf libaribb24-0 libbasicusageenvironment1 libcddb2 libdvbpsi10 libebml4v5 libgroupsock8 libixml10 liblirc-client0 liblivemedia64 liblua5.2-0 libmad0 libmatroska6v5 libmicrodns0 libmysofa0 libnfs12 libopenmpt-modplug1 libplacebo7 libpostproc55 libprotobuf-lite17 libproxy-tools libqt5x11extras5 libresid-builder0c2a libsdl-image1.2 libsidplay2 libspatialaudio0 libupnp13 libusageenvironment3 libva-wayland2 libvlc-bin libvlc5 libvlccore9 libxcb-xv0 vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization 0 upgraded, 45 newly installed, 0 to remove and 2 not upgraded. Need to get 13.8 MB/19.9 MB of archives. After this operation, 82.7 MB of additional disk space will be used. [..] Processing triggers for fontconfig (2.13.1-2) ... Processing triggers for libvlc-bin:amd64 (3.0.7-1) ...
ok
2019-07-29: sdb5 - apt - upgrade patch, openjdk,
tingo@kg-bsbox:~$ sudo apt install patch Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: ed diffutils-doc The following packages will be upgraded: patch 1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Need to get 126 kB of archives. After this operation, 0 B of additional disk space will be used. [..] Setting up patch (2.7.6-3+deb10u1) ... Processing triggers for man-db (2.8.5-2) ...
openjdk
tingo@kg-bsbox:~$ sudo apt install openjdk-11-jre-headless openjdk-11-jre Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic The following packages will be upgraded: openjdk-11-jre openjdk-11-jre-headless 2 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Need to get 37.2 MB of archives. After this operation, 749 kB of additional disk space will be used. [..] Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for desktop-file-utils (0.23-4) ...
ok
2019-07-29: sdb5 - apt - upgrade libreoffice
tingo@kg-bsbox:~$ sudo apt install libreoffice Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-impress libreoffice-math libreoffice-report-builder-bin libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql libreoffice-writer python3-uno uno-libs3 ure Suggested packages: gpa libreoffice-gnome | libreoffice-kde5 libreoffice-grammarcheck libreoffice-l10n myspell-dictionary openclipart2-libreoffice | openclipart-libreoffice pstoedit unixodbc gstreamer1.0-libav libreoffice-officebean libjtds-java libreoffice-mysql-connector | libmyodbc | libmariadb-java libsqliteodbc | tdsodbc | mdbtools bluez postgresql The following packages will be upgraded: libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-impress libreoffice-math libreoffice-report-builder-bin libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql libreoffice-writer python3-uno uno-libs3 ure 19 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. Need to get 60.0 MB of archives. After this operation, 4,096 B of additional disk space will be used. [..] Processing triggers for libreoffice-common (1:6.1.5-3) ... Processing triggers for desktop-file-utils (0.23-4) ...
upgrade fonts-opensymbol
tingo@kg-bsbox:~$ sudo apt install fonts-opensymbol Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: fonts-opensymbol 1 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. Need to get 273 kB of archives. After this operation, 0 B of additional disk space will be used. [..] Processing triggers for fontconfig (2.13.1-2) ...
and upgrade a few libreoffice packages
tingo@kg-bsbox:~$ sudo apt install libreoffice-common libreoffice-help-common libreoffice-help-en-us libreoffice-java-common libreoffice-librelogo libreoffice-nlpsolver libreoffice-report-builder libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-style-colibre libreoffice-style-tango libreoffice-wiki-publisher Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: mediawiki The following packages will be upgraded: libreoffice-common libreoffice-help-common libreoffice-help-en-us libreoffice-java-common libreoffice-librelogo libreoffice-nlpsolver libreoffice-report-builder libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-style-colibre libreoffice-style-tango libreoffice-wiki-publisher 13 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. Need to get 48.4 MB of archives. After this operation, 2,048 B of additional disk space will be used. [..] Processing triggers for mime-support (3.62) ... Processing triggers for hicolor-icon-theme (0.17-2) ...
ok.
2019-07-26: sdb5 - got tired of the "press Ctrl-Alt-F7, see locedk session screen, wait a few seconds, then I can type in password and unlock", so I added my info to bug 866772.
2019-07-18: sdb5 - apt - install view3dscene (for EZCAD3 and smallSMT scripts)
tingo@kg-bsbox:~$ sudo apt install view3dscene [..] The following additional packages will be installed: libgtkglext1 libpangox-1.0-0 Suggested packages: libav-tools | ffmpeg The following NEW packages will be installed: libgtkglext1 libpangox-1.0-0 view3dscene 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 3,677 kB of archives. After this operation, 25.0 MB of additional disk space will be used. [..] Processing triggers for desktop-file-utils (0.23-4) ...
what files?
tingo@kg-bsbox:~$ dpkg-query -L view3dscene /. /usr /usr/bin /usr/bin/tovrmlx3d /usr/bin/view3dscene /usr/share /usr/share/applications /usr/share/applications/view3dscene.desktop /usr/share/doc /usr/share/doc/view3dscene /usr/share/doc/view3dscene/changelog.Debian.gz /usr/share/doc/view3dscene/copyright /usr/share/icons /usr/share/icons/hicolor /usr/share/icons/hicolor/48x48 /usr/share/icons/hicolor/48x48/apps /usr/share/icons/hicolor/48x48/apps/view3dscene.png /usr/share/icons/hicolor/scalable /usr/share/icons/hicolor/scalable/apps /usr/share/icons/hicolor/scalable/apps/view3dscene.svg /usr/share/man /usr/share/man/man1 /usr/share/man/man1/tovrmlx3d.1.gz /usr/share/man/man1/view3dscene.1.gz /usr/share/mime /usr/share/mime/packages /usr/share/mime/packages/view3dscene.xml
ok
2019-07-17: sdb5 - sometimes the unlock screen (greeter?) fails to show, and I have to use Ctrl-Alt-F7 to get to my session screen (locked) which then redirects me ("in a few seconds") to the unlock screen. Bug 866772 seems to be relevant.
2019-07-16: sdb5 - dropbox - I downloaded the dropbyx.py script and put it in my bin directory. Set execute permissions and go
tingo@kg-bsbox:~$ ~/bin/dropbox.py Dropbox command-line interface commands: Note: use dropbox help <command> to view usage for a specific command. autostart automatically start Dropbox at login exclude ignores/excludes a directory from syncing filestatus get current sync status of one or more files help provide help lansync enables or disables LAN sync ls list directory contents with current sync status proxy set proxy settings for Dropbox puburl get public url of a file in your Dropbox's public folder running return whether Dropbox is running sharelink get a shared link for a file in your Dropbox start start dropboxd status get current status of the dropboxd stop stop dropboxd throttle set bandwidth limits for Dropbox update download latest version of Dropbox version print version information for Dropbox
so
tingo@kg-bsbox:~$ ~/bin/dropbox.py version Dropbox daemon version: Not installed Dropbox command-line interface version: 2019.02.14
ok
tingo@kg-bsbox:~$ ~/bin/dropbox.py update /home/tingo/bin/dropbox.py:303: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading GObject.threads_init() /home/tingo/bin/dropbox.py:453: PyGTKDeprecationWarning: Stock items are deprecated. Please use: Gtk.Button.new_with_mnemonic(label) self.ok = ok = Gtk.Button(stock=Gtk.STOCK_OK) /home/tingo/bin/dropbox.py:458: PyGTKDeprecationWarning: Stock items are deprecated. Please use: Gtk.Button.new_with_mnemonic(label) cancel = Gtk.Button(stock=Gtk.STOCK_CANCEL) /home/tingo/bin/dropbox.py:334: PyGIDeprecationWarning: GObject.idle_add is deprecated; use GLib.idle_add instead GObject.idle_add(self.loop_callback, *ret) /home/tingo/bin/dropbox.py:344: PyGIDeprecationWarning: GObject.idle_add is deprecated; use GLib.idle_add instead GObject.idle_add(self.on_done) dropbox: locating interpreter dropbox: logging to /tmp/dropbox-antifreeze-Q9Df4M dropbox: initializing dropbox: initializing python 3.7.2 dropbox: setting program path '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/dropbox' dropbox: setting home path '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126' dropbox: setting python path '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126:/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/python-packages-37.zip' dropbox: python initialized dropbox: running dropbox dropbox: setting args dropbox: applying overrides dropbox: running main script dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/linuxffi.pthread._linuxffi_pthread.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/cpuid.compiled._cpuid.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/apex._apex.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/linuxffi.resolv.compiled._linuxffi_resolv.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/tornado.speedups.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/librsyncffi.compiled._librsyncffi.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/linuxffi.sys.compiled._linuxffi_sys.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/posixffi.libc._posixffi_libc.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/linuxffi.gnu.compiled._linuxffi_gnu.cpython-37m-x86_64-linux-gnu.so' success!
is it running now?
tingo@kg-bsbox:~$ ~/bin/dropbox.py version Dropbox daemon version: 76.4.126 Dropbox command-line interface version: 2019.02.14
and status
tingo@kg-bsbox:~$ ~/bin/dropbox.py status Dropbox isn't running!
aha, installed - not running. start it
tingo@kg-bsbox:~$ ~/bin/dropbox.py start Starting Dropbox...dropbox: locating interpreter dropbox: logging to /tmp/dropbox-antifreeze-LX5YYq dropbox: initializing dropbox: initializing python 3.7.2 dropbox: setting program path '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/dropbox' dropbox: setting home path '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126' dropbox: setting python path '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126:/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/python-packages-37.zip' dropbox: python initialized dropbox: running dropbox dropbox: setting args dropbox: applying overrides dropbox: running main script dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/linuxffi.pthread._linuxffi_pthread.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/cpuid.compiled._cpuid.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/apex._apex.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/linuxffi.resolv.compiled._linuxffi_resolv.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/tornado.speedups.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/librsyncffi.compiled._librsyncffi.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/linuxffi.sys.compiled._linuxffi_sys.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/posixffi.libc._posixffi_libc.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/linuxffi.gnu.compiled._linuxffi_gnu.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/PyQt5.QtCore.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/PyQt5.QtGui.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/PyQt5.QtWidgets.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/PyQt5.QtNetwork.cpython-37m-x86_64-linux-gnu.so' dropbox: load fq extension '/home/tingo/.dropbox-dist/dropbox-lnx.x86_64-76.4.126/PyQt5.QtDBus.cpython-37m-x86_64-linux-gnu.so' Done!
and it opens a browser window asking me to connect my account ot this computer. After that is done, I have the following new folders in my home directory
tingo@kg-bsbox:~$ ls -l ~/.dropbox/ ~/.dropbox-dist/ ~/Dropbox/ /home/tingo/.dropbox/: total 36 srw------- 1 tingo tingo 0 Jul 16 12:42 command_socket -rw-r--r-- 1 tingo tingo 4 Jul 16 12:42 dropbox.pid drwx------ 2 tingo tingo 4096 Jul 16 12:39 events -rw-r--r-- 1 tingo tingo 69 Jul 16 12:44 host.db srw------- 1 tingo tingo 0 Jul 16 12:42 iface_socket -rw-r--r-- 1 tingo tingo 114 Jul 16 12:44 info.json drwx------ 2 tingo tingo 4096 Jul 16 12:44 instance1 drwx------ 2 tingo tingo 4096 Jul 16 12:44 instance_db drwxr-xr-x 5 tingo tingo 4096 Jul 16 12:44 logs drwxr-xr-x 2 tingo tingo 4096 Jul 16 12:42 machine_storage -rw-r--r-- 1 tingo tingo 232 Jul 16 12:44 unlink.db /home/tingo/Dropbox/: total 1096 -rw-r--r-- 1 tingo tingo 240 Jul 16 12:19 'Get Started with Dropbox Paper.url' -rw-r--r-- 1 tingo tingo 1102331 Jul 16 12:19 'Get Started with Dropbox.pdf' /home/tingo/.dropbox-dist/: total 20 -rwxr-xr-x 1 tingo tingo 101 Jul 8 12:26 dropboxd drwxrwxr-x 6 tingo tingo 12288 Jul 16 12:39 dropbox-lnx.x86_64-76.4.126 -rw-rw-r-- 1 tingo tingo 8 Jul 8 12:26 VERSION
fix stuff. I stopped dropbox, moved the ~/Dropbox directory to my storage drive, and linked it back to home directory, then started dropbox again
tingo@kg-bsbox:~$ ~/bin/dropbox.py status Up to date
looks ok.
2019-07-16: sdb5 - apt - install python3-gpg
tingo@kg-bsbox:~$ sudo apt install python3-gpg [..] The following NEW packages will be installed: python3-gpg 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 301 kB of archives. After this operation, 1,289 kB of additional disk space will be used. [..] Setting up python3-gpg (1.12.0-6) ...
ok.
2019-07-15: sdb5 - update-grub
tingo@kg-bsbox:~$ sudo update-grub Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.19.0-5-amd64 Found initrd image: /boot/initrd.img-4.19.0-5-amd64 Found linux image: /boot/vmlinuz-4.9.0-9-amd64 Found initrd image: /boot/initrd.img-4.9.0-9-amd64 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found unknown Linux distribution on /dev/sdb8 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done
not sure why it shows "failed" for some of the drives, they exist
tingo@kg-bsbox:~$ l /dev/sd* /dev/sda /dev/sdb /dev/sdb2 /dev/sdb4 /dev/sdb6 /dev/sdb8 /dev/sdc /dev/sde /dev/sda1 /dev/sdb1 /dev/sdb3 /dev/sdb5 /dev/sdb7 /dev/sdb9 /dev/sdd /dev/sdf
but they're not physically there. Maybe it is bug 920689.
2019-07-15: sdb5 - check efibootmgr setup
tingo@kg-bsbox:~$ sudo efibootmgr -v BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0000,0002,0001,0003,0005,0006 Boot0000* rEFInd HD(2,GPT,f6e01cc7-8787-418c-a04c-1ad29d3a0389,0x800,0x64000)/File(\EFI\REFIND\REFIND_X64.EFI) Boot0001* Fedora HD(2,GPT,f6e01cc7-8787-418c-a04c-1ad29d3a0389,0x800,0x64000)/File(\EFI\FEDORA\SHIM.EFI)..BO Boot0002* debian HD(2,GPT,f6e01cc7-8787-418c-a04c-1ad29d3a0389,0x800,0x64000)/File(\EFI\DEBIAN\GRUBX64.EFI) Boot0003* UEFI OS HD(7,GPT,6c720b32-06ca-11e8-b138-dcfe07e175a1,0xc800000,0x64000)/File(\EFI\BOOT\BOOTX64.EFI)..BO Boot0005* Hard Drive BBS(HD,,0x0)..GO..NO........o.C.T.1.0.0.0.M.X.5.0.0.S.S.D.1....................A...........................>..Gd-.;.A..MQ..L.8.1.4.3.1.E.D.4.E.D.2.C. . . . . . . . ........BO..NO........o.W.D.C. .W.D.S.2.4.0.G.1.G.0.B.-.0.0.R.C.3.0....................A...........................>..Gd-.;.A..MQ..L.7.1.7.3.5.0.0.8.5.1.0.1. . . . . . . . ........BO Boot0006* USB BBS(USB,,0x0)..GO..NO........a.G.e.n.e.r.i.c.-.S.D./.M.M.C. .1...0.0....................A................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6........BO..NO........f.G.e.n.e.r.i.c.-.C.o.m.p.a.c.t. .F.l.a.s.h. .1...0.1....................A.....................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6........BO..NO........f.G.e.n.e.r.i.c.-.S.M./.x.D.-.P.i.c.t.u.r.e. .1...0.2....................A.....................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6........BO..NO........f.G.e.n.e.r.i.c.-.M.S./.M.S.-.P.r.o. .1...0.3....................A.....................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6........BO
looks good.
2019-07-15: sdb5 - apt - install kicad-packages3d again
tingo@kg-bsbox:~$ sudo apt install kicad-packages3d Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: kicad-packages3d 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/337 MB of archives. After this operation, 4,973 MB of additional disk space will be used. Selecting previously unselected package kicad-packages3d. (Reading database ... 179969 files and directories currently installed.) Preparing to unpack .../kicad-packages3d_5.0.2-1_all.deb ... Unpacking kicad-packages3d (5.0.2-1) ... Setting up kicad-packages3d (5.0.2-1) ...
ok
2019-07-15: sdb5 -a reboot, and Debian 10 (buster) is in
tingo@kg-bsbox:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster
kernel
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 GNU/Linux
ok
2019-07-15: sdb5 - apt - buster (Debian 10) upgrade
tingo@kg-bsbox:~$ sudo apt upgrade [..] 1440 upgraded, 345 newly installed, 0 to remove and 215 not upgraded. Need to get 1,327 MB of archives. After this operation, 1,003 MB of additional disk space will be used. [..] Preparing to unpack .../1008-xterm_344-1_amd64.deb ... Unpacking xterm (344-1) over (327-2) ... Errors were encountered while processing: /tmp/apt-dpkg-install-EwxArO/0391-kicad-packages3d_5.0.2-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) hmm, try again [..] The following packages will be upgraded: kicad-packages3d 1 upgraded, 0 newly installed, 0 to remove and 215 not upgraded. 1660 not fully installed or removed. Need to get 0 B/337 MB of archives. After this operation, 0 B of additional disk space will be used. [..] apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct! [..] Preparing to unpack .../kicad-packages3d_5.0.2-1_all.deb ... Unpacking kicad-packages3d (5.0.2-1) over (5.0.2-1~bpo9+1) ... dpkg: error processing archive /var/cache/apt/archives/kicad-packages3d_5.0.2-1_all.deb (--unpack): cannot copy extracted data for './usr/share/kicad/modules/packages3d/Connector_PinSocket_1.27mm.3dshapes/PinSocket_1x37_P1.27mm_Vertical_SMD_Pin1Right.step' to '/usr/share/kicad/modules/packages3d/Connector_PinSocket_1.27mm.3dshapes/PinSocket_1x37_P1.27mm_Vertical_SMD_Pin1Right.step.dpkg-new': failed to write (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/kicad-packages3d_5.0.2-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
ok, so no space.
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 16G 1.5G 92% /
Let me try an autoremove first
tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: android-libext4-utils android-libselinux android-libsepol docbook-xml evince-gtk fonts-freefont-ttf gcj-6-jre-lib gconf-service gconf2-common gir1.2-gconf-2.0 gir1.2-wnck-3.0 gnome-orca iputils-arping libao-common libao4 libass5 libatk-adaptor libavcodec57:i386 libavresample3 libavresample3:i386 libavutil55:i386 libbasicusageenvironment1 libbind9-140 libblas-common libbrlapi0.6 libc-ares2 libcddb2 libcdio13 libcomerr2:i386 libdc1394-22 libdca0 libdns162 libdotconf0 libdvbpsi10 libebml4v5 libegl-mesa0:i386 libegl1:i386 libegl1-mesa:i386 libf2fs0 libfaad2 libfile-copy-recursive-perl libgbm1:i386 libgcj-bc libgcj-common libgcj17 libgconf-2-4 libgcr-3-common libgeos-3.5.1 libgl1-mesa-glx:i386 libglade2-0 libgles2-mesa libgroupsock8 libgstreamer-plugins-bad1.0-0 libgtksourceview2.0-0 libgtksourceview2.0-common libgutenprint2 libical2 libical3 libicu57:i386 libidn11:i386 libisc160 libisccc140 libisccfg140 libjim0.76 libkate1 liblirc-client0 liblivemedia57 liblouis12 liblouisutdml7 liblua5.2-0 liblvm2app2.2 liblvm2cmd2.02 liblwres141 liblzo2-2 libmad0 libmatroska6v5 libmicrodns0 libmpcdec6 libncurses5:i386 libnfs8 libnm-glib4 libnm-util2 libntfs-3g871 libopenmpt-modplug1 libpostproc54 libprotobuf-lite10 libproxy-tools libqrencode3 libqt5x11extras5 librarian0 libresid-builder0c2a libsac-java-gcj libsane-extras libsane-extras-common libsdl-image1.2 libsidplay2 libsndio6.1 libsndio6.1:i386 libspatialindex-c4v5 libspatialindex4v5 libspeechd2 libspeexdsp1:i386 libsuitesparseconfig4 libswresample2:i386 libtesseract-data libtesseract3 libtinfo-dev libupnp6 libusageenvironment3 libva-drm1:i386 libva-wayland1 libva-x11-1:i386 libva1:i386 libvlc-bin libvlc5 libvlccore9 libvpx4:i386 libwayland-egl1-mesa libwayland-egl1-mesa:i386 libwayland-server0:i386 libwebpmux2:i386 libx264-148:i386 libx265-95:i386 libxcb-xv0 libxfont1 orage orage-data python-functools32 python-glade2 python-imaging python-matplotlib-data python3-brlapi python3-louis python3-pyasn1 python3-pyatspi python3-speechd rarian-compat rsync sgml-data sound-icons speech-dispatcher speech-dispatcher-audio-plugins speech-dispatcher-espeak-ng tcpd tesseract-ocr-equ vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization x11proto-dri2-dev x11proto-gl-dev xbrlapi xfce4-mount-plugin 0 upgraded, 0 newly installed, 161 to remove and 202 not upgraded. 1656 not fully installed or removed. After this operation, 293 MB disk space will be freed. [..] update-initramfs: Generating /boot/initrd.img-4.19.0-5-amd64 W: Possible missing firmware /lib/firmware/i915/bxt_dmc_ver1_07.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_27.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_04.bin for module i915 W: Possible missing firmware /lib/firmware/i915/cnl_dmc_ver1_07.bin for module i915 W: Possible missing firmware /lib/firmware/i915/glk_dmc_ver1_04.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_39.bin for module i915 W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver9_29.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_guc_ver9_33.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_huc_ver02_00_1810.bin for module i915 W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_07_1398.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_huc_ver01_07_1398.bin for module i915 Processing triggers for dbus (1.12.16-1) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.38.1+dfsg-1) ... Processing triggers for libgdk-pixbuf2.0-0:i386 (2.38.1+dfsg-1) ... Processing triggers for systemd (241-5) ... Processing triggers for wine (4.0-2) ...
some warnings, but looks ok. How's space now?
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 16G 1.7G 91% /
better. apt upgrade again
tingo@kg-bsbox:~$ sudo apt upgrade [..] 6 upgraded, 5 newly installed, 0 to remove and 196 not upgraded. Need to get 2,014 kB/339 MB of archives. After this operation, 2,338 kB disk space will be freed. [..] Unpacking kicad-packages3d (5.0.2-1) over (5.0.2-1~bpo9+1) ... dpkg: error processing archive /tmp/apt-dpkg-install-k4NNk3/10-kicad-packages3d_5.0.2-1_all.deb (--unpack): cannot copy extracted data for './usr/share/kicad/modules/packages3d/Connector_PinSocket_1.27mm.3dshapes/PinSocket_2x32_P1.27mm_Horizontal.step' to '/usr/share/kicad/modules/packages3d/Connector_PinSocket_1.27mm.3dshapes/PinSocket_2x32_P1.27mm_Horizontal.step.dpkg-new': failed to write (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /tmp/apt-dpkg-install-k4NNk3/10-kicad-packages3d_5.0.2-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
ok. Can I remove that for now, and install it later?
tingo@kg-bsbox:~$ sudo apt remove kicad-packages3d Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgnome-desktop-3-12 linux-image-4.9.0-8-amd64 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: kicad-packages3d 0 upgraded, 0 newly installed, 1 to remove and 196 not upgraded. 10 not fully installed or removed. After this operation, 4,973 MB disk space will be freed. [..] Processing triggers for man-db (2.8.5-2) ... Processing triggers for desktop-file-utils (0.23-4) ...
back to the upgrade. time for full-upgrade
tingo@kg-bsbox:~$ sudo apt full-upgrade [..] 196 upgraded, 210 newly installed, 20 to remove and 0 not upgraded. Need to get 542 MB/544 MB of archives. After this operation, 666 MB of additional disk space will be used. [..] Processing triggers for mime-support (3.62) ... Processing triggers for hicolor-icon-theme (0.17-2) ...
ok. finish with autoremove
tingo@kg-bsbox:~$ sudo apt autoremove [..] 0 upgraded, 0 newly installed, 104 to remove and 0 not upgraded. After this operation, 446 MB disk space will be freed. [..] Processing triggers for udev (241-5) ... Processing triggers for desktop-file-utils (0.23-4) ...
verify by apt upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
only a reboot remains.
2019-07-15: sdb5 - apt - update (we're now on buster)
tingo@kg-bsbox:~$ sudo apt update [..] 1655 packages can be upgraded. Run 'apt list --upgradable' to see them.
ok
2019-07-15: sdb5 - fix sources.list and other relevant files
tingo@kg-bsbox:~$ find /etc/apt -name '*.list' -print /etc/apt/sources.list.d/stretch-backports.list /etc/apt/sources.list
rename the backports file
tingo@kg-bsbox:~$ sudo mv /etc/apt/sources.list.d/stretch-backports.list /etc/apt/sources.list.d/buster-backports.list
fix contents
tingo@kg-bsbox:~$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/buster-backports.list tingo@kg-bsbox:~$ grep stretch /etc/apt/sources.list.d/buster-backports.list tingo@kg-bsbox:~$ grep buster /etc/apt/sources.list.d/buster-backports.list deb http://ftp.no.debian.org/debian buster-backports main
and fix contents of sources.list files too
tingo@kg-bsbox:~$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list tingo@kg-bsbox:~$ grep stretch /etc/apt/sources.list tingo@kg-bsbox:~$ grep buster /etc/apt/sources.list # deb cdrom:[Debian GNU/Linux 9.6.0 _Stretch_ - Official amd64 xfce-CD Binary-1 20181110-11:34]/ buster main #deb cdrom:[Debian GNU/Linux 9.6.0 _Stretch_ - Official amd64 xfce-CD Binary-1 20181110-11:34]/ buster main deb http://ftp.no.debian.org/debian/ buster main contrib non-free deb-src http://ftp.no.debian.org/debian/ buster main contrib non-free deb http://security.debian.org/debian-security buster/updates main contrib non-free deb-src http://security.debian.org/debian-security buster/updates main contrib non-free # buster-updates, previously known as 'volatile' deb http://ftp.no.debian.org/debian/ buster-updates main contrib non-free deb-src http://ftp.no.debian.org/debian/ buster-updates main contrib non-free
good enough
2019-07-15: sdb5 - apt - update, then upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: bind9-host cups-browsed cups-filters cups-filters-core-drivers dbus dbus-user-session dbus-x11 debian-archive-keyring firefox-esr fonts-wine ghostscript libavcodec57 libavcodec57:i386 libavformat57 libavresample3 libavresample3:i386 libavutil55 libavutil55:i386 libbind9-140 libcupsfilters1 libdbus-1-3 libdbus-1-3:i386 libdns-export162 libdns162 libexpat1 libexpat1:i386 libexpat1-dev libfontembed1 libgs9 libgs9-common libisc-export160 libisc160 libisccc140 libisccfg140 liblwres141 libpostproc54 libpq5 libsmbclient libssl1.0.2 libssl1.1 libssl1.1:i386 libswresample2 libswresample2:i386 libswscale4 libvlc-bin libvlc5 libvlccore9 libwbclient0 libwine libwine:i386 lightning linux-image-4.9.0-9-amd64 linux-libc-dev openjdk-8-jre openjdk-8-jre-headless openssl samba-libs thunderbird vim-common vim-tiny vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization wine wine32:i386 wine64 wpasupplicant xxd 77 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 245 MB of archives. After this operation, 2,160 kB of additional disk space will be used. [..] Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for wine (4.0-2~bpo9+1) ... Processing triggers for libvlc-bin:amd64 (3.0.7-0+deb9u1) ...
do apt full-upgrade
tingo@kg-bsbox:~$ sudo apt full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. do apt autoremove tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ok - ready.
2019-07-15: sdb5 - prepare upgrade to Debian 10 Buster. I'm following this article How to Upgrade Debian 9 Stretch to Debian 10 Buster.
2019-06-04: sdb5 - apt - install mosquitto-clients
tingo@kg-bsbox:~$ sudo apt install mosquitto-clients Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libc-ares2 libmosquitto1 The following NEW packages will be installed: libc-ares2 libmosquitto1 mosquitto-clients 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 189 kB of archives. After this operation, 387 kB of additional disk space will be used. [..] Setting up mosquitto-clients (1.4.10-3+deb9u4) ... Processing triggers for libc-bin (2.24-11+deb9u4) ...
files installed
tingo@kg-bsbox:~$ dpkg-query -L mosquitto-clients /. /usr /usr/bin /usr/bin/mosquitto_pub /usr/bin/mosquitto_sub /usr/share /usr/share/doc /usr/share/doc/mosquitto-clients /usr/share/doc/mosquitto-clients/changelog.Debian.gz /usr/share/doc/mosquitto-clients/changelog.gz /usr/share/doc/mosquitto-clients/copyright /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/mosquitto-clients /usr/share/man /usr/share/man/man1 /usr/share/man/man1/mosquitto_pub.1.gz /usr/share/man/man1/mosquitto_sub.1.gz
ok.
2019-05-31: sdb5 - esp-idf - output of 'make help' is useful
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ make help Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. Welcome to Espressif IDF build system. Some useful make targets: make menuconfig - Configure IDF project make defconfig - Set defaults for all new configuration options make all - Build app, bootloader, partition table make flash - Flash app, bootloader, partition table to a chip make clean - Remove all build output make size - Display the static memory footprint of the app make size-components, size-files - Finer-grained memory footprints make size-symbols - Per symbol memory footprint. Requires COMPONENT=<component> make erase_flash - Erase entire flash contents make erase_otadata - Erase ota_data partition; First bootable partition (factory or OTAx) will be used on next boot. This assumes this project's partition table is the one flashed on the device. make monitor - Run idf_monitor tool to monitor serial output from app make simple_monitor - Monitor serial output on terminal console make list-components - List all components in the project make app - Build just the app make app-flash - Flash just the app make app-clean - Clean just the app make print_flash_cmd - Print the arguments for esptool when flash make check_python_dependencies - Check that the required python packages are installed See also 'make bootloader', 'make bootloader-flash', 'make bootloader-clean', 'make partition_table', etc, etc.
ok
2019-05-31: sdb5 - esp-idf - idf.py works like this
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ $IDF_PATH/tools/idf.py usage: idf.py [-h] [-p PORT] [-b BAUD] [-C PROJECT_DIR] [-B BUILD_DIR] [-G {Ninja,Unix Makefiles}] [-n] [-v] [-D DEFINE_CACHE_ENTRY [DEFINE_CACHE_ENTRY ...]] [--no-ccache] {all,fullclean,app,size-components,erase_flash,partition_table-flash,efuse_common_table,size,partition_table,size-files,monitor,flash,show_efuse_table,menuconfig,app-flash,erase_otadata,build,confserver,reconfigure,bootloader,bootloader-flash,efuse_custom_table,bootloader-clean,defconfig,clean,read_otadata} [{all,fullclean,app,size-components,erase_flash,partition_table-flash,efuse_common_table,size,partition_table,size-files,monitor,flash,show_efuse_table,menuconfig,app-flash,erase_otadata,build,confserver,reconfigure,bootloader,bootloader-flash,efuse_custom_table,bootloader-clean,defconfig,clean,read_otadata} ...] idf.py: error: too few arguments
ok
2019-05-31: sdb5 - esp-idf - try the mqtt/ssl example again, with Bitraf's mqtt server this time.
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ make menuconfig Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. MENUCONFIG *** End of the configuration. *** Execute 'make' to start the build or try 'make help'.
create certificate
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ openssl s_client -showcerts -connect mqtt.bitraf.no:8883 </dev/null 2>/dev/null|openssl x509 -outform PEM > build/iot_eclipse_org.pem
check it:
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ ll build/*pem -rw-r--r-- 1 tingo tingo 2151 May 31 13:47 build/iot_eclipse_org.pem tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ file build/iot_eclipse_org.pem build/iot_eclipse_org.pem: PEM certificate
build
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ make Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. App "mqtt_ssl" version: 21b4a8a-dirty [..] Generating esp32.project.ld LD /zs/tingo/work/projects/2019/esp32-testing/mqtt/ssl/build/mqtt_ssl.elf esptool.py v2.7-dev To flash all build output, run 'make flash' or: python /zs/tingo/progs_lin/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port /dev/ttyUSB4 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 /zs/tingo/work/projects/2019/esp32-testing/mqtt/ssl/build/bootloader/bootloader.bin 0x10000 /zs/tingo/work/projects/2019/esp32-testing/mqtt/ssl/build/mqtt_ssl.bin 0x8000 /zs/tingo/work/projects/2019/esp32-testing/mqtt/ssl/build/partitions_singleapp.bin
flash it
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ make flash Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. App "mqtt_ssl" version: 21b4a8a-dirty Flashing binaries to serial port /dev/ttyUSB4 (app at offset 0x10000)... esptool.py v2.7-dev Serial port /dev/ttyUSB4 Connecting...... Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC: b4:e6:2d:96:a8:35 Uploading stub... Running stub... Stub running... Configuring flash size... Auto-detected Flash size: 4MB Flash params set to 0x0220 Compressed 24464 bytes to 14608... Wrote 24464 bytes (14608 compressed) at 0x00001000 in 1.3 seconds (effective 153.0 kbit/s)... Hash of data verified. Compressed 762592 bytes to 466104... Wrote 762592 bytes (466104 compressed) at 0x00010000 in 41.0 seconds (effective 148.7 kbit/s)... Hash of data verified. Compressed 3072 bytes to 103... Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 1606.2 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... testing - it works. From 'make monitor' output I (5703) tcpip_adapter: sta ip: 10.13.37.110, mask: 255.255.255.0, gw: 10.13.37.1 I (6203) example_connect: Connected to bitraf24 I (6203) example_connect: IPv4 address: 10.13.37.110 I (6203) example_connect: IPv6 address: fe80:0000:0000:0000:b6e6:2dff:fe96:a835 I (6213) MQTTS_EXAMPLE: [APP] Free memory: 235904 bytes I (6213) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (6223) MQTTS_EXAMPLE: Other event id:7 I (7263) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000 I (7273) MQTTS_EXAMPLE: MQTT_EVENT_CONNECTED I (7273) MQTTS_EXAMPLE: sent subscribe successful, msg_id=20068 I (7273) MQTTS_EXAMPLE: sent subscribe successful, msg_id=49572 I (7283) MQTTS_EXAMPLE: sent unsubscribe successful, msg_id=27432 I (7283) MQTTS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=20068 I (7293) MQTTS_EXAMPLE: sent publish successful, msg_id=0 I (7303) MQTTS_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=49572 I (7303) MQTTS_EXAMPLE: sent publish successful, msg_id=0 I (7323) MQTTS_EXAMPLE: MQTT_EVENT_UNSUBSCRIBED, msg_id=27432
ok
2019-05-31: sdb5 - esp-idf - try the mqtt/tcp example then. menuconfig first
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/tcp$ make menuconfig Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. DEFCONFIG MENUCONFIG *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. GENCONFIG App "mqtt_tcp" version: 21b4a8a-dirty build tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/tcp$ make Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. [..] Generating esp32.project.ld LD /zs/tingo/work/projects/2019/esp32-testing/mqtt/tcp/build/mqtt_tcp.elf esptool.py v2.7-dev To flash all build output, run 'make flash' or: python /zs/tingo/progs_lin/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port /dev/ttyUSB4 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 /zs/tingo/work/projects/2019/esp32-testing/mqtt/tcp/build/bootloader/bootloader.bin 0x10000 /zs/tingo/work/projects/2019/esp32-testing/mqtt/tcp/build/mqtt_tcp.bin 0x8000 /zs/tingo/work/projects/2019/esp32-testing/mqtt/tcp/build/partitions_singleapp.bin
flash it
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/tcp$ make flash Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. App "mqtt_tcp" version: 21b4a8a-dirty Flashing binaries to serial port /dev/ttyUSB4 (app at offset 0x10000)... esptool.py v2.7-dev Serial port /dev/ttyUSB4 Connecting....... Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC: b4:e6:2d:96:a8:35 Uploading stub... Running stub... Stub running... Configuring flash size... Auto-detected Flash size: 4MB Flash params set to 0x0220 Compressed 24464 bytes to 14610... Wrote 24464 bytes (14610 compressed) at 0x00001000 in 1.3 seconds (effective 151.5 kbit/s)... Hash of data verified. Compressed 760944 bytes to 464615... Wrote 760944 bytes (464615 compressed) at 0x00010000 in 40.9 seconds (effective 148.8 kbit/s)... Hash of data verified. Compressed 3072 bytes to 103... Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 1611.0 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... from another shell do 'make monitor'. At first it didn't work, then I changed to Bitraf's mqtt server and now it works (from 'make monitor' output): I (2702) tcpip_adapter: sta ip: 10.13.37.110, mask: 255.255.255.0, gw: 10.13.37.1 I (3202) example_connect: Connected to bitraf24 I (3202) example_connect: IPv4 address: 10.13.37.110 I (3202) example_connect: IPv6 address: fe80:0000:0000:0000:b6e6:2dff:fe96:a835 I (3212) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (3222) MQTT_EXAMPLE: Other event id:7 I (3282) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000 I (3292) MQTT_EXAMPLE: MQTT_EVENT_CONNECTED I (3292) MQTT_EXAMPLE: sent publish successful, msg_id=3004 I (3292) MQTT_EXAMPLE: sent subscribe successful, msg_id=25194 I (3302) MQTT_EXAMPLE: sent subscribe successful, msg_id=32054 I (3302) MQTT_EXAMPLE: sent unsubscribe successful, msg_id=25266 I (3312) MQTT_EXAMPLE: MQTT_EVENT_PUBLISHED, msg_id=3004 I (3322) MQTT_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=25194 I (3322) MQTT_EXAMPLE: sent publish successful, msg_id=0 I (3332) MQTT_EXAMPLE: MQTT_EVENT_SUBSCRIBED, msg_id=32054 I (3332) MQTT_EXAMPLE: sent publish successful, msg_id=0 I (3342) MQTT_EXAMPLE: MQTT_EVENT_UNSUBSCRIBED, msg_id=25266
good.
2019-05-31: sdb5 - esp-idf - test the mqtt/ssl example. First menuconfig to set serial port for flasher and WiFi parameters
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ make menuconfig Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. DEFCONFIG MENUCONFIG *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. GENCONFIG App "mqtt_ssl" version: 21b4a8a-dirty
create a certificate
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ openssl s_client -showcerts -connect iot.eclipse.org:8883 </dev/null 2>/dev/null|openssl x509 -outform PEM > build/iot_eclipse_org.pem unable to load certificate 139766110027840:error:0906D06C:PEM routines:PEM_read_bio:no start line:../crypto/pem/pem_lib.c:686:Expecting: TRUSTED CERTIFICATE tingo@kg-bsbox:~/work/projects/2019/esp32-testing/mqtt/ssl$ openssl s_client -showcerts -connect iot.eclipse.org:8883 139886528733248:error:0200206F:system library:connect:Connection refused:../crypto/bio/b_sock2.c:108: 139886528733248:error:2008A067:BIO routines:BIO_connect:connect error:../crypto/bio/b_sock2.c:109: connect:errno=111
hmm, that didn't work
2019-05-31: sdb5 - esp-idf - try the mqtt examples. Get them to our testing directory
tingo@kg-bsbox:~/work/projects/2019/esp32-testing$ cp -r $IDF_PATH/examples/protocols/mqtt .
ok.
2019-05-30: sdb5 - try a newer FlatCAM beta (the newest currently)
tingo@kg-bsbox:~$ python3 ~/progs/FlatCAM_beta_8.916_sources/FlatCAM.py[INFO][MainThread] FlatCAM Starting... [DEBUG][MainThread] Created postprocessors folder: /home/tingo/.FlatCAM/postprocessors [DEBUG][MainThread] Creating empty current_defaults.FlatConfig [DEBUG][MainThread] Creating empty factory_defaults.FlatConfig [DEBUG][MainThread] Application path is /zs/tingo/progs_lin/FlatCAM_beta_8.916_sources [DEBUG][MainThread] Started in /home/tingo [DEBUG][MainThread] FlatCAMGUI.__init__() --> UI layout restored from defaults. QSettings set to 'standard' [DEBUG][MainThread] FlatCAM defaults loaded from: current_defaults [DEBUG][MainThread] App.__init__() --> Applied English language. [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [DEBUG][MainThread] Options --> 0 [DEBUG][MainThread] Finished GUI form initialization. [DEBUG][MainThread] Finished creating Object Collection. [DEBUG][MainThread] Finished Canvas initialization in 1.208632469177246 seconds. [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [DEBUG][MainThread] Finished adding FlatCAM Editor's. [DEBUG][MainThread] Recent items list has been populated. [DEBUG][MainThread] setup_shell() [DEBUG][MainThread] TCL Shell has been initialized. [DEBUG][MainThread] Tools are installed. [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [DEBUG][MainThread] END of constructor. Releasing control. Downloading data from http://github.com/vispy/demo-data/raw/master/fonts/OpenSans-Regular.ttf (212 kB) [........................................] 100.00000 \ downloading File saved as /home/tingo/.vispy/data/fonts/OpenSans-Regular.ttf. WARNING: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2682, resource id: 12928127, major code: 40 (TranslateCoords), minor code: 0 [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [ERROR][MainThread] Could not evaluate: [DEBUG][MainThread] App.final_save() --> App Defaults saved. [DEBUG][MainThread] App.final_save() --> App UI state saved.
ok, that works. Good.
2019-05-30: sdb5 - try FlatCAM beta
tingo@kg-bsbox:~$ python3 ~/progs/FlatCAM_beta_8.908_sources/FlatCAM.py Traceback (most recent call last): File "/home/tingo/progs/FlatCAM_beta_8.908_sources/FlatCAM.py", line 2, in <module> from PyQt5 import sip ImportError: cannot import name 'sip'
oh, that's a downer.
2019-05-30: sdb5 - Python prereqs for FlatCAM beta (taken from the setup_ubuntu.sh script)
first check that we have easy_install3 and pip3:
tingo@kg-bsbox:~$ which easy_install3 /usr/bin/easy_install3 tingo@kg-bsbox:~$ which pip3 /usr/bin/pip3
install python3 prereqs
tingo@kg-bsbox:~$ cd ~/progs/FlatCAM_beta_8.908_sources/ tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo easy_install3 -U distribute Searching for distribute Reading https://pypi.python.org/simple/distribute/ Downloading https://files.pythonhosted.org/packages/5f/ad/1fde06877a8d7d5c9b60eff7de2d452f639916ae1d48f0b8f97bf97e570a/distribute-0.7.3.zip#sha256=3dc7a8d059dcf72f0ead2fa2144a24ee0ef07dce816e8c3545d7345767138c5e Best match: distribute 0.7.3 Processing distribute-0.7.3.zip Writing /tmp/easy_install-d_yns54w/distribute-0.7.3/setup.cfg Running distribute-0.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-d_yns54w/distribute-0.7.3/egg-dist-tmp-jvxhprn9 warning: install_lib: 'build/lib' does not exist -- no Python modules to install Moving distribute-0.7.3-py3.5.egg to /usr/local/lib/python3.5/dist-packages Adding distribute 0.7.3 to easy-install.pth file Installed /usr/local/lib/python3.5/dist-packages/distribute-0.7.3-py3.5.egg Processing dependencies for distribute Finished processing dependencies for distribute
and the pip3 stuff
tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade dill Collecting dill Downloading https://files.pythonhosted.org/packages/fe/42/bfe2e0857bc284cbe6a011d93f2a9ad58a22cb894461b199ae72cfef0f29/dill-0.2.9.tar.gz (150kB) 100% |████████████████████████████████| 153kB 520kB/s Building wheels for collected packages: dill Running setup.py bdist_wheel for dill ... done Stored in directory: /root/.cache/pip/wheels/5b/d7/0f/e58eae695403de585269f4e4a94e0cd6ca60ec0c202936fa4a Successfully built dill Installing collected packages: dill Successfully installed dill-0.2.9 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade Shapely Collecting Shapely Downloading https://files.pythonhosted.org/packages/a2/6c/966fa320a88fc685c956af08135855fa84a1589631256abebf73721c26ed/Shapely-1.6.4.post2-cp35-cp35m-manylinux1_x86_64.whl (1.5MB) 100% |████████████████████████████████| 1.5MB 548kB/s Installing collected packages: Shapely Found existing installation: Shapely 1.5.17 Not uninstalling shapely at /usr/lib/python3/dist-packages, outside environment /usr Successfully installed Shapely-1.6.4.post2 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade vispy Collecting vispy Downloading https://files.pythonhosted.org/packages/5f/e2/1c9f4534a335f922bddf5fbd7ed1b105b91660b9ac32e21c39fa62544386/vispy-0.5.3.tar.gz (12.3MB) 100% |████████████████████████████████| 12.3MB 95kB/s Collecting numpy (from vispy) Downloading https://files.pythonhosted.org/packages/bb/ef/d5a21cbc094d3f4d5b5336494dbcc9550b70c766a8345513c7c24ed18418/numpy-1.16.4-cp35-cp35m-manylinux1_x86_64.whl (17.2MB) 100% |████████████████████████████████| 17.2MB 68kB/s Building wheels for collected packages: vispy Running setup.py bdist_wheel for vispy ... done Stored in directory: /root/.cache/pip/wheels/78/4a/81/db541db6561a36f679953cc76037a743923e9862ab5516d227 Successfully built vispy Installing collected packages: numpy, vispy Found existing installation: numpy 1.12.1 Not uninstalling numpy at /usr/lib/python3/dist-packages, outside environment /usr Successfully installed numpy-1.16.4 vispy-0.5.3 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade rtree Requirement already up-to-date: rtree in /usr/lib/python3/dist-packages tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade pyopengl Collecting pyopengl Downloading https://files.pythonhosted.org/packages/9c/1d/4544708aaa89f26c97cc09450bb333a23724a320923e74d73e028b3560f9/PyOpenGL-3.1.0.tar.gz (1.2MB) 100% |████████████████████████████████| 1.2MB 571kB/s Building wheels for collected packages: pyopengl Running setup.py bdist_wheel for pyopengl ... done Stored in directory: /root/.cache/pip/wheels/6c/00/7f/1dd736f380848720ad79a1a1de5272e0d3f79c15a42968fb58 Successfully built pyopengl Installing collected packages: pyopengl Successfully installed pyopengl-3.1.0 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade pyopengl-accelerate Collecting pyopengl-accelerate Downloading https://files.pythonhosted.org/packages/d9/74/293aa8794f2f236186d19e61c5548160bfe159c996ba01ed9144c89ee8ee/PyOpenGL-accelerate-3.1.0.tar.gz (323kB) 100% |████████████████████████████████| 327kB 290kB/s Building wheels for collected packages: pyopengl-accelerate Running setup.py bdist_wheel for pyopengl-accelerate ... done Stored in directory: /root/.cache/pip/wheels/4e/8e/aa/ae3f1309ede1048b7f6a11c92d3d7d50fd6a7ab4507e6c7aca Successfully built pyopengl-accelerate Installing collected packages: pyopengl-accelerate Successfully installed pyopengl-accelerate-3.1.0 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade setuptools Collecting setuptools Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB) 100% |████████████████████████████████| 583kB 1.0MB/s Installing collected packages: setuptools Found existing installation: setuptools 33.1.1 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr Successfully installed setuptools-41.0.1 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade svg.path Collecting svg.path Using cached https://files.pythonhosted.org/packages/50/2f/618c5b6804e6dda90f024f0bc2d14ffc3db00221a818ee35da478427015d/svg.path-3.0-py2.py3-none-any.whl Requirement already up-to-date: setuptools in /usr/local/lib/python3.5/dist-packages (from svg.path) Installing collected packages: svg.path Successfully installed svg.path-3.0 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade ortools Collecting ortools Downloading https://files.pythonhosted.org/packages/8a/34/94feb27a1921b380d9cdbd895ebaf21a62225bd594ffd296bbd434bf17d3/ortools-7.1.6720-cp35-cp35m-manylinux1_x86_64.whl (27.1MB) 100% |████████████████████████████████| 27.1MB 41kB/s Collecting six>=1.10 (from ortools) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Collecting protobuf>=3.7.1 (from ortools) Downloading https://files.pythonhosted.org/packages/7c/d2/581ebc3c41879aca2c4fce5c37cdb8d779c4ea79109b6da7f640735ea0a2/protobuf-3.8.0-cp35-cp35m-manylinux1_x86_64.whl (1.2MB) 100% |████████████████████████████████| 1.2MB 807kB/s Requirement already up-to-date: setuptools in /usr/local/lib/python3.5/dist-packages (from protobuf>=3.7.1->ortools) Installing collected packages: six, protobuf, ortools Found existing installation: six 1.10.0 Not uninstalling six at /usr/lib/python3/dist-packages, outside environment /usr Successfully installed ortools-7.1.6720 protobuf-3.8.0 six-1.12.0 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade freetype-py Collecting freetype-py Downloading https://files.pythonhosted.org/packages/f2/00/6f332e63b33d24dc3761916e6d51402a7a82dd43c6ca8a96e24dda32c6b5/freetype_py-2.1.0.post1-py2.py3-none-manylinux1_x86_64.whl (883kB) 100% |████████████████████████████████| 890kB 709kB/s Installing collected packages: freetype-py Successfully installed freetype-py-2.1.0.post1 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade fontTools Collecting fontTools Downloading https://files.pythonhosted.org/packages/29/83/0161398da70174e154758c2bc898a81a7cf26b8659280cad129bab84da37/fonttools-3.42.0-py2.py3-none-any.whl (707kB) 100% |████████████████████████████████| 716kB 843kB/s Installing collected packages: fontTools Successfully installed fontTools-3.42.0 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade rasterio Collecting rasterio Downloading https://files.pythonhosted.org/packages/f8/ef/47897f21bdee0a1243c00cdcb32c55e853b70dacdbd67586c645395e5aa7/rasterio-1.0.23-cp35-cp35m-manylinux1_x86_64.whl (19.6MB) 100% |████████████████████████████████| 19.6MB 59kB/s Collecting attrs (from rasterio) Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl Collecting cligj>=0.5 (from rasterio) Downloading https://files.pythonhosted.org/packages/e4/be/30a58b4b0733850280d01f8bd132591b4668ed5c7046761098d665ac2174/cligj-0.5.0-py3-none-any.whl Collecting snuggs>=1.4.1 (from rasterio) Downloading https://files.pythonhosted.org/packages/58/14/8e90b7586ab6929861161e73e9fd55637a060e4d14dd1be14a4b8a08751f/snuggs-1.4.6-py3-none-any.whl Requirement already up-to-date: numpy in /usr/local/lib/python3.5/dist-packages (from rasterio) Collecting affine (from rasterio) Downloading https://files.pythonhosted.org/packages/56/5d/6877929932d17850fa4903d0db8233ec8ed35aab7ceae96fa44ea6d479bd/affine-2.2.2-py2.py3-none-any.whl Collecting click-plugins (from rasterio) Downloading https://files.pythonhosted.org/packages/e9/da/824b92d9942f4e472702488857914bdd50f73021efea15b4cad9aca8ecef/click_plugins-1.1.1-py2.py3-none-any.whl Collecting click<8,>=4.0 (from rasterio) Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB) 100% |████████████████████████████████| 81kB 1.2MB/s Collecting pyparsing>=2.1.6 (from snuggs>=1.4.1->rasterio) Downloading https://files.pythonhosted.org/packages/dd/d9/3ec19e966301a6e25769976999bd7bbe552016f0d32b577dc9d63d2e0c49/pyparsing-2.4.0-py2.py3-none-any.whl (62kB) 100% |████████████████████████████████| 71kB 1.5MB/s Installing collected packages: attrs, click, cligj, pyparsing, snuggs, affine, click-plugins, rasterio Successfully installed affine-2.2.2 attrs-19.1.0 click-7.0 click-plugins-1.1.1 cligj-0.5.0 pyparsing-2.4.0 rasterio-1.0.23 snuggs-1.4.6 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade lxml Collecting lxml Downloading https://files.pythonhosted.org/packages/5d/c9/39689d56ccb58e8212ca3c9ef68246bb481040cbd4d602295488ed13019b/lxml-4.3.3-cp35-cp35m-manylinux1_x86_64.whl (5.6MB) 100% |████████████████████████████████| 5.6MB 196kB/s Installing collected packages: lxml Found existing installation: lxml 3.7.1 Not uninstalling lxml at /usr/lib/python3/dist-packages, outside environment /usr Successfully installed lxml-4.3.3 tingo@kg-bsbox:~/progs/FlatCAM_beta_8.908_sources$ sudo pip3 install --upgrade ezdxf Collecting ezdxf Downloading https://files.pythonhosted.org/packages/6c/a3/7149b97321ab43a02b64fbfa41bf6ce23e6b2e511eb71cbfceef70a6346c/ezdxf-0.9-py3-none-any.whl (413kB) 100% |████████████████████████████████| 419kB 1.5MB/s Requirement already up-to-date: pyparsing>=2.0.1 in /usr/local/lib/python3.5/dist-packages (from ezdxf) Installing collected packages: ezdxf Successfully installed ezdxf-0.9
ok
2019-05-30: sdb5 - apt - install prereqs for FlatCAM beta (taken from the setup_ubuntu.sh script)
tingo@kg-bsbox:~$ sudo apt install python3-pip python3-pyqt5 python3-pyqt5.qtopengl libpng-dev libfreetype6 libfreetype6-dev python3-dev python3-simplejson python3-numpy python3-scipy libgeos-dev python3-shapely python3-rtree python3-tk libspatialindex-dev python3-gdal python3-lxml python3-ezdxf Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python3-ezdxf
ok, install the others then
tingo@kg-bsbox:~$ sudo apt install python3-pip python3-pyqt5 python3-pyqt5.qtopengl libpng-dev libfreetype6 libfreetype6-dev python3-dev python3-simplejson python3-numpy python3-scipy libgeos-dev python3-shapely python3-rtree python3-tk libspatialindex-dev python3-gdal python3-lxml Reading package lists... Done Building dependency tree Reading state information... Done libfreetype6 is already the newest version (2.6.3-3.2). libfreetype6 set to manually installed. libfreetype6-dev is already the newest version (2.6.3-3.2). libgeos-dev is already the newest version (3.5.1-3). libspatialindex-dev is already the newest version (1.8.5-4). libpng-dev is already the newest version (1.6.28-1+deb9u1). The following additional packages will be installed: libaec0 libarmadillo7 libarpack2 libdap23 libdapclient6v5 libdapserver7v5 libepsilon1 libfreexl1 libgdal20 libgeotiff2 libhdf4-0-alt libhdf5-100 libjson-c3 libkmlbase1 libkmlconvenience1 libkmldom1 libkmlengine1 libkmlregionator1 libkmlxsd1 libnetcdf11 libogdi3.2 libproj12 libpython3-dev libpython3.5-dev libqhull7 libqt5clucene5 libqt5designer5 libqt5help5 libspatialite7 libsuperlu5 libsz2 liburiparser1 libxerces-c3.1 odbcinst odbcinst1debian2 proj-bin proj-data python3-bs4 python3-cffi-backend python3-crypto python3-cryptography python3-decorator python3-html5lib python3-idna python3-keyring python3-keyrings.alt python3-pyasn1 python3-secretstorage python3-setuptools python3-sip python3-webencodings python3-wheel python3.5-dev Suggested packages: geotiff-bin gdal-bin libgeotiff-epsg libhdf4-doc libhdf4-alt-dev hdf4-tools ogdi-bin python3-crypto-dbg python-crypto-doc python-cryptography-doc python3-cryptography-vectors python3-genshi libkf5wallet-bin python3-pykde4 python3-lxml-dbg python-lxml-doc gfortran python-numpy-doc python3-nose python3-numpy-dbg doc-base python3-pyqt5-dbg python-scipy-doc python-secretstorage-doc python-setuptools-doc python3-matplotlib python-shapely-doc tix python3-tk-dbg The following NEW packages will be installed: libaec0 libarmadillo7 libarpack2 libdap23 libdapclient6v5 libdapserver7v5 libepsilon1 libfreexl1 libgdal20 libgeotiff2 libhdf4-0-alt libhdf5-100 libjson-c3 libkmlbase1 libkmlconvenience1 libkmldom1 libkmlengine1 libkmlregionator1 libkmlxsd1 libnetcdf11 libogdi3.2 libproj12 libpython3-dev libpython3.5-dev libqhull7 libqt5clucene5 libqt5designer5 libqt5help5 libspatialite7 libsuperlu5 libsz2 liburiparser1 libxerces-c3.1 odbcinst odbcinst1debian2 proj-bin proj-data python3-bs4 python3-cffi-backend python3-crypto python3-cryptography python3-decorator python3-dev python3-gdal python3-html5lib python3-idna python3-keyring python3-keyrings.alt python3-lxml python3-numpy python3-pip python3-pyasn1 python3-pyqt5 python3-pyqt5.qtopengl python3-rtree python3-scipy python3-secretstorage python3-setuptools python3-shapely python3-simplejson python3-sip python3-tk python3-webencodings python3-wheel python3.5-dev 0 upgraded, 65 newly installed, 0 to remove and 0 not upgraded. Need to get 72.9 MB of archives. After this operation, 196 MB of additional disk space will be used. [..] Setting up python3-gdal (2.1.2+dfsg-5) ... Processing triggers for libc-bin (2.24-11+deb9u4) ...
ok
2019-05-30: sdb5 - apt - check prereqs for FlatCAM beta
tingo@kg-bsbox:~$ sudo apt list python3-pip python3-pyqt5 python3-pyqt5.qtopengl libpng-dev libfreetype6 libfreetype6-dev python3-dev python3-simplejson python3-numpy python3-scipy libgeos-dev python3-shapely python3-rtree python3-tk libspatialindex-dev python3-gdal python3-lxml python3-ezdxf Listing... Done libfreetype6/stable,now 2.6.3-3.2 amd64 [installed,automatic] libfreetype6-dev/stable,now 2.6.3-3.2 amd64 [installed] libgeos-dev/stable,now 3.5.1-3 amd64 [installed] libpng-dev/stable,now 1.6.28-1+deb9u1 amd64 [installed] libspatialindex-dev/stable,now 1.8.5-4 amd64 [installed] python3-dev/stable 3.5.3-1 amd64 python3-gdal/stable 2.1.2+dfsg-5 amd64 python3-lxml/stable 3.7.1-1 amd64 python3-numpy/stable 1:1.12.1-3 amd64 python3-pip/stable,stable 9.0.1-2+deb9u1 all python3-pyqt5/stable 5.7+dfsg-5 amd64 python3-pyqt5.qtopengl/stable 5.7+dfsg-5 amd64 python3-rtree/stable,stable 0.8.3+ds-1 all python3-scipy/stable 0.18.1-2 amd64 python3-shapely/stable 1.5.17-1 amd64 python3-simplejson/stable 3.10.0-1 amd64 python3-tk/stable 3.5.3-1 amd64
so missing from the list are
python3-ezdxf
need to figure that out
2019-05-29: sdb5 - apt - install libqt4-dev
tingo@kg-bsbox:~$ sudo apt install libqt4-dev Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libqt4-dev-bin libqt4-opengl libqt4-opengl-dev libqt4-qt3support qt4-linguist-tools qt4-qmake Suggested packages: firebird-dev libmysqlclient-dev libpq-dev libsqlite0-dev qt4-dev-tools qt4-doc unixodbc-dev The following NEW packages will be installed: libqt4-dev libqt4-dev-bin libqt4-opengl libqt4-opengl-dev libqt4-qt3support qt4-linguist-tools qt4-qmake 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 6,353 kB of archives. After this operation, 34.8 MB of additional disk space will be used. [..] Setting up qt4-linguist-tools (4:4.8.7+dfsg-11) ... Setting up libqt4-dev (4:4.8.7+dfsg-11) ... Setting up libqt4-opengl-dev (4:4.8.7+dfsg-11) ...
ok
2019-05-29: sdb5 - check prerequisites for minipro:
tingo@kg-bsbox:~$ sudo apt list build-essential pkg-config git libusb-1.0-0-dev Listing... Done build-essential/stable,now 12.3 amd64 [installed,automatic] git/stable,stable,now 1:2.11.0-3+deb9u4 amd64 [installed] libusb-1.0-0-dev/stable,now 2:1.0.21-1 amd64 [installed] pkg-config/stable,now 0.29-4+b1 amd64 [installed,automatic]
so all four are there - good.
2019-05-20: sdb5 - esp-idf - get started - make monitor (to exit Ctrl-AltGr-])
tingo@kg-bsbox:/zs/tingo/work/projects/2019/esp32-testing/hello_world$ make monitor Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. MONITOR --- idf_monitor on /dev/ttyUSB4 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:6364 load:0x40078000,len:11304 load:0x40080400,len:6700 entry 0x40080764 I (28) boot: ESP-IDF v4.0-dev-546-gad3b820e7 2nd stage bootloader I (28) boot: compile time 10:10:35 I (28) boot: Enabling RNG early entropy source... I (34) boot: SPI Speed : 40MHz I (39) boot: SPI Mode : DIO I (43) boot: SPI Flash Size : 4MB I (47) boot: Partition Table: I (50) boot: ## Label Usage Type ST Offset Length I (57) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (72) boot: 2 factory factory app 00 00 00010000 00100000 I (80) boot: End of partition table I (84) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x07794 ( 30612) map I (104) esp_image: segment 1: paddr=0x000177bc vaddr=0x3ffb0000 size=0x01eac ( 7852) load I (107) esp_image: segment 2: paddr=0x00019670 vaddr=0x40080000 size=0x00400 ( 1024) load 0x40080000: _WindowOverflow4 at /zs/tingo/progs_lin/esp/esp-idf/components/freertos/xtensa_vectors.S:1779 I (111) esp_image: segment 3: paddr=0x00019a78 vaddr=0x40080400 size=0x06598 ( 26008) load I (131) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x125b0 ( 75184) map 0x400d0018: _flash_cache_start at ??:? I (157) esp_image: segment 5: paddr=0x000325d0 vaddr=0x40086998 size=0x0167c ( 5756) load 0x40086998: _frxt_int_exit at /zs/tingo/progs_lin/esp/esp-idf/components/freertos/portasm.S:170 I (165) boot: Loaded app from partition at offset 0x10000 I (165) boot: Disabling RNG early entropy source... I (167) cpu_start: Pro cpu up. I (170) cpu_start: Application information: I (175) cpu_start: Project name: hello-world I (180) cpu_start: App version: 1 I (185) cpu_start: Compile time: May 20 2019 10:10:38 I (191) cpu_start: ELF file SHA256: 75d8dd238469564c... I (197) cpu_start: ESP-IDF: v4.0-dev-546-gad3b820e7 I (203) cpu_start: Starting app cpu, entry point is 0x40080e4c 0x40080e4c: call_start_cpu1 at /zs/tingo/progs_lin/esp/esp-idf/components/esp32/cpu_start.c:267 I (0) cpu_start: App cpu up. I (214) heap_init: Initializing. RAM available for dynamic allocation: I (221) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (227) heap_init: At 3FFB2ED0 len 0002D130 (180 KiB): DRAM I (233) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (239) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (246) heap_init: At 40088014 len 00017FEC (95 KiB): IRAM I (252) cpu_start: Pro cpu start user code I (270) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. Hello world! This is ESP32 chip with 2 CPU cores, WiFi/BT/BLE, silicon revision 1, 4MB external flash Restarting in 10 seconds... Restarting in 9 seconds... Restarting in 8 seconds...
ok, that worked.
2019-05-20: sdb5 - esp-idf - get started - build & flash
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/hello_world$ make flash Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. CC /zs/tingo/work/projects/2019/esp32-testing/hello_world/build/bootloader/bootloader_support/src/bootloader_flash.o [..] AR /zs/tingo/work/projects/2019/esp32-testing/hello_world/build/xtensa/libxtensa.a Generating esp32.project.ld LD /zs/tingo/work/projects/2019/esp32-testing/hello_world/build/hello-world.elf esptool.py v2.7-dev Flashing binaries to serial port /dev/ttyUSB4 (app at offset 0x10000)... esptool.py v2.7-dev Serial port /dev/ttyUSB4 Connecting.... Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC: b4:e6:2d:96:a8:35 Uploading stub... Running stub... Stub running... Configuring flash size... Auto-detected Flash size: 4MB Flash params set to 0x0220 Compressed 24464 bytes to 14608... Wrote 24464 bytes (14608 compressed) at 0x00001000 in 1.3 seconds (effective 149.9 kbit/s)... Hash of data verified. Compressed 146544 bytes to 70436... Wrote 146544 bytes (70436 compressed) at 0x00010000 in 6.2 seconds (effective 189.5 kbit/s)... Hash of data verified. Compressed 3072 bytes to 103... Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 1727.1 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin...
ok.
2019-05-20: sdb5 - esp-idf - get started - configure, select /dev/ttyUSB4
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/hello_world$ make menuconfig Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. MENUCONFIG *** End of the configuration. *** Execute 'make' to start the build or try 'make help'.
make help shows
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/hello_world$ make help Toolchain path: /home/tingo/progs/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER. App "hello-world" version: 1 Welcome to Espressif IDF build system. Some useful make targets: make menuconfig - Configure IDF project make defconfig - Set defaults for all new configuration options make all - Build app, bootloader, partition table make flash - Flash app, bootloader, partition table to a chip make clean - Remove all build output make size - Display the static memory footprint of the app make size-components, size-files - Finer-grained memory footprints make size-symbols - Per symbol memory footprint. Requires COMPONENT=<component> make erase_flash - Erase entire flash contents make erase_otadata - Erase ota_data partition; First bootable partition (factory or OTAx) will be used on next boot. This assumes this project's partition table is the one flashed on the device. make monitor - Run idf_monitor tool to monitor serial output from app make simple_monitor - Monitor serial output on terminal console make list-components - List all components in the project make app - Build just the app make app-flash - Flash just the app make app-clean - Clean just the app make print_flash_cmd - Print the arguments for esptool when flash make check_python_dependencies - Check that the required python packages are installed See also 'make bootloader', 'make bootloader-flash', 'make bootloader-clean', 'make partition_table', etc, etc.
good.
2019-05-20: sdb5 - esp-idf - get started - try to configure the project again
tingo@kg-bsbox:~/work/projects/2019/esp32-testing/hello_world$ make menuconfig make[1]: Entering directory '/zs/tingo/progs_lin/esp/esp-idf/tools/kconfig' cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/mconf.c -o mconf.o flex -L -Pzconf -ozconf.lex.c /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/zconf.l bison -t -l -p zconf -o zconf.tab.c /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/zconf.y sed -E "s/\\x0D$//" /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/zconf.gperf | gperf -t --output-file zconf.hash.c -a -C -E -g -k '1,3,$' -p -t cc -I /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD zconf.tab.c -o zconf.tab.o /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/check-lxdialog.sh -check cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD -lncurses -ltinfo cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/checklist.c -o lxdialog/checklist.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/util.c -o lxdialog/util.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/inputbox.c -o lxdialog/inputbox.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/textbox.c -o lxdialog/textbox.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/yesno.c -o lxdialog/yesno.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/menubox.c -o lxdialog/menubox.o cc -o mconf-idf mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/util.o lxdialog/inputbox.o lxdialog/textbox.o lxdialog/yesno.o lxdialog/menubox.o -lncurses -ltinfo cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/conf.c -o conf.o cc -o conf-idf conf.o zconf.tab.o -lncurses -ltinfo make[1]: Leaving directory '/zs/tingo/progs_lin/esp/esp-idf/tools/kconfig' make[1]: Entering directory '/zs/tingo/progs_lin/esp/esp-idf/tools/kconfig' /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/check-lxdialog.sh -check cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD -lncurses -ltinfo cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/checklist.c -o lxdialog/checklist.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/util.c -o lxdialog/util.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/inputbox.c -o lxdialog/inputbox.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/textbox.c -o lxdialog/textbox.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/yesno.c -o lxdialog/yesno.o cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/menubox.c -o lxdialog/menubox.o cc -o mconf-idf mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/util.o lxdialog/inputbox.o lxdialog/textbox.o lxdialog/yesno.o lxdialog/menubox.o -lncurses -ltinfo make[1]: Leaving directory '/zs/tingo/progs_lin/esp/esp-idf/tools/kconfig' Python requirements from /zs/tingo/progs_lin/esp/esp-idf/requirements.txt are satisfied. DEFCONFIG MENUCONFIG Your configuration changes were NOT saved. GENCONFIG Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER. App "hello-world" version: 1
and I get a nice menu to change configuration. Good.
2019-05-20: sdb5 - esp-idf - prereqs - libncurses-dev is called libncurses5-dev on Debian. Install it
tingo@kg-bsbox:~$ sudo apt install libncurses5-dev Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libtinfo-dev Suggested packages: ncurses-doc The following NEW packages will be installed: libncurses5-dev libtinfo-dev 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 254 kB of archives. After this operation, 1,455 kB of additional disk space will be used. [..] Setting up libncurses5-dev:amd64 (6.0+20161126-1+deb9u2) ... Processing triggers for man-db (2.7.6.1-2) ...
ok
2019-05-20: sdb5 - esp-idf - get started. Set up an example project
tingo@kg-bsbox:~/work/projects/2019/esp32-testing$ cp -r $IDF_PATH/examples/get-started/hello_world .
connect a board (Wemos D1 R32), it shows up as
tingo@kg-bsbox:~$ lsusb -d 1a86:7523 Bus 001 Device 102: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
and gets serial port /dev/ttyUSB4
May 20 09:50:39 kg-bsbox kernel: [1796625.118770] usb 1-3.3: new full-speed USB device number 102 using xhci_hcd May 20 09:50:39 kg-bsbox kernel: [1796625.220065] usb 1-3.3: New USB device found, idVendor=1a86, idProduct=7523 May 20 09:50:39 kg-bsbox kernel: [1796625.220079] usb 1-3.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0 May 20 09:50:39 kg-bsbox kernel: [1796625.220082] usb 1-3.3: Product: USB2.0-Serial May 20 09:50:39 kg-bsbox kernel: [1796625.220724] ch341 1-3.3:1.0: ch341-uart converter detected May 20 09:50:39 kg-bsbox kernel: [1796625.221935] usb 1-3.3: ch341-uart converter now attached to ttyUSB4
ok. Now, configure the project
tingo@kg-bsbox:~/work/projects/2019/esp32-testing$ cd hello_world/ tingo@kg-bsbox:~/work/projects/2019/esp32-testing/hello_world$ make menuconfig make[1]: Entering directory '/zs/tingo/progs_lin/esp/esp-idf/tools/kconfig' cc -c -DCURSES_LOC="<curses.h>" -DLOCALE -MMD /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/mconf.c -o mconf.o In file included from /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/mconf.c:23:0: /zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/lxdialog/dialog.h:38:20: fatal error: curses.h: No such file or directory #include CURSES_LOC ^ compilation terminated. Makefile:171: recipe for target 'mconf.o' failed make[1]: *** [mconf.o] Error 1 make[1]: Leaving directory '/zs/tingo/progs_lin/esp/esp-idf/tools/kconfig' make: *** No rule to make target '/zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/conf-idf', needed by '/zs/tingo/progs_lin/esp/esp-idf/tools/kconfig/mconf-idf'. Stop.
well, that didn't work
2019-05-20: sdb5 - install required Python packages
tingo@kg-bsbox:~/progs/esp$ python -m pip install --user -r $IDF_PATH/requirements.txt Collecting setuptools (from -r /home/tingo/progs/esp/esp-idf/requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB) 100% |████████████████████████████████| 583kB 845kB/s Collecting pyserial>=3.0 (from -r /home/tingo/progs/esp/esp-idf/requirements.txt (line 8)) Downloading https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl (193kB) 100% |████████████████████████████████| 194kB 1.1MB/s Collecting future>=0.15.2 (from -r /home/tingo/progs/esp/esp-idf/requirements.txt (line 9)) Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB) 100% |████████████████████████████████| 829kB 678kB/s Collecting cryptography>=2.1.4 (from -r /home/tingo/progs/esp/esp-idf/requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/c3/c1/cf8665c955c9393e9ff0872ba6cd3dc6f46ef915e94afcf6e0410508ca69/cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl (2.3MB) 100% |████████████████████████████████| 2.3MB 354kB/s Collecting pyparsing<2.4.0,>=2.0.3 (from -r /home/tingo/progs/esp/esp-idf/requirements.txt (line 11)) Downloading https://files.pythonhosted.org/packages/de/0a/001be530836743d8be6c2d85069f46fecf84ac6c18c7f5fb8125ee11d854/pyparsing-2.3.1-py2.py3-none-any.whl (61kB) 100% |████████████████████████████████| 71kB 1.3MB/s Collecting pyelftools>=0.22 (from -r /home/tingo/progs/esp/esp-idf/requirements.txt (line 12)) Downloading https://files.pythonhosted.org/packages/fa/9a/0674cb1725196568bdbca98304f2efb17368b57af1a4bb3fc772c026f474/pyelftools-0.25.tar.gz (499kB) 100% |████████████████████████████████| 501kB 969kB/s Collecting enum34; python_version < "3" (from cryptography>=2.1.4->-r /home/tingo/progs/esp/esp-idf/requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl Collecting asn1crypto>=0.21.0 (from cryptography>=2.1.4->-r /home/tingo/progs/esp/esp-idf/requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB) 100% |████████████████████████████████| 102kB 1.1MB/s Collecting six>=1.4.1 (from cryptography>=2.1.4->-r /home/tingo/progs/esp/esp-idf/requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.1.4->-r /home/tingo/progs/esp/esp-idf/requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl (415kB) 100% |████████████████████████████████| 419kB 913kB/s Collecting ipaddress; python_version < "3" (from cryptography>=2.1.4->-r /home/tingo/progs/esp/esp-idf/requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.1.4->-r /home/tingo/progs/esp/esp-idf/requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB) 100% |████████████████████████████████| 163kB 994kB/s Building wheels for collected packages: future, pyelftools, pycparser Running setup.py bdist_wheel for future ... done Stored in directory: /home/tingo/.cache/pip/wheels/0c/61/d2/d6b7317325828fbb39ee6ad559dbe4664d0896da4721bf379e Running setup.py bdist_wheel for pyelftools ... done Stored in directory: /home/tingo/.cache/pip/wheels/55/2f/15/4ce6885a52f475de68c16f3116a94d2156d588390cdb6c507c Running setup.py bdist_wheel for pycparser ... done Stored in directory: /home/tingo/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511 Successfully built future pyelftools pycparser Installing collected packages: setuptools, pyserial, future, enum34, asn1crypto, six, pycparser, cffi, ipaddress, cryptography, pyparsing, pyelftools Successfully installed asn1crypto-0.24.0 cffi-1.12.3 cryptography-2.6.1 enum34-1.1.6 future-0.17.1 ipaddress-1.0.22 pycparser-2.19 pyelftools-0.25 pyparsing-2.3.1 pyserial-3.4 setuptools-41.0.1 six-1.12.0
ok
2019-05-20: sdb5 - add an alias to set up IDF_PATH:
alias get_idf='export IDF_PATH="$HOME/progs/esp/esp-idf"'
ok.
2019-05-16: sdb5 - set up IDF_PATH:
tingo@kg-bsbox:~$ more ~/.profile # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package. # the default umask is set in /etc/profile; for setting the umask # for ssh logins, install and configure the libpam-umask package. #umask 022 # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi if [ -d "$HOME/progs/esp/esp-idf" ] ; then export IDF_PATH="$HOME/progs/esp/esp-idf" fi fi
ok
2019-05-16: sdb5 - ESP-IDF - get the API (from master)
tingo@kg-bsbox:~/progs/esp$ pwd /home/tingo/progs/esp tingo@kg-bsbox:~/progs/esp$ git clone --recursive https://github.com/espressif/esp-idf.git Cloning into 'esp-idf'... remote: Enumerating objects: 250, done. remote: Counting objects: 100% (250/250), done. remote: Compressing objects: 100% (153/153), done. remote: Total 91457 (delta 98), reused 176 (delta 87), pack-reused 91207 Receiving objects: 100% (91457/91457), 73.64 MiB | 1.36 MiB/s, done. Resolving deltas: 100% (65452/65452), done. Submodule 'components/asio/asio' (https://github.com/espressif/asio.git) registered for path 'components/asio/asio' Submodule 'components/bootloader/subproject/components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'components/bootloader/subproject/components/micro-ecc/micro-ecc' Submodule 'components/bt/lib' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'components/bt/lib' Submodule 'components/coap/libcoap' (https://github.com/obgm/libcoap.git) registered for path 'components/coap/libcoap' Submodule 'components/esp_wifi/lib_esp32' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'components/esp_wifi/lib_esp32' Submodule 'components/esptool_py/esptool' (https://github.com/espressif/esptool.git) registered for path 'components/esptool_py/esptool' Submodule 'components/expat/expat' (https://github.com/libexpat/libexpat.git) registered for path 'components/expat/expat' Submodule 'components/json/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'components/json/cJSON' Submodule 'components/libsodium/libsodium' (https://github.com/jedisct1/libsodium.git) registered for path 'components/libsodium/libsodium' Submodule 'components/lwip/lwip' (https://github.com/espressif/esp-lwip.git) registered for path 'components/lwip/lwip' Submodule 'components/mbedtls/mbedtls' (https://github.com/espressif/mbedtls.git) registered for path 'components/mbedtls/mbedtls' Submodule 'components/mqtt/esp-mqtt' (https://github.com/espressif/esp-mqtt.git) registered for path 'components/mqtt/esp-mqtt' Submodule 'components/nghttp/nghttp2' (https://github.com/nghttp2/nghttp2.git) registered for path 'components/nghttp/nghttp2' Submodule 'components/protobuf-c/protobuf-c' (https://github.com/protobuf-c/protobuf-c) registered for path 'components/protobuf-c/protobuf-c' Submodule 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) registered for path 'components/spiffs/spiffs' Submodule 'components/unity/unity' (https://github.com/ThrowTheSwitch/Unity) registered for path 'components/unity/unity' Submodule 'examples/build_system/cmake/import_lib/main/lib/tinyxml2' (https://github.com/leethomason/tinyxml2) registered for path 'examples/build_system/cmake/import_lib/main/lib/tinyxml2' Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/asio/asio'... remote: Enumerating objects: 45479, done. remote: Total 45479 (delta 0), reused 0 (delta 0), pack-reused 45479 Receiving objects: 100% (45479/45479), 15.38 MiB | 627.00 KiB/s, done. Resolving deltas: 100% (30490/30490), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc'... remote: Enumerating objects: 1086, done. remote: Total 1086 (delta 0), reused 0 (delta 0), pack-reused 1086 Receiving objects: 100% (1086/1086), 647.94 KiB | 822.00 KiB/s, done. Resolving deltas: 100% (637/637), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/bt/lib'... remote: Enumerating objects: 78, done. remote: Counting objects: 100% (78/78), done. remote: Compressing objects: 100% (54/54), done. remote: Total 562 (delta 53), reused 49 (delta 24), pack-reused 484 Receiving objects: 100% (562/562), 2.23 MiB | 1.10 MiB/s, done. Resolving deltas: 100% (377/377), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/coap/libcoap'... remote: Enumerating objects: 91, done. remote: Counting objects: 100% (91/91), done. remote: Compressing objects: 100% (39/39), done. remote: Total 8191 (delta 51), reused 81 (delta 47), pack-reused 8100 Receiving objects: 100% (8191/8191), 3.07 MiB | 939.00 KiB/s, done. Resolving deltas: 100% (5756/5756), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/esp_wifi/lib_esp32'... remote: Enumerating objects: 465, done. remote: Counting objects: 100% (465/465), done. remote: Compressing objects: 100% (186/186), done. remote: Total 5012 (delta 373), reused 367 (delta 279), pack-reused 4547 Receiving objects: 100% (5012/5012), 51.15 MiB | 1.21 MiB/s, done. Resolving deltas: 100% (4080/4080), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/esptool_py/esptool'... remote: Enumerating objects: 1940, done. remote: Total 1940 (delta 0), reused 0 (delta 0), pack-reused 1940 Receiving objects: 100% (1940/1940), 7.13 MiB | 840.00 KiB/s, done. Resolving deltas: 100% (1200/1200), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/expat/expat'... remote: Enumerating objects: 19, done. remote: Counting objects: 100% (19/19), done. remote: Compressing objects: 100% (13/13), done. remote: Total 14559 (delta 7), reused 15 (delta 6), pack-reused 14540 Receiving objects: 100% (14559/14559), 12.98 MiB | 1.46 MiB/s, done. Resolving deltas: 100% (10892/10892), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/json/cJSON'... remote: Enumerating objects: 36, done. remote: Counting objects: 100% (36/36), done. remote: Compressing objects: 100% (30/30), done. remote: Total 4009 (delta 14), reused 18 (delta 6), pack-reused 3973 Receiving objects: 100% (4009/4009), 2.32 MiB | 1.13 MiB/s, done. Resolving deltas: 100% (2656/2656), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/libsodium/libsodium'... remote: Enumerating objects: 41, done. remote: Counting objects: 100% (41/41), done. remote: Compressing objects: 100% (28/28), done. remote: Total 28982 (delta 22), reused 29 (delta 13), pack-reused 28941 Receiving objects: 100% (28982/28982), 7.26 MiB | 1.44 MiB/s, done. Resolving deltas: 100% (17034/17034), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/lwip/lwip'... remote: Enumerating objects: 48283, done. remote: Total 48283 (delta 0), reused 0 (delta 0), pack-reused 48283 Receiving objects: 100% (48283/48283), 9.32 MiB | 1.40 MiB/s, done. Resolving deltas: 100% (36455/36455), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/mbedtls/mbedtls'... remote: Enumerating objects: 65045, done. remote: Total 65045 (delta 0), reused 0 (delta 0), pack-reused 65045 Receiving objects: 100% (65045/65045), 29.58 MiB | 1.08 MiB/s, done. Resolving deltas: 100% (49913/49913), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/mqtt/esp-mqtt'... remote: Enumerating objects: 71, done. remote: Counting objects: 100% (71/71), done. remote: Compressing objects: 100% (40/40), done. remote: Total 1877 (delta 32), reused 60 (delta 31), pack-reused 1806 Receiving objects: 100% (1877/1877), 1.37 MiB | 1.04 MiB/s, done. Resolving deltas: 100% (989/989), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/nghttp/nghttp2'... remote: Enumerating objects: 32, done. remote: Counting objects: 100% (32/32), done. remote: Compressing objects: 100% (23/23), done. remote: Total 39624 (delta 8), reused 17 (delta 8), pack-reused 39592 Receiving objects: 100% (39624/39624), 30.68 MiB | 1.19 MiB/s, done. Resolving deltas: 100% (29540/29540), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/protobuf-c/protobuf-c'... remote: Enumerating objects: 3166, done. remote: Total 3166 (delta 0), reused 0 (delta 0), pack-reused 3166 Receiving objects: 100% (3166/3166), 1.21 MiB | 914.00 KiB/s, done. Resolving deltas: 100% (2013/2013), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/spiffs/spiffs'... remote: Enumerating objects: 6, done. remote: Counting objects: 100% (6/6), done. remote: Compressing objects: 100% (6/6), done. remote: Total 1455 (delta 0), reused 1 (delta 0), pack-reused 1449 Receiving objects: 100% (1455/1455), 1.01 MiB | 998.00 KiB/s, done. Resolving deltas: 100% (1015/1015), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/unity/unity'... remote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Compressing objects: 100% (3/3), done. remote: Total 4762 (delta 0), reused 3 (delta 0), pack-reused 4759 Receiving objects: 100% (4762/4762), 6.17 MiB | 1.25 MiB/s, done. Resolving deltas: 100% (2912/2912), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/examples/build_system/cmake/import_lib/main/lib/tinyxml2'... remote: Enumerating objects: 6, done. remote: Counting objects: 100% (6/6), done. remote: Compressing objects: 100% (5/5), done. remote: Total 3632 (delta 1), reused 6 (delta 1), pack-reused 3626 Receiving objects: 100% (3632/3632), 2.64 MiB | 1.07 MiB/s, done. Resolving deltas: 100% (2358/2358), done. Submodule path 'components/asio/asio': checked out '55efc179b76139c8f9b44bf22a4aba4803f7a7bd' Submodule path 'components/bootloader/subproject/components/micro-ecc/micro-ecc': checked out 'd037ec89546fad14b5c4d5456c2e23a71e554966' Submodule path 'components/bt/lib': checked out '70d6a277d7adb468fc4dbeed92a64144569bf080' Submodule path 'components/coap/libcoap': checked out 'cfec0d072c5b99ed3e54828ca50ea2f6b91e1f50' Submodule 'ext/tinydtls' (https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls) registered for path 'components/coap/libcoap/ext/tinydtls' Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/coap/libcoap/ext/tinydtls'... remote: Total 584 (delta 0), reused 584 (delta 0) B/s Receiving objects: 100% (584/584), 604.89 KiB | 680.00 KiB/s, done. Resolving deltas: 100% (259/259), done. Submodule path 'components/coap/libcoap/ext/tinydtls': checked out '3b24a701ed5b0785306aa732e739ecb1eb3d03f8' Submodule path 'components/esp_wifi/lib_esp32': checked out 'ebeade52df37b69bd8105542f08fcd1ae4fbbe48' Submodule path 'components/esptool_py/esptool': checked out 'b4c418a5d90c94863b44c8661b9332cf229b08b7' Submodule path 'components/expat/expat': checked out '968b8cc46dbee47b83318d5f31a8e7907199614b' Submodule path 'components/json/cJSON': checked out '93688cbe72b190300d1be6b98e86b772df9b9ead' Submodule path 'components/libsodium/libsodium': checked out '70170c28c844a4786e75efc626e1aeebc93caebc' Submodule path 'components/lwip/lwip': checked out 'fe9a58cb7abdc74e7a2196b7c4e0a29ff9042f88' Submodule path 'components/mbedtls/mbedtls': checked out '19eb57f7f7b2f4312d497ddbcb5f104fc6877c70' Submodule path 'components/mqtt/esp-mqtt': checked out '39118d5182f804edc01ed030c8ba137a9c7f388e' Submodule path 'components/nghttp/nghttp2': checked out '3bcc416e13cc790e2fb45fcfe9111d38609c5032' Submodule 'third-party/mruby' (https://github.com/mruby/mruby) registered for path 'components/nghttp/nghttp2/third-party/mruby' Submodule 'third-party/neverbleed' (https://github.com/h2o/neverbleed.git) registered for path 'components/nghttp/nghttp2/third-party/neverbleed' Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/nghttp/nghttp2/third-party/mruby'... remote: Enumerating objects: 186, done. remote: Counting objects: 100% (186/186), done. remote: Compressing objects: 100% (114/114), done. remote: Total 48641 (delta 84), reused 131 (delta 62), pack-reused 48455 Receiving objects: 100% (48641/48641), 11.57 MiB | 1.10 MiB/s, done. Resolving deltas: 100% (30371/30371), done. Cloning into '/zs/tingo/progs_lin/esp/esp-idf/components/nghttp/nghttp2/third-party/neverbleed'... remote: Enumerating objects: 229, done. remote: Total 229 (delta 0), reused 0 (delta 0), pack-reused 229 Receiving objects: 100% (229/229), 78.48 KiB | 0 bytes/s, done. Resolving deltas: 100% (138/138), done. Submodule path 'components/nghttp/nghttp2/third-party/mruby': checked out '22464fe5a0a10f2b077eaba109ce1e912e4a77de' Submodule path 'components/nghttp/nghttp2/third-party/neverbleed': checked out 'da5c2ab419a3bb8a4cc6c37a6c7f3e4bd4b41134' Submodule path 'components/protobuf-c/protobuf-c': checked out 'dac1a65feac4ad72f612aab99f487056fbcf5c1a' Submodule path 'components/spiffs/spiffs': checked out 'f5e26c4e933189593a71c6b82cda381a7b21e41c' Submodule path 'components/unity/unity': checked out '7d2bf62b7e6afaf38153041a9d53c21aeeca9a25' Submodule path 'examples/build_system/cmake/import_lib/main/lib/tinyxml2': checked out '7e8e249990ec491ec15990cf95b6d871a66cf64a'
ok
2019-05-16: sdb5 - ESP-IDF - I installed the ESP32 toolchain in ~/progs/esp/ and added an alias to add it to $PATH:
alias get_esp32='export PATH="$HOME/progs/esp/xtensa-esp32-elf/bin:$PATH"'
ok
2019-05-16: sdb5 - apt - check prereqs for ESP-IDF toolchain:
tingo@kg-bsbox:~$ sudo apt list gcc git wget make libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-cryptography python-future python-pyparsing python-pyelftools Listing... Done bison/stable 2:3.0.4.dfsg-1+b1 amd64 flex/stable 2.6.1-1.3 amd64 gcc/stable,now 4:6.3.0-4 amd64 [installed,automatic] git/stable,stable,now 1:2.11.0-3+deb9u4 amd64 [installed] gperf/stable 3.0.4-2+b1 amd64 make/stable,now 4.1-9.1 amd64 [installed,automatic] python/stable,now 2.7.13-2 amd64 [installed] python-cryptography/stretch-backports,now 2.3-1~bpo9+1 amd64 [installed,automatic] python-future/stable,stable 0.15.2-4 all python-pip/stable,stable,now 9.0.1-2+deb9u1 all [installed] python-pyelftools/stable,stable 0.24-3 all python-pyparsing/stable,stable,now 2.1.10+dfsg1-1 all [installed,automatic] python-serial/stable,stable 3.2.1-1 all python-setuptools/stable,stable,now 33.1.1-1 all [installed] wget/stable,stable,now 1.18-5+deb9u3 amd64 [installed]
install missing packages
tingo@kg-bsbox:~$ sudo apt install bison flex gperf python-future python-pyelftools python-serial Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libbison-dev libfl-dev m4 python-configparser Suggested packages: bison-doc m4-doc python-future-doc The following NEW packages will be installed: bison flex gperf libbison-dev libfl-dev m4 python-configparser python-future python-pyelftools python-serial 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 2,660 kB of archives. After this operation, 7,590 kB of additional disk space will be used. [..] update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Setting up python-future (0.15.2-4) ... update-alternatives: using /usr/bin/python2-futurize to provide /usr/bin/futurize (futurize) in auto mode update-alternatives: using /usr/bin/python2-pasteurize to provide /usr/bin/pasteurize (pasteurize) in auto mode Setting up flex (2.6.1-1.3) ... Setting up libfl-dev:amd64 (2.6.1-1.3) ... Processing triggers for libc-bin (2.24-11+deb9u4) ...
ok
2019-05-14: sdb5 - apt - install stm32flash
tingo@kg-bsbox:~$ sudo apt install stm32flash Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: stm32flash 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 27.9 kB of archives. After this operation, 78.8 kB of additional disk space will be used. [..] Setting up stm32flash (0.5-1+b1) ... Processing triggers for man-db (2.7.6.1-2) ...
ok.
2019-05-14: sdb5 - apt - install screen
tingo@kg-bsbox:~$ sudo apt install screen Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: byobu | screenie | iselect The following NEW packages will be installed: screen 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 592 kB of archives. After this operation, 1,006 kB of additional disk space will be used. [..] Setting up screen (4.5.0-6) ... Processing triggers for systemd (232-25+deb9u11) ...
ok
2019-05-14: sdb5 - connecting a ST Lab U-400 usb to four serial ports.
device
tingo@kg-bsbox:~$ lsusb -d 9710:7840 Bus 001 Device 021: ID 9710:7840 MosChip Semiconductor MCS7820/MCS7840 2/4 port serial adapter
ports
tingo@kg-bsbox:~$ ls -l /dev/tty[ACU]* crw-rw---- 1 root dialout 188, 0 May 14 10:59 /dev/ttyUSB0 crw-rw---- 1 root dialout 188, 1 May 14 10:59 /dev/ttyUSB1 crw-rw---- 1 root dialout 188, 2 May 14 10:59 /dev/ttyUSB2 crw-rw---- 1 root dialout 188, 3 May 14 10:59 /dev/ttyUSB3
ok.
2019-05-09: sdb5 -apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: firefox-esr gir1.2-gst-plugins-base-1.0 gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-base:i386 gstreamer1.0-x libgstreamer-plugins-base1.0-0 libgstreamer-plugins-base1.0-0:i386 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 51.8 MB of archives. After this operation, 3,072 B of additional disk space will be used. [..] Processing triggers for hicolor-icon-theme (0.15-1) ... Setting up gstreamer1.0-alsa:amd64 (1.10.4-1+deb9u1) ...
ok.
2019-05-07: sdb5 - try to build Heimdall 1.4.2 from source (https://gitlab.com/BenjaminDobell/Heimdall)
tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2/heimdall$ mkdir build tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2/heimdall$ cd build tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2/heimdall/build$ cmake -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:9 (find_package): By not providing "Findlibusb.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "libusb", but CMake did not find one. Could not find a package configuration file provided by "libusb" with any of the following names: libusbConfig.cmake libusb-config.cmake Add the installation prefix of "libusb" to CMAKE_PREFIX_PATH or set "libusb_DIR" to a directory containing one of the above files. If "libusb" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/zs/tingo/work/heimdall/Heimdall-v1.4.2/heimdall/build/CMakeFiles/CMakeOutput.log".
so, cmake needs to find libusb. Scratch that - user error. Try this instead:
tingo@kg-bsbox:~/work/heimdall/Heimdall-v1.4.2$ pwd /home/tingo/work/heimdall/Heimdall-v1.4.2 tingo@kg-bsbox:~/work/heimdall/Heimdall-v1.4.2$ mkdir build tingo@kg-bsbox:~/work/heimdall/Heimdall-v1.4.2$ cd build tingo@kg-bsbox:~/work/heimdall/Heimdall-v1.4.2/build$ cmake -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found libusb: /usr/lib/x86_64-linux-gnu/libusb-1.0.so -- Checking if large (64-bit) file support is available... -- Checking if large (64-bit) file support is available - yes -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- Configuring done -- Generating done -- Build files have been written to: /home/tingo/work/heimdall/Heimdall-v1.4.2/build
then make
tingo@kg-bsbox:~/work/heimdall/Heimdall-v1.4.2/build$ make Scanning dependencies of target pit [ 3%] Building CXX object libpit/CMakeFiles/pit.dir/source/libpit.cpp.o [ 6%] Linking CXX static library libpit.a [ 6%] Built target pit Scanning dependencies of target heimdall [ 10%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/Arguments.cpp.o [ 13%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/BridgeManager.cpp.o [ 16%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/ClosePcScreenAction.cpp.o [ 20%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/DetectAction.cpp.o [ 23%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/DownloadPitAction.cpp.o [ 26%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/FlashAction.cpp.o [ 30%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/HelpAction.cpp.o [ 33%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/InfoAction.cpp.o [ 36%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/Interface.cpp.o [ 40%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/main.cpp.o [ 43%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/PrintPitAction.cpp.o [ 46%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/Utility.cpp.o [ 50%] Building CXX object heimdall/CMakeFiles/heimdall.dir/source/VersionAction.cpp.o [ 53%] Linking CXX executable ../bin/heimdall [ 53%] Built target heimdall Scanning dependencies of target heimdall-frontend_automoc [ 56%] Automatic moc for target heimdall-frontend Generating moc source heimdall-frontend_automoc.dir/moc_aboutform_VRI4ALFBIJICCV.cpp Generating moc source heimdall-frontend_automoc.dir/moc_mainwindow_CHYAESMEXK735V.cpp Generating moc compilation heimdall-frontend_automoc.cpp [ 56%] Built target heimdall-frontend_automoc [ 60%] Generating qrc_mainwindow.cpp RCC: Warning: No resources in '/home/tingo/work/heimdall/Heimdall-v1.4.2/heimdall-frontend/mainwindow.qrc'. [ 63%] Generating ui_mainwindow.h [ 66%] Generating ui_aboutform.h Scanning dependencies of target heimdall-frontend [ 70%] Building CXX object heimdall-frontend/CMakeFiles/heimdall-frontend.dir/source/aboutform.cpp.o [ 73%] Building CXX object heimdall-frontend/CMakeFiles/heimdall-frontend.dir/source/Alerts.cpp.o [ 76%] Building CXX object heimdall-frontend/CMakeFiles/heimdall-frontend.dir/source/FirmwareInfo.cpp.o [ 80%] Building CXX object heimdall-frontend/CMakeFiles/heimdall-frontend.dir/source/main.cpp.o [ 83%] Building CXX object heimdall-frontend/CMakeFiles/heimdall-frontend.dir/source/mainwindow.cpp.o [ 86%] Building CXX object heimdall-frontend/CMakeFiles/heimdall-frontend.dir/source/PackageData.cpp.o [ 90%] Building CXX object heimdall-frontend/CMakeFiles/heimdall-frontend.dir/source/Packaging.cpp.o [ 93%] Building CXX object heimdall-frontend/CMakeFiles/heimdall-frontend.dir/qrc_mainwindow.cpp.o [ 96%] Building CXX object heimdall-frontend/CMakeFiles/heimdall-frontend.dir/heimdall-frontend_automoc.cpp.o [100%] Linking CXX executable ../bin/heimdall-frontend [100%] Built target heimdall-frontend
test it
tingo@kg-bsbox:~/work/heimdall/Heimdall-v1.4.2/build$ bin/heimdall version v1.4.2
(also works for the git version)
2019-05-07: sdb5 - apt - install the missing packages for Heimdall source build
tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2$ sudo apt install cmake qt5-default libgl1-mesa-dev Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: cmake-data libdrm-dev libglu1-mesa-dev libpthread-stubs0-dev libqt5opengl5-dev libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5 libuv1 libx11-dev libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev qt5-qmake qtbase5-dev qtbase5-dev-tools x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev Suggested packages: codeblocks eclipse libxcb-doc libxext-doc default-libmysqlclient-dev firebird-dev libegl1-mesa-dev libpq-dev unixodbc-dev The following NEW packages will be installed: cmake cmake-data libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libpthread-stubs0-dev libqt5opengl5-dev libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5 libuv1 libx11-dev libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev qt5-default qt5-qmake qtbase5-dev qtbase5-dev-tools x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev 0 upgraded, 48 newly installed, 0 to remove and 8 not upgraded. Need to get 15.0 MB of archives. After this operation, 73.7 MB of additional disk space will be used. [..] Setting up qt5-default (5.7.1+dfsg-3+deb9u1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... ok 2019-05-07: sdb5 - check prerequisites for building Heimdall tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2$ sudo apt list build-essential Listing... Done build-essential/stable,now 12.3 amd64 [installed,automatic] tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2$ sudo apt list cmake Listing... Done cmake/stable 3.7.2-1 amd64 tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2$ sudo apt list zlib1g-dev Listing... Done zlib1g-dev/stable,now 1:1.2.8.dfsg-5 amd64 [installed,automatic] tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2$ sudo apt list qt5-default Listing... Done qt5-default/stable,stable 5.7.1+dfsg-3+deb9u1 amd64 tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2$ sudo apt list libusb-1.0-0-dev Listing... Done libusb-1.0-0-dev/stable,now 2:1.0.21-1 amd64 [installed] tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2$ sudo apt list libgl1-mesa-glx Listing... Done libgl1-mesa-glx/stable,now 13.0.6-1+b2 amd64 [installed,automatic] tingo@kg-bsbox:/zs/tingo/work/heimdall/Heimdall-v1.4.2$ sudo apt list libgl1-mesa-dev Listing... Done libgl1-mesa-dev/stable 13.0.6-1+b2 amd64
ok
2019-04-29: sdb5 - reboot, Debian 9.9 is in:
tingo@kg-bsbox:~$ cat /etc/debian_version 9.9
kernel
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64 GNU/Linux
ok
2019-04-29: sdb5 - apt - update, then apt-get dist-upgrade
tingo@kg-bsbox:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: icedtea-netx icedtea-netx-common Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: default-java-plugin icedtea-8-plugin The following NEW packages will be installed: firmware-linux-free irqbalance linux-image-4.9.0-9-amd64 The following packages will be upgraded: base-files ca-certificates-java chromium default-jre default-jre-headless dns-root-data firefox-esr firmware-iwlwifi fonts-opensymbol ghostscript icedtea-netx icedtea-netx-common imagemagick imagemagick-6-common imagemagick-6.q16 java-common libbasicusageenvironment1 libgroupsock8 libgs9 libgs9-common libimage-magick-perl libimage-magick-q16-perl libjs-jquery libldb1 liblivemedia57 libmagick++-6.q16-7 libmagickcore-6.q16-3 libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libmariadbclient18 libntfs-3g871 libopenjp2-7 libopenjp2-7:i386 libpam-systemd libpng-dev libpng-tools libpng16-16 libpng16-16:i386 libpq5 libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-help-en-us libreoffice-impress libreoffice-java-common libreoffice-librelogo libreoffice-math libreoffice-nlpsolver libreoffice-ogltrans libreoffice-pdfimport libreoffice-report-builder libreoffice-report-builder-bin libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql libreoffice-style-galaxy libreoffice-style-tango libreoffice-wiki-publisher libreoffice-writer libsmbclient libssh2-1 libssl1.0.2 libsystemd0 libsystemd0:i386 libudev1 libudev1:i386 libusageenvironment3 libwbclient0 lightning linux-image-4.9.0-8-amd64 linux-image-amd64 linux-libc-dev ntfs-3g openjdk-8-jre openjdk-8-jre-headless openssh-client openssh-server openssh-sftp-server python-pip python-pip-whl python3-uno rsync samba-libs systemd systemd-sysv thunderbird tzdata udev uno-libs3 unzip ure wget wpasupplicant 102 upgraded, 3 newly installed, 2 to remove and 0 not upgraded. Need to get 373 MB of archives. After this operation, 195 MB of additional disk space will be used. [..] update-initramfs: Generating /boot/initrd.img-4.9.0-9-amd64 Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for systemd (232-25+deb9u11) ... Processing triggers for libreoffice-common (1:5.2.7-1+deb9u7) ...
autoremove
tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: icedtea-netx icedtea-netx-common 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 1,668 kB disk space will be freed. [..] Removing icedtea-netx-common (1.6.2-3.1+deb9u1) ... Processing triggers for mime-support (3.60) ... Processing triggers for desktop-file-utils (0.23-1) ... Processing triggers for hicolor-icon-theme (0.15-1) ...
ok
2019-04-25: sdb5 - apt - install p7zip-rar
tingo@kg-bsbox:~$ sudo apt install p7zip-rar Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: p7zip-rar 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. Need to get 57.3 kB of archives. After this operation, 126 kB of additional disk space will be used. [..] Selecting previously unselected package p7zip-rar. (Reading database ... 148966 files and directories currently installed.) Preparing to unpack .../p7zip-rar_16.02-1_amd64.deb ... Unpacking p7zip-rar (16.02-1) ... Setting up p7zip-rar (16.02-1) ...
ok.
2019-04-24: sdb5 - apt - install gmtp - seems to be for music, but it works (as soon as I allow access from the phone)
2019-04-24: sdb5 - apt - install fastboot
tingo@kg-bsbox:~$ sudo apt install fastboot Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: android-libbacktrace android-libext4-utils android-libf2fs-utils android-libselinux android-libsparse android-libunwind android-libutils android-libziparchive libf2fs0 The following NEW packages will be installed: android-libbacktrace android-libext4-utils android-libf2fs-utils android-libselinux android-libsparse android-libunwind android-libutils android-libziparchive fastboot libf2fs0 0 upgraded, 10 newly installed, 0 to remove and 14 not upgraded. Need to get 300 kB of archives. After this operation, 919 kB of additional disk space will be used. [..] Setting up fastboot (1:7.0.0+r33-1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ...
ok
2019-04-24: sdb5 - apt - install adb
tingo@kg-bsbox:~$ sudo apt install adb Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: android-libadb android-libbase android-libcutils android-liblog android-sdk-platform-tools-common The following NEW packages will be installed: adb android-libadb android-libbase android-libcutils android-liblog android-sdk-platform-tools-common 0 upgraded, 6 newly installed, 0 to remove and 14 not upgraded. Need to get 228 kB of archives. After this operation, 671 kB of additional disk space will be used. [..] Selecting previously unselected package android-liblog. (Reading database ... 148837 files and directories currently installed.) Preparing to unpack .../0-android-liblog_1%3a7.0.0+r33-1_amd64.deb ... Unpacking android-liblog (1:7.0.0+r33-1) ... Selecting previously unselected package android-libbase. Preparing to unpack .../1-android-libbase_1%3a7.0.0+r33-1_amd64.deb ... Unpacking android-libbase (1:7.0.0+r33-1) ... Selecting previously unselected package android-libcutils. Preparing to unpack .../2-android-libcutils_1%3a7.0.0+r33-1_amd64.deb ... Unpacking android-libcutils (1:7.0.0+r33-1) ... Selecting previously unselected package android-libadb. Preparing to unpack .../3-android-libadb_1%3a7.0.0+r33-1_amd64.deb ... Unpacking android-libadb (1:7.0.0+r33-1) ... Selecting previously unselected package adb. Preparing to unpack .../4-adb_1%3a7.0.0+r33-1_amd64.deb ... Unpacking adb (1:7.0.0+r33-1) ... Selecting previously unselected package android-sdk-platform-tools-common. Preparing to unpack .../5-android-sdk-platform-tools-common_24.0.0+5_all.deb ... Unpacking android-sdk-platform-tools-common (24.0.0+5) ... Setting up android-liblog (1:7.0.0+r33-1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up android-sdk-platform-tools-common (24.0.0+5) ... Setting up android-libbase (1:7.0.0+r33-1) ... Setting up android-libcutils (1:7.0.0+r33-1) ... Setting up android-libadb (1:7.0.0+r33-1) ... Setting up adb (1:7.0.0+r33-1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ...
ok.
2019-04-23: sdb5 - apt - install liblz4-tool
tingo@kg-bsbox:~$ sudo apt install liblz4-tool Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: liblz4-tool 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. Need to get 52.3 kB of archives. After this operation, 225 kB of additional disk space will be used. Get:1 http://ftp.no.debian.org/debian stretch/main amd64 liblz4-tool amd64 0.0~r131-2+b1 [52.3 kB] Fetched 52.3 kB in 0s (306 kB/s) Selecting previously unselected package liblz4-tool. (Reading database ... 148825 files and directories currently installed.) Preparing to unpack .../liblz4-tool_0.0~r131-2+b1_amd64.deb ... Unpacking liblz4-tool (0.0~r131-2+b1) ... Setting up liblz4-tool (0.0~r131-2+b1) ... Processing triggers for man-db (2.7.6.1-2) ...
files
tingo@kg-bsbox:~$ dpkg-query -L liblz4-tool /. /usr /usr/bin /usr/bin/lz4 /usr/bin/lz4c /usr/share /usr/share/doc /usr/share/doc/liblz4-tool /usr/share/doc/liblz4-tool/changelog.Debian.amd64.gz /usr/share/doc/liblz4-tool/changelog.Debian.gz /usr/share/doc/liblz4-tool/copyright /usr/share/man /usr/share/man/man1 /usr/share/man/man1/lz4.1.gz /usr/share/man/man1/lz4c.1.gz /usr/share/man/man1/lz4cat.1.gz /usr/share/man/man1/unlz4.1.gz /usr/bin/lz4cat /usr/bin/unlz4
ok
2019-04-23: sdb5 - apt - install heimdall and frontend
tingo@kg-bsbox:~$ sudo apt install heimdall-flash heimdall-flash-frontend Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: heimdall-flash heimdall-flash-frontend 0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded. Need to get 117 kB of archives. After this operation, 387 kB of additional disk space will be used. [..] Selecting previously unselected package heimdall-flash. (Reading database ... 148813 files and directories currently installed.) Preparing to unpack .../heimdall-flash_1.4.1-2+b1_amd64.deb ... Unpacking heimdall-flash (1.4.1-2+b1) ... Selecting previously unselected package heimdall-flash-frontend. Preparing to unpack .../heimdall-flash-frontend_1.4.1-2+b1_amd64.deb ... Unpacking heimdall-flash-frontend (1.4.1-2+b1) ... Setting up heimdall-flash (1.4.1-2+b1) ... Setting up heimdall-flash-frontend (1.4.1-2+b1) ...
ok.
tingo@kg-bsbox:~$ dpkg-query -L heimdall-flash-frontend /. /usr /usr/bin /usr/bin/heimdall-frontend /usr/share /usr/share/doc /usr/share/doc/heimdall-flash-frontend /usr/share/doc/heimdall-flash-frontend/changelog.Debian.amd64.gz /usr/share/doc/heimdall-flash-frontend/changelog.Debian.gz /usr/share/doc/heimdall-flash-frontend/copyright
ok, so the frontend doesn't have a menu.
2019-03-27: sdb5 - update-grub
tingo@kg-bsbox:~$ sudo update-grub Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.9.0-8-amd64 Found initrd image: /boot/initrd.img-4.9.0-8-amd64 Found unknown Linux distribution on /dev/sdb8 Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done
ok
2019-03-27: sdb5 - apt - install efibootmgr
tingo@kg-bsbox:~$ sudo apt install efibootmgr Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libefiboot1 libefivar1 The following NEW packages will be installed: efibootmgr libefiboot1 libefivar1 0 upgraded, 3 newly installed, 0 to remove and 14 not upgraded. Need to get 97.1 kB of archives. After this operation, 298 kB of additional disk space will be used. [..] Setting up efibootmgr (14-2) ... Processing triggers for libc-bin (2.24-11+deb9u4) ...
ok
2019-03-27: sdb5 - in order to unmount /zs (to run a fsck on it for instance) I have to stop lightdm (sudo systemctl stop lightdm) and then kill the at-spi-bus-launcher process.
2019-03-27: sdb5 - for some reason /boot/efi wasn't configured to mount. Fixed by making /boot/efi drectory, finding blkid and then
make directory and set permissions
tingo@kg-bsbox:~$ sudo mkdir /boot/efi tingo@kg-bsbox:~$ sudo chmod go-rx /boot/efi
find blkid of EFI partition
tingo@kg-bsbox:~$ sudo blkid /dev/sdb1: UUID="AA51-48D9" TYPE="vfat" PARTUUID="91d5690b-10b7-42e6-9c9d-d339a04417e7" /dev/sdb2: SEC_TYPE="msdos" UUID="BD17-5EA8" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="f6e01cc7-8787-418c-a04c-1ad29d3a0389" /dev/sdb3: UUID="eadfa115-1897-4aa6-83c4-ba4d9e22d3cf" TYPE="ext4" PARTUUID="919d087d-a020-43c4-8dd7-0eea10750a66" /dev/sdb4: UUID="qExG6P-9c1q-Lqpw-JYGn-KXuG-g9ud-AuF0Hf" TYPE="LVM2_member" PARTUUID="a208cbc7-584a-43a1-b22d-09cfedae5082" /dev/sdb5: UUID="e1fcedd4-07d5-4eca-9e14-ca886f24de72" TYPE="ext4" PARTUUID="50ee3e1d-c8c9-4c9a-ba91-50ffb60371f3" /dev/sdb6: UUID="6fc0b850-1ddb-40cb-b072-6a8af9d4c46f" TYPE="swap" PARTUUID="77616b05-645b-4250-98bf-d353c78afbf7" /dev/sdb7: SEC_TYPE="msdos" LABEL="EFI" UUID="5B81-1818" TYPE="vfat" PARTUUID="6c720b32-06ca-11e8-b138-dcfe07e175a1" /dev/sdb8: UUID="5a722fc09299fc8c" TYPE="ufs" PARTUUID="6c72c07f-06ca-11e8-b138-dcfe07e175a1" /dev/sdb9: PARTUUID="6c74629d-06ca-11e8-b138-dcfe07e175a1" /dev/sda1: UUID="0093f240-c250-429b-a821-ba68c8e20b1b" TYPE="ext2" PARTUUID="906e0fd3-2549-482e-bd8a-cac744c8b240" /dev/mapper/fedora_kg--bsbox-swap: UUID="64337dca-c50c-4a06-9c46-b6828323d58d" TYPE="swap" /dev/mapper/fedora_kg--bsbox-root: UUID="6a9dc605-ffe2-4e66-84fc-3d5cecb33e46" TYPE="ext4"
and /etc/fstab looks like this:
tingo@kg-bsbox:~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sdb5 during installation UUID=e1fcedd4-07d5-4eca-9e14-ca886f24de72 / ext4 errors=remount-ro 0 1 /dev/mapper/fedora_kg--bsbox-swap none swap sw 0 0 # /boot/efi UUID=BD17-5EA8 /boot/efi vfat umask=0077 0 1 # swap was on /dev/sdb6 during installation UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f none swap sw 0 0 # storage drive /dev/sda1 /zs ext2 rw 0 0
mount /boot/efi
tingo@kg-bsbox:~$ sudo mount /boot/efi
ok.
2019-03-26: sdb5 - apt - install gparted
tingo@kg-bsbox:~$ sudo apt install gparted Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libparted-fs-resize0 Suggested packages: xfsprogs reiserfsprogs reiser4progs jfsutils yelp kpartx dmraid gpart libparted-dev The following NEW packages will be installed: gparted libparted-fs-resize0 0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded. Need to get 1,985 kB of archives. After this operation, 7,231 kB of additional disk space will be used. [..] Setting up gparted (0.25.0-1+b1) ... Processing triggers for hicolor-icon-theme (0.15-1) ...
ok.
2019-03-22: sdb5 - apt - install mtools
tingo@kg-bsbox:~$ sudo apt install mtools [..] Suggested packages: floppyd The following NEW packages will be installed: mtools 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. Need to get 181 kB of archives. After this operation, 370 kB of additional disk space will be used. [..] Setting up mtools (4.0.18-2+b1) ... Processing triggers for man-db (2.7.6.1-2) ...
ok.
2019-03-19: sdb5 - apt - install pelican
tingo@kg-bsbox:~$ sudo apt install pelican Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: docutils-common docutils-doc python-blinker python-docutils python-feedgenerator python-markdown python-pygments python-roman python-unidecode Suggested packages: pandoc pelican-doc python-blinker-doc texlive-lang-french texlive-latex-base texlive-latex-recommended python-markdown-doc The following NEW packages will be installed: docutils-common docutils-doc pelican python-blinker python-docutils python-feedgenerator python-markdown python-pygments python-roman python-unidecode 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 2,405 kB of archives. After this operation, 12.0 MB of additional disk space will be used. [..] Setting up pelican (3.7.1-1) ...
ok.
2019-03-08: sdb5 - apt - install dos2unix
tingo@kg-bsbox:~$ sudo apt install dos2unix Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: dos2unix 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 368 kB of archives. After this operation, 1,283 kB of additional disk space will be used. [..] Selecting previously unselected package dos2unix. (Reading database ... 147383 files and directories currently installed.) Preparing to unpack .../dos2unix_7.3.4-3_amd64.deb ... Unpacking dos2unix (7.3.4-3) ... Setting up dos2unix (7.3.4-3) ... Processing triggers for man-db (2.7.6.1-2) ...
ok.
2019-03-05: sdb5 - apt - install gcc-avr,
tingo@kg-bsbox:~$ sudo apt install gcc-avr Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: binutils-avr Suggested packages: task-c-devel gcc-doc avr-libc The following NEW packages will be installed: binutils-avr gcc-avr 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 13.7 MB of archives. After this operation, 74.4 MB of additional disk space will be used. [..] Setting up binutils-avr (2.26.20160125+Atmel3.5.3-1) ... Setting up gcc-avr (1:4.9.2+Atmel3.5.3-1) ...
install avr-libc
tingo@kg-bsbox:~$ sudo apt install avr-libc Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: avr-libc 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 4,368 kB of archives. After this operation, 37.3 MB of additional disk space will be used. [..] Setting up avr-libc (1:1.8.0+Atmel3.5.0-1) ... Processing triggers for man-db (2.7.6.1-2) ...
ok
2019-03-05: sdb5 - apt - install python3-serial
tingo@kg-bsbox:~$ sudo apt install python3-serial Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: python3-wxgtk3.0 | python3-wxgtk The following NEW packages will be installed: python3-serial 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 65.3 kB of archives. After this operation, 327 kB of additional disk space will be used. [..] Setting up python3-serial (3.2.1-1) ...
ok
2019-03-05: sdb5 - apt - autoremove
tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libieee1284-3:i386 libsane:i386 libsane-extras:i386 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. After this operation, 10.8 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 144396 files and directories currently installed.) Removing libsane:i386 (1.0.25-4.1) ... Removing libieee1284-3:i386 (0.2.11-13) ... Removing libsane-extras:i386 (1.0.22.4) ... Processing triggers for libc-bin (2.24-11+deb9u4) ...
ok
2019-03-05: sdb5 - apt - install avrdude
tingo@kg-bsbox:~$ sudo apt install avrdude Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libieee1284-3:i386 libsane:i386 libsane-extras:i386 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libftdi1 Suggested packages: avrdude-doc The following NEW packages will be installed: avrdude libftdi1 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 322 kB of archives. After this operation, 1,125 kB of additional disk space will be used. [..] Setting up avrdude (6.3-2) ...
install cutecom
tingo@kg-bsbox:~$ sudo apt install cutecom Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libieee1284-3:i386 libsane:i386 libsane-extras:i386 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libqt5serialport5 Suggested packages: lrzsz The following NEW packages will be installed: cutecom libqt5serialport5 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 137 kB of archives. After this operation, 490 kB of additional disk space will be used. [..] Setting up cutecom (0.30.3-1+b1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ...
ok
2019-03-04: sdb5 - recreate rules for DirtyJTAG:
tingo@kg-bsbox:~$ cat /etc/udev/rules.d/99-dirtyjtag.rules # DirtyJTAG - rules to let users in 'dialout' group access the device SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="c0ca", GROUP="dialout"
create a rule for FluxEngine
tingo@kg-bsbox:~$ cat /etc/udev/rules.d/98-fluxengine.rules # FluxEngine - rules to let users in 'dialout' group access the device SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="6e00", GROUP="dialout"
use udevadm to reload rules
tingo@kg-bsbox:~$ sudo udevadm control --reload
ok
2019-03-04: sdb5 - apt - install ninja-build, meson, libsqlite3-dev to support FluxEngine client
tingo@kg-bsbox:~$ sudo apt install ninja-build meson libsqlite3-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libieee1284-3:i386 libsane:i386 libsane-extras:i386 Use 'sudo apt autoremove' to remove them. Suggested packages: sqlite3-doc The following NEW packages will be installed: libsqlite3-dev meson ninja-build 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 945 kB of archives. After this operation, 3,327 kB of additional disk space will be used. [...] Selecting previously unselected package libsqlite3-dev:amd64. (Reading database ... 144113 files and directories currently installed.) Preparing to unpack .../libsqlite3-dev_3.16.2-5+deb9u1_amd64.deb ... Unpacking libsqlite3-dev:amd64 (3.16.2-5+deb9u1) ... Selecting previously unselected package ninja-build. Preparing to unpack .../ninja-build_1.7.2-1_amd64.deb ... Unpacking ninja-build (1.7.2-1) ... Selecting previously unselected package meson. Preparing to unpack .../meson_0.37.1-1_all.deb ... Unpacking meson (0.37.1-1) ... Setting up libsqlite3-dev:amd64 (3.16.2-5+deb9u1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up ninja-build (1.7.2-1) ... Setting up meson (0.37.1-1) ...
ok. libusb-dev is also needed
tingo@kg-bsbox:~$ sudo apt install libusb-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libieee1284-3:i386 libsane:i386 libsane-extras:i386 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libusb-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 37.0 kB of archives. After this operation, 232 kB of additional disk space will be used. [..] Selecting previously unselected package libusb-dev. (Reading database ... 144208 files and directories currently installed.) Preparing to unpack .../libusb-dev_2%3a0.1.12-30_amd64.deb ... Unpacking libusb-dev (2:0.1.12-30) ... Setting up libusb-dev (2:0.1.12-30) ... Processing triggers for man-db (2.7.6.1-2) ...
or perhaps libusb-1.0-0-dev
tingo@kg-bsbox:~$ sudo apt install libusb-1.0-0-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libieee1284-3:i386 libsane:i386 libsane-extras:i386 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libusb-1.0-doc The following NEW packages will be installed: libusb-1.0-0-dev libusb-1.0-doc 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 253 kB of archives. After this operation, 1,782 kB of additional disk space will be used. [..] Selecting previously unselected package libusb-1.0-0-dev:amd64. (Reading database ... 144266 files and directories currently installed.) Preparing to unpack .../libusb-1.0-0-dev_2%3a1.0.21-1_amd64.deb ... Unpacking libusb-1.0-0-dev:amd64 (2:1.0.21-1) ... Selecting previously unselected package libusb-1.0-doc. Preparing to unpack .../libusb-1.0-doc_2%3a1.0.21-1_all.deb ... Unpacking libusb-1.0-doc (2:1.0.21-1) ... Setting up libusb-1.0-doc (2:1.0.21-1) ... Setting up libusb-1.0-0-dev:amd64 (2:1.0.21-1) ...
ok
2019-02-21: sdb5 - after a reboot, Debian 9.8 + a new kernel is in:
tingo@kg-bsbox:~$ cat /etc/debian_version 9.8 tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3 (2019-02-02) x86_64 GNU/Linux
ok
2019-02-21: sdb5 - apt - update + upgrade:
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libieee1284-3:i386 libsane:i386 libsane-extras:i386 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libegl1-mesa:i386 libgbm1:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libxcb-xfixes0:i386 libxkbcommon0:i386 libxss1:i386 The following packages will be upgraded: ansible apt apt-utils base-files ca-certificates-java chromium cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ppdc cups-server-common curl firefox-esr fonts-opensymbol fonts-wine ghostscript gnupg gnupg-agent gpgv libapt-inst2.0 libapt-pkg5.0 libc-bin libc-dev-bin libc-l10n libc6 libc6:i386 libc6-dev libcups2 libcups2:i386 libcupscgi1 libcupsimage2 libcupsmime1 libcupsppdc1 libcurl3 libcurl3-gnutls libgd3 libgd3:i386 libgpod-common libgpod4 libgs9 libgs9-common libpam-systemd libpq5 libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5widgets5 libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-help-en-us libreoffice-impress libreoffice-java-common libreoffice-librelogo libreoffice-math libreoffice-nlpsolver libreoffice-ogltrans libreoffice-pdfimport libreoffice-report-builder libreoffice-report-builder-bin libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql libreoffice-style-galaxy libreoffice-style-tango libreoffice-wiki-publisher libreoffice-writer libsmbclient libssh-gcrypt-4 libsystemd0 libsystemd0:i386 libudev1 libudev1:i386 libvlc-bin libvlc5 libvlccore9 libwayland-client0 libwayland-cursor0 libwayland-server0 libwbclient0 libwine libwine:i386 libxapian30 lightning linux-image-4.9.0-8-amd64 linux-libc-dev locales multiarch-support openssh-client openssh-server openssh-sftp-server python3-uno qt5-gtk-platformtheme rtkit samba-libs systemd systemd-sysv thunderbird udev uno-libs3 ure vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization wine wine32:i386 wine64 132 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 383 MB of archives. After this operation, 94.3 MB of additional disk space will be used. [..] update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64 Processing triggers for libvlc-bin:amd64 (3.0.6-0+deb9u1) ... Processing triggers for wine (4.0-1~bpo9+2) ... Processing triggers for libreoffice-common (1:5.2.7-1+deb9u5) ...
ok.
2019-01-30: sdb5 - apt - install thunderbird
tingo@kg-bsbox:~$ sudo apt install thunderbird Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: lightning psmisc Suggested packages: calendar-google-provider apparmor The following NEW packages will be installed: lightning psmisc thunderbird 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 37.7 MB of archives. After this operation, 155 MB of additional disk space will be used. [..] Processing triggers for hicolor-icon-theme (0.15-1) ... Setting up lightning (1:60.4.0-1~deb9u1) ...
ok
2019-01-30: sdb5 - apt - install gscan2pdf
tingo@kg-bsbox:~$ sudo apt install gscan2pdf Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: curl djvulibre-bin libbit-vector-perl libcarp-clan-perl libconfig-general-perl libdate-calc-perl libdate-calc-xs-perl libdevel-globaldestruction-perl libdist-checkconflicts-perl libemail-date-format-perl libexiv2-14 libexporter-tiny-perl libextutils-depends-perl libextutils-pkgconfig-perl libfilesys-df-perl libfont-ttf-perl libgoo-canvas-perl libgoocanvas-common libgoocanvas3 libgraphicsmagick++-q16-12 libgraphicsmagick-q16-3 libgtk2-ex-podviewer-perl libgtk2-ex-simple-list-perl libgtk2-imageview-perl libgtkimageview0 libio-string-perl libio-stringy-perl libipc-shareable-perl liblept5 liblist-moreutils-perl liblog-dispatch-perl liblog-log4perl-perl libmail-sendmail-perl libmime-lite-perl libmime-types-perl libmodule-implementation-perl libmodule-runtime-perl libossp-uuid-perl libossp-uuid16 libparams-classify-perl libparams-validate-perl libpdf-api2-perl libproc-processtable-perl libreadonly-perl libsane-perl libset-intspan-perl libsub-exporter-progressive-perl libsys-hostname-long-perl libtesseract-data libtesseract3 libtiff-tools libtry-tiny-perl pdf2djvu sane tesseract-ocr tesseract-ocr-eng tesseract-ocr-equ tesseract-ocr-osd unpaper [..] 0 upgraded, 60 newly installed, 0 to remove and 0 not upgraded. Need to get 22.2 MB of archives. After this operation, 97.4 MB of additional disk space will be used. [..] Processing triggers for libc-bin (2.24-11+deb9u3) ...
ok.
2019-01-28: sdb5 - apt - install avahi-utils
tingo@kg-bsbox:~$ sudo apt install avahi-utils Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: avahi-utils 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 54.9 kB of archives. After this operation, 142 kB of additional disk space will be used. Get:1 http://ftp.no.debian.org/debian stretch/main amd64 avahi-utils amd64 0.6.32-2 [54.9 kB] Fetched 54.9 kB in 0s (284 kB/s) Selecting previously unselected package avahi-utils. (Reading database ... 141304 files and directories currently installed.) Preparing to unpack .../avahi-utils_0.6.32-2_amd64.deb ... Unpacking avahi-utils (0.6.32-2) ... Setting up avahi-utils (0.6.32-2) ... Processing triggers for man-db (2.7.6.1-2) ...
ok.
2019-01-16: sdb5 - wine - install VCarvePro
tingo@kg-bsbox:~$ wine ~/dl/win/VCarveProTrialEditionV9512_Setup.exe 0035:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 0037:err:mscoree:LoadLibraryShim error reading registry key for installroot 0037:err:mscoree:LoadLibraryShim error reading registry key for installroot 0037:err:mscoree:LoadLibraryShim error reading registry key for installroot 0037:err:mscoree:LoadLibraryShim error reading registry key for installroot 006f:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 0071:err:mscoree:LoadLibraryShim error reading registry key for installroot 0071:err:mscoree:LoadLibraryShim error reading registry key for installroot 0071:err:mscoree:LoadLibraryShim error reading registry key for installroot 0071:err:mscoree:LoadLibraryShim error reading registry key for installroot
installed ok. And it works too. Nice.
2019-01-16: sdb5 - wine - set up for VCarvePro:
check default WINEPREFIX
tingo@kg-bsbox:~$ winetricks list-installed ------------------------------------------------------ You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. ------------------------------------------------------ Using winetricks 20170101 - sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-3.0.3 (Debian 3.0.3-2~bpo9+1) and WINEARCH=win64
nothing installed, install
tingo@kg-bsbox:~$ winetricks corefonts tahoma liberation fontfix [..] ------------------------------------------------------ Downloading https://web.archive.org/web/http://download.microsoft.com/download/office97pro/fonts/1/w95/en-us/tahoma32.exe failed ------------------------------------------------------
Tahoma font failed, but I'll just ignore it.
tingo@kg-bsbox:~$ winetricks list-installed ------------------------------------------------------ You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. ------------------------------------------------------ Using winetricks 20170101 - sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-3.0.3 (Debian 3.0.3-2~bpo9+1) and WINEARCH=win64 corefonts
at least corefonts got installed
2019-01-10: sdb5 - and FlatCAM can be launched like this
tingo@kg-bsbox:~$ python ~/progs/FlatCAM-8.5/FlatCAM.py
good
2019-01-10: sdb5 - install Python prereqs for FlatCAM:
tingo@kg-bsbox:~$ sudo easy_install -U distribute Searching for distribute Reading https://pypi.python.org/simple/distribute/ Downloading https://files.pythonhosted.org/packages/5f/ad/1fde06877a8d7d5c9b60eff7de2d452f639916ae1d48f0b8f97bf97e570a/distribute-0.7.3.zip#sha256=3dc7a8d059dcf72f0ead2fa2144a24ee0ef07dce816e8c3545d7345767138c5e Best match: distribute 0.7.3 Processing distribute-0.7.3.zip Writing /tmp/easy_install-St25yi/distribute-0.7.3/setup.cfg Running distribute-0.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-St25yi/distribute-0.7.3/egg-dist-tmp-UGbkWz warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no Python modules to install Moving distribute-0.7.3-py2.7.egg to /usr/local/lib/python2.7/dist-packages Adding distribute 0.7.3 to easy-install.pth file Installed /usr/local/lib/python2.7/dist-packages/distribute-0.7.3-py2.7.egg Processing dependencies for distribute Finished processing dependencies for distribute
upgrade matplotlib and Shapely
tingo@kg-bsbox:~$ sudo pip install --upgrade matplotlib [..] Successfully installed backports.functools-lru-cache-1.5 kiwisolver-1.0.1 matplotlib-2.2.3 numpy-1.15.4 pyparsing-2.3.0 python-dateutil-2.7.5 pytz-2018.9 setuptools-40.6.3 six-1.12.0 subprocess32-3.5.3 tingo@kg-bsbox:~$ sudo pip install --upgrade Shapely [..] Successfully installed Shapely-1.6.4.post2
install rtree, svg.rpath
tingo@kg-bsbox:~$ sudo pip install rtree Collecting rtree Downloading https://files.pythonhosted.org/packages/c9/d6/0d019787b724b15532be415e0c9782f7a869ebd5586f09535a67b2f12b9b/Rtree-0.8.3-py2-none-any.whl Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from rtree) Installing collected packages: rtree Successfully installed rtree-0.8.3 tingo@kg-bsbox:~$ sudo pip install svg.path Collecting svg.path Downloading https://files.pythonhosted.org/packages/50/2f/618c5b6804e6dda90f024f0bc2d14ffc3db00221a818ee35da478427015d/svg.path-3.0-py2.py3-none-any.whl Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from svg.path) Installing collected packages: svg.path Successfully installed svg.path-3.0
ok.
2019-01-10: sdb5 - apt - install prereqs for FlatCAM: libfreetype6, python-numpy, python-simplejson are already newest versions.
tingo@kg-bsbox:~$ sudo apt install libpng-dev libfreetype6-dev python-dev python-qt4 python-scipy python-matplotlib libgeos-dev python-shapely Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: blt fonts-lyx g++ g++-6 gcc gcc-6 libasan3 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libexpat1-dev libgcc-6-dev libgeos-3.5.1 libgeos-c1v5 libglade2-0 libitm1 libjs-jquery-ui liblsan0 libmariadbclient18 libmpx2 libpng-tools libpython-dev libpython2.7-dev libqt4-dbus libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtdbus4 libqtgui4 libstdc++-6-dev libtsan0 libubsan0 linux-libc-dev manpages-dev mysql-common python-cycler python-functools32 python-glade2 python-imaging python-matplotlib-data python-pil python-pyparsing python-sip python-subprocess32 python-tk python-tz python2.7-dev qdbus qt-at-spi qtchooser qtcore4-l10n tk8.6-blt2.5 ttf-bitstream-vera zlib1g-dev [..] 0 upgraded, 74 newly installed, 0 to remove and 0 not upgraded. Need to get 96.6 MB of archives. After this operation, 300 MB of additional disk space will be used. [..] Setting up python-qt4 (4.11.4+dfsg-2+b1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ...
install python-pip
tingo@kg-bsbox:~$ sudo apt install python-pip [..] The following additional packages will be installed: build-essential dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot libpython-all-dev make python-all python-all-dev python-keyring python-keyrings.alt python-pip-whl python-secretstorage python-wheel python-xdg [..] Setting up python-all-dev (2.7.13-2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ...
install libspatialindex-dev
tingo@kg-bsbox:~$ sudo apt install libspatialindex-dev [..] The following additional packages will be installed: libdpkg-perl libfile-fcntllock-perl libspatialindex-c4v5 libspatialindex4v5 pkg-config [..] Setting up libspatialindex-dev:amd64 (1.8.5-4) ...
I also need python-setuptools to get easy_install
tingo@kg-bsbox:~$ sudo apt install python-setuptools [..] Setting up python-setuptools (33.1.1-1) ...
good.
2019-01-10: sdb5 - apt - install OpenSCAD
tingo@kg-bsbox:~$ sudo apt install openscad openscad-mcad [..] The following NEW packages will be installed: libboost-program-options1.62.0 libboost-regex1.62.0 libboost-thread1.62.0 libcgal12 libopencsg1 libqt5concurrent5 libqt5opengl5 libqt5printsupport5 libqt5scintilla2-12v5 libqt5scintilla2-l10n openscad openscad-mcad 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Need to get 4,418 kB of archives. After this operation, 16.1 MB of additional disk space will be used. [..] Setting up openscad (2015.03-2+dfsg-2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ...
ok.
2019-01-09: sdb5 - I rebooted the machine, because of problems with Thunar (file manager / Thunar windows did hang). We shall see if it is better now.
2019-01-09: sdb5 - apt - install inkscape
tingo@kg-bsbox:~$ sudo apt install inkscape Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: fig2dev gawk libgc1c2 libgsl2 libgtkmm-2.4-1v5 libgtkspell0 libimage-magick-perl libimage-magick-q16-perl libmagick++-6.q16-7 libpotrace0 libsigsegv2 libwmf-bin python-bs4 python-html5lib python-lxml python-scour python-webencodings transfig Suggested packages: xfig gawk-doc dia | dia-gnome libsvg-perl libxml-xql-perl pstoedit python-uniconvertor ruby gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html imagemagick-doc python-genshi python-lxml-dbg python-lxml-doc python-rsvg The following NEW packages will be installed: fig2dev gawk inkscape libgc1c2 libgsl2 libgtkmm-2.4-1v5 libgtkspell0 libimage-magick-perl libimage-magick-q16-perl libmagick++-6.q16-7 libpotrace0 libsigsegv2 libwmf-bin python-bs4 python-html5lib python-lxml python-scour python-webencodings transfig 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. Need to get 22.2 MB of archives. After this operation, 151 MB of additional disk space will be used. [..] Processing triggers for libc-bin (2.24-11+deb9u3) ...
ok.
2019-01-07: sdb5 - apt - install sshfs
tingo@kg-bsbox:~$ sudo apt install sshfs Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: sshfs 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 43.1 kB of archives. After this operation, 116 kB of additional disk space will be used. Get:1 http://ftp.no.debian.org/debian stretch/main amd64 sshfs amd64 2.8-1 [43.1 kB] Fetched 43.1 kB in 0s (55.8 kB/s) Selecting previously unselected package sshfs. (Reading database ... 130634 files and directories currently installed.) Preparing to unpack .../archives/sshfs_2.8-1_amd64.deb ... Unpacking sshfs (2.8-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up sshfs (2.8-1) ...
ok.
2019-01-04: sdb5 - apt - install winetricks
tingo@kg-bsbox:~$ sudo apt install winetricks Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: binutils cabextract libmspack0 zenity zenity-common zip Suggested packages: binutils-doc aria2 tor The following NEW packages will be installed: binutils cabextract libmspack0 winetricks zenity zenity-common zip 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 5,305 kB of archives. After this operation, 29.7 MB of additional disk space will be used. [..] Setting up winetricks (0.0+20170101-1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ...
ok
2019-01-04: sdb5 - rebooted the machine to verify that Debian still works - it does (puh!)
2019-01-04: sdb5 - apt - install wine (based on the Wine page on Debian wiki again), this time read more carefully
tingo@kg-bsbox:~$ sudo apt install wine/stretch-backports wine32/stretch-backports wine64/stretch-backports libwine/stretch-backports libwine:i386/stretch-backports fonts-wine/stretch-backports Reading package lists... Done Building dependency tree Reading state information... Done Selected version '3.0.3-2~bpo9+1' (Debian Backports:stretch-backports [all]) for 'wine' Selected version '3.0.3-2~bpo9+1' (Debian Backports:stretch-backports [i386]) for 'wine32:i386' Selected version '3.0.3-2~bpo9+1' (Debian Backports:stretch-backports [amd64]) for 'wine64' Selected version '3.0.3-2~bpo9+1' (Debian Backports:stretch-backports [amd64]) for 'libwine' Selected version '3.0.3-2~bpo9+1' (Debian Backports:stretch-backports [i386]) for 'libwine:i386' Selected version '3.0.3-2~bpo9+1' (Debian Backports:stretch-backports [all]) for 'fonts-wine' The following additional packages will be installed: gcc-6-base:i386 gstreamer1.0-plugins-base:i386 i965-va-driver:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libavcodec57:i386 libavresample3:i386 libavutil55:i386 libblkid1:i386 libbsd0:i386 libc6:i386 libcairo2:i386 libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcomerr2:i386 libcrystalhd3:i386 libcups2:i386 libdb5.3:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexif12:i386 libexpat1:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libgcrypt20:i386 libgd3:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libgmp10:i386 libgnutls30:i386 libgomp1:i386 libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libhogweed4:i386 libice6:i386 libicu57:i386 libidn11:i386 libieee1284-3:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg62-turbo:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm3.9:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmount1:i386 libmp3lame0:i386 libmpg123-0:i386 libncurses5:i386 libnettle6:i386 libnuma1:i386 libodbc1 libodbc1:i386 libogg0:i386 libopenal-data libopenal1 libopenal1:i386 libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpcap0.8:i386 libpciaccess0:i386 libpcre3:i386 libpixman-1-0:i386 libpng16-16:i386 libpulse0:i386 libsamplerate0:i386 libsane:i386 libsane-extras:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libselinux1:i386 libsensors4:i386 libshine3:i386 libsm6:i386 libsnappy1v5:i386 libsndfile1:i386 libsndio6.1:i386 libsoxr0:i386 libspeex1:i386 libspeexdsp1:i386 libssl1.1:i386 libstdc++6:i386 libswresample2:i386 libsystemd0:i386 libtasn1-6:i386 libtheora0:i386 libtiff5:i386 libtinfo5:i386 libtwolame0:i386 libtxc-dxtn-s2tc:i386 libudev1:i386 libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libva-drm1:i386 libva-x11-1:i386 libva1:i386 libvdpau-va-gl1:i386 libvdpau1:i386 libvisual-0.4-0:i386 libvorbis0a:i386 libvorbisenc2:i386 libvpx4:i386 libwavpack1:i386 libwebp6:i386 libwebpmux2:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libx264-148:i386 libx265-95:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxtst6:i386 libxvidcore4:i386 libxxf86vm1:i386 libzvbi0:i386 mesa-va-drivers:i386 mesa-vdpau-drivers:i386 ocl-icd-libopencl1 ocl-icd-libopencl1:i386 uuid-runtime va-driver-all:i386 vdpau-driver-all:i386 zlib1g:i386 Suggested packages: gvfs:i386 glibc-doc:i386 locales:i386 firmware-crystalhd:i386 rng-tools:i386 libgd-tools:i386 gnutls-bin:i386 gphoto2:i386 gpm:i386 krb5-doc:i386 krb5-user:i386 libvisual-0.4-plugins:i386 gstreamer1.0-tools:i386 jackd2:i386 libmyodbc odbc-postgresql tdsodbc unixodbc-bin libmyodbc:i386 odbc-postgresql:i386 tdsodbc:i386 unixodbc-bin:i386 libportaudio2 libportaudio2:i386 opus-tools:i386 hplip:i386 libsasl2-modules-gssapi-mit:i386 | libsasl2-modules-gssapi-heimdal:i386 libsasl2-modules-ldap:i386 libsasl2-modules-otp:i386 libsasl2-modules-sql:i386 lm-sensors:i386 sndiod:i386 speex:i386 ttf-mscorefonts-installer ttf-mscorefonts-installer:i386 opencl-icd opencl-icd:i386 libfglrx-amdxvba1:i386 nvidia-vdpau-driver:i386 nvidia-legacy-340xx-vdpau-driver:i386 nvidia-legacy-304xx-vdpau-driver:i386 q4wine winbind winetricks playonlinux wine-binfmt dosbox libwine-gecko-2.47:i386 wine32-preloader:i386 libwine-gecko-2.47 wine64-preloader The following NEW packages will be installed: fonts-wine gcc-6-base:i386 gstreamer1.0-plugins-base:i386 i965-va-driver:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libavcodec57:i386 libavresample3:i386 libavutil55:i386 libblkid1:i386 libbsd0:i386 libc6:i386 libcairo2:i386 libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcomerr2:i386 libcrystalhd3:i386 libcups2:i386 libdb5.3:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexif12:i386 libexpat1:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libgcrypt20:i386 libgd3:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libgmp10:i386 libgnutls30:i386 libgomp1:i386 libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libhogweed4:i386 libice6:i386 libicu57:i386 libidn11:i386 libieee1284-3:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg62-turbo:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm3.9:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmount1:i386 libmp3lame0:i386 libmpg123-0:i386 libncurses5:i386 libnettle6:i386 libnuma1:i386 libodbc1 libodbc1:i386 libogg0:i386 libopenal-data libopenal1 libopenal1:i386 libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpcap0.8:i386 libpciaccess0:i386 libpcre3:i386 libpixman-1-0:i386 libpng16-16:i386 libpulse0:i386 libsamplerate0:i386 libsane:i386 libsane-extras:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libselinux1:i386 libsensors4:i386 libshine3:i386 libsm6:i386 libsnappy1v5:i386 libsndfile1:i386 libsndio6.1:i386 libsoxr0:i386 libspeex1:i386 libspeexdsp1:i386 libssl1.1:i386 libstdc++6:i386 libswresample2:i386 libsystemd0:i386 libtasn1-6:i386 libtheora0:i386 libtiff5:i386 libtinfo5:i386 libtwolame0:i386 libtxc-dxtn-s2tc:i386 libudev1:i386 libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libva-drm1:i386 libva-x11-1:i386 libva1:i386 libvdpau-va-gl1:i386 libvdpau1:i386 libvisual-0.4-0:i386 libvorbis0a:i386 libvorbisenc2:i386 libvpx4:i386 libwavpack1:i386 libwebp6:i386 libwebpmux2:i386 libwine libwine:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libx264-148:i386 libx265-95:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxtst6:i386 libxvidcore4:i386 libxxf86vm1:i386 libzvbi0:i386 mesa-va-drivers:i386 mesa-vdpau-drivers:i386 ocl-icd-libopencl1 ocl-icd-libopencl1:i386 uuid-runtime va-driver-all:i386 vdpau-driver-all:i386 wine wine32:i386 wine64 zlib1g:i386 0 upgraded, 188 newly installed, 0 to remove and 0 not upgraded. Need to get 119 MB of archives. After this operation, 762 MB of additional disk space will be used. Do you want to continue? [Y/n] y [..] Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for wine (3.0.3-2~bpo9+1) ...
ok
2019-01-04: sdb5 - apt - enable multiarch
tingo@kg-bsbox:~$ dpkg --print-architecture amd64 tingo@kg-bsbox:~$ sudo dpkg --add-architecture i386 tingo@kg-bsbox:~$ dpkg --print-architecture amd64
hmm.... tingo@kg-bsbox:~$ dpkg --print-foreign-architectures i386
yes, that was it. 2019-01-03: sdb5 - reinstalled Debian 9.6 - because I managed to screw up the installation so that lightdm wouldn't start (well, it started but it always failed). Crap. 2019-01-03: sdb5 - apt - install wine from stretch-backports (from Wine page on Debian wiki)
tingo@kg-bsbox:~$ sudo apt -t stretch-backports install wine wine32 wine64 libwine libwine:i386 fonts-wine [..] 19 upgraded, 201 newly installed, 0 to remove and 222 not upgraded. Need to get 158 MB of archives. After this operation, 945 MB of additional disk space will be used. [..] Processing triggers for initramfs-tools (0.130) ... update-initramfs: Generating /boot/initrd.img-4.18.0-0.bpo.1-amd64 Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for wine (3.0.3-2~bpo9+1) ...
ok 2019-01-03: sdb5 - apt - enable multiarch which arch do we have?
tingo@kg-bsbox:~$ dpkg --print-architecture amd64
ok, add i386
tingo@kg-bsbox:~$ sudo dpkg --add-architecture i386 && sudo apt update [..] 5 packages can be upgraded. Run 'apt list --upgradable' to see them. ``` ok.