HP EliteBook Folio 9470m - Debian

Hardware info on main page.

Debian, currently 11.0 (was: 10.9, 10.6, 9.6, 8.8, 8.7)

sda - internal hard drive
sda1 ext2 fs 1 TB
sdb
sdb1 200M esp - EFI System partition
sdb2  60G Fre
2019-07-08eBSD ufs
sdb3    4G FreeBSD swap
sdb4  50G Debian
sdb5   1G /boot (Fedora)
sdb6 50G Fedora

Links

Debian - SystemDowngrade, Dropbox - command line,

Archives: 2017, 2018, 2019,

History

2023-03-12: sdb4 - reboot, a new kernel is in

tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux

2013-03-12: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.10.0-21-amd64 linux-headers-5.10.0-21-common linux-image-5.10.0-21-amd64
The following packages will be upgraded:
  bind9-host bind9-libs chromium chromium-common chromium-sandbox curl firefox-esr gir1.2-javascriptcoregtk-4.0
  gir1.2-webkit2-4.0 git git-man imagemagick imagemagick-6-common imagemagick-6.q16 libcurl3-gnutls libcurl3-gnutls:i386
  libcurl4 libcurl4:i386 libde265-0 libgnutls30 libgnutls30:i386 libjavascriptcoregtk-4.0-18 libmagickcore-6.q16-6
  libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libnss3 libnss3:i386 libssl1.1 libssl1.1:i386 libtiff5 libtiff5:i386
  libwebkit2gtk-4.0-37 linux-compiler-gcc-10-x86 linux-headers-amd64 linux-image-amd64 linux-kbuild-5.10 linux-libc-dev
  openjdk-11-jre openjdk-11-jre-headless openssl sudo xserver-common xserver-xorg-core xserver-xorg-legacy
44 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 294 MB of archives.
After this operation, 380 MB of additional disk space will be used.
[..]
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.69) ...

2023-03-12: sdb4 - apt - install sshpass

tingo@kg-elitebook:~$ sudo apt install sshpass
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  sshpass
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 13.0 kB of archives.
After this operation, 38.9 kB of additional disk space will be used.
[..]
Selecting previously unselected package sshpass.
(Reading database ... 260629 files and directories currently installed.)
Preparing to unpack .../sshpass_1.09-1+b1_amd64.deb ...
Unpacking sshpass (1.09-1+b1) ...
Setting up sshpass (1.09-1+b1) ...
Processing triggers for man-db (2.9.4-2) ...

2023-02-23: sdb4 - apt - install mosquitto clients

tingo@kg-elitebook:~$ sudo apt install mosquitto-clients
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libcjson1 libmosquitto1
The following NEW packages will be installed:
  libcjson1 libmosquitto1 mosquitto-clients
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 229 kB of archives.
After this operation, 546 kB of additional disk space will be used.
[..]
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...

2022-12-22: sdb4 - apt - install rpi-imager from .deb file

tingo@kg-elitebook:/zs/tingo/work/bitraf/2022/20221222_bitraf_octopi_upgrade$ sudo apt install ./imager_1.7.3_amd64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'rpi-imager' instead of './imager_1.7.3_amd64.deb'
The following additional packages will be installed:
  libqt5qmlworkerscript5 libqt5quickcontrols2-5 libqt5quicktemplates2-5 qml-module-qtgraphicaleffects
  qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2
  qml-module-qtquick2
The following NEW packages will be installed:
  libqt5qmlworkerscript5 libqt5quickcontrols2-5 libqt5quicktemplates2-5 qml-module-qtgraphicaleffects
  qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2
  qml-module-qtquick2 rpi-imager
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,677 kB/2,046 kB of archives.
After this operation, 11.1 MB of additional disk space will be used.
[..]
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Processing triggers for mailcap (3.69) ...

2022-12-22: sdb4 - reboot, Debian 11.6 is in

tingo@kg-elitebook:~$ cat /etc/debian_version 
11.6

kernel

tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux

2022-12-22: sdb4 - efibootmgr - fix bootorder

tingo@kg-elitebook:~$ sudo efibootmgr -o 1,0,2
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,0000,0002
Boot0000* debian
Boot0001* rEFInd Boot Manager
Boot0002* Fedora
Boot0003* rEFInd Boot Manager
Boot0004* Fedora

2022-12-22: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.10.0-20-amd64 linux-headers-5.10.0-20-common linux-image-5.10.0-20-amd64
The following packages will be upgraded:
  base-files chromium chromium-common chromium-sandbox dbus dbus-user-session dbus-x11 distro-info-data firefox-esr
  fonts-opensymbol gdal-data gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 grub-common grub-efi-amd64 grub-efi-amd64-bin
  grub-efi-amd64-signed grub2-common isc-dhcp-client isc-dhcp-common krb5-locales libavcodec58 libavcodec58:i386
  libavfilter7 libavformat58 libavresample4 libavresample4:i386 libavutil56 libavutil56:i386 libbluray2 libc-bin
  libc-dev-bin libc-devtools libc-l10n libc6 libc6:i386 libc6-dev libdbus-1-3 libdbus-1-3:i386 libexpat1 libexpat1:i386
  libexpat1-dev libgdal28 libgssapi-krb5-2 libgssapi-krb5-2:i386 libjavascriptcoregtk-4.0-18 libjuh-java libjurt-java
  libk5crypto3 libk5crypto3:i386 libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libksba8 liblibreoffice-java
  libmariadb3 libmaven-shared-utils-java libnftables1 libntfs-3g883 libopenexr25 libpixman-1-0 libpixman-1-0:i386
  libpostproc55 libpq5 libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common
  libreoffice-core libreoffice-draw libreoffice-gtk3 libreoffice-help-common libreoffice-help-en-us libreoffice-impress
  libreoffice-java-common libreoffice-math libreoffice-report-builder libreoffice-report-builder-bin
  libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-sdbc-mysql libreoffice-sdbc-postgresql
  libreoffice-style-colibre libreoffice-writer libridl-java libspeechd2 libswresample3 libswresample3:i386 libswscale5
  libtasn1-6 libtasn1-6:i386 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3
  libuno-salhelpergcc3-3 libunoil-java libunoloader-java libvlc-bin libvlc5 libvlccore9 libvncclient1 libwebkit2gtk-4.0-37
  libxml2 libxml2:i386 linux-compiler-gcc-10-x86 linux-headers-amd64 linux-image-amd64 linux-kbuild-5.10 linux-libc-dev
  locales mariadb-common nano nftables ntfs-3g python3-libxml2 python3-speechd python3-uno speech-dispatcher
  speech-dispatcher-audio-plugins speech-dispatcher-espeak-ng tzdata uno-libs-private ure vlc vlc-bin vlc-data vlc-l10n
  vlc-plugin-access-extra 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 xfce4-helpers xfce4-settings xserver-common
  xserver-xorg-core xserver-xorg-legacy
144 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 395 MB of archives.
After this operation, 407 MB of additional disk space will be used.
[..]
update-initramfs: Generating /boot/initrd.img-5.10.0-20-amd64
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Processing triggers for shim-signed:amd64 (1.38+15.4-7) ...
Processing triggers for libvlc-bin:amd64 (3.0.18-0+deb11u1) ...

apt - autoremove

tingo@kg-elitebook:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-5.10.0-10-amd64 linux-headers-5.10.0-10-common linux-image-5.10.0-10-amd64
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 360 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 283344 files and directories currently installed.)
Removing linux-headers-5.10.0-10-amd64 (5.10.84-1) ...
Removing linux-headers-5.10.0-10-common (5.10.84-1) ...
Removing linux-image-5.10.0-10-amd64 (5.10.84-1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.10.0-10-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.10.0-20-amd64
Found initrd image: /boot/initrd.img-5.10.0-20-amd64
Found linux image: /boot/vmlinuz-5.10.0-18-amd64
Found initrd image: /boot/initrd.img-5.10.0-18-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found FreeBSD 13.1-RELEASE-p3 on /dev/sdb2
Found Fedora 28 (Twenty Eight) on /dev/mapper/fedora_kg--elitebook-root
Adding boot menu entry for UEFI Firmware Settings ...
done

apt - autoclean

tingo@kg-elitebook:~$ sudo apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

2022-12-22: sdb4 - git token do not work, perhaps it is the script. I notice that the official script and mine

tingo@kg-elitebook:~$ ll /usr/share/doc/git/contrib/credential/netrc/git-cred*
-rw-r--r-- 1 root root 10869 Mar  8  2021 /usr/share/doc/git/contrib/credential/netrc/git-credential-netrc.perl
tingo@kg-elitebook:~$ ll ~/bin/git-credential-netrc
-rwxr--r-- 1 tingo tingo 10883 Dec  1 21:03 /home/tingo/bin/git-credential-netrc*

differ. so copy the official one

tingo@kg-elitebook:~$ cp /usr/share/doc/git/contrib/credential/netrc/git-credential-netrc.perl ~/bin/
tingo@kg-elitebook:~$ chmod u+x ~/bin/git-credential-netrc.perl

and set it executable. Adjust the wrapper script

tingo@kg-elitebook:~$ more ~/bin/git-credential-helper 
#!/bin/sh
#~/bin/git-credential-netrc.perl -f ~/.gitcred/credentials.gpg get 2> /dev/null
~/bin/git-credential-netrc.perl -f ~/.gitcred/credentials.gpg get

and test. No, it still doesn't work. Hmm. Ok, it is actually the token it asks for. Why the script don't output it I don't know. Hm, hm. Ok, found it, it was (as is often the case) user error. the netrc-style file was missing the 'password' keyword. Fixed now.

2022-09-26: sdb4 - reboot, Debian 11.5 is in

tingo@kg-elitebook:~$ cat /etc/debian_version 
11.5

kernel

tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux

2022-09-26: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.10.0-18-amd64 linux-headers-5.10.0-18-common linux-image-5.10.0-18-amd64
The following packages will be upgraded:
  avahi-autoipd avahi-daemon avahi-utils base-files bash bind9-host bind9-libs bsdextrautils bsdutils chromium
  chromium-common chromium-sandbox cups cups-browsed cups-bsd cups-client cups-common cups-core-drivers cups-daemon
  cups-filters cups-filters-core-drivers cups-ipp-utils cups-ppdc cups-server-common curl dirmngr distro-info-data dpkg
  dpkg-dev eject espeak-ng-data exo-utils fdisk firefox-esr fonts-opensymbol freecad freecad-common freecad-python3
  freetype2-doc ghostscript gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 gir1.2-javascriptcoregtk-4.0 gir1.2-polkit-1.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 grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common gstreamer1.0-gtk3
  gstreamer1.0-plugins-good gstreamer1.0-plugins-good:i386 gstreamer1.0-pulseaudio gtk-update-icon-cache gzip kicad
  kicad-demos kicad-libraries krb5-locales libarchive13 libavahi-client3 libavahi-client3:i386 libavahi-common-data
  libavahi-common-data:i386 libavahi-common3 libavahi-common3:i386 libavahi-core7 libavahi-glib1 libavahi-gobject0
  libavcodec58 libavcodec58:i386 libavfilter7 libavformat58 libavresample4 libavresample4:i386 libavutil56 libavutil56:i386
  libayatana-appindicator3-1 libblkid1 libblkid1:i386 libc-bin libc-dev-bin libc-devtools libc-l10n libc6 libc6:i386
  libc6-dev libcryptsetup12 libcups2 libcups2:i386 libcupsfilters1 libcupsimage2 libcurl3-gnutls libcurl3-gnutls:i386
  libcurl4 libcurl4:i386 libdpkg-perl libespeak-ng1 libexo-2-0 libexo-common libexpat1 libexpat1:i386 libexpat1-dev
  libfdisk1 libflac8 libflac8:i386 libfontembed1 libfreecad-python3-0.19 libfreetype-dev libfreetype6 libfreetype6:i386
  libfreetype6-dev libfribidi0 libfribidi0:i386 libgdk-pixbuf-2.0-0 libgdk-pixbuf-2.0-0:i386 libgdk-pixbuf2.0-bin
  libgdk-pixbuf2.0-common libgnutls30 libgnutls30:i386 libgs9 libgs9-common libgssapi-krb5-2 libgssapi-krb5-2:i386
  libgtk-3-0 libgtk-3-bin libgtk-3-common libhttp-daemon-perl libjavascriptcoregtk-4.0-18 libjuh-java libjurt-java
  libk5crypto3 libk5crypto3:i386 libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libldap-2.4-2
  libldap-2.4-2:i386 libldap-common libldb2 liblibreoffice-java liblog4j1.2-java liblzma5 liblzma5:i386 libmariadb3
  libmount1 libmount1:i386 libnm0 libnss-systemd libnss3 libnss3:i386 libntfs-3g883 libpam-systemd libpcre2-16-0
  libpcre2-8-0 libpcre2-8-0:i386 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpoppler-cpp0v5 libpoppler-glib8
  libpoppler-glib8:i386 libpoppler102 libpoppler102:i386 libpostproc55 libpq5 libreoffice-base libreoffice-base-core
  libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk3
  libreoffice-help-common libreoffice-help-en-us libreoffice-impress libreoffice-java-common libreoffice-math
  libreoffice-report-builder libreoffice-report-builder-bin libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb
  libreoffice-sdbc-mysql libreoffice-sdbc-postgresql libreoffice-style-colibre libreoffice-writer libridl-java libsasl2-2
  libsasl2-2:i386 libsasl2-modules libsasl2-modules:i386 libsasl2-modules-db libsasl2-modules-db:i386 libsdl2-2.0-0
  libsdl2-2.0-0:i386 libsmartcols1 libsmbclient libsnmp-base libsnmp40 libsnmp40:i386 libssl1.1 libssl1.1:i386
  libswresample3 libswresample3:i386 libswscale5 libsystemd0 libsystemd0:i386 libtiff5 libtiff5:i386 libtirpc-common
  libtirpc-dev libtirpc3 libtirpc3:i386 libudev1 libudev1:i386 libuno-cppu3 libuno-cppuhelpergcc3-3
  libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 libunoil-java libunoloader-java liburiparser1 libuuid1
  libuuid1:i386 libvlc-bin libvlc5 libvlccore9 libwbclient0 libwebkit2gtk-4.0-37 libxml2 libxml2:i386 libxnvctrl0
  libxslt1.1 libxslt1.1:i386 linux-compiler-gcc-10-x86 linux-headers-amd64 linux-image-amd64 linux-kbuild-5.10
  linux-libc-dev locales logrotate mariadb-common mokutil mount nano network-manager ntfs-3g openjdk-11-jre
  openjdk-11-jre-headless openssh-client openssh-server openssh-sftp-server openssl orca policykit-1 poppler-utils
  publicsuffix python-pip-whl python3-ldb python3-libxml2 python3-lxml python3-pil python3-pip python3-uno rsyslog
  samba-libs systemd systemd-sysv systemd-timesyncd sysvinit-utils task-desktop task-english task-laptop task-ssh-server
  task-xfce-desktop tasksel tasksel-data tzdata udev uno-libs-private unzip ure usb.ids util-linux util-linux-locales
  uuid-runtime vlc vlc-bin vlc-data vlc-l10n vlc-plugin-access-extra 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
  wireless-regdb xserver-common xserver-xorg-core xserver-xorg-legacy xserver-xorg-video-intel xsltproc xterm xz-utils
  zlib1g zlib1g:i386 zlib1g-dev
324 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 594 MB of archives.
After this operation, 405 MB of additional disk space will be used.
[..]
Processing triggers for shim-signed:amd64 (1.38+15.4-7) ...
Processing triggers for libc-bin (2.31-13+deb11u4) ...

apt - autoremove

tingo@kg-elitebook:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-5.10.0-9-amd64 linux-headers-5.10.0-9-common linux-image-5.10.0-9-amd64
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 360 MB disk space will be freed.
[..]
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found FreeBSD 13.0-RELEASE-p4 on /dev/sda2
Found Fedora 28 (Twenty Eight) on /dev/mapper/fedora_kg--elitebook-root
Adding boot menu entry for UEFI Firmware Settings ...
done

apt - autoclean

tingo@kg-elitebook:~$ sudo apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Del firmware-linux-free 3.4 [19.2 kB]

2021-12-29: sdb4 - fix $HOME/.profile. before

tingo@kg-elitebook:~$ 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
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

after

tingo@kg-elitebook:~$ 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
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin/" ] ; then
    PATH="$HOME/bin:$PATH"
fi
# some programs use $HOME/.local/bin too
if [ -d "$HOME/.local/bin" ] ; then
    PATH="$HOME/.local/bin:$PATH"
fi

2021-12-28: sdb4 - apt - install pip3

tingo@kg-elitebook:~$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libexpat1-dev libpython3-dev libpython3.9-dev python-pip-whl python3-dev python3-setuptools python3-wheel
  python3.9-dev
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  libexpat1-dev libpython3-dev libpython3.9-dev python-pip-whl python3-dev python3-pip python3-setuptools
  python3-wheel python3.9-dev
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,404 kB of archives.
After this operation, 27.3 MB of additional disk space will be used.
[..]
Setting up python3-dev (3.9.2-3) ...
Processing triggers for man-db (2.9.4-2) ...

check

tingo@kg-elitebook:~$ which pip3
/usr/bin/pip3

2021-12-28: sdb4 - reboot, Debian 11.2 is in

tingo@kg-elitebook:~$ cat /etc/debian_version 
11.2

and a new kernel

tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux

2021-12-28: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.10.0-10-amd64 linux-headers-5.10.0-10-common linux-image-5.10.0-10-amd64
The following packages will be upgraded:
  base-files curl distro-info-data firefox-esr gdal-data gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
  libayatana-indicator3-7 libbrlapi0.8 libcurl3-gnutls libcurl3-gnutls:i386 libcurl4 libcurl4:i386 libgdal28
  libgmp10 libgmp10:i386 libjavascriptcoregtk-4.0-18 libjs-jquery-ui libldb2 libnss3 libnss3:i386 libpq5
  libseccomp2 libsmbclient libudisks2-0 libwbclient0 libwebkit2gtk-4.0-37 linux-compiler-gcc-10-x86
  linux-headers-amd64 linux-image-amd64 linux-kbuild-5.10 linux-libc-dev publicsuffix python3-brlapi
  python3-ldb samba-libs udisks2 vim-common vim-tiny wget xbrlapi xserver-common xserver-xorg-core
  xserver-xorg-legacy xxd
45 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 177 MB of archives.
After this operation, 375 MB of additional disk space will be used.
[..]
Processing triggers for dbus (1.12.20-2) ...
Processing triggers for mailcap (3.69) ...

apt - autoremove

tingo@kg-elitebook:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-5.10.0-8-amd64 linux-headers-5.10.0-8-common linux-image-5.10.0-8-amd64
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 360 MB disk space will be freed.
[..]
Removing linux-headers-5.10.0-8-amd64 (5.10.46-5) ...
Removing linux-headers-5.10.0-8-common (5.10.46-5) ...
Removing linux-image-5.10.0-8-amd64 (5.10.46-5) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.10.0-8-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.10.0-10-amd64
Found initrd image: /boot/initrd.img-5.10.0-10-amd64
Found linux image: /boot/vmlinuz-5.10.0-9-amd64
Found initrd image: /boot/initrd.img-5.10.0-9-amd64
Found FreeBSD 13.0-RELEASE-p4 on /dev/sda2
Found Fedora 28 (Twenty Eight) on /dev/mapper/fedora_kg--elitebook-root
Adding boot menu entry for EFI firmware configuration
done

2021-11-26: sdb4 - apt - install wine

tingo@kg-elitebook:~$ sudo apt install wine
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  fonts-wine libcapi20-3 libfaudio0 libosmesa6 libstb0 libvkd3d1 libwine wine64
Suggested packages:
  ttf-mscorefonts-installer q4wine winbind winetricks playonlinux wine-binfmt dosbox exe-thumbnailer | kio-extras
  wine64-preloader
Recommended packages:
  wine32
The following NEW packages will be installed:
  fonts-wine libcapi20-3 libfaudio0 libosmesa6 libstb0 libvkd3d1 libwine wine wine64
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.8 MB of archives.
After this operation, 243 MB of additional disk space will be used.
[..]
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for wine (5.0.3-3) ...

and wine32

tingo@kg-elitebook:~$ sudo dpkg --add-architecture i386
tingo@kg-elitebook:~$ sudo apt update
[..]
tingo@kg-elitebook:~$ sudo apt install wine32
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  gcc-10-base:i386 glib-networking:i386 gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-x:i386
  i965-va-driver:i386 intel-media-va-driver:i386 libaa1:i386 libaom0:i386 libasound2:i386 libasound2-plugins:i386
  libasyncns0:i386 libatomic1:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
  libavc1394-0:i386 libavcodec58:i386 libavresample4:i386 libavutil56:i386 libblkid1:i386 libbrotli1:i386 libbsd0:i386
  libbz2-1.0:i386 libc6:i386 libcaca0:i386 libcairo-gobject2:i386 libcairo2:i386 libcap2:i386 libcapi20-3:i386
  libcdparanoia0:i386 libcodec2-0.9:i386 libcom-err2:i386 libcrypt1:i386 libcups2:i386 libcurl3-gnutls:i386 libcurl4:i386
  libdatrie1:i386 libdav1d4:i386 libdb5.3:i386 libdbus-1-3:i386 libdeflate0:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386
  libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libdv4:i386 libdw1:i386 libedit2:i386 libelf1:i386 libexif12:i386
  libexpat1:i386 libfaudio0:i386 libffi7:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libfribidi0:i386
  libgbm1:i386 libgcc-s1:i386 libgcrypt20:i386 libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libgdk-pixbuf-2.0-0:i386
  libgl1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libglvnd0:i386
  libglx-mesa0:i386 libglx0:i386 libgmp10:i386 libgnutls30:i386 libgomp1:i386 libgpg-error0:i386 libgphoto2-6:i386
  libgphoto2-port12:i386 libgpm2:i386 libgraphite2-3:i386 libgsm1:i386 libgssapi-krb5-2:i386
  libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libgudev-1.0-0:i386 libharfbuzz0b:i386 libhogweed6:i386
  libicu67:i386 libidn2-0:i386 libiec61883-0:i386 libieee1284-3:i386 libigdgmm11: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 libllvm11:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmd0:i386 libmount1:i386 libmp3lame0:i386
  libmpg123-0:i386 libncurses6:i386 libncursesw6:i386 libnettle8:i386 libnghttp2-14:i386 libnsl2:i386 libnspr4:i386
  libnss-nis:i386 libnss-nisplus:i386 libnss3:i386 libnuma1:i386 libodbc1:i386 libogg0:i386 libopenal1:i386
  libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6:i386 libp11-kit0:i386 libpango-1.0-0:i386
  libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcap0.8:i386 libpci3:i386 libpciaccess0:i386 libpcre2-8-0:i386
  libpcre3:i386 libperl5.32:i386 libpixman-1-0:i386 libpng16-16:i386 libpoppler-glib8:i386 libpoppler102:i386
  libproxy1v5:i386 libpsl5:i386 libpulse0:i386 libraw1394-11:i386 librsvg2-2:i386 librsvg2-common:i386 librtmp1:i386
  libsamplerate0:i386 libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsdl2-2.0-0:i386
  libselinux1:i386 libsensors5:i386 libshine3:i386 libshout3:i386 libslang2:i386 libsnappy1v5:i386 libsndfile1:i386
  libsndio7.0:i386 libsnmp40:i386 libsoup2.4-1:i386 libsoxr0:i386 libspeex1:i386 libsqlite3-0:i386 libssh2-1:i386
  libssl1.1:i386 libstb0:i386 libstdc++6:i386 libswresample3:i386 libsystemd0:i386 libtag1v5:i386 libtag1v5-vanilla:i386
  libtasn1-6:i386 libthai0:i386 libtheora0:i386 libtiff5:i386 libtinfo6:i386 libtirpc3:i386 libtwolame0:i386
  libudev1:i386 libunistring2:i386 libunwind8:i386 libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386
  libva-drm2:i386 libva-x11-2:i386 libva2:i386 libvdpau-va-gl1:i386 libvdpau1:i386 libvisual-0.4-0:i386 libvkd3d1:i386
  libvorbis0a:i386 libvorbisenc2:i386 libvpx6:i386 libvulkan1:i386 libwavpack1:i386 libwayland-client0:i386
  libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-server0:i386 libwebp6:i386 libwebpmux3:i386 libwine:i386
  libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libx264-160:i386 libx265-192:i386 libxau6:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386 libxcb-render0:i386 libxcb-shm0:i386
  libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386
  libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxpm4:i386
  libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxv1:i386 libxvidcore4:i386
  libxxf86vm1:i386 libz3-4:i386 libzstd1:i386 libzvbi0:i386 mesa-va-drivers:i386 mesa-vdpau-drivers:i386
  mesa-vulkan-drivers:i386 ocl-icd-libopencl1:i386 publicsuffix uuid-runtime va-driver-all:i386 vdpau-driver-all:i386
  zlib1g:i386
Suggested packages:
  gvfs:i386 i965-va-driver-shaders:i386 glibc-doc:i386 locales:i386 libdv-bin:i386 oss-compat:i386 rng-tools:i386
  libgd-tools:i386 gdbm-l10n: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:i386 odbc-postgresql:i386 tdsodbc:i386
  unixodbc-bin:i386 libportaudio2:i386 opus-tools:i386 libraw1394-doc:i386 librsvg2-bin: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 gstreamer1.0-libav:i386
  gstreamer1.0-plugins-bad:i386 gstreamer1.0-plugins-ugly:i386 ttf-mscorefonts-installer:i386 opencl-icd:i386
  nvidia-vdpau-driver:i386 nvidia-tesla-440-vdpau-driver:i386 nvidia-tesla-418-vdpau-driver:i386
  nvidia-legacy-390xx-vdpau-driver:i386 nvidia-legacy-340xx-vdpau-driver:i386 wine32-preloader:i386
The following NEW packages will be installed:
  gcc-10-base:i386 glib-networking:i386 gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-x:i386
  i965-va-driver:i386 intel-media-va-driver:i386 libaa1:i386 libaom0:i386 libasound2:i386 libasound2-plugins:i386
  libasyncns0:i386 libatomic1:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
  libavc1394-0:i386 libavcodec58:i386 libavresample4:i386 libavutil56:i386 libblkid1:i386 libbrotli1:i386 libbsd0:i386
  libbz2-1.0:i386 libc6:i386 libcaca0:i386 libcairo-gobject2:i386 libcairo2:i386 libcap2:i386 libcapi20-3:i386
  libcdparanoia0:i386 libcodec2-0.9:i386 libcom-err2:i386 libcrypt1:i386 libcups2:i386 libcurl3-gnutls:i386 libcurl4:i386
  libdatrie1:i386 libdav1d4:i386 libdb5.3:i386 libdbus-1-3:i386 libdeflate0:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386
  libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libdv4:i386 libdw1:i386 libedit2:i386 libelf1:i386 libexif12:i386
  libexpat1:i386 libfaudio0:i386 libffi7:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libfribidi0:i386
  libgbm1:i386 libgcc-s1:i386 libgcrypt20:i386 libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libgdk-pixbuf-2.0-0:i386
  libgl1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libglvnd0:i386
  libglx-mesa0:i386 libglx0:i386 libgmp10:i386 libgnutls30:i386 libgomp1:i386 libgpg-error0:i386 libgphoto2-6:i386
  libgphoto2-port12:i386 libgpm2:i386 libgraphite2-3:i386 libgsm1:i386 libgssapi-krb5-2:i386
  libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libgudev-1.0-0:i386 libharfbuzz0b:i386 libhogweed6:i386
  libicu67:i386 libidn2-0:i386 libiec61883-0:i386 libieee1284-3:i386 libigdgmm11: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 libllvm11:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmd0:i386 libmount1:i386 libmp3lame0:i386
  libmpg123-0:i386 libncurses6:i386 libncursesw6:i386 libnettle8:i386 libnghttp2-14:i386 libnsl2:i386 libnspr4:i386
  libnss-nis:i386 libnss-nisplus:i386 libnss3:i386 libnuma1:i386 libodbc1:i386 libogg0:i386 libopenal1:i386
  libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6:i386 libp11-kit0:i386 libpango-1.0-0:i386
  libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcap0.8:i386 libpci3:i386 libpciaccess0:i386 libpcre2-8-0:i386
  libpcre3:i386 libperl5.32:i386 libpixman-1-0:i386 libpng16-16:i386 libpoppler-glib8:i386 libpoppler102:i386
  libproxy1v5:i386 libpsl5:i386 libpulse0:i386 libraw1394-11:i386 librsvg2-2:i386 librsvg2-common:i386 librtmp1:i386
  libsamplerate0:i386 libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsdl2-2.0-0:i386
  libselinux1:i386 libsensors5:i386 libshine3:i386 libshout3:i386 libslang2:i386 libsnappy1v5:i386 libsndfile1:i386
  libsndio7.0:i386 libsnmp40:i386 libsoup2.4-1:i386 libsoxr0:i386 libspeex1:i386 libsqlite3-0:i386 libssh2-1:i386
  libssl1.1:i386 libstb0:i386 libstdc++6:i386 libswresample3:i386 libsystemd0:i386 libtag1v5:i386 libtag1v5-vanilla:i386
  libtasn1-6:i386 libthai0:i386 libtheora0:i386 libtiff5:i386 libtinfo6:i386 libtirpc3:i386 libtwolame0:i386
  libudev1:i386 libunistring2:i386 libunwind8:i386 libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386
  libva-drm2:i386 libva-x11-2:i386 libva2:i386 libvdpau-va-gl1:i386 libvdpau1:i386 libvisual-0.4-0:i386 libvkd3d1:i386
  libvorbis0a:i386 libvorbisenc2:i386 libvpx6:i386 libvulkan1:i386 libwavpack1:i386 libwayland-client0:i386
  libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-server0:i386 libwebp6:i386 libwebpmux3:i386 libwine:i386
  libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libx264-160:i386 libx265-192:i386 libxau6:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386 libxcb-render0:i386 libxcb-shm0:i386
  libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386
  libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxpm4:i386
  libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxv1:i386 libxvidcore4:i386
  libxxf86vm1:i386 libz3-4:i386 libzstd1:i386 libzvbi0:i386 mesa-va-drivers:i386 mesa-vdpau-drivers:i386
  mesa-vulkan-drivers:i386 ocl-icd-libopencl1:i386 publicsuffix uuid-runtime va-driver-all:i386 vdpau-driver-all:i386
  wine32:i386 zlib1g:i386
0 upgraded, 257 newly installed, 0 to remove and 6 not upgraded.
Need to get 170 MB of archives.
After this operation, 718 MB of additional disk space will be used.
[..]
Processing triggers for libgdk-pixbuf-2.0-0:i386 (2.42.2+dfsg-1) ...

and winetricks

tingo@kg-elitebook:~$ sudo apt install winetricks
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  cabextract fuseiso libmspack0
Suggested packages:
  tor unrar-free | unrar
The following NEW packages will be installed:
  cabextract fuseiso libmspack0 winetricks
0 upgraded, 4 newly installed, 0 to remove and 6 not upgraded.
Need to get 427 kB of archives.
After this operation, 1,379 kB of additional disk space will be used.
[..]
Processing triggers for hicolor-icon-theme (0.17-2) ...

use winetricks corefonts to install fonts.

2021-11-03: sdb4 - apt - install yangcli

tingo@kg-elitebook:~$ sudo apt install yangcli
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libyuma-base libyuma2
The following NEW packages will be installed:
  libyuma-base libyuma2 yangcli
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 656 kB of archives.
After this operation, 2,419 kB of additional disk space will be used.
[..]
Setting up yangcli (2.11-1.1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...

install yang-tools

tingo@kg-elitebook:~$ sudo apt install yang-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libyang-tools libyang1
The following NEW packages will be installed:
  libyang-tools libyang1 yang-tools
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 543 kB of archives.
After this operation, 1,511 kB of additional disk space will be used.
[..]
Setting up yang-tools (1.0.225-1.1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...

2021-11-03: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  bind9-host bind9-libs gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libavcodec58 libavfilter7 libavformat58
  libavresample4 libavutil56 libjavascriptcoregtk-4.0-18 libpostproc55 libswresample3 libswscale5 libwebkit2gtk-4.0-37
  openjdk-11-jre openjdk-11-jre-headless tzdata
17 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 68.2 MB of archives.
After this operation, 1,985 kB of additional disk space will be used.
[..]
Processing triggers for libc-bin (2.31-13+deb11u2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.69) ...

2021-10-18: sdb4 - reboot - for some reason, I had to boot once into Debian recovery mode, because "normal" Debian boot failed to mount /zs (/dev/sda1, ext2). This time, it wasn't a dirty filesystem (I checked, both in Fedora and FreeBSD). Oh well, Now Debian 11.1 is in:

tingo@kg-elitebook:~$ cat /etc/debian_version 
11.1

kernel

tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux

2021-10-18: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.10.0-9-amd64 linux-headers-5.10.0-9-common linux-image-5.10.0-9-amd64
The following packages will be upgraded:
  base-files firefox-esr fonts-opensymbol ghostscript gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 krb5-locales
  libatk-wrapper-java libatk-wrapper-java-jni libbluray2 libc-bin libc-dev-bin libc-devtools libc-l10n libc6
  libc6-dev libgs9 libgs9-common libgssapi-krb5-2 libhdf5-103-1 libhdf5-hl-100 libhdf5-openmpi-103-1
  libjavascriptcoregtk-4.0-18 libjuh-java libjurt-java libk5crypto3 libkrb5-3 libkrb5support0 liblibreoffice-java
  libmariadb3 libnautilus-extension1a libntfs-3g883 libpam-modules libpam-modules-bin libpam-runtime libpam0g
  libperl5.32 libpq5 libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc
  libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk3 libreoffice-help-common
  libreoffice-help-en-us libreoffice-impress libreoffice-java-common libreoffice-math libreoffice-report-builder
  libreoffice-report-builder-bin libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-sdbc-mysql
  libreoffice-sdbc-postgresql libreoffice-style-colibre libreoffice-writer libridl-java libspeechd2 libssh-gcrypt-4
  libssl1.1 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3
  libunoil-java libunoloader-java libwebkit2gtk-4.0-37 linux-compiler-gcc-10-x86 linux-headers-5.10.0-8-amd64
  linux-headers-5.10.0-8-common linux-headers-amd64 linux-image-5.10.0-8-amd64 linux-image-amd64 linux-kbuild-5.10
  linux-libc-dev locales mariadb-common ntfs-3g openssl perl perl-base perl-modules-5.32 python3-reportbug
  python3-speechd python3-uno reportbug speech-dispatcher speech-dispatcher-audio-plugins
  speech-dispatcher-espeak-ng tzdata uno-libs-private ure
96 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 335 MB of archives.
After this operation, 361 MB of additional disk space will be used.
[..]
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.10.0-8-amd64:Error!  The /var/lib/dkms/wireguard/1.0.20210219/5.
10.0-8-amd64/x86_64/dkms.conf for module wireguard includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
[..]
update-initramfs: Generating /boot/initrd.img-5.10.0-9-amd64
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...

2021-10-18: sdb4 - fixed gnupg by creating new keys, and deleting the old incorrect one with these commands:

gpg --full-gen-key
gpg --delete-secret-and-public-key "name"

then I just recreated the necessary encrypted files for vaults etc.

2021-10-04: sdb4 - also, I need to set up / fix gnupg on this machine.

2021-10-04: sdb4 - for some reason, ansible and avahi-utils was not installed, so I used apt to install them.

2021-08-18: sdb4 - reboot Debian 11 is in.

tingo@kg-elitebook:~$ cat /etc/debian_version 
11.0
tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux

various output from dmesg

[    0.087778] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x00000000bb000000-0x00000000bf1fffff], contact BIOS vendor for fixes
[    0.087785] DMAR: [Firmware Bug]: Your BIOS is broken; bad RMRR [0x00000000bb000000-0x00000000bf1fffff]
               BIOS vendor: Hewlett-Packard; Ver: 68IBD Ver. F.71; Product Version: A1029D1103

[    3.693125] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20200925/utaddress-204)
[    3.693133] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.693136] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200925/utaddress-204)
[    3.693141] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.693143] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200925/utaddress-204)
[    3.693147] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.693148] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200925/utaddress-204)
[    3.693152] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.693153] lpc_ich: Resource conflict(s) found affecting gpio_ich

[    4.625240] i915 0000:00:02.0: [drm] *ERROR* uncleared fifo underrun on pipe A
[    4.625243] i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun
[    4.625451] i915 0000:00:02.0: [drm] *ERROR* uncleared pch fifo underrun on pch transcoder A
[    4.625455] i915 0000:00:02.0: [drm] *ERROR* PCH transcoder A FIFO underrun

but the machine appears to work.

2021-08-18: sdb4 - I used this guide to upgrade to Debian 11. After backing up the relevant files in /etc/apt, I changed to bullseye

$ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list
$ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*

I manually fixed the security lines in /etc/apt/sources.list by changing buster/updates into bulseye-security. In addition, I renamed the file /etc/apt/sources.list.d/buster-backports.list to /etc/apt/sources.list.d/bullseye-backports.list. Finally ready to upgrade.

tingo@kg-elitebook:~$ sudo apt update
[..]
1565 packages can be upgraded. Run 'apt list --upgradable' to see them.

minimal system upgrade

tingo@kg-elitebook:~$ sudo apt upgrade --without-new-pkgs
[..]
885 upgraded, 0 newly installed, 0 to remove and 680 not upgraded.
Need to get 885 MB of archives.
After this operation, 283 MB of additional disk space will be used.
[..]
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-17-amd64
Processing triggers for dbus (1.12.20-2) ...
Processing triggers for shim-signed:amd64 (1.38+15.4-7) ...

full system upgrade

tingo@kg-elitebook:~$ sudo apt full-upgrade
[..]
679 upgraded, 360 newly installed, 122 to remove and 1 not upgraded.
Need to get 1,222 MB of archives.
After this operation, 1,254 MB of additional disk space will be used.
[..]
Removing obsolete conffile /etc/init.d/network-manager ...
Setting up xiccd (0.3.0-1) ...
Setting up task-xfce-desktop (3.68) ...
Setting up synaptic (0.90.2) ...
Setting up packagekit (1.2.2-2) ...
[..]

and here it hangs. Network connection breakdown?

tingo@kg-elitebook:~$ sudo efibootmgr -o 1,0,2,3,4
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,0000,0002,0003,0004
Boot0000* debian
Boot0001* rEFInd Boot Manager
Boot0002* Fedora
Boot0003* rEFInd Boot Manager
Boot0004* Fedora

(from a different ssh connection / shell) fixed the EFI boot order. Rerun full upgrade

tingo@kg-elitebook:~$ sudo apt full-upgrade
[..]
1 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 166 kB of archives.
After this operation, 270 MB disk space will be freed.
[..]
ssing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64
Processing triggers for libc-bin (2.31-13) ...
Processing triggers for man-db (2.9.4-2) ...

autoremove with purge

tingo@kg-elitebook:~$ sudo apt --purge autoremove
[..]
0 upgraded, 0 newly installed, 202 to remove and 0 not upgraded.
After this operation, 1,263 MB disk space will be freed.
[..]
Purging configuration files for openmpi-bin (4.1.0-10) ...
Processing triggers for fontconfig (2.13.1-4.2) ...

that seems to be it.

2021-08-18: sdb4 - apt update, then apt upgrade

tingo@kg-elitebook:~$ sudo apt update
[..]
N: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: Repository 'http://ftp.no.debian.org/debian buster InRelease' changed its 'Version' value from '10.9' to '10.10'
N: Repository 'http://ftp.no.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: Repository 'http://ftp.no.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'

apt upgrade

tingo@kg-elitebook:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-4.19.0-17-amd64 linux-headers-4.19.0-17-common linux-image-4.19.0-17-amd64
The following packages will be upgraded:
  aspell base-files bluetooth bluez firefox-esr gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 isc-dhcp-client
  isc-dhcp-common klibc-utils krb5-locales libaspell15 libbluetooth3 libexiv2-14 libfluidsynth1 libgcrypt20
  libglib2.0-0 libglib2.0-bin libglib2.0-data libgnutls30 libgssapi-krb5-2 libhogweed4 libjavascriptcoregtk-4.0-18
  libk5crypto3 libklibc libkrb5-3 libkrb5support0 libmariadb3 libnettle6 libnss-systemd libpam-systemd libsndfile1
  libsystemd0 libudev1 libwebkit2gtk-4.0-37 libwebp6 libwebpdemux2 libwebpmux3 libxml2 linux-compiler-gcc-8-x86
  linux-headers-amd64 linux-image-amd64 linux-kbuild-4.19 linux-libc-dev mariadb-common openjdk-11-jre
  openjdk-11-jre-headless python-libxml2 shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned
  systemd systemd-sysv udev xfce4-weather-plugin
56 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 194 MB of archives.
After this operation, 326 MB of additional disk space will be used.
[..]

autoremove

tingo@kg-elitebook:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-4.19.0-12-amd64 linux-headers-4.19.0-12-common linux-image-4.19.0-12-amd64
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 326 MB disk space will be freed.
[..]
DKMS: uninstall completed.
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-12-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.19.0-17-amd64
Found initrd image: /boot/initrd.img-4.19.0-17-amd64
Found linux image: /boot/vmlinuz-4.19.0-16-amd64
Found initrd image: /boot/initrd.img-4.19.0-16-amd64
Found unknown Linux distribution on /dev/sdb2
Found Fedora 28 (Twenty Eight) on /dev/mapper/fedora_kg--elitebook-root
Adding boot menu entry for EFI firmware configuration
done

2021-05-28: sdb4 - reboot, Debian 10.9 is in

tingo@kg-elitebook:~$ cat /etc/debian_version
10.9
kernel
tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux

ok

2021-05-28: sdb4 - efibootmgr - check boot order

tingo@kg-elitebook:~$ efibootmgr
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000
Boot0000* debian
Boot0001* rEFInd Boot Manager
Boot0002* Fedora
Boot0003* rEFInd Boot Manager
Boot0004* Fedora

fix it

tingo@kg-elitebook:~$ sudo efibootmgr -o 1,0,2,3,4
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,0000,0002,0003,0004
Boot0000* debian
Boot0001* rEFInd Boot Manager
Boot0002* Fedora
Boot0003* rEFInd Boot Manager
Boot0004* Fedora

ok

2021-05-28: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-4.19.0-16-amd64 linux-headers-4.19.0-16-common linux-image-4.19.0-16-amd64
The following packages will be upgraded:
  apt apt-utils avahi-autoipd avahi-daemon base-files bind9-host ca-certificates chromium chromium-common
  chromium-sandbox cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ipp-utils cups-ppdc
  cups-server-common curl debian-archive-keyring distro-info-data dnsmasq-base file firefox-esr fonts-opensymbol
  geoclue-2.0 gir1.2-gst-plugins-base-1.0 gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 graphviz groff-base
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common gstreamer1.0-alsa
  gstreamer1.0-gl gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good
  gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio gstreamer1.0-x iproute2 iputils-ping kicad kicad-libraries
  kicad-symbols krb5-locales lib3mf1 libapt-inst2.0 libapt-pkg5.0 libavahi-client3 libavahi-common-data
  libavahi-common3 libavahi-core7 libavahi-glib1 libavahi-gobject0 libbind9-161 libbrotli1 libbsd0
  libcairo-gobject2 libcairo2 libcdt5 libcgraph6 libcups2 libcupsimage2 libcurl3-gnutls libcurl4 libdns-export1104
  libdns1104 libefiboot1 libefivar1 libexif12 libgnutls30 libgssapi-krb5-2 libgstreamer-gl1.0-0
  libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgvc6 libgvpr2 libimobiledevice6 libisc-export1100
  libisc1100 libisccc161 libisccfg163 libjavascriptcoregtk-4.0-18 libjpeg62-turbo libjs-jquery libjs-underscore
  libk5crypto3 libkrb5-3 libkrb5support0 liblab-gamut1 libldap-2.4-2 libldap-common libldb1 liblirc-client0
  liblwres161 liblz4-1 libmagic-mgc libmagic1 libmariadb3 libnss-systemd libopenjp2-7 libp11-kit0 libpam-systemd
  libpathplan4 libpcaudio0 libpq5 libproxy-tools libproxy1v5 libpython3.7 libpython3.7-dev libpython3.7-minimal
  libpython3.7-stdlib libraptor2-0 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 libsnmp-base
  libsnmp30 libsqlite3-0 libssl1.1 libsystemd0 libtiff5 libudev1 libvlc-bin libvlc5 libvlccore9
  libwebkit2gtk-4.0-37 libx11-6 libx11-data libx11-xcb1 libxdot4 libxerces-c3.2 libxml2 libzstd1
  linux-compiler-gcc-8-x86 linux-headers-amd64 linux-image-amd64 linux-kbuild-4.19 linux-libc-dev mariadb-common
  openjdk-11-jre openjdk-11-jre-headless openssl p11-kit p11-kit-modules python-apt-common python-libxml2
  python-lxml python3-apt python3-uno python3.7 python3.7-dev python3.7-minimal screen sudo systemd systemd-sysv
  tzdata udev uno-libs3 unzip 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
  wireguard wireguard-dkms wireguard-tools wpasupplicant xserver-common xserver-xorg-core xserver-xorg-legacy xterm
215 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 512 MB of archives.
After this operation, 356 MB of additional disk space will be used.
[..]
Setting up grub-efi-amd64 (2.02+dfsg1-20+deb10u4) ...
Installing for x86_64-efi platform.
File descriptor 3 (pipe:[62427]) leaked on vgs invocation. Parent PID 26025: grub-install
File descriptor 5 (/dev/sdb1) leaked on vgs invocation. Parent PID 26025: grub-install
File descriptor 3 (pipe:[62427]) leaked on vgs invocation. Parent PID 26025: grub-install
File descriptor 5 (/dev/sdb1) leaked on vgs invocation. Parent PID 26025: grub-install
Installation finished. No error reported.
[..]
Processing triggers for libvlc-bin:amd64 (3.0.12-0+deb10u1) ...
Processing triggers for shim-signed:amd64 (1.33+15+1533136590.3beb971-7) ...

autoremove

tingo@kg-elitebook:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  linux-image-4.19.0-9-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 269 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 218679 files and directories currently installed.)
Removing linux-image-4.19.0-9-amd64 (4.19.118-2+deb10u1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-9-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.19.0-16-amd64
Found initrd image: /boot/initrd.img-4.19.0-16-amd64
Found linux image: /boot/vmlinuz-4.19.0-12-amd64
Found initrd image: /boot/initrd.img-4.19.0-12-amd64
Found unknown Linux distribution on /dev/sdb2
Found Fedora 28 (Twenty Eight) on /dev/mapper/fedora_kg--elitebook-root
Adding boot menu entry for EFI firmware configuration
done

ok

2020-11-11: sdb4 - apt - install wireguard

tingo@kg-elitebook:~$ sudo apt install wireguard
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  dkms linux-compiler-gcc-8-x86 linux-headers-4.19.0-12-amd64 linux-headers-4.19.0-12-common linux-headers-amd64
  linux-kbuild-4.19 wireguard-dkms wireguard-tools
Suggested packages:
  python3-apport menu openresolv | resolvconf
The following NEW packages will be installed:
  dkms linux-compiler-gcc-8-x86 linux-headers-4.19.0-12-amd64 linux-headers-4.19.0-12-common linux-headers-amd64
  linux-kbuild-4.19 wireguard wireguard-dkms wireguard-tools
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.0 MB of archives.
After this operation, 60.5 MB of additional disk space will be used.
[..]
Loading new wireguard-1.0.20200908 DKMS files...
Building for 4.19.0-12-amd64
Building initial module for 4.19.0-12-amd64
Done.

wireguard.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.19.0-12-amd64/updates/dkms/

depmod...

DKMS: install completed.
Setting up wireguard-tools (1.0.20200827-1~bpo10+1) ...
wg-quick.target is a disabled or a static unit, not starting it.
Setting up wireguard (1.0.20200827-1~bpo10+1) ...
Setting up linux-headers-amd64 (4.19+105+deb10u7) ...
Processing triggers for man-db (2.8.5-2) ...

ok

2020-10-23: sdb4 - apt - install python3-distutils

tingo@kg-elitebook:~$ sudo apt install python3-distutils
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  python3-lib2to3
The following NEW packages will be installed:
  python3-distutils python3-lib2to3
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 219 kB of archives.
After this operation, 1,086 kB of additional disk space will be used.
[..]
Setting up python3-distutils (3.7.3-1) ...

install python3.7-dev

tingo@kg-elitebook:~$ sudo apt install python3.7-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  libpython3.7-dev
The following NEW packages will be installed:
  libpython3.7-dev python3.7-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.9 MB of archives.
After this operation, 83.7 MB of additional disk space will be used.
[..]
Setting up libpython3.7-dev:amd64 (3.7.3-2+deb10u2) ...
Setting up python3.7-dev (3.7.3-2+deb10u2) ...
Processing triggers for man-db (2.8.5-2) ...

ok

2020-10-23: sdb4 - apt - install autopoint

tingo@kg-elitebook:~$ sudo apt install autopoint
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  autopoint
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 434 kB of archives.
After this operation, 466 kB of additional disk space will be used.
[..]
Setting up autopoint (0.19.8.1-9) ...
Processing triggers for man-db (2.8.5-2) ...

and libftdi1-dev

tingo@kg-elitebook:~$ sudo apt install libftdi1-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  libftdi1-doc libusb-1.0-0-dev libusb-1.0-doc
The following NEW packages will be installed:
  libftdi1-dev libftdi1-doc libusb-1.0-0-dev libusb-1.0-doc
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 518 kB of archives.
After this operation, 4,864 kB of additional disk space will be used.
[..]
Setting up libftdi1-dev (1.4-1+b2) ...
Processing triggers for man-db (2.8.5-2) ...

ok

2020-10-23: sdb4 - apt - install libpng12 from .deb package

tingo@kg-elitebook:~$ sudo apt install ~/dl/linux/debian/libpng12-0_1.2.50-2+deb8u3_amd64.deb
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'libpng12-0' instead of '/home/tingo/dl/linux/debian/libpng12-0_1.2.50-2+deb8u3_amd64.deb'
The following NEW packages will be installed:
  libpng12-0
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/173 kB of archives.
After this operation, 273 kB of additional disk space will be used.
Get:1 /zs/tingo/dl/linux/debian/libpng12-0_1.2.50-2+deb8u3_amd64.deb libpng12-0 amd64 1.2.50-2+deb8u3 [173 kB]
Selecting previously unselected package libpng12-0:amd64.
(Reading database ... 178799 files and directories currently installed.)
Preparing to unpack .../libpng12-0_1.2.50-2+deb8u3_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.50-2+deb8u3) ...
Setting up libpng12-0:amd64 (1.2.50-2+deb8u3) ...

ok.

2020-10-23: sdb4 - Debian 10.6 is in

tingo@kg-elitebook:~$ cat /etc/debian_version
10.6

kernel

tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux

ok

2020-10-23: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-image-4.19.0-12-amd64
The following packages will be upgraded:
  base-files bind9-host chromium chromium-common chromium-sandbox dbus dbus-user-session dbus-x11 firefox-esr
  freetype2-doc ghostscript gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 glib-networking glib-networking-common
  glib-networking-services grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common imagemagick
  imagemagick-6-common imagemagick-6.q16 kicad kicad-footprints kicad-libraries kicad-packages3d kicad-symbols
  kicad-templates libavcodec58 libavfilter7 libavformat58 libavresample4 libavutil56 libbind9-161 libclang1-7
  libcommons-compress-java libdbus-1-3 libdns-export1104 libdns1104 libexif12 libexiv2-14 libfreetype6 libfreetype6-dev
  libgnutls30 libgs9 libgs9-common libgssdp-1.0-3 libgupnp-1.0-4 libhttpclient-java libinput-bin libinput10
  libisc-export1100 libisc1100 libisccc161 libisccfg163 libjavascriptcoregtk-4.0-18 libjson-c3 liblirc-client0 libllvm7
  liblwres161 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmariadb3 libnss3 libopenexr23
  libopenmpt-modplug1 libopenmpt0 libperl5.28 libpostproc55 libpq5 libpython3.7 libpython3.7-minimal libpython3.7-stdlib
  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 libqt5concurrent5 libqt5core5a libqt5dbus5
  libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5widgets5 libqt5xml5 libqtcore4 libqtdbus4 libqtgui4
  libsnmp-base libsnmp30 libswresample3 libswscale5 libunwind8 libwebkit2gtk-4.0-37 libx11-6 libx11-data libx11-xcb1
  libzipios++0v5 libzmq5 linux-image-amd64 linux-libc-dev mariadb-common openjdk-11-jre openjdk-11-jre-headless perl
  perl-base perl-modules-5.28 python-pil python3-pil python3.7 python3.7-minimal qdbus qt5-gtk-platformtheme qtcore4-l10n
  shim-helpers-amd64-signed shim-unsigned xserver-common xserver-xorg-core xserver-xorg-legacy
132 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 724 MB of archives.
After this operation, 418 MB of additional disk space will be used.
[..]
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for shim-signed:amd64 (1.33+15+1533136590.3beb971-7) ...

autoremove

tingo@kg-elitebook:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  linux-image-4.19.0-8-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 269 MB disk space will be freed.
[..]
update-initramfs: Deleting /boot/initrd.img-4.19.0-8-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.19.0-12-amd64
Found initrd image: /boot/initrd.img-4.19.0-12-amd64
Found linux image: /boot/vmlinuz-4.19.0-9-amd64
Found initrd image: /boot/initrd.img-4.19.0-9-amd64
Found unknown Linux distribution on /dev/sdb2
Found Fedora 28 (Twenty Eight) on /dev/mapper/fedora_kg--elitebook-root
Adding boot menu entry for EFI firmware configuration
done

ok

2020-09-05: sdb4 - get source for stm32-vserprog

tingo@kg-elitebook:/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot$ git clone --recurse-submodules https://github.com/dword1511/stm32-vserprog.git
Cloning into 'stm32-vserprog'...
remote: Enumerating objects: 274, done.
remote: Total 274 (delta 0), reused 0 (delta 0), pack-reused 274
Receiving objects: 100% (274/274), 413.21 KiB | 1.17 MiB/s, done.
Resolving deltas: 100% (152/152), done.
Submodule 'flashrom' (https://www.flashrom.org/git/flashrom.git) registered for path 'flashrom'
Submodule 'libopencm3' (https://github.com/libopencm3/libopencm3.git) registered for path 'libopencm3'
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/stm32-vserprog/flashrom'...
warning: redirecting to https://review.coreboot.org/cgit/flashrom.git/
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/stm32-vserprog/libopencm3'...
remote: Enumerating objects: 1, done.       
remote: Counting objects: 100% (1/1), done.       
remote: Total 28466 (delta 0), reused 0 (delta 0), pack-reused 28465       
Receiving objects: 100% (28466/28466), 6.03 MiB | 2.64 MiB/s, done.
Resolving deltas: 100% (18998/18998), done.
Submodule path 'flashrom': checked out '05c629be2964bcee368c03d805747da15281856d'
Submodule path 'libopencm3': checked out 'cb0661f81de5b1cae52ca99c7b5985b678176db7'

build for bluepill

tingo@kg-elitebook:/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/stm32-vserprog$ make BOARD=stm32-bluepill
[..]
arm-none-eabi-objcopy -S -O binary stm32-vserprog.elf stm32-vserprog.bin
arm-none-eabi-objcopy -S -O ihex   stm32-vserprog.elf stm32-vserprog.hex
arm-none-eabi-objdump -d stm32-vserprog.elf > stm32-vserprog.out

   text       data        bss        dec        hex    filename
   9632         24        572      10228       27f4    stm32-vserprog.elf

make[1]: Leaving directory '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/stm32-vserprog'

ok. My ftdi adapter shows up as ttyUSB0, so flash the bluepill with it

tingo@kg-elitebook:/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/stm32-vserprog$ make BOARD=stm32-bluepill flash-uart
stm32flash -w stm32-vserprog.hex -v /dev/ttyUSB0
stm32flash 0.5

http://stm32flash.sourceforge.net/

Using Parser : Intel HEX
Interface serial_posix: 57600 8E1
Version      : 0x22
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0410 (STM32F10xxx Medium-density)
- RAM        : 20KiB  (512b reserved by bootloader)
- Flash      : 128KiB (size first sector: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Write to memory
Erasing memory
Wrote and verified address 0x080025b8 (100.00%) Done.

ok

2020-09-05: sdb4 - install prerequisites for stm32-vserprog

tingo@kg-elitebook:~$ sudo apt install stm32flash gcc-arm-none-eabi
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  binutils-arm-none-eabi libnewlib-arm-none-eabi libnewlib-dev libstdc++-arm-none-eabi-newlib
Suggested packages:
  libnewlib-doc
The following NEW packages will be installed:
  binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libnewlib-dev libstdc++-arm-none-eabi-newlib
  stm32flash
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 174 MB of archives.
After this operation, 1,746 MB of additional disk space will be used.
[..]
Processing triggers for libc-bin (2.28-10) ...

ok

2020-09-04: sdb4 - coreboot - build it with 'make':

$ make
[..]
Created CBFS (capacity = 982488 bytes)
    CBFS       fallback/romstage
    CBFS       cpu_microcode_blob.bin
    CBFS       fallback/ramstage
    CBFS       vgaroms/seavgabios.bin
    CBFS       config
    CBFS       revision
    CBFS       fallback/dsdt.aml
    CBFS       vbt.bin
    CBFS       cmos_layout.bin
    CBFS       fallback/postcar
    CBFS       fallback/payload
    CBFS       payload_config
    CBFS       payload_revision
    CBFS       coreboot.rom
    SeaBIOS    Wait up to 5000 ms for PS/2 keyboard controller initialization
    CBFSLAYOUT  coreboot.rom

This image contains the following sections that can be manipulated with this tool:

'RW_MRC_CACHE' (size 65536, offset 7340032)
'COREBOOT' (CBFS, size 982528, offset 7406080)

It is possible to perform either the write action or the CBFS add/remove actions on every section listed above.
To see the image's read-only sections as well, rerun with the -w option.
    CBFSPRINT  coreboot.rom

FMAP REGION: COREBOOT
Name                           Offset     Type           Size   Comp
cbfs master header             0x0        cbfs header        32 none
fallback/romstage              0x80       stage           81364 none
cpu_microcode_blob.bin         0x13ec0    microcode       26624 none
fallback/ramstage              0x1a740    stage          112656 none
vgaroms/seavgabios.bin         0x35fc0    raw             28160 none
config                         0x3ce40    raw               110 none
revision                       0x3cf00    raw               675 none
fallback/dsdt.aml              0x3d200    raw             14630 none
vbt.bin                        0x40b80    raw              1368 LZMA (3985 decompressed)
cmos_layout.bin                0x41140    cmos_layout      1992 none
fallback/postcar               0x41940    stage           18120 none
fallback/payload               0x46040    simple elf      69198 none
payload_config                 0x56f00    raw              1728 none
payload_revision               0x57600    raw               235 none
etc/ps2-keyboard-spinup        0x57740    raw                 8 none
(empty)                        0x57780    null           558616 none
bootblock                      0xdfdc0    bootblock       65536 none
    HOSTCC     cbfstool/ifwitool.o
    HOSTCC     cbfstool/ifwitool (link)

Built lenovo/t420 (ThinkPad T420)

    ** WARNING **
coreboot has been built without an Intel Firmware Descriptor.
Never write a complete coreboot.rom without an IFD to your
board's flash chip! You can use flashrom's IFD or layout
parameters to flash only to the BIOS region.

ok.

2020-09-04: sdb4 - coreboot - build crossgcc

tingo@kg-elitebook:/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot$ make crossgcc-i386 CPUS=4
Welcome to the coreboot cross toolchain builder v80370ff991 (2020-09-02)

Building toolchain using 4 thread(s).

Target architecture is i386-elf

Found compatible Ada compiler, enabling Ada support by default.

Downloading and verifing tarballs ...
 * gmp-6.2.0.tar.xz (downloading from https://ftpmirror.gnu.org/gmp/gmp-6.2.0.tar.xz)... 100%... hash verified (052a5411dc74054240eec58132d2cf41211d0ff6)
 * mpfr-4.1.0.tar.xz (downloading from https://ftpmirror.gnu.org/mpfr/mpfr-4.1.0.tar.xz)... 100%... hash verified (159c3a58705662bfde4dc93f2617f3660855ead6)
 * mpc-1.2.0.tar.gz (downloading from https://ftpmirror.gnu.org/mpc/mpc-1.2.0.tar.gz)... 100%... hash verified (0abdc94acab0c9bfdaa391347cdfd7bbdb1cf017)
 * binutils-2.35.tar.xz (downloading from https://ftpmirror.gnu.org/binutils/binutils-2.35.tar.xz)... 100%... hash verified (6bdd090ce268b6d6c3442516021c4e4b5019e303)
 * gcc-8.3.0.tar.xz (downloading from https://ftpmirror.gnu.org/gcc/gcc-8.3.0/gcc-8.3.0.tar.xz)... 100%... hash verified (c27f4499dd263fe4fb01bcc5565917f3698583b2)
Downloaded tarballs ... ok
Unpacking and patching ...
 * gmp-6.2.0.tar.xz
   o gmp-6.2.0_generic-build.patch
 * mpfr-4.1.0.tar.xz
 * mpc-1.2.0.tar.gz
 * binutils-2.35.tar.xz
   o binutils-2.35_as-ipxe.patch
   o binutils-2.35_mips-gold.patch
   o binutils-2.35_no-bfd-doc.patch
   o binutils-2.35_no-makeinfo.patch
 * gcc-8.3.0.tar.xz
   o gcc-8.3.0_ada-musl_workaround.patch
   o gcc-8.3.0_asan_shadow_offset_callback.patch
   o gcc-8.3.0_gnat-bad_constant.patch
   o gcc-8.3.0_gnat.patch
   o gcc-8.3.0_gnat_eh.patch
   o gcc-8.3.0_libgcc.patch
   o gcc-8.3.0_nds32_ite.patch
Unpacked and patched ... ok
Building packages ...
Building GMP v6.2.0 for host ... ok
Building MPFR v4.1.0 for host ... ok
Building MPC v1.2.0 for host ... ok
Building BINUTILS v2.35 for target ... ok
Building GCC v8.3.0 for target ... ok
Packages built ... ok
Copied EDK2 tools template ... ok
Cleaning up temporary files... ok

You can now run i386-elf cross GCC from /zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/util/crossgcc/xgcc.
Welcome to the coreboot cross toolchain builder v80370ff991 (2020-09-02)

Building toolchain using 4 thread(s).

Downloading and verifing tarballs ...
 * nasm-2.15.03.tar.bz2 (downloading from https://www.nasm.us/pub/nasm/releasebuilds/2.15.03/nasm-2.15.03.tar.bz2)... 100%... hash verified (513ac3b800377f10833a02bc7f3fa8b84ca4f2b6)
Downloaded tarballs ... ok
Unpacking and patching ...
 * nasm-2.15.03.tar.bz2
Unpacked and patched ... ok
Building packages ...
Building NASM v2.15.03 for host ... ok
Packages built ... ok
Copied EDK2 tools template ... ok
Cleaning up temporary files... ok

You can now run NASM from /zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/util/crossgcc/xgcc.
Welcome to the coreboot cross toolchain builder v80370ff991 (2020-09-02)

Building toolchain using 4 thread(s).

Downloading and verifing tarballs ...
 * acpica-unix2-20200717.tar.gz (downloading from https://acpica.org/sites/acpica/files/acpica-unix2-20200717.tar.gz)... 100%... hash verified (92b0177f36b5209e6a667808ca58ef7462c4a6c7)
Downloaded tarballs ... ok
Unpacking and patching ...
 * acpica-unix2-20200717.tar.gz
   o acpica-unix2-20200717_iasl.patch
Unpacked and patched ... ok
Building packages ...
Building IASL v20200717 for host ... ok
Packages built ... ok
Copied EDK2 tools template ... ok
Cleaning up temporary files... ok

You can now run IASL ACPI compiler from /zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/util/crossgcc/xgcc.

ok

2020-09-04: sdb4 - coreboot - get the source

tingo@kg-elitebook:/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot$ git clone https://review.coreboot.org/coreboot.git
Cloning into 'coreboot'...
remote: Counting objects: 160, done
remote: Finding sources: 100% (146/146)
remote: Total 570785 (delta 30), reused 570726 (delta 30)
Receiving objects: 100% (570785/570785), 150.12 MiB | 2.49 MiB/s, done.
Resolving deltas: 100% (429657/429657), done.
Checking out files: 100% (16180/16180), done.

init / update submodules

tingo@kg-elitebook:/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot$ cd coreboot/
tingo@kg-elitebook:/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot$ git submodule update --init --checkout
Submodule '3rdparty/amd_blobs' (https://review.coreboot.org/amd_blobs) registered for path '3rdparty/amd_blobs'
Submodule 'arm-trusted-firmware' (https://review.coreboot.org/arm-trusted-firmware.git) registered for path '3rdparty/arm-trusted-firmware'
Submodule '3rdparty/blobs' (https://review.coreboot.org/blobs.git) registered for path '3rdparty/blobs'
Submodule '3rdparty/chromeec' (https://review.coreboot.org/chrome-ec.git) registered for path '3rdparty/chromeec'
Submodule '3rdparty/cmocka' (https://review.coreboot.org/cmocka.git) registered for path '3rdparty/cmocka'
Submodule '3rdparty/ffs' (https://review.coreboot.org/ffs.git) registered for path '3rdparty/ffs'
Submodule '3rdparty/fsp' (https://review.coreboot.org/fsp.git) registered for path '3rdparty/fsp'
Submodule 'intel-microcode' (https://review.coreboot.org/intel-microcode.git) registered for path '3rdparty/intel-microcode'
Submodule 'libgfxinit' (https://review.coreboot.org/libgfxinit.git) registered for path '3rdparty/libgfxinit'
Submodule 'libhwbase' (https://review.coreboot.org/libhwbase.git) registered for path '3rdparty/libhwbase'
Submodule 'opensbi' (https://review.coreboot.org/opensbi.git) registered for path '3rdparty/opensbi'
Submodule '3rdparty/qc_blobs' (https://review.coreboot.org/qc_blobs.git) registered for path '3rdparty/qc_blobs'
Submodule 'vboot' (https://review.coreboot.org/vboot.git) registered for path '3rdparty/vboot'
Submodule 'util/nvidia-cbootimage' (https://review.coreboot.org/nvidia-cbootimage.git) registered for path 'util/nvidia/cbootimage'
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/amd_blobs'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/arm-trusted-firmware'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/cmocka'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/ffs'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/blobs'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/chromeec'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/libgfxinit'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/libhwbase'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/opensbi'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/qc_blobs'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/intel-microcode'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/util/nvidia/cbootimage'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/vboot'...
Cloning into '/zs/tingo/work/bitraf/2020/20200904_thinkpad_T420_coreboot/coreboot/3rdparty/fsp'...
Submodule path '3rdparty/amd_blobs': checked out '3bd9078d27b10ea732a31bfabe48fa9868379850'
Submodule path '3rdparty/arm-trusted-firmware': checked out 'a4c979ade4438dfdd69c1b6e23b64e88eb648183'
Submodule path '3rdparty/blobs': checked out 'bbe5d99780d2d085e92d9bae2c0f7b6787419d72'
Submodule path '3rdparty/chromeec': checked out 'a1afae4e002a3eccd7835ac898259b0690e9e61a'
Submodule path '3rdparty/cmocka': checked out '672c5cee79eb412025c3dd8b034e611c1f119055'
Submodule path '3rdparty/ffs': checked out '3ec70fbc458e32eef0d0b1de79688b4dc48cbd57'
Submodule path '3rdparty/fsp': checked out 'eb25f19ef7fbe88fb207c6896a37a2035bba9bc5'
Submodule path '3rdparty/intel-microcode': checked out '0e4288f81f806620c65f70ee2bcf94b69d574096'
Submodule path '3rdparty/libgfxinit': checked out '3318bf26803c77d41b18bef6d7ae4e051b97f9f2'
Submodule path '3rdparty/libhwbase': checked out 'a3edc6ef32d09c566b7ea3555bc753458ec63039'
Submodule path '3rdparty/opensbi': checked out '215421ca610a64b8ec188c96ea8588ae2de41fb7'
Submodule path '3rdparty/qc_blobs': checked out '126fef6b996237403039aa603945fc4caa75c8d6'
Submodule path '3rdparty/vboot': checked out 'fefcaa653f2c7a79aa0270d8b2ef7cb290a6f225'
Submodule path 'util/nvidia/cbootimage': checked out '65a6d94dd5f442578551e0a81ecbe5235e673fd4'

ok

2020-09-04: sdb4 - apt - install prerequisites for coreboot build

tingo@kg-elitebook:~$ sudo apt install bison curl flex gnat libncurses5-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  gnat-8 libbison-dev libfl-dev libfl2 libgnat-8 libgnatvsn8 libncurses-dev
Suggested packages:
  bison-doc flex-doc ada-reference-manual-2012 gnat-gps gnat-8-doc gnat-8-sjlj ncurses-doc
The following NEW packages will be installed:
  bison curl flex gnat gnat-8 libbison-dev libfl-dev libfl2 libgnat-8 libgnatvsn8 libncurses-dev libncurses5-dev
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.6 MB of archives.
After this operation, 87.6 MB of additional disk space will be used.
[..]
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...

ok

2020-06-24: sdb4 - reboot, Debian 10.4 is in

tingo@kg-elitebook:~$ cat /etc/debian_version
10.4

kernel

tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux

ok

2020-06-24: sdb4 - apt - autoremove

tingo@kg-elitebook:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  libmicrodns0 liboce-foundation11 liboce-modeling11 liboce-ocaf-lite11 liboce-ocaf11 liboce-visualization11
  linux-image-4.19.0-5-amd64 linux-image-4.19.0-6-amd64
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
After this operation, 600 MB disk space will be freed.
[..]
Removing libmicrodns0:amd64 (0.0.10-1) ...
Removing liboce-ocaf11:amd64 (0.18.2-3) ...
Removing liboce-visualization11:amd64 (0.18.2-3) ...
Removing liboce-ocaf-lite11:amd64 (0.18.2-3) ...
Removing liboce-modeling11:amd64 (0.18.2-3) ...
Removing linux-image-4.19.0-5-amd64 (4.19.37-5+deb10u2) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-5-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.19.0-9-amd64
Found initrd image: /boot/initrd.img-4.19.0-9-amd64
Found linux image: /boot/vmlinuz-4.19.0-8-amd64
Found initrd image: /boot/initrd.img-4.19.0-8-amd64
Found linux image: /boot/vmlinuz-4.19.0-6-amd64
Found initrd image: /boot/initrd.img-4.19.0-6-amd64
Found unknown Linux distribution on /dev/sdb2
Found Fedora 28 (Twenty Eight) on /dev/mapper/fedora_kg--elitebook-root
Adding boot menu entry for EFI firmware configuration
done
Removing linux-image-4.19.0-6-amd64 (4.19.67-2+deb10u2) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-6-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.19.0-9-amd64
Found initrd image: /boot/initrd.img-4.19.0-9-amd64
Found linux image: /boot/vmlinuz-4.19.0-8-amd64
Found initrd image: /boot/initrd.img-4.19.0-8-amd64
Found unknown Linux distribution on /dev/sdb2
Found Fedora 28 (Twenty Eight) on /dev/mapper/fedora_kg--elitebook-root
Adding boot menu entry for EFI firmware configuration
done
Removing liboce-foundation11:amd64 (0.18.2-3) ...
Processing triggers for libc-bin (2.28-10) ...

ok

2020-06-24: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ 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:
  libmicrodns0 liboce-foundation11 liboce-modeling11 liboce-ocaf-lite11 liboce-ocaf11 liboce-visualization11
  linux-image-4.19.0-5-amd64
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  linux-image-4.19.0-9-amd64
The following packages will be upgraded:
  apt apt-utils base-files bind9-host bluetooth bluez ca-certificates chromium chromium-common chromium-sandbox
  cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ipp-utils cups-ppdc cups-server-common
  distro-info-data evince evince-common firefox-esr fonts-opensymbol fuse gir1.2-evince-3.0
  gir1.2-javascriptcoregtk-4.0 gir1.2-pango-1.0 gir1.2-webkit2-4.0 git git-man iputils-ping kicad kicad-footprints
  kicad-libraries kicad-packages3d kicad-symbols kicad-templates libapt-inst2.0 libapt-pkg5.0 libbind9-161
  libbluetooth3 libbrlapi0.6 libcups2 libcupsimage2 libcurl3-gnutls libcurl4 libdns-export1104 libdns1104
  libel-api-java libevdocument3-4 libevview3-3 libfuse2 libgnutls30 libicu63 libisc-export1100 libisc1100
  libisccc161 libisccfg163 libjavascriptcoregtk-4.0-18 libjsp-api-java libldap-2.4-2 libldap-common
  liblog4j1.2-java liblwres161 libnss-systemd libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
  libpangoxft-1.0-0 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 libspeechd2 libssh-gcrypt-4 libssl1.1
  libsystemd0 libtag1v5 libtag1v5-vanilla libtagc0 libudev1 libvlc-bin libvlc5 libvlccore9 libwebkit2gtk-4.0-37
  libwebsocket-api-java linux-image-4.19.0-8-amd64 linux-image-amd64 linux-libc-dev openjdk-11-jre
  openjdk-11-jre-headless openssl ppp python-pil python3-brlapi python3-pil python3-renderpm python3-reportlab
  python3-reportlab-accel python3-speechd python3-uno speech-dispatcher speech-dispatcher-audio-plugins
  speech-dispatcher-espeak-ng systemd systemd-sysv tzdata 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 wpasupplicant xbrlapi xdg-utils
152 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 810 MB of archives.
After this operation, 446 MB of additional disk space will be used.
[..]
update-initramfs: Generating /boot/initrd.img-4.19.0-9-amd64
Processing triggers for ca-certificates (20200601~deb10u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.
Processing triggers for libvlc-bin:amd64 (3.0.11-0+deb10u1) ...

ok

2020-02-13: sdb4 - reboot, new version is in

tingo@kg-elitebook:~$ cat /etc/debian_version
10.3

kernel

tingo@kg-elitebook:~$ uname -a
Linux kg-elitebook 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux

ok

2020-02-13: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ 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:
  libgl2ps1.4 liboce-foundation11 liboce-modeling11 liboce-ocaf-lite11 liboce-ocaf11 liboce-visualization11
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  linux-image-4.19.0-8-amd64
The following packages will be upgraded:
  atril atril-common base-files cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon
  cups-ipp-utils cups-ppdc cups-server-common e2fslibs e2fsprogs e2fsprogs-l10n firefox-esr
  libatrildocument3 libatrilview3 libboost-atomic1.67.0 libboost-chrono1.67.0 libboost-date-time1.67.0
  libboost-filesystem1.67.0 libboost-iostreams1.67.0 libboost-locale1.67.0 libboost-program-options1.67.0
  libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libburn4 libcom-err2 libcomerr2 libcups2
  libcupsimage2 libegl-mesa0 libegl1-mesa libexif12 libext2fs2 libgbm1 libgl1-mesa-dri libgl1-mesa-glx
  libglapi-mesa libglx-mesa0 libgnutls30 libidn2-0 libimobiledevice6 libmariadb3 libmatroska6v5 libmysofa0
  libnss-systemd libopenjp2-7 libpam-systemd libpq5 libpython3.7 libpython3.7-minimal libpython3.7-stdlib
  libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5printsupport5 libqt5widgets5
  libss2 libsystemd0 libtimedate-perl libudev1 libxatracker2 linux-image-amd64 linux-libc-dev mariadb-common
  mesa-va-drivers mesa-vdpau-drivers openssh-client openssh-server openssh-sftp-server python3.7
  python3.7-minimal qt5-gtk-platformtheme sudo systemd systemd-sysv udev
82 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 144 MB of archives.
After this operation, 270 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-8-amd64

ok.

2020-02-07: sdb4 - battery - with new battery installed, acpi reports:

tingo@kg-elitebook:~$ acpi -i
Battery 0: Discharging, 87%, 03:39:20 remaining
Battery 0: design capacity 3526 mAh, last full capacity 3526 mAh = 100%

and the short version

tingo@kg-elitebook:~$ acpi -b
Battery 0: Discharging, 86%, 04:58:37 remaining

good.

2020-01-30: sdb4 - apt - upgrade

tingo@kg-elitebook:~$ 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:
  libgl2ps1.4 liboce-foundation11 liboce-modeling11 liboce-ocaf-lite11 liboce-ocaf11 liboce-visualization11
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  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 libtbb2
The following packages will be upgraded:
  chromium chromium-common chromium-sandbox firefox-esr gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 git
  git-man kicad kicad-footprints kicad-libraries kicad-packages3d kicad-symbols kicad-templates
  libfreeimage3 libjavascriptcoregtk-4.0-18 libnss3 libsasl2-2 libsasl2-modules libsasl2-modules-db libtiff5
  libvpx5 libwebkit2gtk-4.0-37 openjdk-11-jre openjdk-11-jre-headless python-apt-common python3-apt
27 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 571 MB of archives.
After this operation, 88.8 MB of additional disk space will be used.
[..]
Processing triggers for desktop-file-utils (0.23-4) ...

ok.

2020-01-17: sdb4 - dropbox, download the command line client (dropbox.py)

tingo@kg-elitebook:/zs/tingo/dl$ wget -O dropbox.py https://www.dropbox.com/download?dl=packages/dropbox.py
--2020-01-16 22:04:16--  https://www.dropbox.com/download?dl=packages/dropbox.py
Resolving www.dropbox.com (www.dropbox.com)... 2620:100:6028:1::a27d:4701, 162.125.71.1
Connecting to www.dropbox.com (www.dropbox.com)|2620:100:6028:1::a27d:4701|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://linux.dropbox.com/packages/dropbox.py [following]
--2020-01-16 22:04:16--  https://linux.dropbox.com/packages/dropbox.py
Resolving linux.dropbox.com (linux.dropbox.com)... 52.85.242.65, 52.85.242.34, 52.85.242.43, ...
Connecting to linux.dropbox.com (linux.dropbox.com)|52.85.242.65|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 120454 (118K) [application/octet-stream]
Saving to: ‘dropbox.py’

dropbox.py                   100%[============================================>] 117.63K  --.-KB/s    in 0.04s  

2020-01-16 22:04:16 (2.68 MB/s) - ‘dropbox.py’ saved [120454/120454]

put it in ~/bin/

tingo@kg-elitebook:/zs/tingo/dl$ chmod u+x dropbox.py
tingo@kg-elitebook:/zs/tingo/dl$ mv dropbox.py ~/bin/

and you're ready to run it