bb - ASRock BeeBox-S 7100U - Debian

Hardware info on main page.

system drive - sdb

tingo@kg-bsbox:~$ sudo parted /dev/sdb print
Model: ATA WDC WDS240G1G0B- (scsi)
Disk /dev/sdb: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                  Flags
 2      1049kB  211MB   210MB   fat16           EFI System Partition  boot, esp EFI ESP
 3      211MB   1285MB  1074MB  ext4                                            Fedora (/boot)
 4      1285MB  53.7GB  52.4GB                                        lvm       Fedora
 5      53.7GB  73.3GB  19.6GB  ext4                                            Debian
 6      73.3GB  107GB   34.0GB  linux-swap(v1)                                  Debian (swap)
 7      107GB   108GB   210MB   fat16                                 boot, esp FreeBSD EFI
 8      108GB   158GB   50.3GB  freebsd-ufs                                     FreeBSD
 9      158GB   161GB   2684MB                                                  FreeBSD (swap)
 1      161GB   240GB   79.0GB  fat32                                 msftdata

storage drive - sda

tingo@kg-bsbox:~$ sudo parted /dev/sda print
Model: ATA CT1000MX500SSD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1000GB  1000GB  ext2

keys: F2 - UEFI (bios),

Archives: 2018, 2019, 2020,

Links

links: Debian, Debian wiki: GrubEFIReinstall, UEFI,

History

2023-01-22: sdb5 - reboot, a new kernel is in

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

2023-01-22: sdb5 - efbootmgr - check bootorder

tingo@kg-bsbox:~$ efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0005
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0007* USB

fix it

tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,5
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0001,0003,0005
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0007* USB

2023-01-22: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ 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-image-5.10.0-20-amd64
The following packages will be upgraded:
  base-files chromium chromium-common chromium-sandbox containerd distro-info-data firefox-esr
  gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 grub-common grub-efi grub-efi-amd64
  grub-efi-amd64-bin grub-efi-amd64-signed grub2-common kicad kicad-demos kicad-doc-en kicad-footprints
  kicad-libraries kicad-packages3d kicad-symbols libbluray2 libjavascriptcoregtk-4.0-18 libksba8
  liblept5 libmariadb3 libnftables1 libopenexr-dev libopenexr25 libpq5 libtasn1-6 libtasn1-6:i386
  libvlc-bin libvlc5 libvlccore9 libvncclient1 libwebkit2gtk-4.0-37 linux-image-amd64 linux-libc-dev
  mariadb-common nano nftables node-minimatch node-qs postgresql-client-13 sudo thunderbird 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
66 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 788 MB of archives.
After this operation, 349 MB of additional disk space will be used.
[..]
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.10.0-19-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-5.10.0-19-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-5.10.0-20-amd64
I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-20-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-20-amd64
W: initramfs-tools configuration sets RESUME=UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sdb1
I: (UUID=780fb2bd-d72f-4819-9cf9-5affa6f724da)
I: Set the RESUME variable to override this.
[..]
Restarting services...
 systemctl restart cups-browsed.service cups.service packagekit.service
Service restarts being deferred:
 systemctl restart NetworkManager.service
 systemctl restart lightdm.service

No containers need to be restarted.

User sessions running outdated binaries:
 tingo @ session #2: chrome_crashpad[403198,403200], chromium[402451,403204,403205,403207],
  firefox-esr[404122], xfce4-panel[1344], xfce4-session[905], xfdesktop[1370]
 tingo @ user manager service: systemd[880]

2022-11-27: sdb5 - install rpi-imager from a .deb file

tingo@kg-bsbox:/zs/tingo/dl/linux/raspbian$ 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.
[..]
Setting up rpi-imager (1.7.3) ...
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) ...
Scanning processes...                                                                                                    
Scanning processor microcode...                                                                                          
Scanning linux images...                                                                                                 

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

2022-11-27: sdb5 - efibootmgr - check bootorder

tingo@kg-bsbox:~$ efibootmgr
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0006,0005,0007
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* debian
Boot0007* USB

it changed, change it back

tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,5,6
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0002,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* debian
Boot0007* USB

verify

tingo@kg-bsbox:~$ efibootmgr
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0002,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* debian
Boot0007* USB

2022-11-27: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  chromium chromium-common chromium-sandbox firefox-esr grub-common grub-efi grub-efi-amd64
  grub-efi-amd64-bin grub-efi-amd64-signed grub2-common krb5-locales libgraphicsmagick++-q16-12
  libgraphicsmagick-q16-3 libgssapi-krb5-2 libgssapi-krb5-2:i386 libk5crypto3 libk5crypto3:i386
  libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libpixman-1-0 libpixman-1-0:i386
  thunderbird xserver-common xserver-xorg-core xserver-xorg-legacy
27 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 202 MB of archives.
After this operation, 127 kB of additional disk space will be used.
[..]
No containers need to be restarted.

User sessions running outdated binaries:
 tingo @ session #2: apt[147083], bash[1494,1500,1512,4729,5102], chrome_crashpad[1528,1530],
  chromium[1514,1534,1535,1537], ibus-daemon[1192], ibus-x11[1219], lightdm[855], mousepad[30736],
  ssh[1839,1844], xfce4-panel[1345], xfce4-session[1114], xfce4-terminal[1370], xfdesktop[1354]
 tingo @ user manager service: at-spi-bus-laun[1220], pipewire[1103], systemd[1088],
  xdg-document-po[1257]

2022-11-10: sdb5 - efibootmgr - check

tingo@kg-bsbox:~$ efibootmgr
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0006,0005
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* debian

fix bootorder

tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,5,6
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0002,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* debian

2022-11-10: sdb5 - reboot, a new kernel is in

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux

2022-11-10: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libbotan-2-17 libtspi1 linux-image-5.10.0-16-amd64 sse3-support
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  linux-image-5.10.0-19-amd64
The following packages will be upgraded:
  bind9-dnsutils bind9-host bind9-libs chromium chromium-common chromium-sandbox dbus dbus-user-session
  dbus-x11 dnsutils firefox-esr fonts-opensymbol gdal-data gir1.2-javascriptcoregtk-4.0
  gir1.2-webkit2-4.0 grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  grub2-common isc-dhcp-client isc-dhcp-common kicad kicad-demos kicad-doc-en kicad-footprints
  kicad-libraries kicad-packages3d kicad-symbols kicad-templates libavcodec-dev libavcodec58
  libavcodec58:i386 libavfilter7 libavformat-dev libavformat58 libavresample4 libavresample4:i386
  libavutil-dev libavutil56 libavutil56:i386 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
  libjavascriptcoregtk-4.0-18 libjuh-java libjurt-java libksba8 liblibreoffice-java
  libmaven-shared-utils-java libntfs-3g883 libpostproc55 libreoffice 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-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-mysql libreoffice-sdbc-postgresql libreoffice-style-colibre
  libreoffice-wiki-publisher libreoffice-writer libridl-java libswresample-dev libswresample3
  libswresample3:i386 libswscale-dev libswscale5 libuno-cppu3 libuno-cppuhelpergcc3-3
  libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 libunoil-java libunoloader-java
  libwebkit2gtk-4.0-37 libxml2 libxml2:i386 linux-image-amd64 linux-libc-dev locales ntfs-3g
  python3-gdal python3-uno thunderbird tzdata uno-libs-private ure
117 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 885 MB of archives.
After this operation, 340 MB of additional disk space will be used.
[..]
Failed to check for processor microcode upgrades.

Restarting services...
 /etc/needrestart/restart.d/systemd-manager
 systemctl restart avahi-daemon.service colord.service containerd.service cron.service cups-browsed.service cups.service packagekit.service polkit.service rsyslog.service rtkit-daemon.service ssh.service systemd-journald.service systemd-udevd.service udisks2.service upower.service
Service restarts being deferred:
 systemctl restart ModemManager.service
 systemctl restart NetworkManager.service
 /etc/needrestart/restart.d/dbus.service
 systemctl restart docker.service
 systemctl restart getty@tty1.service
 systemctl restart lightdm.service
 systemctl restart systemd-logind.service
 systemctl restart wpa_supplicant.service

No containers need to be restarted.

User sessions running outdated binaries:
 tingo @ session #2: apt[451570], bash[1501,1507,154154,158206,362203], chrome_crashpad[333516,333518],
  chromium[333502,333522,333523,333525], firefox-esr[449481], gnome-keyring-d[1113], ibus-daemon[1196],
  ibus-x11[1224], lightdm[1087], ssh[367219,451122], xfce4-panel[1350], xfce4-session[1117],
  xfce4-terminal[1375], xfdesktop[1359]
 tingo @ user manager service: at-spi-bus-laun[1222], gvfsd[1208], pipewire[1107], systemd[1092],
  xdg-document-po[1259]

apt - autoremove

tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  libbotan-2-17 libtspi1 linux-image-5.10.0-16-amd64 linux-image-5.10.0-17-amd64 sse3-support
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 626 MB disk space will be freed.
[..]
Removing sse3-support (6) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...

apt - autoclean

tingo@kg-bsbox:~$ sudo apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Del thunderbird 1:91.12.0-1~deb11u1 [50.6 MB]
Del firefox-esr 91.12.0esr-1~deb11u1 [58.4 MB]
Del dpkg 1.20.11 [2,530 kB]
Del base-files 11.1+deb11u4 [70.1 kB]

2022-11-10: sdb5 - my Gitlab token was about to expire, so I set up a new one, and tested it. It works.

2022-09-21: sdb5 - reboot, Debian 11.5 is in

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

and a new kernel

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

2022-09-21: sdb5 - apt - upgrade

tingo@kg-bsbox:~$  sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  sse3-support
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  linux-image-5.10.0-18-amd64
The following packages will be upgraded:
  avahi-daemon avahi-utils base-files chromium chromium-common chromium-sandbox curl dpkg dpkg-dev
  fig2dev firefox-esr fonts-opensymbol freecad freecad-common freecad-python3 gir1.2-gdkpixbuf-2.0
  gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 grub-common grub-efi grub-efi-amd64
  grub-efi-amd64-bin grub-efi-amd64-signed grub2-common krb5-locales libavahi-client3
  libavahi-client3:i386 libavahi-common-data libavahi-common-data:i386 libavahi-common3
  libavahi-common3:i386 libavahi-core7 libavahi-glib1 libavahi-gobject0 libayatana-appindicator3-1
  libc-bin libc-dev-bin libc-devtools libc-l10n libc6 libc6:i386 libc6-dev libcurl3-gnutls
  libcurl3-gnutls:i386 libcurl4 libcurl4:i386 libdpkg-perl libfreecad-python3-0.19 libgdk-pixbuf-2.0-0
  libgdk-pixbuf-2.0-0:i386 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgssapi-krb5-2
  libgssapi-krb5-2:i386 libhttp-daemon-perl libhttp-parser2.9 libjavascriptcoregtk-4.0-18 libjuh-java
  libjurt-java libk5crypto3 libk5crypto3:i386 libkrb5-3 libkrb5-3:i386 libkrb5support0
  libkrb5support0:i386 liblibreoffice-java libnss-systemd libpam-systemd libpcre2-16-0 libpcre2-8-0
  libpcre2-8-0:i386 libpoppler-cpp0v5 libpoppler-glib8 libpoppler-glib8:i386 libpoppler102
  libpoppler102:i386 libpq5 libreoffice 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-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-mysql libreoffice-sdbc-postgresql libreoffice-style-colibre
  libreoffice-wiki-publisher libreoffice-writer libridl-java libsystemd0 libsystemd0:i386 libudev1
  libudev1:i386 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3
  libuno-salhelpergcc3-3 libunoil-java libunoloader-java libwebkit2gtk-4.0-37 libxnvctrl0 libxslt1.1
  libxslt1.1:i386 linux-image-amd64 linux-libc-dev locales mokutil poppler-utils postgresql-client-13
  publicsuffix python3-uno systemd systemd-sysv thunderbird udev uno-libs-private ure xsltproc zlib1g
  zlib1g:i386 zlib1g-dev
139 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 448 MB of archives.
After this operation, 319 MB of additional disk space will be used.
[..]
Restarting services...
Service restarts being deferred:
 systemctl restart ModemManager.service
 systemctl restart NetworkManager.service
 systemctl restart colord.service
 systemctl restart containerd.service
 systemctl restart cron.service
 systemctl restart cups-browsed.service
 systemctl restart cups.service
 /etc/needrestart/restart.d/dbus.service
 systemctl restart docker.service
 systemctl restart getty@tty1.service
 systemctl restart lightdm.service
 systemctl restart ntp.service
 systemctl restart packagekit.service
 systemctl restart polkit.service
 systemctl restart rsyslog.service
 systemctl restart rtkit-daemon.service
 systemctl restart ssh.service
 systemctl restart systemd-journald.service
 systemctl restart systemd-logind.service
 /etc/needrestart/restart.d/systemd-manager
 systemctl restart udisks2.service
 systemctl restart upower.service
 systemctl restart uuidd.service
 systemctl restart wpa_supplicant.service

No containers need to be restarted.

User sessions running outdated binaries:
 lightdm @ user manager service: at-spi-bus-laun[661575], pipewire[661563], systemd[661547]
 tingo @ session #2: apt[660314], bash[2723,2732], chrome_crashpad[1509,1511],
  chromium[1497,1515,1516,1518], gnome-keyring-d[1121], ibus-daemon[1205], ibus-x11[1232], lightdm[854],
  ssh[659857,659862], xfce4-panel[1358], xfce4-session[1125], xfce4-terminal[1381], xfdesktop[1367]
 tingo @ user manager service: at-spi-bus-laun[1229], gvfsd[1219], pipewire[1116], systemd[1101],
  xdg-document-po[1268]

2022-08-23: sdb5 - apt - autoremove

tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-5.10.0-15-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 302 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 259152 files and directories currently installed.)
Removing linux-image-5.10.0-15-amd64 (5.10.120-1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.10.0-15-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-17-amd64
Found initrd image: /boot/initrd.img-5.10.0-17-amd64
Found linux image: /boot/vmlinuz-5.10.0-16-amd64
Found initrd image: /boot/initrd.img-5.10.0-16-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

autoclean

tingo@kg-bsbox:~$ sudo apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Del chromium-sandbox 103.0.5060.134-1~deb11u1 [123 kB]
Del gir1.2-webkit2-4.0 2.36.4-1~deb11u1 [115 kB]
Del chromium-common 104.0.5112.79-1~deb11u1 [4,841 kB]
Del chromium-sandbox 104.0.5112.79-1~deb11u1 [123 kB]
Del chromium 103.0.5060.134-1~deb11u1 [64.1 MB]
Del chromium-common 103.0.5060.134-1~deb11u1 [4,848 kB]
Del linux-libc-dev 5.10.127-2 [1,517 kB]
Del gir1.2-javascriptcoregtk-4.0 2.36.4-1~deb11u1 [63.8 kB]
Del libjavascriptcoregtk-4.0-18 2.36.4-1~deb11u1 [5,331 kB]
Del libwebkit2gtk-4.0-37 2.36.4-1~deb11u1 [13.6 MB]
Del linux-image-amd64 5.10.127-2 [1,484 B]

2022-08-23: sdb5 - apt - install KiCad 6 from backports

tingo@kg-bsbox:~$ sudo apt install -t bullseye-backports kicad kicad-templates kicad-symbols kicad-packages3d kicad-libraries kicad-footprints kicad-doc-en kicad-demos
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-image-5.10.0-15-amd64
Use 'sudo apt autoremove' to remove it.
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 175 not upgraded.
Need to get 466 MB of archives.
After this operation, 298 MB of additional disk space will be used.
[..]
dpkg: considering deconfiguration of kicad, which would be broken by installation of kicad-templates ...
dpkg: yes, will deconfigure kicad (broken by kicad-templates)
[..]
No user sessions are running outdated binaries.

2022-08-23: sdb5 - reboot, a new kernel is in

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 5.10.0-17-amd64 #1 SMP Debian 5.10.136-1 (2022-08-13) x86_64 GNU/Linux

2022-08-23: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ 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-image-5.10.0-17-amd64
The following packages will be upgraded:
  chromium chromium-common chromium-sandbox gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
  gstreamer1.0-gtk3 gstreamer1.0-plugins-good gstreamer1.0-plugins-good:i386 gstreamer1.0-pulseaudio
  kicad kicad-demos kicad-doc-en kicad-libraries libjavascriptcoregtk-4.0-18 libldb2 libsmbclient
  libsnmp-base libsnmp40 libsnmp40:i386 libwbclient0 libwebkit2gtk-4.0-37 linux-image-amd64
  linux-libc-dev python3-ldb samba-libs tzdata
26 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 217 MB of archives.
After this operation, 317 MB of additional disk space will be used.
[..]
Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

User sessions running outdated binaries:
 tingo @ session #2: atril[88125], chrome_crashpad[114244,114246],
  chromium[114232,114250,114251,114253], xfdesktop[1367]

2022-08-16: sdb5 - for some reason, the wireless network connection on this machine often stops working. It has been like this for some time now. Typical problem is that everything seems ok, but I can't ping anything but the local machine, not even the default gateway

tingo@kg-bsbox:~$ ping 10.13.37.1
PING 10.13.37.1 (10.13.37.1) 56(84) bytes of data.
From 10.13.37.59 icmp_seq=1 Destination Host Unreachable
From 10.13.37.59 icmp_seq=2 Destination Host Unreachable
^C
--- 10.13.37.1 ping statistics ---
5 packets transmitted, 0 received, +2 errors, 100% packet loss, time 4067ms

workaround: disconnect from the wifi (via nm-applet), reconnect to the wifi. And now it works - for a while

tingo@kg-bsbox:~$ ping 10.13.37.1
PING 10.13.37.1 (10.13.37.1) 56(84) bytes of data.
64 bytes from 10.13.37.1: icmp_seq=1 ttl=255 time=1.61 ms
64 bytes from 10.13.37.1: icmp_seq=2 ttl=255 time=4.00 ms
^C
--- 10.13.37.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 1.612/2.806/4.000/1.194 ms

not sure if this is a hardware problem or something else.

2022-08-12: sdb5 - power on after power outage. I rebooted into recovery, and ran e2fsck on /dev/sda1. Still had to reboot into recovery once more to avoid failed mounting of /zs (/dev/sda1). Oh well.

2022-08-09: sdb5 - reboot, a new kernel is in

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 5.10.0-16-amd64 #1 SMP Debian 5.10.127-2 (2022-07-23) x86_64 GNU/Linux

when I rebooted, mounting on /zs failed (/dev/sda1) so I had to reboot into recovery, umount /zs and do a e2fsck -y /dev/sda1 and reboot before itb worked.

2022-08-09: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  linux-image-5.10.0-13-amd64
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  chromium chromium-common chromium-sandbox curl firefox-esr libcurl3-gnutls libcurl3-gnutls:i386
  libcurl4 libcurl4:i386 libgnutls30 libgnutls30:i386 libtirpc-common libtirpc-dev libtirpc3
  libtirpc3:i386 linux-image-5.10.0-16-amd64 linux-image-amd64 linux-libc-dev thunderbird unzip
  xserver-common xserver-xorg-core xserver-xorg-legacy
23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 247 MB of archives.
After this operation, 2,698 kB disk space will be freed.
[..]
Restarting services...
 systemctl restart avahi-daemon.service colord.service cron.service cups-browsed.service cups.service ntp.service packagekit.service polkit.service rsyslog.service rtkit-daemon.service ssh.service systemd-udevd.service udisks2.service
Service restarts being deferred:
 systemctl restart NetworkManager.service
 /etc/needrestart/restart.d/dbus.service
 systemctl restart docker.service
 systemctl restart getty@tty1.service
 systemctl restart lightdm.service
 systemctl restart systemd-logind.service

No containers need to be restarted.

User sessions running outdated binaries:
 tingo @ session #2: apt[159318], bash[2721,2731,3044,51409,51420,76102,76227,76254,153919],
  chrome_crashpad[1499,1501], chromium[1484,1505,1506,1508], ibus-daemon[1193], lightdm[882],
  ssh[2744,159248], xfce4-panel[1346], xfce4-session[1114], xfce4-terminal[1371], xfdesktop[1355]
 tingo @ session #58: sshd[13061,13067]
 tingo @ user manager service: at-spi-bus-laun[1222], pipewire[1104], systemd[1089],
  xdg-document-po[1259]

apt - autoremove

tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-5.10.0-13-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 302 MB disk space will be freed.
[..]
Removing linux-image-5.10.0-13-amd64 (5.10.106-1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.10.0-13-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-16-amd64
Found initrd image: /boot/initrd.img-5.10.0-16-amd64
Found linux image: /boot/vmlinuz-5.10.0-15-amd64
Found initrd image: /boot/initrd.img-5.10.0-15-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

2022-08-09: sdb5 - token - I updated my github token, it has almost run out (wow, a year flew by fast). For details, see the 2021-08-12 entry.

2022-07-23: sdb5 - reboot, Debian 11.4 is in

tingo@kg-bsbox:~$ cat /etc/debian_version 
11.4

and a new kernel

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux

2022-07-23: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ 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-image-5.10.0-16-amd64
The following packages will be upgraded:
  base-files bash chromium chromium-common chromium-sandbox distro-info-data docker.io dpkg dpkg-dev
  freetype2-doc gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libdpkg-perl libfreetype-dev
  libfreetype6 libfreetype6:i386 libfreetype6-dev libfribidi0 libfribidi0:i386 libgnutls30
  libgnutls30:i386 libintl-perl libintl-xs-perl libjavascriptcoregtk-4.0-18 libnm0 libsdl2-2.0-0
  libsdl2-2.0-0:i386 libsmbclient libwbclient0 libwebkit2gtk-4.0-37 libxnvctrl0 linux-image-amd64
  linux-libc-dev logrotate nano needrestart network-manager openjdk-11-jre openjdk-11-jre-headless
  openssh-client openssh-server openssh-sftp-server runc samba-libs unrar usb.ids wireless-regdb
47 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 249 MB of archives.
After this operation, 302 MB of additional disk space will be used.
[..]
Restarting services...
 systemctl restart cups-browsed.service cups.service packagekit.service
Service restarts being deferred:
 systemctl restart docker.service
 systemctl restart lightdm.service
 systemctl restart systemd-logind.service
 systemctl restart wpa_supplicant.service

No containers need to be restarted.

User sessions running outdated binaries:
 tingo @ session #2: bash[1726,90231], chrome_crashpad[105867,105869],
  chromium[105855,105873,105874,105876], firefox-esr[244376], ibus-daemon[1197], ibus-x11[1221],
  lightdm[1088], mousepad[90170], ssh[249646], xfce4-panel[1350], xfce4-session[1119],
  xfce4-terminal[1375], xfdesktop[1359]
 tingo @ user manager service: systemd[1093]

2022-07-07: sdb5 - apt - autoremove

tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-5.10.0-11-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 302 MB disk space will be freed.
[..]
Removing linux-image-5.10.0-11-amd64 (5.10.92-2) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.10.0-11-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-15-amd64
Found initrd image: /boot/initrd.img-5.10.0-15-amd64
Found linux image: /boot/vmlinuz-5.10.0-13-amd64
Found initrd image: /boot/initrd.img-5.10.0-13-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

apt autoclean

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

2022-07-07: sdb5 - apt upgrade

tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  linux-image-5.10.0-11-amd64
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  dirmngr firefox-esr gnupg gnupg-agent gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv libnode-dev libnode72 libssl-dev libssl1.1 libssl1.1:i386 nodejs
  nodejs-doc openssl thunderbird
22 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 135 MB of archives.
After this operation, 42.0 kB of additional disk space will be used.
[..]
Restarting services...
 /etc/needrestart/restart.d/systemd-manager
 systemctl restart ntp.service ssh.service systemd-journald.service systemd-udevd.service udisks2.service upower.service
Service restarts being deferred:
 systemctl restart systemd-logind.service
 systemctl restart user@1000.service
 systemctl restart wpa_supplicant.service

No containers need to be restarted.

No user sessions are running outdated binaries.

2022-06-25: sdb5 - reboot, a new kernel is in

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 5.10.0-15-amd64 #1 SMP Debian 5.10.120-1 (2022-06-09) x86_64 GNU/Linux

2022-06-25: sdb5 - apt update, then upgrade

tingo@kg-bsbox:~$ 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-image-5.10.0-15-amd64 sse3-support
The following packages will be upgraded:
  chromium chromium-common chromium-sandbox containerd cups cups-bsd cups-client cups-common
  cups-core-drivers cups-daemon cups-ipp-utils cups-ppdc cups-server-common dpkg dpkg-dev exo-utils
  firefox-esr gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 gzip libavcodec-dev libavcodec58
  libavcodec58:i386 libavfilter7 libavformat-dev libavformat58 libavresample4 libavresample4:i386
  libavutil-dev libavutil56 libavutil56:i386 libcups2 libcups2:i386 libcupsimage2 libdpkg-perl
  libexo-2-0 libexo-common libjavascriptcoregtk-4.0-18 libldap-2.4-2 libldap-2.4-2:i386 libldap-common
  liblzma-dev liblzma5 liblzma5:i386 libntfs-3g883 libpostproc55 libpq5 libssl-dev libssl1.1
  libssl1.1:i386 libswresample-dev libswresample3 libswresample3:i386 libswscale-dev libswscale5
  libvlc-bin libvlc5 libvlccore9 libwebkit2gtk-4.0-37 libxml2 libxml2:i386 linux-image-amd64
  linux-libc-dev needrestart ntfs-3g openjdk-11-jre openjdk-11-jre-headless openssl
  postgresql-client-13 rsyslog thunderbird tzdata 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 xz-utils
86 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 368 MB of archives.
After this operation, 311 MB of additional disk space will be used.
[..]
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-15-amd64
W: initramfs-tools configuration sets RESUME=UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sdb1
I: (UUID=780fb2bd-d72f-4819-9cf9-5affa6f724da)
I: Set the RESUME variable to override this.
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for ntp (1:4.2.8p15+dfsg-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for libvlc-bin:amd64 (3.0.17.4-0+deb11u1) ...
Scanning processes...                                                                                    
Scanning candidates...                                                                                   
Scanning processor microcode...                                                                          
Scanning linux images...                                                                                 

Failed to check for processor microcode upgrades.

Restarting services...
 /etc/needrestart/restart.d/systemd-manager
 systemctl restart avahi-daemon.service colord.service packagekit.service polkit.service rtkit-daemon.service ssh.service systemd-journald.service systemd-udevd.service udisks2.service upower.service uuidd.service
Service restarts being deferred:
 systemctl restart ModemManager.service
 systemctl restart NetworkManager.service
 /etc/needrestart/restart.d/dbus.service
 systemctl restart docker.service
 systemctl restart lightdm.service
 systemctl restart systemd-logind.service
 systemctl restart user@1000.service
 systemctl restart wpa_supplicant.service

No containers need to be restarted.

No user sessions are running outdated binaries.

2022-05-26: sdb5 - today the machine didn't have an IPv4 address, so I disconnected and reconnected the wireless. Fixed.

2022-04-18: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  chromium chromium-common chromium-sandbox
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 67.0 MB of archives.
After this operation, 0 B of additional disk space will be used.
[..]
No user sessions are running outdated binaries.

2022-04-15: sdb5 - chromium got stuck, so I had to kill it pkill -HUP chromium. Thats all.

2022-04-14: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  chromium chromium-common chromium-sandbox firefox-esr gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
  libjavascriptcoregtk-4.0-18 libsvn1 libwebkit2gtk-4.0-37 subversion thunderbird
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 198 MB of archives.
After this operation, 11.5 MB of additional disk space will be used.
[..]
Scanning processes...                                                                                    
Scanning candidates...                                                                                   
Scanning processor microcode...                                                                          
Scanning linux images...                                                                                 

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

2022-04-03: sdb5 - reboot, Debian 11.3 is in

tingo@kg-bsbox:~$ cat /etc/debian_version 
11.3

and a new kernel

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux

2022-04-03: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ 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-image-5.10.0-13-amd64
The following packages will be upgraded:
  base-files bind9-dnsutils bind9-host bind9-libs chromium chromium-common chromium-sandbox containerd
  cups-browsed cups-filters cups-filters-core-drivers dirmngr dnsutils espeak-ng-data firefox-esr
  gir1.2-gtk-3.0 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 gtk-update-icon-cache
  libarchive13 libc-bin libc-dev-bin libc-devtools libc-l10n libc6 libc6:i386 libc6-dev libcryptsetup12
  libcupsfilters1 libespeak-ng1 libexpat1 libexpat1:i386 libexpat1-dev libflac8 libflac8:i386
  libfontembed1 libgtk-3-0 libgtk-3-bin libgtk-3-common libjavascriptcoregtk-4.0-18 liblog4j1.2-java
  libmariadb3 libnss-systemd libpam-systemd libsasl2-2 libsasl2-2:i386 libsasl2-modules
  libsasl2-modules:i386 libsasl2-modules-db libsasl2-modules-db:i386 libsmbclient libssl-dev libssl1.1
  libssl1.1:i386 libsystemd0 libsystemd0:i386 libtiff-dev libtiff-tools libtiff5 libtiff5:i386
  libtiffxx5 libudev1 libudev1:i386 libwbclient0 libwebkit2gtk-4.0-37 libxml2 libxml2:i386
  linux-image-5.10.0-11-amd64 linux-image-amd64 linux-libc-dev locales mariadb-common openssl
  python-pip-whl python3-pip samba-libs systemd systemd-sysv sysvinit-utils task-desktop task-english
  task-ssh-server task-xfce-desktop tasksel tasksel-data thunderbird tzdata udev usb.ids
  xserver-xorg-video-intel xterm zlib1g zlib1g:i386 zlib1g-dev
105 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 390 MB of archives.
After this operation, 303 MB of additional disk space will be used.
[..]
Failed to check for processor microcode upgrades.

Restarting services...
 /etc/needrestart/restart.d/systemd-manager
 systemctl restart avahi-daemon.service colord.service cron.service cups.service packagekit.service polkit.service rsyslog.service rtkit-daemon.service ssh.service systemd-journald.service udisks2.service upower.service uuidd.service
Service restarts being deferred:
 systemctl restart ModemManager.service
 systemctl restart NetworkManager.service
 /etc/needrestart/restart.d/dbus.service
 systemctl restart docker.service
 systemctl restart getty@tty1.service
 systemctl restart lightdm.service
 systemctl restart systemd-logind.service
 systemctl restart user@1000.service
 systemctl restart user@111.service
 systemctl restart wpa_supplicant.service

No containers need to be restarted.

No user sessions are running outdated binaries.

apt - autoremove

tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-5.10.0-10-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 302 MB disk space will be freed.
[..]
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-13-amd64
Found initrd image: /boot/initrd.img-5.10.0-13-amd64
Found linux image: /boot/vmlinuz-5.10.0-11-amd64
Found initrd image: /boot/initrd.img-5.10.0-11-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

apt - autoclean

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

2022-01-30: sdb5 - reboot, a new kernel is in

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux

2022-01-30: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ 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-image-5.10.0-11-amd64
The following packages will be upgraded:
  bsdextrautils bsdutils chromium chromium-common chromium-sandbox eject fdisk firefox-esr ghostscript
  gir1.2-javascriptcoregtk-4.0 gir1.2-polkit-1.0 gir1.2-webkit2-4.0 libblkid1 libblkid1:i386 libfdisk1
  libgs9 libgs9-common libjavascriptcoregtk-4.0-18 libmount1 libmount1:i386 libnss3 libnss3:i386
  libpolkit-agent-1-0 libpolkit-gobject-1-0 libsmartcols1 liburiparser1 libuuid1 libuuid1:i386
  libwebkit2gtk-4.0-37 linux-image-amd64 linux-libc-dev mount openjdk-11-jre openjdk-11-jre-headless
  policykit-1 python3-lxml python3-pil thunderbird util-linux util-linux-locales uuid-runtime
41 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 297 MB of archives.
After this operation, 339 MB of additional disk space will be used.
[..]
Restarting services...
Service restarts being deferred:
 systemctl restart NetworkManager.service
 systemctl restart colord.service
 systemctl restart cups-browsed.service
 systemctl restart getty@tty1.service
 systemctl restart lightdm.service
 systemctl restart packagekit.service
 systemctl restart rsyslog.service
 systemctl restart systemd-journald.service
 systemctl restart systemd-logind.service
 /etc/needrestart/restart.d/systemd-manager
 systemctl restart systemd-udevd.service
 systemctl restart udisks2.service
 systemctl restart upower.service
 systemctl restart user@1000.service

No containers need to be restarted.

No user sessions are running outdated binaries.

apt - autoremove

tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-5.10.0-9-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 302 MB disk space will be freed.
[..]
Removing linux-image-5.10.0-9-amd64 (5.10.70-1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.10.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-5.10.0-11-amd64
Found initrd image: /boot/initrd.img-5.10.0-11-amd64
Found linux image: /boot/vmlinuz-5.10.0-10-amd64
Found initrd image: /boot/initrd.img-5.10.0-10-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

apt - autoclean

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

2022-01-30: sdb5 - today, NetWorkManager was not running. I suspect that the machine ran out of swap and killed some (a lot of) processes.

tingo@kg-bsbox:~$ systemctl status NetworkManager
● NetworkManager.service - Network Manager
     Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Fri 2022-01-28 20:57:50 CET; 1 day 17h ago
       Docs: man:NetworkManager(8)
    Process: 629 ExecStart=/usr/sbin/NetworkManager --no-daemon (code=exited, status=0/SUCCESS)
   Main PID: 629 (code=exited, status=0/SUCCESS)
        CPU: 25min 11.074s

Jan 28 20:57:50 kg-bsbox NetworkManager[629]: <info>  [1643399870.5246] modem-manager: ModemManager no l>
Jan 28 20:57:50 kg-bsbox NetworkManager[629]: <info>  [1643399870.5250] device (wlp3s0): supplicant inte>
Jan 28 20:57:50 kg-bsbox NetworkManager[629]: <info>  [1643399870.5346] device (wlp3s0): state change: f>
Jan 28 20:57:50 kg-bsbox NetworkManager[629]: <info>  [1643399870.5350] dhcp4 (wlp3s0): canceled DHCP tr>
Jan 28 20:57:50 kg-bsbox NetworkManager[629]: <info>  [1643399870.5350] dhcp4 (wlp3s0): state changed ex>
Jan 28 20:57:50 kg-bsbox NetworkManager[629]: <info>  [1643399870.5502] device (wlp3s0): set-hw-addr: re>
Jan 28 20:57:50 kg-bsbox NetworkManager[629]: <info>  [1643399870.7212] device (p2p-dev-wlp3s0): state c>
Jan 28 20:57:50 kg-bsbox NetworkManager[629]: <info>  [1643399870.8401] exiting (success)
Jan 28 20:57:50 kg-bsbox systemd[1]: NetworkManager.service: Succeeded.
Jan 28 20:57:50 kg-bsbox systemd[1]: NetworkManager.service: Consumed 25min 11.074s CPU time.

restart it

tingo@kg-bsbox:~$ sudo systemctl restart NetworkManager

check

tingo@kg-bsbox:~$ nmcli c
NAME                UUID                                  TYPE      DEVICE          
bitraf              891487ed-b751-40a1-8fd2-41ccac97c6c1  wifi      wlp3s0          
br-06ff3ad04837     732b5e98-e1d9-4b09-9c18-362adb080a99  bridge    br-06ff3ad04837 
docker0             c22aad6b-bacb-4bae-8b57-98809006c442  bridge    docker0         
Wired connection 1  0e59ab95-a232-4305-a89b-75accba7fbf8  ethernet  --              

good.

2021-12-29: sdb5 - fix $HOME/.profile. Before

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

after

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
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
if [ -d "$HOME/progs/esp/esp-idf" ] ; then
    export IDF_PATH="$HOME/progs/esp/esp-idf"
fi

I tested - it works.

2021-12-27: sdb5 - reboot, Debian 11.2 is in

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

and a new kernel

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

2021-12-27: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ 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-image-5.10.0-10-amd64
The following packages will be upgraded:
  base-files cmake cmake-data containerd curl distro-info-data docker.io firefox-esr gdal-data
  gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 im-config libayatana-indicator3-7 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-image-amd64 linux-libc-dev
  node-json-schema node-tar postgresql-client-13 publicsuffix python3-gdal python3-ldb
  python3-virtualenv samba-libs udisks2 vim-common vim-tiny virtualenv wget xserver-common
  xserver-xorg-core xserver-xorg-legacy xxd
50 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 233 MB of archives.
After this operation, 316 MB of additional disk space will be used.
[..]
Failed to check for processor microcode upgrades.

Restarting services...
 /etc/needrestart/restart.d/systemd-manager
 systemctl restart cups-browsed.service cups.service packagekit.service systemd-journald.service
Service restarts being deferred:
 systemctl restart NetworkManager.service
 systemctl restart docker.service
 systemctl restart lightdm.service
 systemctl restart systemd-logind.service
 systemctl restart user@1000.service

No containers need to be restarted.

No user sessions are running outdated binaries.

apt - autoremove

tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-5.10.0-8-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 302 MB disk space will be freed.
[..]
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 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

2021-12-13: sdb5 - apt - install cheese

tingo@kg-bsbox:~$ sudo apt install cheese
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  cheese-common docbook-xml gnome-video-effects gstreamer1.0-clutter-3.0 libcheese-gtk25 libcheese8
  libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libyelp0 sgml-data yelp yelp-xsl
Suggested packages:
  gnome-video-effects-frei0r docbook docbook-dsssl docbook-xsl docbook-defguide perlsgml w3-recs opensp
  libxml2-utils
The following NEW packages will be installed:
  cheese cheese-common docbook-xml gnome-video-effects gstreamer1.0-clutter-3.0 libcheese-gtk25
  libcheese8 libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libyelp0 sgml-data yelp yelp-xsl
0 upgraded, 13 newly installed, 0 to remove and 11 not upgraded.
Need to get 2,757 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
[..]
Setting up cheese (3.38.0-3) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
Processing triggers for sgml-base (1.30) ...
Scanning processes...                                                                                    
Scanning processor microcode...                                                                          
Scanning linux images...                                                                                 

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

2021-11-16: sdb5 - GitLab - I got tired of being asked for password on every push, so I set up a personal access token for it, using the same recipe as for Github. Works really well.

2021-11-03: sdb5 - Github token - today I needed to create a workflow, so I updated my Github PAT to include workflow scope. And if I view the token on Github, it says it has this scope ... never mind, I had updated the wrong token. User error.

2021-11-02: sdb5 - apt - upgrade sshfs

tingo@kg-bsbox:~$ sudo apt install sshfs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  fuse3 libfuse3-3
The following packages will be REMOVED:
  fuse
The following NEW packages will be installed:
  fuse3 libfuse3-3
The following packages will be upgraded:
  sshfs
1 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
Need to get 166 kB of archives.
After this operation, 263 kB of additional disk space will be used.
[..]
dpkg: fuse: dependency problems, but removing anyway as you requested:
 xdg-desktop-portal depends on fuse.
 sshfs depends on fuse.
 ntfs-3g depends on fuse.
 fuseiso depends on fuse.
 exfat-fuse depends on fuse.
[..]
update-initramfs: Generating /boot/initrd.img-5.10.0-9-amd64
W: initramfs-tools configuration sets RESUME=UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sdb1
I: (UUID=780fb2bd-d72f-4819-9cf9-5affa6f724da)
I: Set the RESUME variable to override this.
[..]

2021-11-02: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  sshfs
The following packages will be upgraded:
  bind9-dnsutils bind9-host bind9-libs dnsutils fonts-opensymbol gir1.2-javascriptcoregtk-4.0
  gir1.2-webkit2-4.0 libavcodec-dev libavcodec58 libavcodec58:i386 libavfilter7 libavformat-dev
  libavformat58 libavresample4 libavresample4:i386 libavutil-dev libavutil56 libavutil56:i386
  libjavascriptcoregtk-4.0-18 libjuh-java libjurt-java liblibreoffice-java libpostproc55 libreoffice
  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-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-mysql libreoffice-sdbc-postgresql
  libreoffice-style-colibre libreoffice-wiki-publisher libreoffice-writer libridl-java
  libswresample-dev libswresample3 libswresample3:i386 libswscale-dev libswscale5 libuno-cppu3
  libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 libunoil-java
  libunoloader-java libwebkit2gtk-4.0-37 openjdk-11-jre openjdk-11-jre-headless python3-uno tzdata
  uno-libs-private ure
71 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 182 MB of archives.
After this operation, 2,103 kB of additional disk space will be used.
[..]
Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

Restarting services...
Service restarts being deferred:
 systemctl restart user@1000.service

No containers need to be restarted.

No user sessions are running outdated binaries.

2021-11-01: sdb5 - apt - install yangcli

tingo@kg-bsbox:~$ 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 70 not upgraded.
Need to get 656 kB of archives.
After this operation, 2,419 kB of additional disk space will be used.
[..]
Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

files are

tingo@kg-bsbox:~$ dpkg-query -L yangcli
/.
/usr
/usr/bin
/usr/bin/yangcli
/usr/share
/usr/share/doc
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/yangcli.1.gz
/usr/share/doc/yangcli

2021-10-19: sdb5 - apt - install dfu-util

tingo@kg-bsbox:~$ sudo apt install dfu-util
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  dfu-util
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 34.9 kB of archives.
After this operation, 127 kB of additional disk space will be used.
Get:1 http://ftp.no.debian.org/debian bullseye/main amd64 dfu-util amd64 0.9-1+b1 [34.9 kB]
Fetched 34.9 kB in 1s (23.3 kB/s)
Selecting previously unselected package dfu-util.
(Reading database ... 252274 files and directories currently installed.)
Preparing to unpack .../dfu-util_0.9-1+b1_amd64.deb ...
Unpacking dfu-util (0.9-1+b1) ...
Setting up dfu-util (0.9-1+b1) ...
Processing triggers for man-db (2.9.4-2) ...
Scanning processes...                                                                                    
Scanning processor microcode...                                                                          
Scanning linux images...                                                                                 

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

2021-10-19: sdb5 - apt - install nodejs and npm (needed for Particle cli)

tingo@kg-bsbox:~$ sudo apt install nodejs npm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  gyp libc-ares2 libjs-highlight.js libjs-inherits libjs-is-typedarray libjs-psl
  libjs-typedarray-to-buffer libnode-dev libnode72 libssl-dev libuv1-dev node-abbrev node-agent-base
  node-ajv node-ansi node-ansi-regex node-ansi-styles node-ansistyles node-aproba node-archy
  node-are-we-there-yet node-asap node-asn1 node-assert-plus node-asynckit node-aws-sign2 node-aws4
  node-balanced-match node-bcrypt-pbkdf node-brace-expansion node-builtins node-cacache node-caseless
  node-chalk node-chownr node-clone node-color-convert node-color-name node-colors node-columnify
  node-combined-stream node-concat-map node-console-control-strings node-copy-concurrently
  node-core-util-is node-dashdash node-debug node-defaults node-delayed-stream node-delegates node-depd
  node-ecc-jsbn node-encoding node-err-code node-escape-string-regexp node-extend node-extsprintf
  node-fast-deep-equal node-forever-agent node-form-data node-fs-write-stream-atomic node-fs.realpath
  node-function-bind node-gauge node-getpass node-glob node-graceful-fs node-gyp node-har-schema
  node-har-validator node-has-flag node-has-unicode node-hosted-git-info node-http-signature
  node-https-proxy-agent node-iconv-lite node-iferr node-imurmurhash node-indent-string node-inflight
  node-inherits node-ini node-ip node-ip-regex node-is-typedarray node-isarray node-isexe node-isstream
  node-jsbn node-json-parse-better-errors node-json-schema node-json-schema-traverse
  node-json-stable-stringify node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream
  node-jsprim node-leven node-lockfile node-lru-cache node-mime node-mime-types node-minimatch
  node-mkdirp node-move-concurrently node-ms node-mute-stream node-nopt node-normalize-package-data
  node-npm-bundled node-npm-package-arg node-npmlog node-number-is-nan node-oauth-sign
  node-object-assign node-once node-opener node-osenv node-p-map node-path-is-absolute
  node-performance-now node-process-nextick-args node-promise-inflight node-promise-retry node-promzard
  node-psl node-puka node-punycode node-qs node-read node-read-package-json node-readable-stream
  node-request node-resolve node-resolve-from node-retry node-rimraf node-run-queue node-safe-buffer
  node-semver node-set-blocking node-signal-exit node-slash node-spdx-correct node-spdx-exceptions
  node-spdx-expression-parse node-spdx-license-ids node-sshpk node-ssri node-string-decoder
  node-string-width node-strip-ansi node-supports-color node-tar node-text-table node-through
  node-tough-cookie node-tunnel-agent node-tweetnacl node-typedarray-to-buffer node-unique-filename
  node-universalify node-uri-js node-util-deprecate node-uuid node-validate-npm-package-license
  node-validate-npm-package-name node-verror node-wcwidth.js node-which node-wide-align node-wrappy
  node-write-file-atomic node-yallist nodejs-doc
Suggested packages:
  libssl-doc
The following NEW packages will be installed:
  gyp libc-ares2 libjs-highlight.js libjs-inherits libjs-is-typedarray libjs-psl
  libjs-typedarray-to-buffer libnode-dev libnode72 libssl-dev libuv1-dev node-abbrev node-agent-base
  node-ajv node-ansi node-ansi-regex node-ansi-styles node-ansistyles node-aproba node-archy
  node-are-we-there-yet node-asap node-asn1 node-assert-plus node-asynckit node-aws-sign2 node-aws4
  node-balanced-match node-bcrypt-pbkdf node-brace-expansion node-builtins node-cacache node-caseless
  node-chalk node-chownr node-clone node-color-convert node-color-name node-colors node-columnify
  node-combined-stream node-concat-map node-console-control-strings node-copy-concurrently
  node-core-util-is node-dashdash node-debug node-defaults node-delayed-stream node-delegates node-depd
  node-ecc-jsbn node-encoding node-err-code node-escape-string-regexp node-extend node-extsprintf
  node-fast-deep-equal node-forever-agent node-form-data node-fs-write-stream-atomic node-fs.realpath
  node-function-bind node-gauge node-getpass node-glob node-graceful-fs node-gyp node-har-schema
  node-har-validator node-has-flag node-has-unicode node-hosted-git-info node-http-signature
  node-https-proxy-agent node-iconv-lite node-iferr node-imurmurhash node-indent-string node-inflight
  node-inherits node-ini node-ip node-ip-regex node-is-typedarray node-isarray node-isexe node-isstream
  node-jsbn node-json-parse-better-errors node-json-schema node-json-schema-traverse
  node-json-stable-stringify node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream
  node-jsprim node-leven node-lockfile node-lru-cache node-mime node-mime-types node-minimatch
  node-mkdirp node-move-concurrently node-ms node-mute-stream node-nopt node-normalize-package-data
  node-npm-bundled node-npm-package-arg node-npmlog node-number-is-nan node-oauth-sign
  node-object-assign node-once node-opener node-osenv node-p-map node-path-is-absolute
  node-performance-now node-process-nextick-args node-promise-inflight node-promise-retry node-promzard
  node-psl node-puka node-punycode node-qs node-read node-read-package-json node-readable-stream
  node-request node-resolve node-resolve-from node-retry node-rimraf node-run-queue node-safe-buffer
  node-semver node-set-blocking node-signal-exit node-slash node-spdx-correct node-spdx-exceptions
  node-spdx-expression-parse node-spdx-license-ids node-sshpk node-ssri node-string-decoder
  node-string-width node-strip-ansi node-supports-color node-tar node-text-table node-through
  node-tough-cookie node-tunnel-agent node-tweetnacl node-typedarray-to-buffer node-unique-filename
  node-universalify node-uri-js node-util-deprecate node-uuid node-validate-npm-package-license
  node-validate-npm-package-name node-verror node-wcwidth.js node-which node-wide-align node-wrappy
  node-write-file-atomic node-yallist nodejs nodejs-doc npm
0 upgraded, 178 newly installed, 0 to remove and 1 not upgraded.
Need to get 17.0 MB of archives.
After this operation, 73.9 MB of additional disk space will be used.
[..]
No user sessions are running outdated binaries.

2021-10-18: sdb5 - apt install postgresql-client-13

@kg-bsbox:~$ sudo apt install postgresql-client-13
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-image-4.19.0-17-amd64
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  postgresql-client-common
Suggested packages:
  postgresql-13 postgresql-doc-13
The following NEW packages will be installed:
  postgresql-client-13 postgresql-client-common
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,602 kB of archives.
After this operation, 6,783 kB of additional disk space will be used.
[..]
No user sessions are running outdated binaries.

apt - autoremove

tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-4.19.0-17-amd64
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 270 MB disk space will be freed.
[..]
Adding boot menu entry for EFI firmware configuration
done

2021-10-15: sdb5 - reboot, Debian 11.1 is in

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

and a new kernel

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

2021-10-15: sdb5 - apt - upgrade

tingo@kg-bsbox:~$ 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-image-5.10.0-9-amd64
The following packages have been kept back:
  sshfs
The following packages will be upgraded:
  base-files firefox-esr ghostscript gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 krb5-locales
  libapr1 libatk-wrapper-java libatk-wrapper-java-jni libbluray2 libc-bin libc-dev-bin libc-devtools
  libc-l10n libc6 libc6:i386 libc6-dev libgs9 libgs9-common libgssapi-krb5-2 libgssapi-krb5-2:i386
  libhdf5-103-1 libhdf5-hl-100 libhdf5-openmpi-103-1 libjavascriptcoregtk-4.0-18 libk5crypto3
  libk5crypto3:i386 libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libmariadb3
  libnautilus-extension1a libntfs-3g883 libpam-modules libpam-modules-bin libpam-runtime libpam0g
  libperl5.32 libperl5.32:i386 libpq5 libssh-gcrypt-4 libssl1.1 libssl1.1:i386 libwebkit2gtk-4.0-37
  linux-image-5.10.0-8-amd64 linux-image-amd64 linux-libc-dev locales mariadb-common ntfs-3g openssl
  perl perl-base perl-modules-5.32 python3-reportbug reportbug thunderbird tzdata
59 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 268 MB of archives.
After this operation, 302 MB of additional disk space will be used.
[..]
update-initramfs: Generating /boot/initrd.img-5.10.0-9-amd64
W: initramfs-tools configuration sets RESUME=UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sdb1
I: (UUID=780fb2bd-d72f-4819-9cf9-5affa6f724da)
I: Set the RESUME variable to override this.
[..]
Scanning processes...                                                                                    
Scanning candidates...                                                                                   
Scanning processor microcode...                                                                          
Scanning linux images...                                                                                 

Failed to check for processor microcode upgrades.

Restarting services...
 /etc/needrestart/restart.d/systemd-manager
 systemctl restart avahi-daemon.service colord.service containerd.service cron.service cups-browsed.service cups.service packagekit.service polkit.service rsyslog.service rtkit-daemon.service ssh.service systemd-journald.service systemd-udevd.service udisks2.service upower.service uuidd.service
Service restarts being deferred:
 systemctl restart ModemManager.service
 systemctl restart NetworkManager.service
 /etc/needrestart/restart.d/dbus.service
 systemctl restart docker.service
 systemctl restart getty@tty1.service
 systemctl restart lightdm.service
 systemctl restart systemd-logind.service
 systemctl restart user@1000.service
 systemctl restart wpa_supplicant.service

No containers need to be restarted.

No user sessions are running outdated binaries.

2021-10-07: sdb5 - apt - install docker-compose

tingo@kg-bsbox:~$ sudo apt install docker-compose
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python3-attr python3-cached-property python3-docker python3-dockerpty python3-docopt
  python3-jsonschema python3-pyrsistent python3-texttable python3-websocket
Suggested packages:
  python-attr-doc python-jsonschema-doc
The following NEW packages will be installed:
  docker-compose python3-attr python3-cached-property python3-docker python3-dockerpty python3-docopt
  python3-jsonschema python3-pyrsistent python3-texttable python3-websocket
0 upgraded, 10 newly installed, 0 to remove and 11 not upgraded.
Need to get 459 kB of archives.
After this operation, 2,381 kB of additional disk space will be used.
[..]
Setting up docker-compose (1.25.0-1) ...
Processing triggers for man-db (2.9.4-2) ...
Scanning processes...                                                                                    
Scanning processor microcode...                                                                          
Scanning linux images...                                                                                 

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

2021-10-06: sdb5 - the machine got powered on after power loss (electrical work in the office).

2021-09-15: sdb5 - the machine got powered on after power loss (electrical work in the office).

2021-09-14: sdb5 - apt - install nmap

tingo@kg-bsbox:~$ sudo apt install nmap
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  liblinear4 liblua5.3-0 lua-lpeg nmap-common
Suggested packages:
  liblinear-tools liblinear-dev ncat ndiff zenmap
The following NEW packages will be installed:
  liblinear4 liblua5.3-0 lua-lpeg nmap nmap-common
0 upgraded, 5 newly installed, 0 to remove and 11 not upgraded.
Need to get 6,112 kB of archives.
After this operation, 26.6 MB of additional disk space will be used.
[..]
Processing triggers for libc-bin (2.31-13) ...
Scanning processes...                                                                                    
Scanning processor microcode...                                                                          
Scanning linux images...                                                                                 

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

2021-09-14: sdb5 - apt - install docker.io

tingo@kg-bsbox:~$ sudo apt install docker.io
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  cgroupfs-mount containerd libintl-perl libintl-xs-perl libmodule-find-perl libmodule-scandeps-perl
  libsort-naturally-perl libterm-readkey-perl needrestart runc tini
Suggested packages:
  containernetworking-plugins docker-doc aufs-tools btrfs-progs debootstrap rinse rootlesskit xfsprogs
  zfs-fuse | zfsutils-linux iucode-tool
Recommended packages:
  criu
The following NEW packages will be installed:
  cgroupfs-mount containerd docker.io libintl-perl libintl-xs-perl libmodule-find-perl
  libmodule-scandeps-perl libsort-naturally-perl libterm-readkey-perl needrestart runc tini
0 upgraded, 12 newly installed, 0 to remove and 11 not upgraded.
Need to get 61.3 MB of archives.
After this operation, 270 MB of additional disk space will be used.
[..]
Setting up containerd (1.4.5~ds1-2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/cont
ainerd.service.
Setting up libsort-naturally-perl (1.03-2) ...
Setting up libmodule-scandeps-perl (1.30-1) ...
Setting up needrestart (3.5-4) ...
Setting up docker.io (20.10.5+dfsg1-1+b5) ...
Adding group `docker' (GID 126) ...
Done.
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.s
ervice.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socke
t.
Setting up libintl-xs-perl (1.26-3) ...
Processing triggers for man-db (2.9.4-2) ...

add my user to the docker group

tingo@kg-bsbox:~$ sudo adduser tingo docker
Adding user `tingo' to group `docker' ...
Adding user tingo to group docker
Done.

2021-09-08: sdb5 - boot after fsck'ing sda1 in Fedora. First power-on and boot in new Bitraf offices.

2021-08-24: sdb5 - clean up after Debian 11 upgrade

tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ sudo apt --purge autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  android-libbacktrace* android-libf2fs-utils* android-libutils* ant-contrib* bsdmainutils* cpp-8* dh-python*
  enchant* fonts-roboto-slab* geoip-database* gir1.2-gnomekeyring-1.0* gtk2-engines-xfce* hp-ppd* libarmadillo9*
  libasan5* libaudio2* libavresample-dev* libbasicusageenvironment1* libbind9-161* libbison-dev*
  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-python1.67.0*
  libboost-regex1.67.0* libboost-system1.67.0* libboost-thread1.67.0* libbotan-2-9* libcaf-openmpi-3* libcdio18*
  libcgal13* libclang1-7* libcoarrays-openmpi-dev* libcodec2-0.8.1* libcodec2-0.8.1:i386* libcroco3*
  libcroco3:i386* libcrystalhd3:i386* libdap25* libdapserver7v5* libdc1394-22* libdc1394-22-dev* libdns-export1104*
  libdns1104* libdns1110* libdouble-conversion1* libdrm-dev* libdvdread4* libebml4v5* libenchant1c2a* libept1.5.0*
  libevent-2.1-6* libevent-core-2.1-6* libevent-dev* libevent-extra-2.1-7* libevent-openssl-2.1-7*
  libevent-pthreads-2.1-6* libexiv2-14* libf2fs-format4* libf2fs5* libffi6:i386* libfluidsynth1* libgail-3-0*
  libgdal20* libgdcm2.8* libgdk-pixbuf-xlib-2.0-0:i386* libgdk-pixbuf2.0-0:i386* libgeoip1* libgeos-3.7.1*
  libgeotiff2* libgit2-27* libglu1-mesa-dev* libglvnd-core-dev* libgnome-keyring-common* libgnome-keyring0*
  libgroupsock8* libgspell-1-1* libgssdp-1.0-3* libgtkmm-2.4-1v5* libgtkspell0* libgupnp-1.0-4* libhdf5-103*
  libhdf5-fortran-102* libhdf5-hl-fortran-100* libhdf5-openmpi-103* libhdf5-openmpi-fortran-102*
  libhdf5-openmpi-hl-100* libhdf5-openmpi-hl-fortran-100* libhogweed4:i386* libhttp-parser2.8* libhwloc-dev*
  libhwloc5* libibverbs-dev* libice6:i386* libicu57* libicu63* libicu63:i386* libigdgmm5* libigdgmm5:i386*
  libilmbase23* libindicator3-7* libirs161* libisc-export1100* libisc1100* libisc1105* libisccc161* libisccfg163*
  libisl19* libjim0.77* libjs-modernizr* libjson-c3* libjsoncpp1* libjte1* libkmlconvenience1* libkmlregionator1*
  libkmlxsd1* liblivemedia64* libllvm7* libllvm7:i386* liblouis17* liblouisutdml8* liblwres161* libmatroska6v5*
  libmpdec2* libmypaint-1.3-0* libmysofa0* libnetcdf13* libnettle6:i386* libnfs12* libnftables0* libnl-3-dev*
  libnl-route-3-dev* libnuma-dev* libogdi3.2* libopencv-calib3d3.2* libopencv-contrib3.2* libopencv-core3.2*
  libopencv-features2d3.2* libopencv-flann3.2* libopencv-highgui3.2* libopencv-imgcodecs3.2* libopencv-imgproc3.2*
  libopencv-ml3.2* libopencv-objdetect3.2* libopencv-photo3.2* libopencv-shape3.2* libopencv-stitching3.2*
  libopencv-superres3.2* libopencv-video3.2* libopencv-videoio3.2* libopencv-videostab3.2* libopencv-viz3.2*
  libopencv3.2-jni* libopenexr23* libopenmpi-dev* liborcus-0.14-0* libpango-perl* libpdf-api2-perl*
  libpdf-api2-xs-perl* libperl5.28* libpgm-5.2-0* libpipewire-0.2-1* libplacebo7* libplymouth4* libpmix-dev*
  libpoppler82* libprocps7* libproj13* libprotobuf-lite17* libpython-all-dev* libpython2-dev* libpython2.7*
  libpython2.7-dev* libpython3.7* libpython3.7-dev* libpython3.7-minimal* libpython3.7-stdlib* libqhull7*
  libqpdf21* libqscintilla2-qt5-13* libqt5opengl5-dev* libraw19* libre2-5* libreadline5*
  libreoffice-avmedia-backend-gstreamer* libsane* libshiboken2-5.11* libsisu-guice-java* libsisu-ioc-java*
  libsm6:i386* libsnmp30* libspatialindex-c5* libspatialindex5* libunique-1.0-0* libusageenvironment3* libusbmuxd4*
  libvpx5* libvpx5:i386* libvtk6.3* libvtk7.1* libvulkan-dev* libwnck-common* libwnck22* libx11-xcb-dev*
  libx264-155* libx264-155:i386* libx265-165* libx265-165:i386* 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-util0* libxcb-xfixes0-dev* libxdamage-dev* libxdot4* libxext-dev* libxfixes-dev* libxshmfence-dev*
  libxtst6:i386* libxxf86vm-dev* linux-image-4.19.0-16-amd64* mesa-common-dev* openmpi-bin* openmpi-common*
  perl-modules-5.28* printer-driver-hpijs* python-all* python-all-dev* python-matplotlib2-data* python-six*
  python2-dev* python2.7-dev* python3-asn1crypto* python3-entrypoints* python3-jeepney* python3-keyring*
  python3-keyrings.alt* python3-pyasn1* python3-secretstorage* python3-xdg* python3.7-minimal* qdbus* qdbus-qt5*
  qt4-qmake* qt5-qmake* qt5-qmake-bin* qtbase5-dev* qtbase5-dev-tools* qtchooser* qtcore4-l10n* sane* scour*
  x11proto-damage-dev* x11proto-fixes-dev* x11proto-input-dev* x11proto-kb-dev* x11proto-xext-dev*
  x11proto-xf86vidmode-dev* xfce4-notes*
0 upgraded, 0 newly installed, 268 to remove and 1 not upgraded.
After this operation, 1,277 MB disk space will be freed.
[..]
Purging configuration files for libopenmpi-dev:amd64 (4.1.0-10) ...
Purging configuration files for openmpi-bin (4.1.0-10) ...

autoclean

tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ sudo apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

saved about 1 GB.

2021-08-24: sdb5 - after fsck'ing sda1 and sdb5, boot into Debian 11.

tingo@kg-bsbox:~$ cat /etc/debian_version 
11.0

kernel

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

all for now.

2021-08-24: sdb5 - prepare for Debian 11 upgrade (I'm using this guide).

tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ sudo cp /etc/apt/sources.list .
tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ sudo cp -rv /etc/apt/sources.list.d/ .
'/etc/apt/sources.list.d/' -> './sources.list.d'
'/etc/apt/sources.list.d/buster-backports.list' -> './sources.list.d/buster-backports.list'

update apt.sources and related files

tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list
tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*

rename the file

tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ sudo mv /etc/apt/sources.list.d/buster-backports.list /etc/apt/sources.list.d/bullseye-backports.list

fix security. before

tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ grep security /etc/apt/sources.list
deb http://security.debian.org/debian-security bullseye/updates main contrib non-free
deb-src http://security.debian.org/debian-security bullseye/updates main contrib non-free

after

tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ grep security /etc/apt/sources.list
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free

start the Debian 11 upgrade process. do a 'sudo apt update'. Then do a minimal upgrade:

tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ sudo apt upgrade --without-new-pkgs
[..]
1087 upgraded, 0 newly installed, 0 to remove and 923 not upgraded.
Need to get 788 MB of archives.
After this operation, 158 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
W: initramfs-tools configuration sets RESUME=UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sdb1
I: (UUID=780fb2bd-d72f-4819-9cf9-5affa6f724da)
I: Set the RESUME variable to override this.
Processing triggers for shim-signed:amd64 (1.38+15.4-7) ...

start full upgrade

tingo@kg-bsbox:~/work/ASRock_BeeBox-S_7100U/20210824_debian_11_upgrade$ sudo apt full-upgrade
[..]
922 upgraded, 401 newly installed, 126 to remove and 1 not upgraded.
Need to get 1,567 MB of archives.
After this operation, 1,665 MB of additional disk space will be used.
[..]
update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64
W: initramfs-tools configuration sets RESUME=UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sdb1
I: (UUID=780fb2bd-d72f-4819-9cf9-5affa6f724da)
I: Set the RESUME variable to override this.
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-13) ...
Processing triggers for gnome-icon-theme (3.12.0-3) ...
Processing triggers for dictionaries-common (1.28.4) ...
Processing triggers for libvlc-bin:amd64 (3.0.16-1) ...
Processing triggers for dbus (1.12.20-2) ...
Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.2+dfsg-1) ...
Processing triggers for libgdk-pixbuf-2.0-0:i386 (2.42.2+dfsg-1) ...
Processing triggers for wine (5.0.3-3) ...

check efi bootorder

tingo@kg-bsbox:~$ efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* USB

it has changed - change it back

tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,7,5,6
Invalid BootOrder order entry value0,2,1,3,7
                                             ^
efibootmgr: entry 0007 does not exist
tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,5,6
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* USB

then I'm ready for a reboot.

2021-08-20: sdb5 - reboot - today, the machine was using lots of swap, and stopping and starting the main offenders (Firefox and Chromium) didn't help, so I rebooted it. Things look better now.

2021-08-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:
  ansible aspell firefox-esr gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libaspell15 libbluetooth3
  libexiv2-14 libjavascriptcoregtk-4.0-18 libsndfile1 libsndfile1:i386 libwebkit2gtk-4.0-37 openjdk-11-jre
  openjdk-11-jre-headless thunderbird
15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 166 MB of archives.
After this operation, 324 kB of additional disk space will be used.
[..]
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for dictionaries-common (1.28.1) ...

2021-08-18: sdb5 - apt - update

tingo@kg-bsbox:~$ sudo apt update
[..]
15 packages can be upgraded. Run 'apt list --upgradable' to see them.
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 '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'

that's all.

2021-08-18: sdb5 - improving the git-credential-helper script. Before:

tingo@kg-bsbox:~$ cat ~/bin/git-credential-helper 
#/bin/sh
~/bin/git-credential-netrc -f ~/.gitcred/credentials.gpg get

after

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

now the script is silent. Nice.

2021-08-12: sdb5 - configure encrypted token access for github (taken from this blog entry). First create a netrc-style file with contents like this:

machine github.com protocol https username <username> password <password / token>

and encrypt that file with gpg (make sure you have a working gpg key first):

gpg -r "recipient name" --encrypt --trust-model always <filename>

I put mine in ~/.gitcred/credentials.gpg. Next, copy the git-credential-netrc script somewhere in your PATH and set it executable

$ cp /usr/share/doc/git/contrib/credential/netrc/git-credential-netrc ~/bin/
$ chmod u+x ~/bin/git-credential-netrc

create a wrapper script and set it executable, mine looks like this:

tingo@kg-bsbox:~$ cat ~/bin/git-credential-helper
#/bin/sh
~/bin/git-credential-netrc -f ~/.gitcred/credentials.gpg get

finally, set up the credential helper in git

$ git config --global credential.helper ~/bin/git-credential-helper

try push and pull from a github repo to verify that it is working.

2021-08-06: sdb5 - install pwgen - nice tool to have

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

2021-08-05: sdb5 - apt - install virtualenv (needed for bitraf infrastructure work)

tingo@kg-bsbox:~$ sudo apt install virtualenv
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  python3-virtualenv
The following NEW packages will be installed:
  python3-virtualenv virtualenv
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
Need to get 78.2 kB of archives.
After this operation, 171 kB of additional disk space will be used.
[..]
Setting up python3-virtualenv (15.1.0+ds-2) ...
Setting up virtualenv (15.1.0+ds-2) ...
Processing triggers for man-db (2.8.5-2) ...

2021-07-26: 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 package was automatically installed and is no longer required:
  linux-image-4.19.0-14-amd64
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  firefox-esr krb5-locales libgssapi-krb5-2 libgssapi-krb5-2:i386 libk5crypto3 libk5crypto3:i386 libkrb5-3
  libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libnss-systemd libpam-systemd libsystemd0 libsystemd0:i386
  libudev1 libudev1:i386 libuv1 linux-image-4.19.0-17-amd64 linux-libc-dev systemd systemd-sysv thunderbird udev
23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 161 MB of archives.
After this operation, 454 kB disk space will be freed.
[..]
update-initramfs: Generating /boot/initrd.img-4.19.0-17-amd64
W: initramfs-tools configuration sets RESUME=UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sdb1
I: (UUID=780fb2bd-d72f-4819-9cf9-5affa6f724da)
I: Set the RESUME variable to override this.

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:
  linux-image-4.19.0-14-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 270 MB disk space will be freed.
[..]
Removing linux-image-4.19.0-14-amd64 (4.19.171-2) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-14-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
  /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

2021-06-29: sdb5 - after a reboot, Debian 10.10 is in:

tingo@kg-bsbox:~$ cat /etc/debian_version 
10.10

kernel

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux

that is all.

2021-06-29: 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:
  libpipewire-0.2-1 linux-image-4.19.0-17-amd64 xdg-desktop-portal xdg-desktop-portal-gtk
The following packages will be upgraded:
  base-files chromium chromium-common chromium-sandbox fig2dev firefox-esr gir1.2-javascriptcoregtk-4.0
  gir1.2-webkit2-4.0 graphviz isc-dhcp-client isc-dhcp-common klibc-utils libcdt5 libcgraph6 libfluidsynth1
  libgcrypt20 libgcrypt20:i386 libglib2.0-0 libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libgnutls30
  libgnutls30:i386 libgvc6 libgvpr2 libhogweed4 libhogweed4:i386 libjavascriptcoregtk-4.0-18 libklibc
  liblab-gamut1 liblz4-1 liblz4-1:i386 liblz4-tool libmariadb3 libnettle6 libnettle6:i386 libpathplan4 libpq5
  libwebkit2gtk-4.0-37 libwebp6 libwebp6:i386 libwebpdemux2 libwebpmux3 libwebpmux3:i386 libx11-6 libx11-6:i386
  libx11-data libx11-dev libx11-doc libx11-xcb-dev libx11-xcb1 libx11-xcb1:i386 libxdot4 libxml2 libxml2:i386
  linux-image-amd64 linux-libc-dev lz4 mariadb-common shim-helpers-amd64-signed shim-signed shim-signed-common
  shim-unsigned thunderbird xfce4-weather-plugin
65 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 256 MB of archives.
After this operation, 272 MB of additional disk space will be used.
[..]
Setting up shim-signed:amd64 (1.36~1+deb10u2+15.4-5~deb10u1) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
No DKMS packages installed: not changing Secure Boot validation state.
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...

check bootorder

tingo@kg-bsbox:~$ efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* USB

ok, it changed. Fix it

tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,5,6
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* USB

fixed.

2021-05-21: sdb5 - apt - install python3-opencv

tingo@kg-bsbox:~$ sudo apt install python3-opencv
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  python3-opencv
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
Need to get 553 kB of archives.
After this operation, 3,023 kB of additional disk space will be used.
[..]
Selecting previously unselected package python3-opencv.
(Reading database ... 216850 files and directories currently installed.)
Preparing to unpack .../python3-opencv_3.2.0+dfsg-6_amd64.deb ...
Unpacking python3-opencv (3.2.0+dfsg-6) ...
Setting up python3-opencv (3.2.0+dfsg-6) ...

ok

2021-05-21: sdb5 - apt - install libopencv-core-dev

tingo@kg-bsbox:~$ sudo apt install libopencv-core-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  libopencv-core3.2 libtbb-dev
Suggested packages:
  tbb-examples libtbb-doc
The following NEW packages will be installed:
  libopencv-core-dev libopencv-core3.2 libtbb-dev
0 upgraded, 3 newly installed, 0 to remove and 12 not upgraded.
Need to get 2,197 kB of archives.
After this operation, 12.2 MB of additional disk space will be used.
[..]
Setting up libtbb-dev:amd64 (2018~U6-4) ...
Setting up libopencv-core3.2:amd64 (3.2.0+dfsg-6) ...
Setting up libopencv-core-dev:amd64 (3.2.0+dfsg-6) ...
Processing triggers for libc-bin (2.28-10) ...

ok, and libopencv-dev

tingo@kg-bsbox:~$ sudo apt install libopencv-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  libavcodec-dev libavformat-dev libavresample-dev libavutil-dev libdc1394-22-dev libexif-dev libexif-doc
  libgdcm2-dev libgdcm2.8 libgphoto2-dev libilmbase-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblzma-dev
  libopencv-calib3d-dev libopencv-calib3d3.2 libopencv-contrib-dev libopencv-contrib3.2 libopencv-features2d-dev
  libopencv-features2d3.2 libopencv-flann-dev libopencv-flann3.2 libopencv-highgui-dev libopencv-highgui3.2
  libopencv-imgcodecs-dev libopencv-imgcodecs3.2 libopencv-imgproc-dev libopencv-imgproc3.2 libopencv-ml-dev
  libopencv-ml3.2 libopencv-objdetect-dev libopencv-objdetect3.2 libopencv-photo-dev libopencv-photo3.2
  libopencv-shape-dev libopencv-shape3.2 libopencv-stitching-dev libopencv-stitching3.2 libopencv-superres-dev
  libopencv-superres3.2 libopencv-ts-dev libopencv-video-dev libopencv-video3.2 libopencv-videoio-dev
  libopencv-videoio3.2 libopencv-videostab-dev libopencv-videostab3.2 libopencv-viz-dev libopencv-viz3.2
  libopencv3.2-java libopencv3.2-jni libopenexr-dev libraw1394-dev libraw1394-tools libsocket++1
  libswresample-dev libswscale-dev libtiff-dev libtiffxx5 libvtk6.3 opencv-data
Suggested packages:
  liblzma-doc opencv-doc libraw1394-doc mpi-default-bin vtk6-doc vtk6-examples
The following NEW packages will be installed:
  libavcodec-dev libavformat-dev libavresample-dev libavutil-dev libdc1394-22-dev libexif-dev libexif-doc
  libgdcm2-dev libgdcm2.8 libgphoto2-dev libilmbase-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblzma-dev
  libopencv-calib3d-dev libopencv-calib3d3.2 libopencv-contrib-dev libopencv-contrib3.2 libopencv-dev
  libopencv-features2d-dev libopencv-features2d3.2 libopencv-flann-dev libopencv-flann3.2 libopencv-highgui-dev
  libopencv-highgui3.2 libopencv-imgcodecs-dev libopencv-imgcodecs3.2 libopencv-imgproc-dev libopencv-imgproc3.2
  libopencv-ml-dev libopencv-ml3.2 libopencv-objdetect-dev libopencv-objdetect3.2 libopencv-photo-dev
  libopencv-photo3.2 libopencv-shape-dev libopencv-shape3.2 libopencv-stitching-dev libopencv-stitching3.2
  libopencv-superres-dev libopencv-superres3.2 libopencv-ts-dev libopencv-video-dev libopencv-video3.2
  libopencv-videoio-dev libopencv-videoio3.2 libopencv-videostab-dev libopencv-videostab3.2 libopencv-viz-dev
  libopencv-viz3.2 libopencv3.2-java libopencv3.2-jni libopenexr-dev libraw1394-dev libraw1394-tools
  libsocket++1 libswresample-dev libswscale-dev libtiff-dev libtiffxx5 libvtk6.3 opencv-data
0 upgraded, 63 newly installed, 0 to remove and 12 not upgraded.
Need to get 59.1 MB of archives.
After this operation, 297 MB of additional disk space will be used.
[..]
Setting up libopencv-dev (3.2.0+dfsg-6) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...

ok

2021-05-07: 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:
  apt apt-utils bind9-host chromium chromium-common chromium-sandbox dnsutils firefox-esr
  gir1.2-gst-plugins-base-1.0 gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-libav gstreamer1.0-plugins-bad
  gstreamer1.0-plugins-base gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
  gstreamer1.0-pulseaudio gstreamer1.0-x lib3mf1 libapt-inst2.0 libapt-pkg5.0 libbind9-161 libdns-export1104
  libdns1104 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0
  libgstreamer-plugins-base1.0-0:i386 libirs161 libisc-export1100 libisc1100 libisccc161 libisccfg163
  libjs-underscore libldb1 liblwres161 libopenjp2-7 libopenjp2-7:i386 openjdk-11-jre openjdk-11-jre-headless
  thunderbird wpasupplicant xserver-common xserver-xorg-core xserver-xorg-legacy
46 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 242 MB of archives.
After this operation, 13.0 MB of additional disk space will be used.
[..]
update-alternatives: warning: alternative /usr/lib/jvm/java-11-openjdk-amd64/bin/jfr (part of link group jfr) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/jfr is dangling; it will be updated with best choice
[..]
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for man-db (2.8.5-2) ...

ok.

2021-04-28: sdb5 - write a RaspiOS 64 bit image to a microSD card

tingo@kg-bsbox:/zs/tingo/work/bitraf/2021/20210428_pi4_raspios_arm64$ unzip -p ~/dl/linux/raspbian/2021-03-04-raspios-buster-arm64.zip | sudo dd of=/dev/sdc status=progress oflag=sync bs=4M
3723952128 bytes (3.7 GB, 3.5 GiB) copied, 278 s, 13.4 MB/s
0+32520 records in
0+32520 records out
3728736256 bytes (3.7 GB, 3.5 GiB) copied, 278.865 s, 13.4 MB/s

ok

2021-03-31: sdb5 - reboot, Debian 10.9 is in

tingo@kg-bsbox:~$ cat /etc/debian_version
10.9

kernel

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux

ok

2021-03-31: 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:
  linux-image-4.19.0-16-amd64
The following packages will be upgraded:
  avahi-daemon avahi-utils base-files curl debian-archive-keyring firefox-esr fonts-opensymbol
  gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 groff-base iputils-ping libavahi-client3 libavahi-client3:i386
  libavahi-common-data libavahi-common-data:i386 libavahi-common3 libavahi-common3:i386 libavahi-core7
  libavahi-glib1 libavahi-gobject0 libbsd0 libbsd0:i386 libcurl3-gnutls libcurl4 libjavascriptcoregtk-4.0-18
  libjs-jquery liblirc-client0 libnss-systemd libpam-systemd libpq5 libpython3.7 libpython3.7-dev
  libpython3.7-minimal libpython3.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 libssl1.1 libssl1.1:i386 libsystemd0 libsystemd0:i386 libudev1
  libudev1:i386 libwebkit2gtk-4.0-37 linux-image-amd64 linux-libc-dev openssl python-lxml python-pygments
  python3-lxml python3-pygments python3-uno python3.7 python3.7-dev python3.7-minimal systemd systemd-sysv
  thunderbird udev uno-libs3 ure xterm
88 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 354 MB of archives.
After this operation, 272 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-16-amd64
W: initramfs-tools configuration sets RESUME=UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sdb1
I: (UUID=780fb2bd-d72f-4819-9cf9-5affa6f724da)
I: Set the RESUME variable to override this.

autoremove

tingo@kg-bsbox:~$ 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-11-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 270 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 218472 files and directories currently installed.)
Removing linux-image-4.19.0-11-amd64 (4.19.146-1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-11-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-14-amd64
Found initrd image: /boot/initrd.img-4.19.0-14-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

ok.

2021-03-19: 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:
  libtiff-tools libtiff5 libtiff5:i386 python-pygments python3-pygments
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,049 kB of archives.
After this operation, 0 B of additional disk space will be used.
[..]
Processing triggers for libc-bin (2.28-10) ...

ok

2021-03-11: 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:
  lightning linux-image-4.19.0-10-amd64
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  bind9-host chromium chromium-common chromium-sandbox dnsutils firefox-esr gir1.2-javascriptcoregtk-4.0
  gir1.2-webkit2-4.0 grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common
  libbind9-161 libdns-export1104 libdns1104 libirs161 libisc-export1100 libisc1100 libisccc161 libisccfg163
  libjavascriptcoregtk-4.0-18 libldap-2.4-2 libldap-2.4-2:i386 libldap-common liblwres161 libssl1.1
  libssl1.1:i386 libsvn1 libwebkit2gtk-4.0-37 libzstd1 libzstd1:i386 lightning openssl screen subversion
  thunderbird
38 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 195 MB of archives.
After this operation, 717 kB of additional disk space will be used.
[..]
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for shim-signed:amd64 (1.33+15+1533136590.3beb971-7) ...

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:
  lightning linux-image-4.19.0-10-amd64
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 270 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 218492 files and directories currently installed.)
Removing lightning (1:78.8.0-1~deb10u1) ...
Removing linux-image-4.19.0-10-amd64 (4.19.132-1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.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-4.19.0-14-amd64
Found initrd image: /boot/initrd.img-4.19.0-14-amd64
Found linux image: /boot/vmlinuz-4.19.0-11-amd64
Found initrd image: /boot/initrd.img-4.19.0-11-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

efibootmgr - check bootorder

tingo@kg-bsbox:~$ efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* USB

fix bootorder

tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,5,6
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* USB

ok

2021-03-11: sdb5 - efibootmgr - check bootorder

tingo@kg-bsbox:~$ efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0001,0003,0007,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* USB
Boot0007* debian

ok

2021-02-06: sdb5 - apt - reboot, Debian 10.8 is in

tingo@kg-bsbox:~$ cat /etc/debian_version
10.8

kernel

tingo@kg-bsbox:~$ uname -a
Linux kg-bsbox 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux

ok

2021-02-06: 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 package was automatically installed and is no longer required:
  lightning
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  libbotan-2-9 libtspi1 linux-image-4.19.0-14-amd64
The following packages will be upgraded:
  apt apt-utils base-files 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
  dnsmasq-base file firefox-esr freetype2-doc geoclue-2.0 gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
  grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common
  gstreamer1.0-plugins-bad iproute2 kicad kicad-demos kicad-doc-en kicad-libraries kicad-symbols krb5-locales
  libapt-inst2.0 libapt-pkg5.0 libbrotli1 libcairo-gobject2 libcairo2 libcairo2:i386 libcups2 libcups2:i386
  libcupsimage2 libefiboot1 libefivar1 libexif12 libexif12:i386 libfreetype6 libfreetype6:i386 libfreetype6-dev
  libgnutls30 libgnutls30:i386 libgssapi-krb5-2 libgssapi-krb5-2:i386 libgstreamer-plugins-bad1.0-0
  libhttpclient-java libimobiledevice6 libjavascriptcoregtk-4.0-18 libjpeg62-turbo libjpeg62-turbo:i386
  libk5crypto3 libk5crypto3:i386 libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libldap-2.4-2
  libldap-2.4-2:i386 libldap-common libmagic-mgc libmagic1 libmariadb3 libnss-systemd libp11-kit0
  libp11-kit0:i386 libpam-systemd libpcaudio0 libpq5 libproxy-tools libproxy1v5 libraptor2-0 libsnmp-base
  libsnmp30 libsqlite3-0 libsqlite3-dev libssl1.1 libssl1.1:i386 libsystemd0 libsystemd0:i386 libudev1
  libudev1:i386 libvlc-bin libvlc5 libvlccore9 libwebkit2gtk-4.0-37 libxerces-c3.2 libxml2 libxml2:i386
  lightning linux-image-amd64 linux-libc-dev mariadb-common openjdk-11-jre openjdk-11-jre-headless openssl
  p11-kit p11-kit-modules python-apt-common python-lxml python3-apt python3-lxml sqlite3 sudo systemd
  systemd-sysv thunderbird tzdata udev unzip 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 xserver-common xserver-xorg-core xserver-xorg-legacy
138 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 394 MB of archives.
After this operation, 304 MB of additional disk space will be used.
[..]
Processing triggers for shim-signed:amd64 (1.33+15+1533136590.3beb971-7) ...

check bootorder

tingo@kg-bsbox:~$ efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0002,0000,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* USB

fix bootorder

tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,5,6
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0001,0003,0005,0006
Boot0000* rEFInd
Boot0001* Fedora
Boot0002* debian
Boot0003* UEFI OS
Boot0005* Hard Drive
Boot0006* USB

ok