I workarounded this by
a) installing keyboard-configuration
b) reconfiguring in late-commands:
keyboard:
layout: de
variant: nodeadkeys
late-commands:
- curtin in-target --target /target -- dpkg-reconfigure -f noninteractive
keyboard-configuration
packages:
- keyboard-conf
This is caused be mismatch between Kernel and iproute2 version. The kernel v5
offers ipset v7 which causes iproute to not be built with ematch ipset
functionality.
This has been fixed in iproute upstream in - its a one line fix -
Pulling this into iproute2 and rebuilding (After committing it) wo
Bug also applies to apt 2.2.0
root@72aa01291622:/# dpkg -l apt gnupg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture
installed, but one of
them is required for this operation
The simple Dockerfile to reproduce the error - "docker build -t foo ."
FROM amd64/ubuntu:hirsute
MAINTAINER Florian Lohoff
USER root
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y inst