ASRock Fatal1ty FM2A88X+ Killer - Debian - 2021 archive

back to main Debian page for this machine.

2021 archive.

2021-12-26: sdb3 - reboot, Debian 11.2 is in

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

and a new kernel

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

2021-12-26: sdb3 - apt - upgrade

tingo@kg-vm4:~$ 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 bind9-dnsutils bind9-host bind9-libs distro-info-data dnsutils firefox-esr
  gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libavcodec58 libavfilter7 libavformat58 libavresample4
  libavutil56 libayatana-indicator3-7 libbrlapi0.8 libcurl3-gnutls libcurl4 libgmp10
  libjavascriptcoregtk-4.0-18 libjs-jquery-ui libldb2 libnss3 libpostproc55 libpq5 libseccomp2 libsmbclient
  libswresample3 libswscale5 libudisks2-0 libwbclient0 libwebkit2gtk-4.0-37 libxencall1 libxendevicemodel1
  libxenevtchn1 libxenforeignmemory1 libxengnttab1 libxenhypfs1 libxenmisc4.14 libxenstore3.0
  libxentoolcore1 libxentoollog1 linux-image-amd64 linux-libc-dev openjdk-11-jre openjdk-11-jre-headless
  ovmf publicsuffix python3-brlapi python3-ldb samba-libs tzdata udisks2 vim-common vim-tiny wget xbrlapi
  xserver-common xserver-xorg-core xserver-xorg-legacy xvfb xxd
62 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 215 MB of archives.
After this operation, 318 MB of additional disk space will be used.
[..]
Processing triggers for install-info (6.7.0.dfsg.2-6) ...

apt - autoremove

tingo@kg-vm4:~$ 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.
[..]
Adding boot menu entry for EFI firmware configuration
done

2021-10-19: sdb3 - set up tokens for Github per this post, using this blog entry for the recipe. Create a netrc-style file with contents

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

replace "" with your username on github, and "" with a PAT (personal access token) that you have created on github for the machine in question. Put that into a file which you encrypt with gpg (make sure you have a working gpg key first):

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

Next, copy the git-credential-netrc script somewhere in your PATH and set it executable

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

then create a wrapper script (and set it executable)

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

enable in git

tingo@kg-vm4:~$ git config --global credential.helper ~/bin/git-credential-helper

and test operation (git push) - it didn't work at first. Hint: remove 2> /dev/null when you are debugging, you will see error messages then. I also needed to add the GPG_TTY variable to my ~/.bashrc, like so:

tingo@kg-vm4:~$ grep GPG ~/.bashrc
GPG_TTY=$(tty); export GPG_TTY

now it works.

2021-10-17: sdb3 - z88dk - get the source from the repository

tingo@kg-vm4:~/work$ git clone  --recursive  https://github.com/z88dk/z88dk.git
Cloning into 'z88dk'...
remote: Enumerating objects: 237287, done.
remote: Counting objects: 100% (8694/8694), done.
remote: Compressing objects: 100% (3744/3744), done.
remote: Total 237287 (delta 5218), reused 7830 (delta 4739), pack-reused 228593
Receiving objects: 100% (237287/237287), 194.84 MiB | 19.66 MiB/s, done.
Resolving deltas: 100% (176648/176648), done.
Updating files: 100% (23063/23063), done.
Submodule 'UNIXem' (https://github.com/z88dk/UNIXem.git) registered for path 'ext/UNIXem'
Submodule 'ext/Unity' (https://github.com/ThrowTheSwitch/Unity.git) registered for path 'ext/Unity'
Submodule 'ext/cpm' (https://github.com/z88dk/cpm.git) registered for path 'ext/cpm'
Submodule 'ext/optparse' (https://github.com/skeeto/optparse.git) registered for path 'ext/optparse'
Submodule 'ext/regex' (https://github.com/geoffmcl/regex.git) registered for path 'ext/regex'
Submodule 'ext/uthash' (https://github.com/troydhanson/uthash.git) registered for path 'ext/uthash'
Cloning into '/zs/work/z88dk/ext/UNIXem'...
remote: Enumerating objects: 161, done.        
remote: Total 161 (delta 0), reused 0 (delta 0), pack-reused 161        
Receiving objects: 100% (161/161), 82.22 KiB | 1.75 MiB/s, done.
Resolving deltas: 100% (65/65), done.
Cloning into '/zs/work/z88dk/ext/Unity'...
remote: Enumerating objects: 5869, done.        
remote: Counting objects: 100% (92/92), done.        
remote: Compressing objects: 100% (60/60), done.        
remote: Total 5869 (delta 44), reused 67 (delta 32), pack-reused 5777        
Receiving objects: 100% (5869/5869), 6.62 MiB | 22.51 MiB/s, done.
Resolving deltas: 100% (3628/3628), done.
Cloning into '/zs/work/z88dk/ext/cpm'...
remote: Enumerating objects: 97, done.        
remote: Total 97 (delta 0), reused 0 (delta 0), pack-reused 97        
Receiving objects: 100% (97/97), 551.38 KiB | 981.00 KiB/s, done.
Resolving deltas: 100% (35/35), done.
Cloning into '/zs/work/z88dk/ext/optparse'...
remote: Enumerating objects: 191, done.        
remote: Counting objects: 100% (7/7), done.        
remote: Compressing objects: 100% (6/6), done.        
remote: Total 191 (delta 1), reused 4 (delta 1), pack-reused 184        
Receiving objects: 100% (191/191), 40.31 KiB | 1.34 MiB/s, done.
Resolving deltas: 100% (113/113), done.
Cloning into '/zs/work/z88dk/ext/regex'...
remote: Enumerating objects: 163, done.        
remote: Counting objects: 100% (18/18), done.        
remote: Compressing objects: 100% (12/12), done.        
remote: Total 163 (delta 7), reused 13 (delta 6), pack-reused 145        
Receiving objects: 100% (163/163), 101.18 KiB | 2.20 MiB/s, done.
Resolving deltas: 100% (73/73), done.
Cloning into '/zs/work/z88dk/ext/uthash'...
remote: Enumerating objects: 2716, done.        
remote: Counting objects: 100% (98/98), done.        
remote: Compressing objects: 100% (61/61), done.        
remote: Total 2716 (delta 59), reused 57 (delta 37), pack-reused 2618        
Receiving objects: 100% (2716/2716), 1.46 MiB | 3.92 MiB/s, done.
Resolving deltas: 100% (1827/1827), done.
Submodule path 'ext/UNIXem': checked out 'c5467f711f841f2c3897c6e9419c0f2f812a95ff'
Submodule path 'ext/Unity': checked out 'd9cd6988f3766689a10c490dd30676311ebc94f1'
Submodule path 'ext/cpm': checked out '7448560f22bfb9c785b8d52d91d441675c4847f8'
Submodule path 'ext/optparse': checked out '841f52e06669e7c38bcbbe391b54c234f1fcc3d2'
Submodule path 'ext/regex': checked out '5e78d01d96d50b255857a0b63cee675b248ffa8e'
Submodule path 'ext/uthash': checked out '29fc26a8ee4116236230160b67ae693a11a9352f'

z88dk - build it

tingo@kg-vm4:~/work$ cd z88dk/
tingo@kg-vm4:~/work/z88dk$ export BUILD_SDCC=1
tingo@kg-vm4:~/work/z88dk$ ./build.sh 
[..]
cp -r sccz80/adt ../
cp -r sccz80/alloc ../
cp -r sccz80/arch/zx/esxdos.h ../arch/zx/esxdos.h
cp -r sccz80/arch/zxn/esxdos.h ../arch/zxn/esxdos.h
make: Leaving directory '/zs/work/z88dk/include/_DEVELOPMENT'

2021-10-17: sdb3 - reboot, Debian 11.1 is in

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

kernel

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

2021-10-17: sdb3 - upt - upgrade

tingo@kg-vm4:~$ 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 will be upgraded:
  base-files firefox-esr fonts-opensymbol ghostscript gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
  krb5-locales libatk-wrapper-java libatk-wrapper-java-jni libbluray2 libc-bin libc-dev-bin libc-devtools
  libc-l10n libc6 libc6-dbg libc6-dev libc6-i386 libgs9 libgs9-common libgssapi-krb5-2
  libjavascriptcoregtk-4.0-18 libjuh-java libjurt-java libk5crypto3 libkrb5-3 libkrb5support0
  liblibreoffice-java libmariadb3 libnautilus-extension1a libntfs-3g883 libpam-modules libpam-modules-bin
  libpam-runtime libpam0g libperl5.32 libpmem1 libpq5 libreoffice-base libreoffice-base-core
  libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
  libreoffice-gtk3 libreoffice-help-common libreoffice-help-en-us libreoffice-impress
  libreoffice-java-common libreoffice-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 libslirp0 libspeechd2 libssh-gcrypt-4 libssl1.1
  libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3
  libunoil-java libunoloader-java libwebkit2gtk-4.0-37 libxencall1 libxendevicemodel1 libxenevtchn1
  libxenforeignmemory1 libxengnttab1 libxenhypfs1 libxenmisc4.14 libxenstore3.0 libxentoolcore1
  libxentoollog1 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 python3-speechd python3-uno qemu-system-common
  qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils reportbug speech-dispatcher
  speech-dispatcher-audio-plugins speech-dispatcher-espeak-ng tzdata uno-libs-private ure
113 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 340 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
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-5.10.0-9-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

also do autoremove and autoclean

tingo@kg-vm4:~$ sudo apt autoremove
[..]
Setting up initramfs-tools (0.140) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-9-amd64

looks ok now

tingo@kg-vm4:~$ df -h /
Filesystem                                          Size  Used Avail Use% Mounted on
/dev/mapper/kg--vm4--debian--root--vg-debian--root   38G   35G  1.5G  97% /

2021-10-17: sdb3 - apt - check requirements for z88dk

tingo@kg-vm4:~$ sudo apt list build-essential dos2unix libboost-all-dev texinfo texi2html libxml2-dev subversion bison flex zlib1g-dev m4
Listing... Done
bison/stable,now 2:3.7.5+dfsg-1 amd64 [installed]
build-essential/stable,now 12.9 amd64 [installed]
dos2unix/stable 7.4.1-1 amd64
flex/stable,now 2.6.4-8 amd64 [installed]
libboost-all-dev/stable 1.74.0.3 amd64
libxml2-dev/stable 2.9.10+dfsg-6.7 amd64
m4/stable,now 1.4.18-5 amd64 [installed]
subversion/stable 1.14.1-3 amd64
texi2html/stable 1.82+dfsg1-6 all
texinfo/stable,now 6.7.0.dfsg.2-6 amd64 [installed]
zlib1g-dev/stable,now 1:1.2.11.dfsg-2 amd64 [installed,automatic]

install missing ones

tingo@kg-vm4:~$ sudo apt install dos2unix libboost-all-dev libxml2-dev subversion texi2html 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  gfortran gfortran-10 icu-devtools libapr1 libaprutil1 libboost-atomic-dev libboost-atomic1.74-dev
  libboost-atomic1.74.0 libboost-chrono-dev libboost-chrono1.74-dev libboost-chrono1.74.0
  libboost-container-dev libboost-container1.74-dev libboost-container1.74.0 libboost-context-dev
  libboost-context1.74-dev libboost-context1.74.0 libboost-coroutine-dev libboost-coroutine1.74-dev
  libboost-coroutine1.74.0 libboost-date-time-dev libboost-date-time1.74-dev libboost-date-time1.74.0
  libboost-dev libboost-exception-dev libboost-exception1.74-dev libboost-fiber-dev libboost-fiber1.74-dev
  libboost-fiber1.74.0 libboost-filesystem-dev libboost-filesystem1.74-dev libboost-graph-dev
  libboost-graph-parallel-dev libboost-graph-parallel1.74-dev libboost-graph-parallel1.74.0
  libboost-graph1.74-dev libboost-graph1.74.0 libboost-iostreams-dev libboost-iostreams1.74-dev
  libboost-locale-dev libboost-locale1.74-dev libboost-log-dev libboost-log1.74-dev libboost-log1.74.0
  libboost-math-dev libboost-math1.74-dev libboost-math1.74.0 libboost-mpi-dev libboost-mpi-python-dev
  libboost-mpi-python1.74-dev libboost-mpi-python1.74.0 libboost-mpi1.74-dev libboost-mpi1.74.0
  libboost-nowide-dev libboost-nowide1.74-dev libboost-nowide1.74.0 libboost-numpy-dev
  libboost-numpy1.74-dev libboost-numpy1.74.0 libboost-program-options-dev libboost-program-options1.74-dev
  libboost-program-options1.74.0 libboost-python-dev libboost-python1.74-dev libboost-python1.74.0
  libboost-random-dev libboost-random1.74-dev libboost-random1.74.0 libboost-regex-dev
  libboost-regex1.74-dev libboost-serialization-dev libboost-serialization1.74-dev
  libboost-serialization1.74.0 libboost-stacktrace-dev libboost-stacktrace1.74-dev libboost-stacktrace1.74.0
  libboost-system-dev libboost-system1.74-dev libboost-system1.74.0 libboost-test-dev libboost-test1.74-dev
  libboost-test1.74.0 libboost-thread-dev libboost-thread1.74-dev libboost-timer-dev libboost-timer1.74-dev
  libboost-timer1.74.0 libboost-tools-dev libboost-type-erasure-dev libboost-type-erasure1.74-dev
  libboost-type-erasure1.74.0 libboost-wave-dev libboost-wave1.74-dev libboost-wave1.74.0 libboost1.74-dev
  libboost1.74-tools-dev libcaf-openmpi-3 libcoarrays-dev libcoarrays-openmpi-dev libevent-core-2.1-7
  libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libfabric1
  libgfortran-10-dev libhwloc-dev libhwloc-plugins libhwloc15 libibverbs-dev libicu-dev libjs-jquery-ui
  libltdl-dev libnl-3-dev libnl-route-3-dev libnuma-dev libopenmpi-dev libopenmpi3 libpmix-dev libpmix2
  libpsm-infinipath1 libpsm2-2 libserf-1-1 libsvn1 libtool libucx0 libutf8proc2 mpi-default-bin
  mpi-default-dev openmpi-bin openmpi-common
Suggested packages:
  gfortran-multilib gfortran-doc gfortran-10-multilib gfortran-10-doc libboost-doc libboost1.74-doc gccxml
  libboost-contract1.74-dev libmpfrc++-dev libntl-dev xsltproc doxygen docbook-xml docbook-xsl default-jdk
  fop libhwloc-contrib-plugins icu-doc libjs-jquery-ui-docs libtool-doc openmpi-doc gcj-jdk db5.3-util
  libapache2-mod-svn subversion-tools latex2html
The following NEW packages will be installed:
  dos2unix gfortran gfortran-10 icu-devtools libapr1 libaprutil1 libboost-all-dev libboost-atomic-dev
  libboost-atomic1.74-dev libboost-atomic1.74.0 libboost-chrono-dev libboost-chrono1.74-dev
  libboost-chrono1.74.0 libboost-container-dev libboost-container1.74-dev libboost-container1.74.0
  libboost-context-dev libboost-context1.74-dev libboost-context1.74.0 libboost-coroutine-dev
  libboost-coroutine1.74-dev libboost-coroutine1.74.0 libboost-date-time-dev libboost-date-time1.74-dev
  libboost-date-time1.74.0 libboost-dev libboost-exception-dev libboost-exception1.74-dev libboost-fiber-dev
  libboost-fiber1.74-dev libboost-fiber1.74.0 libboost-filesystem-dev libboost-filesystem1.74-dev
  libboost-graph-dev libboost-graph-parallel-dev libboost-graph-parallel1.74-dev
  libboost-graph-parallel1.74.0 libboost-graph1.74-dev libboost-graph1.74.0 libboost-iostreams-dev
  libboost-iostreams1.74-dev libboost-locale-dev libboost-locale1.74-dev libboost-log-dev
  libboost-log1.74-dev libboost-log1.74.0 libboost-math-dev libboost-math1.74-dev libboost-math1.74.0
  libboost-mpi-dev libboost-mpi-python-dev libboost-mpi-python1.74-dev libboost-mpi-python1.74.0
  libboost-mpi1.74-dev libboost-mpi1.74.0 libboost-nowide-dev libboost-nowide1.74-dev libboost-nowide1.74.0
  libboost-numpy-dev libboost-numpy1.74-dev libboost-numpy1.74.0 libboost-program-options-dev
  libboost-program-options1.74-dev libboost-program-options1.74.0 libboost-python-dev
  libboost-python1.74-dev libboost-python1.74.0 libboost-random-dev libboost-random1.74-dev
  libboost-random1.74.0 libboost-regex-dev libboost-regex1.74-dev libboost-serialization-dev
  libboost-serialization1.74-dev libboost-serialization1.74.0 libboost-stacktrace-dev
  libboost-stacktrace1.74-dev libboost-stacktrace1.74.0 libboost-system-dev libboost-system1.74-dev
  libboost-system1.74.0 libboost-test-dev libboost-test1.74-dev libboost-test1.74.0 libboost-thread-dev
  libboost-thread1.74-dev libboost-timer-dev libboost-timer1.74-dev libboost-timer1.74.0 libboost-tools-dev
  libboost-type-erasure-dev libboost-type-erasure1.74-dev libboost-type-erasure1.74.0 libboost-wave-dev
  libboost-wave1.74-dev libboost-wave1.74.0 libboost1.74-dev libboost1.74-tools-dev libcaf-openmpi-3
  libcoarrays-dev libcoarrays-openmpi-dev libevent-core-2.1-7 libevent-dev libevent-extra-2.1-7
  libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libfabric1 libgfortran-10-dev libhwloc-dev libhwloc-plugins
  libhwloc15 libibverbs-dev libicu-dev libjs-jquery-ui libltdl-dev libnl-3-dev libnl-route-3-dev libnuma-dev
  libopenmpi-dev libopenmpi3 libpmix-dev libpmix2 libpsm-infinipath1 libpsm2-2 libserf-1-1 libsvn1 libtool
  libucx0 libutf8proc2 libxml2-dev mpi-default-bin mpi-default-dev openmpi-bin openmpi-common subversion
  texi2html
0 upgraded, 136 newly installed, 0 to remove and 113 not upgraded.
[..]
Processing triggers for libc-bin (2.31-13) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for install-info (6.7.0.dfsg.2-6) ...

2021-08-27: sdb3 - I had to power on the machine after a local power outage.

2021-08-19: sdb3 - fixing the ip address issue. Check that isc-dhcp-client is installed

tingo@kg-vm4:~$ sudo apt list --installed isc-dhcp*
Listing... Done
isc-dhcp-client/stable,now 4.4.1-2.3 amd64 [installed]
isc-dhcp-common/stable,now 4.4.1-2.3 amd64 [installed]

see if NetworkManager "owns" the connection

tingo@kg-vm4:~$ nmcli c
NAME                UUID                                  TYPE      DEVICE 
Wired connection 1  5a209600-b707-481d-96f7-19f64d7dab2c  ethernet  eth0   

it does. Check /etc/network/interfaces

tingo@kg-vm4:~$ more /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

ok, eth0 is not mentioned there. check NetworkManager.conf

tingo@kg-vm4:~$ more /etc/NetworkManager/NetworkManager.conf 
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

created a new file

tingo@kg-vm4:~$ cat /etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet dhcp

reboot and see what happens.

tingo@kg-core2$ ssh vm4
Linux kg-vm4 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Thu Aug 19 08:27:31 2021 from 10.1.150.52

yes, that fixed it.

2021-08-19: sdb3 - apt - clean up

tingo@kg-vm4:~$ sudo apt --purge autoremove
[..]
0 upgraded, 0 newly installed, 181 to remove and 0 not upgraded.
After this operation, 1,097 MB disk space will be freed.
[..]
Purging configuration files for libreoffice-avmedia-backend-gstreamer (1:7.0.4-4) ...
Purging configuration files for libpython3.7-minimal:amd64 (3.7.3-2+deb10u3) ...
Purging configuration files for bsdmainutils (12.1.7+nmu3) ...
Purging configuration files for python3.7-minimal (3.7.3-2+deb10u3) ...

2021-08-19: sdb3 - reboot (the machine changed ip address, need to fix that) Debian 11.0 is in

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

2021-08-19: sdb3 - upgrading to Debian 11 (via this guide).

Fix sources.list

tingo@kg-vm4:~/work/debian_11_upgrade$ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list

then manually change the security lines from 'bullseye/security' into 'bullseye-security'. Fix file in sources.list.d directory

tingo@kg-vm4:~/work/debian_11_upgrade$ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*
tingo@kg-vm4:~/work/debian_11_upgrade$ l /etc/apt/sources.list.d/
./  ../  buster-backports.list
tingo@kg-vm4:~/work/debian_11_upgrade$ sudo mv /etc/apt/sources.list.d/buster-backports.list /etc/apt/sources.list.d/bullseye-backports.list

then we're ready to update and upgrade

tingo@kg-vm4:~/work/debian_11_upgrade$ sudo apt update
[..]
1701 packages can be upgraded. Run 'apt list --upgradable' to see them.

minimal system upgrade

tingo@kg-vm4:~/work/debian_11_upgrade$ sudo apt upgrade --without-new-pkgs
[..]
923 upgraded, 0 newly installed, 0 to remove and 778 not upgraded.
Need to get 437 MB of archives.
After this operation, 56.1 MB of additional disk space will be used.
[..]
update-initramfs: Generating /boot/initrd.img-4.19.0-17-amd64
Processing triggers for shim-signed:amd64 (1.38+15.4-7) ...

start the full upgrade

tingo@kg-vm4:~/work/debian_11_upgrade$ sudo apt full-upgrade
[..]
778 upgraded, 307 newly installed, 81 to remove and 0 not upgraded.
Need to get 1,199 MB of archives.
After this operation, 1,450 MB of additional disk space will be used.
[..]
update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-5.10.0-8-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for dictionaries-common (1.28.4) ...
Processing triggers for dbus (1.12.20-2) ...
Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.2+dfsg-1) ...
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

the filesystem is full

tingo@kg-vm4:~/work/debian_11_upgrade$ df -h /
Filesystem                                          Size  Used Avail Use% Mounted on
/dev/mapper/kg--vm4--debian--root--vg-debian--root   38G   36G     0 100% /

fix it

tingo@kg-vm4:~/work/debian_11_upgrade$ sudo apt clean
tingo@kg-vm4:~/work/debian_11_upgrade$ df -h /
Filesystem                                          Size  Used Avail Use% Mounted on
/dev/mapper/kg--vm4--debian--root--vg-debian--root   38G   35G  1.1G  98% /

re-run full upgrade

tingo@kg-vm4:~/work/debian_11_upgrade$ sudo apt full-upgrade
[..]
  linux-image-4.19.0-14-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 270 MB disk space will be freed.
[..]
Setting up initramfs-tools (0.140) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64

then reboot.

2021-08-16: sdb3 - reboot, Debian 10.10 is in

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

kernel

tingo@kg-vm4:~$ uname -a
Linux kg-vm4 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux

that's it.

2021-08-16: sdb3 - apt - upgrade

tingo@kg-vm4:~$ 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-11-amd64
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  linux-image-4.19.0-17-amd64
The following packages will be upgraded:
  apt apt-utils aspell avahi-daemon avahi-utils base-files bind9-host debian-archive-keyring dnsutils exim4
  exim4-base exim4-config exim4-daemon-light firefox-esr fonts-opensymbol gir1.2-gst-plugins-base-1.0
  gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 groff-base grub-common grub-efi-amd64 grub-efi-amd64-bin
  grub-efi-amd64-signed grub2-common gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-libav
  gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
  gstreamer1.0-pulseaudio gstreamer1.0-x iputils-ping isc-dhcp-client isc-dhcp-common klibc-utils krb5-locales
  libapt-inst2.0 libapt-pkg5.0 libaspell15 libavahi-client3 libavahi-common-data libavahi-common3
  libavahi-core7 libavahi-glib1 libbind9-161 libbluetooth3 libbsd0 libcurl3-gnutls libdns-export1104
  libdns1104 libexiv2-14 libfluidsynth1 libgcrypt20 libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev
  libglib2.0-dev-bin libgnutls-dane0 libgnutls-openssl27 libgnutls30 libgssapi-krb5-2 libgstreamer-gl1.0-0
  libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libhogweed4 libirs161 libisc-export1100
  libisc1100 libisccc161 libisccfg163 libjavascriptcoregtk-4.0-18 libjs-jquery libjs-underscore libk5crypto3
  libklibc libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libldb1 liblirc-client0 liblwres161 liblz4-1
  libmariadb3 libnettle6 libnss-systemd libopenjp2-7 libpam-systemd libpq5 libpython3.7 libpython3.7-dbg
  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-ogltrans libreoffice-pdfimport 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 libsndfile1 libssl1.1 libsystemd0
  libtiff-dev libtiff5 libtiffxx5 libudev1 libwebkit2gtk-4.0-37 libwebp6 libwebpdemux2 libwebpmux3 libx11-6
  libx11-data libx11-dev libx11-xcb-dev libx11-xcb1 libxencall1 libxendevicemodel1 libxenevtchn1
  libxenforeignmemory1 libxengnttab1 libxenmisc4.11 libxenstore3.0 libxentoolcore1 libxentoollog1 libxml2
  libxml2-utils libzstd1 linux-image-amd64 linux-libc-dev mariadb-common openjdk-11-jre
  openjdk-11-jre-headless openssl python3-libxml2 python3-uno python3.7 python3.7-dbg python3.7-dev
  python3.7-minimal shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned systemd
  systemd-sysv udev uno-libs3 ure wpasupplicant xfce4-weather-plugin xserver-common xserver-xorg-core
  xserver-xorg-legacy xterm
183 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 430 MB of archives.
After this operation, 271 MB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.

ok, clean the cache then

tingo@kg-vm4:~$ sudo apt clean
tingo@kg-vm4:~$ df -h /
Filesystem                                          Size  Used Avail Use% Mounted on
/dev/mapper/kg--vm4--debian--root--vg-debian--root   38G   34G  2.5G  93% /

better, now retry the upgrade

tingo@kg-vm4:~$ 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-11-amd64
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  linux-image-4.19.0-17-amd64
The following packages will be upgraded:
  apt apt-utils aspell avahi-daemon avahi-utils base-files bind9-host debian-archive-keyring dnsutils exim4
  exim4-base exim4-config exim4-daemon-light firefox-esr fonts-opensymbol gir1.2-gst-plugins-base-1.0
  gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 groff-base grub-common grub-efi-amd64 grub-efi-amd64-bin
  grub-efi-amd64-signed grub2-common gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-libav
  gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
  gstreamer1.0-pulseaudio gstreamer1.0-x iputils-ping isc-dhcp-client isc-dhcp-common klibc-utils krb5-locales
  libapt-inst2.0 libapt-pkg5.0 libaspell15 libavahi-client3 libavahi-common-data libavahi-common3
  libavahi-core7 libavahi-glib1 libbind9-161 libbluetooth3 libbsd0 libcurl3-gnutls libdns-export1104
  libdns1104 libexiv2-14 libfluidsynth1 libgcrypt20 libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev
  libglib2.0-dev-bin libgnutls-dane0 libgnutls-openssl27 libgnutls30 libgssapi-krb5-2 libgstreamer-gl1.0-0
  libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libhogweed4 libirs161 libisc-export1100
  libisc1100 libisccc161 libisccfg163 libjavascriptcoregtk-4.0-18 libjs-jquery libjs-underscore libk5crypto3
  libklibc libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libldb1 liblirc-client0 liblwres161 liblz4-1
  libmariadb3 libnettle6 libnss-systemd libopenjp2-7 libpam-systemd libpq5 libpython3.7 libpython3.7-dbg
  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-ogltrans libreoffice-pdfimport 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 libsndfile1 libssl1.1 libsystemd0
  libtiff-dev libtiff5 libtiffxx5 libudev1 libwebkit2gtk-4.0-37 libwebp6 libwebpdemux2 libwebpmux3 libx11-6
  libx11-data libx11-dev libx11-xcb-dev libx11-xcb1 libxencall1 libxendevicemodel1 libxenevtchn1
  libxenforeignmemory1 libxengnttab1 libxenmisc4.11 libxenstore3.0 libxentoolcore1 libxentoollog1 libxml2
  libxml2-utils libzstd1 linux-image-amd64 linux-libc-dev mariadb-common openjdk-11-jre
  openjdk-11-jre-headless openssl python3-libxml2 python3-uno python3.7 python3.7-dbg python3.7-dev
  python3.7-minimal shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned systemd
  systemd-sysv udev uno-libs3 ure wpasupplicant xfce4-weather-plugin xserver-common xserver-xorg-core
  xserver-xorg-legacy xterm
183 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 430 MB of archives.
After this operation, 271 MB of additional disk space will be used.
[..]
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-4.19.0-14-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for dictionaries-common (1.28.1) ...
Errors were encountered while processing:
 linux-image-4.19.0-17-amd64
 linux-image-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

ok, try apt autoremove

tingo@kg-vm4:~$ 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 linux-image-4.19.0-13-amd64
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 539 MB disk space will be freed.
[..]
Setting up linux-image-amd64 (4.19+105+deb10u12) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-17-amd64

that worked. Space now is

tingo@kg-vm4:~$ df -h /
Filesystem                                          Size  Used Avail Use% Mounted on
/dev/mapper/kg--vm4--debian--root--vg-debian--root   38G   34G  2.3G  94% /

apt clean again, the check space

tingo@kg-vm4:~$ sudo apt clean
tingo@kg-vm4:~$ df -h /
Filesystem                                          Size  Used Avail Use% Mounted on
/dev/mapper/kg--vm4--debian--root--vg-debian--root   38G   33G  2.7G  93% /

ok, retry apt upgrade

tingo@kg-vm4:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

2021-08-16: sdb3 - apt - update

tingo@kg-vm4:~$ sudo apt update
[..]
N: Repository 'http://ftp.no.debian.org/debian buster InRelease' changed its 'Version' value from '10.8' to '10.10'
E: Repository 'http://ftp.no.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
E: Repository 'http://ftp.no.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
E: Repository 'http://security.debian.org buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
[..]
Reading state information... Done
183 packages can be upgraded. Run 'apt list --upgradable' to see them.

2021-02-07: sdb3 - reboot - Debian 10.8 is in

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

kernel

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

ok

2021-02-07: sdb3 - efibootmgr - document boot order

tingo@kg-vm4:~$ efibootmgr
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000,0001,0002,0003,0004
Boot0000* debian
Boot0001* FreeBSD
Boot0002* Hard Drive
Boot0003* USB
Boot0004* UEFI: Built-in EFI Shell

ok

2021-02-07: sdb3 - apt - upgrade

tingo@kg-vm4:~$ 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-14-amd64
The following packages will be upgraded:
  base-files ca-certificates device-tree-compiler dnsmasq-base file geoclue-2.0 grub-common grub-efi-amd64
  grub-efi-amd64-bin grub-efi-amd64-signed grub2-common iproute2 libcairo-gobject2 libcairo2 libfdt1 libgnutls-dane0
  libgnutls-openssl27 libgnutls30 libldap-2.4-2 libldap-common libmagic-mgc libmagic1 libnss-systemd libpam-systemd
  libpq5 libsnmp-base libsnmp30 libsystemd0 libudev1 linux-image-amd64 linux-libc-dev ovmf systemd systemd-sysv tzdata
  udev unzip
37 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 70.6 MB of archives.
After this operation, 270 MB of additional disk space will be used.
[..]
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-14-amd64
Processing triggers for shim-signed:amd64 (1.33+15+1533136590.3beb971-7) ...

ok

2021-02-07: sdb3 - efibootmgr - document boot order

tingo@kg-vm4:~$ efibootmgr
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000,0001,0005,0002,0003,0004
Boot0000* debian
Boot0001* FreeBSD
Boot0002* Hard Drive
Boot0003* USB
Boot0004* UEFI: Built-in EFI Shell
Boot0005* debian

ok

2021-02-01: sdb3 - xpra - start session (in a new ssh terminal)

tingo@kg-vm4:~$ Entering daemon mode; any further errors will be reported to:
  /run/user/1000/xpra/S26290.log
Actual display used: :1
Actual log file name is now: /run/user/1000/xpra/:1.log

because it doesn't detach. I can connect to the xpra server from my FreeBSD workstation

c2 - ada0p5 - xpra - connect to a xpra server running on vm4, display 1:

tingo@kg-core2$ xpra attach ssh://vm4/1
2021-02-01 19:09:45,576 Xpra GTK3 X11 client version 4.0.5-r27999 64-bit
2021-02-01 19:09:45,588  running on FreeBSD 11.4-RELEASE-p5
2021-02-01 19:09:45,589  window manager is 'Xfwm4'
2021-02-01 19:09:45,899 GStreamer version 1.16.2 for Python 3.7.9 64-bit
2021-02-01 19:09:46,062 Error importing libyuv colorspace conversion (csc_libyuv)
2021-02-01 19:09:46,062  /usr/local/lib/libyuv.so: Undefined symbol "jpeg_resync_to_restart"
2021-02-01 19:09:46,145 OpenGL_accelerate module loaded
2021-02-01 19:09:46,151 Using accelerated ArrayDatatype
2021-02-01 19:09:46,744 OpenGL enabled with AMD CAICOS (DRM 2.49.0 / 11.4-RELEASE-p5, LLVM 10.0.1)
2021-02-01 19:09:46,990 Connected (version 2.0, client OpenSSH_7.9p1)
2021-02-01 19:09:47,087 Authentication (publickey) successful!
2021-02-01 19:09:47,277 Error: mmap setup failed:
2021-02-01 19:09:47,277  [Errno 2] No such file or directory: '/var/run/user/1001/xpra'
2021-02-01 19:09:47,280  keyboard settings: rules=base, model=pc105, layout=no
2021-02-01 19:09:47,418  desktop size is 1920x1080 with 1 screen:
2021-02-01 19:09:47,418   :0.0 (508x285 mm - DPI: 96x96) workarea: 1920x1004 at 0x31
2021-02-01 19:09:47,418     BNQ VGA-1 (531x298 mm - DPI: 91x92)
2021-02-01 19:09:48,503 Warning: the xpra server is running a buggy Debian version
2021-02-01 19:09:48,503  those are usually out of date and unstable
2021-02-01 19:09:48,506 enabled remote logging
2021-02-01 19:09:48,506 Xpra X11 desktop server version 2.4.3-r21350 64-bit
2021-02-01 19:09:48,506  running on Linux Debian 10 buster
2021-02-01 19:09:48,507  remote desktop size is 1280x1024
2021-02-01 19:09:48,512 Attached to ssh://tingo@vm4/1
2021-02-01 19:09:48,513  (press Control-C to detach)

2021-02-01 19:09:48,638 server does not support xi input devices
2021-02-01 19:09:48,638  server uses: xtest

(does not detach, so use a new terminal for this)

and then I have (in this case, Xfce) a session in a window.

2021-01-29: sdb3 - apt - update, then upgrade

tingo@kg-vm4:~$ 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:
  libjsoncpp1 linux-image-4.19.0-10-amd64
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  apt apt-utils firefox-esr gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
  gstreamer1.0-plugins-bad libapt-inst2.0 libapt-pkg5.0 libgstreamer-plugins-bad1.0-0
  libjavascriptcoregtk-4.0-18 libp11-kit0 libvlc-bin libvlc5 libvlccore9 libwebkit2gtk-4.0-37
  libxencall1 libxendevicemodel1 libxenevtchn1 libxenforeignmemory1 libxengnttab1 libxenmisc4.11
  libxenstore3.0 libxentoolcore1 libxentoollog1 mutt p11-kit p11-kit-modules python-apt
  python-apt-common python3-apt sudo tzdata vlc-bin vlc-data vlc-plugin-base
35 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 92.9 MB of archives.
After this operation, 71.7 kB of additional disk space will be used.
[..]
Processing triggers for systemd (241-7~deb10u5) ...
Processing triggers for libvlc-bin:amd64 (3.0.12-0+deb10u1) ...

ok. apt - autoremove

tingo@kg-vm4:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libjsoncpp1 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.
[..]
Adding boot menu entry for EFI firmware configuration
done
Processing triggers for libc-bin (2.28-10) ...

ok