Closed almirus closed 3 years ago
The DNS resolution seems to be (temporarily) broken. Try:
curl -I https://deb.debian.org/
# or
getent ahosts deb.debian.org
When the first does not report an error and the second returns one or more IP addresses, then it works and you can repeat PREP. If not, then check:
cat /etc/resolv.conf
where it has a valid DNS nameserver entry.
@MichaIng thanks it looks like the network down after purging packages (step 3)
Was either NetworkManager or connman installed? In case it is a known issue as those completely break the network connection when being uninstalled, so you need to switch to at best ifupdown network stack first: #2054
@MichaIng it looks like this is my case. I am trying to build an image for a new device Radxa Zero (there isn't eth0) ๐ but i have usb lan adapter ๐ฅณ
Probably this works:
apt install ifupdown isc-dhcp-client
echo -e 'allow-hotplug wlan0\niface wlan0 inet dhcp' > /etc/network/interfaces
ifup --force wlan0
@MichaIng
apt install ifupdown isc-dhcp-client echo -e 'allow-hotplug wlan0\niface wlan0 inet dhcp' > /etc/network/interfaces ifup --force wlan0 Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/wlan0/20:50:e7:19:93:a9 Sending on LPF/wlan0/20:50:e7:19:93:a9 Sending on Socket/fallback Created duid "\000\001\000\001(\371\243{ P\347\031\223\251". DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 DHCPOFFER of 192.168.1.77 from 192.168.1.254 DHCPREQUEST for 192.168.1.77 on wlan0 to 255.255.255.255 port 67 DHCPACK of 192.168.1.77 from 192.168.1.254 RTNETLINK answers: File exists /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf bound to 192.168.1.77 -- renewal in 39712 seconds. ter/PREP_SYSTEM_FOR_DIETPI.shtps://raw.githubusercontent.com/MichaIng/DietPi/mas --2021-10-13 14:03:10-- https://raw.githubusercontent.com/MichaIng/DietPi/master/PREP_SYSTEM_FOR_DIETPI.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 75690 (74K) [text/plain] Saving to: โPREP_SYSTEM_FOR_DIETPI.shโ PREP_SYSTEM_FOR_DIE 100%[===================>] 73.92K --.-KB/s in 0.06s 2021-10-13 14:03:11 (1.26 MB/s) - โPREP_SYSTEM_FOR_DIETPI.shโ saved [75690/75690] root@zero:/home/rock# ./PREP_SYSTEM_FOR_DIETPI.sh bash: ./PREP_SYSTEM_FOR_DIETPI.sh: Permission denied root@zero:/home/rock# chmod 777 PREP_SYSTEM_FOR_DIETPI.sh root@zero:/home/rock# ./PREP_SYSTEM_FOR_DIETPI.sh Get:1 http://httpredir.debian.org/debian buster InRelease [122 kB] Get:2 http://security.debian.org buster/updates InRelease [65.4 kB] Get:3 http://apt.radxa.com/buster-stable buster InRelease [2363 B] Get:4 http://httpredir.debian.org/debian buster-updates InRelease [51.9 kB] Get:5 http://httpredir.debian.org/debian buster-backports InRelease [46.7 kB] Get:6 http://security.debian.org buster/updates/main arm64 Packages [301 kB] Get:7 http://httpredir.debian.org/debian buster/contrib arm64 Packages [38.4 kB] Get:8 http://httpredir.debian.org/debian buster/non-free arm64 Packages [53.9 kB] Get:9 http://httpredir.debian.org/debian buster/main arm64 Packages [7735 kB] Get:10 http://apt.radxa.com/buster-stable buster/main arm64 Packages [25.3 kB] Get:11 http://httpredir.debian.org/debian buster-updates/main arm64 Packages [14.5 kB] Get:12 http://httpredir.debian.org/debian buster-backports/non-free arm64 Packages [21.9 kB] Get:13 http://httpredir.debian.org/debian buster-backports/contrib arm64 Packages [8424 B] Get:14 http://httpredir.debian.org/debian buster-backports/main arm64 Packages [482 kB] Fetched 8968 kB in 5s (1665 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libcurl4 The following NEW packages will be installed: curl libcurl4 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded. Need to get 572 kB of archives. After this operation, 1084 kB of additional disk space will be used. Get:1 http://httpredir.debian.org/debian buster/main arm64 libcurl4 arm64 7.64.0-4+deb10u2 [312 kB] Get:2 http://httpredir.debian.org/debian buster/main arm64 curl arm64 7.64.0-4+deb10u2 [260 kB] Fetched 572 kB in 0s (1229 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libcurl4:arm64. (Reading database ... 71651 files and directories currently installed.) Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_arm64.deb ... Unpacking libcurl4:arm64 (7.64.0-4+deb10u2) ... Selecting previously unselected package curl. Preparing to unpack .../curl_7.64.0-4+deb10u2_arm64.deb ... Unpacking curl (7.64.0-4+deb10u2) ... Setting up libcurl4:arm64 (7.64.0-4+deb10u2) ... Setting up curl (7.64.0-4+deb10u2) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: whiptail 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 38.9 kB of archives. After this operation, 71.7 kB of additional disk space will be used. Get:1 http://httpredir.debian.org/debian buster/main arm64 whiptail arm64 0.52.20-8 [38.9 kB] Fetched 38.9 kB in 0s (189 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package whiptail. (Reading database ... 71666 files and directories currently installed.) Preparing to unpack .../whiptail_0.52.20-8_arm64.deb ... Unpacking whiptail (0.52.20-8) ... Setting up whiptail (0.52.20-8) ... Processing triggers for man-db (2.8.5-2) ... DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Please select the Git branch the installer should use: โ โ โ โ master : Stable release branch (recommended) โ โ beta : Public beta testing branch โ โ dev : Unstable development branch โ โ โ โ โ โ โ โโ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [ INFO ] Selected Git branch: MichaIng/master [ INFO ] DietPi-PREP | Detected distribution version: Buster (ID: 5) [ INFO ] DietPi-PREP | Detected target CPU architecture: aarch64 (ID: 3) DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step: [0] Detecting existing DietPi system [ INFO ] DietPi-PREP | No DietPi system found, skipping old instance uninstall... DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step: [1] Target system inputs โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Please enter your name. This will be used to identify the image creator โ โ within credits banner. โ โ โ โ You can add your contact information as well for end users. โ โ โ โ NB: An entry is required. โ โ โ โ almirus_____________________________________________________________________ โ โ โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [ INFO ] DietPi-PREP | Entered image creator: almirus โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Please enter the name or URL of the pre-image you installed on this system, โ โ prior to running this script. This will be used to identify the pre-image โ โ credits. โ โ โ โ EG: Debian, Raspberry Pi OS Lite, Meveric or โ โ "forum.odroid.com/viewtopic.php?t=123456" etc. โ โ โ โ NB: An entry is required. โ โ โ โ Debian, RADXA Zero__________________________________________________________ โ โ โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [ INFO ] DietPi-PREP | Entered pre-image info: Debian, RADXA Zero โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Please select the current device this is being installed on: โ โ - NB: Select "Generic device" if not listed. โ โ - "Core devices": Fully supported by DietPi, offering full GPU acceleration โ โ + Kodi support. โ โ - "Limited support devices": No GPU acceleration guaranteed. โ โ โ โ 47 : NanoPi R4S โ โ โ 72 : ROCK Pi 4 โ โ โ 73 : ROCK Pi S โ โ โ โโ Other โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ โ 29 : Generic Amlogic S922X โ โ โ 28 : Generic Amlogic S905 โ โ โ 27 : Generic Allwinner H6 โ โ โ 26 : Generic Allwinner H5 โ โ โ 25 : Generic Allwinner H3 โ โ โ 24 : Generic Rockchip RK3399 โ โ โ 23 : Generic Rockchip RK3328 โฎ โ โ 22 : Generic Device โ โ โ โ โ โ โ โ โ โ [ INFO ] DietPi-PREP | Selected hardware model ID: 22 โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Please select an option: โ โ โ โ 0 : I do not require WiFi functionality, skip related package install. โ โ 1 : I require WiFi functionality, install related packages. โ โ โ โ โ โ โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [ INFO ] DietPi-PREP | Marking WiFi as required โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Please select a Debian version to install on this system. โ โ โ โ Currently installed: buster (ID: 5) โ โ โ โ 5 : Buster (oldstable, if you must stay with an old release) โ โ 6 : Bullseye (current stable release, recommended) โ โ 7 : Bookworm (testing, if you want to live on bleeding edge) โ โ โ โ โ โ โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [ INFO ] DietPi-PREP | Selected Debian version: buster (ID: 5) DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step: [2] Downloading and installing DietPi source code [ OK ] DietPi-PREP | Checking URL: https://github.com/MichaIng/DietPi/archive/master.tar.gz [ OK ] DietPi-PREP | Downloading DietPi sourcecode [ OK ] DietPi-PREP | Extracting DietPi sourcecode [ INFO ] DietPi-PREP | Moving kernel and boot configuration to /boot [ OK ] DietPi-PREP | mv DietPi-master/dietpi.txt /boot/ [ OK ] DietPi-PREP | mv DietPi-master/README.md /boot/dietpi-README.md [ OK ] DietPi-PREP | mv DietPi-master/LICENSE /boot/dietpi-LICENSE.txt [ OK ] DietPi-PREP | mv DietPi-master/CHANGELOG.txt /boot/dietpi-CHANGELOG.txt [ OK ] DietPi-PREP | Copy DietPi scripts to /boot/dietpi [ OK ] DietPi-PREP | Copy DietPi system files in place [ OK ] DietPi-PREP | Clean download location [ OK ] DietPi-PREP | Set execute permissions for DietPi scripts [ INFO ] DietPi-PREP | Storing DietPi version info: [ OK ] DietPi-PREP | Desired setting in /boot/dietpi.txt was already set: DEV_GITBRANCH=master [ OK ] DietPi-PREP | Desired setting in /boot/dietpi.txt was already set: DEV_GITOWNER=MichaIng [ INFO ] DietPi-PREP | Applying DietPi live patches to fix known bugs in this version [ OK ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[0]='not applicable' to end of file /boot/dietpi/.version [ INFO ] DietPi-PREP | Applying live patch 1 [ OK ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[1]='applied' to end of file /boot/dietpi/.version [ INFO ] DietPi-PREP | Applying live patch 2 [ OK ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[2]='applied' to end of file /boot/dietpi/.version [ INFO ] DietPi-PREP | Applying live patch 3 [ OK ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[3]='applied' to end of file /boot/dietpi/.version [ OK ] DietPi-PREP | cp /boot/dietpi/.version /var/lib/dietpi/.dietpi_image_version [ OK ] DietPi-PREP | systemctl daemon-reload DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step: [3] APT configuration [ INFO ] DietPi-PREP | Setting APT sources.list: buster 5 [ OK ] DietPi-PREP | /boot/dietpi/func/dietpi-set_software apt-mirror default [ OK ] DietPi-PREP | mkdir -p /run/dietpi /var/tmp/dietpi/logs [ INFO ] DietPi-PREP | APT update, please wait... Hit:1 http://apt.radxa.com/buster-stable buster InRelease Get:2 https://deb.debian.org/debian buster InRelease [122 kB] Get:3 https://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:4 https://deb.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:5 https://deb.debian.org/debian buster-backports InRelease [46.7 kB] Get:6 https://deb.debian.org/debian buster/contrib arm64 Packages [38.4 kB] Get:7 https://deb.debian.org/debian buster/main arm64 Packages [7735 kB] Get:8 https://deb.debian.org/debian buster/non-free arm64 Packages [53.9 kB] G .. ttps://deb.debian.org/debian buster-updates/main arm64 Packages [14.5 kB] Get:10 https://deb.debian.org/debian-security buster/updates/main arm64 Packages [301 kB] Get:11 https://deb.debian.org/debian buster-backports/non-free arm64 Packages [21.9 kB] Get:12 https://deb.debian.org/debian buster-backports/contrib arm64 Packages [8424 B] Get:13 https://deb.debian.org/debian buster-backports/main arm64 Packages [482 kB] Fetched 8941 kB in 5s (1723 kB/s) Reading package lists... [ OK ] DietPi-PREP | APT update [ INFO ] DietPi-PREP | Marking all packages as auto-installed first, to allow effective autoremove afterwards [ ] DietPi-PREP | apt-mark auto adduser alsa-utils apt apt-transport-https autoconf avahi-daemon avahi-utils base-files base-passwd bash bash-completion bc binutils blueman bluez bsdutils ca-certificates chromium coreutils curl dash debconf debian-archive-keyring debianutils debsums dhcpcd5 dialog diffutils dirmngr dpkg e2fsprogs ethtool fake-hwclock fdisk file findutils firefox-esr fping gcc-8-base gdisk gnupg gnupg1 gnupg2 gpgv grep gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools gstreamer1.0-x gzip hostname htop i2c-tools ifupdown init-system-helpers initramfs-tools iperf3 iproute2 iputils-ping isc-dhcp-client iw jq kbd kmod libacl1 libapt-pkg5.0 libattr1 libaudit-common libaudit1 libblkid1 libbz2-1.0 libc-bin libc6 libcap-ng0 libcom-err2 libdb5.3 libdebconfclient0 libext2fs2 libfdisk1 libffi6 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libhogweed4 libidn2-0 liblz4-1 liblzma5 libmount1 libncursesw6 libnettle6 libnotify4 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcap0.8 libpcre3 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libss2 libssl1.1 libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libudev1 libunistring2 libuuid1 libxml2 libzstd1 lightdm linux-base linux-headers-5.10.69-2-amlogic-g981b0a3cef linux-image-5.10.69-2-amlogic-g981b0a3cef login mawk mc mount mtd-utils nano ncurses-base ncurses-bin net-tools netbase network-manager nmap ntp openssh-client openssh-server openssl parted passwd pciutils perl-base psmisc pulseaudio pulseaudio-module-bluetooth resize-assistant resolvconf rfkill rsync sed software-properties-common ssh sudo sysfsutils sysstat systemd systemd-sysv sysvinit-utils tango-icon-theme tar task-xfce-desktop tzdata u-boot-tools udev unzip usbutils util-linux vim wget whiptail wireless-tools wpasupplicant xfce4 xfce4-goodies xz-utils zip zlib1g [ OK ] DietPi-PREP | apt-mark auto adduser alsa-utils apt apt-transport-https autoconf avahi-daemon avahi-utils base-files base-passwd bash bash-completion bc binutils blueman bluez bsdutils ca-certificates chromium coreutils curl dash debconf debian-archive-keyring debianutils debsums dhcpcd5 dialog diffutils dirmngr dpkg e2fsprogs ethtool fake-hwclock fdisk file findutils firefox-esr fping gcc-8-base gdisk gnupg gnupg1 gnupg2 gpgv grep gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools gstreamer1.0-x gzip hostname htop i2c-tools ifupdown init-system-helpers initramfs-tools iperf3 iproute2 iputils-ping isc-dhcp-client iw jq kbd kmod libacl1 libapt-pkg5.0 libattr1 libaudit-common libaudit1 libblkid1 libbz2-1.0 libc-bin libc6 libcap-ng0 libcom-err2 libdb5.3 libdebconfclient0 libext2fs2 libfdisk1 libffi6 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libhogweed4 libidn2-0 liblz4-1 liblzma5 libmount1 libncursesw6 libnettle6 libnotify4 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcap0.8 libpcre3 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libss2 libssl1.1 libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libudev1 libunistring2 libuuid1 libxml2 libzstd1 lightdm linux-base linux-headers-5.10.69-2-amlogic-g981b0a3cef linux-image-5.10.69-2-amlogic-g981b0a3cef login mawk mc mount mtd-utils nano ncurses-base ncurses-bin net-tools netbase network-manager nmap ntp openssh-client openssh-server openssl parted passwd pciutils perl-base psmisc pulseaudio pulseaudio-module-bluetooth resize-assistant resolvconf rfkill rsync sed software-properties-common ssh sudo sysfsutils sysstat systemd systemd-sysv sysvinit-utils tango-icon-theme tar task-xfce-desktop tzdata u-boot-tools udev unzip usbutils util-linux vim wget whiptail wireless-tools wpasupplicant xfce4 xfce4-goodies xz-utils zip zlib1g [ INFO ] DietPi-PREP | APT install for: linux-image-5.10.69-2-amlogic-g981b0a3cef, please wait... [ OK ] DietPi-PREP | APT install for: linux-image-5.10.69-2-amlogic-g981b0a3cef [ OK ] DietPi-PREP | apt-get clean [ INFO ] DietPi-PREP | Generating list of minimal packages, required for DietPi installation [ OK ] DietPi-PREP | Marking required packages as manually installed [ INFO ] DietPi-PREP | APT purge for: dbus dhcpcd5 mountall initscripts *office* *xfce* *qt5* *xserver* *xorg* glib-networking libgtk-3-0, please wait... (Reading database ... 71675 files and directories currently installed.) Removing firefox-esr (78.14.0esr-1~deb10u1) ... update-alternatives: using /usr/bin/chromium to provide /usr/bin/x-www-browser (x-www-browser) in auto mode update-alternatives: using /usr/bin/chromium to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode Removing 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by firefox-esr' Removing xfce4-goodies (4.12.6) ... Removing xfce4-xkb-plugin (1:0.8.1-2) ... Removing task-xfce-desktop (3.53) ... Removing xfce4 (4.12.5) ... Removing xfwm4 (4.12.5-1) ... Removing alsa-utils (1.1.8-2) ... Removing apt-transport-https (1.8.2.3) ... Removing autoconf (2.69-11) ... Removing avahi-utils (0.7-4+deb10u1) ... Removing avahi-daemon (0.7-4+deb10u1) ... Created symlink /run/systemd/system/avahi-daemon.service โ /dev/null. Removed /run/systemd/system/avahi-daemon.service. Removing bc (1.07.1-2+b1) ... Removing bind9-host (1:9.11.5.P4+dfsg-5.1+deb10u5) ... Removing binutils (2.31.1-16) ... Removing binutils-aarch64-linux-gnu (2.31.1-16) ... Removing libbinutils:arm64 (2.31.1-16) ... Removing binutils-common:arm64 (2.31.1-16) ... Removing blueman (2.0.8-1+deb10u1) ... Removing pulseaudio-module-bluetooth (12.2-4+deb10u1) ... Removing bluez (5.50-1.2~deb10u2) ... Removing bluez-obexd (5.50-1.2~deb10u2) ... Removing task-desktop (3.53) ... Removing xorg (1:7.7+19) ... Removing x11-apps (7.7+7) ... Removing man-db (2.8.5-2) ... Removing bsdmainutils (11.1.2+b1) ... Removing chromium (89.0.4389.114-1~deb10u1) ... Removing chromium-common (89.0.4389.114-1~deb10u1) ... Removing x11-xserver-utils (7.7+8) ... Removing x11-session-utils (7.7+3) ... Removing cpp (4:8.3.0-1) ... Removing cpp-8 (8.3.0-6) ... Removing network-manager (1.14.6-2+deb10u1) ... Removing policykit-1 (0.105-25) ... Removing light-locker (1.8.0-3) ... Removing lightdm (1.26.0-4) ... Removing xfdesktop4 (4.12.4-2) ... Removing xfce4-notes-plugin (1.8.1-2) ... Removing xfce4-notes (1.8.1-2) ... Removing libunique-1.0-0 (1.1.6-6) ... Removing mousepad (0.4.1-2) ... Removing gir1.2-appindicator3-0.1:arm64 (0.4.92-7) ... Removing gir1.2-gtk-3.0:arm64 (3.24.5-1) ... Removing xfce4-weather-plugin (0.8.10-1+deb10u1) ... Removing debsums (2.2.3) ... Removing desktop-base (10.0.2) ... Removing thunar-archive-plugin (0.4.0-2) ... Removing xfce4-places-plugin (1.7.0-4) ... Removing dhcpcd5 (7.1.0-2) ... Removing dialog (1.3-20190211-1) ... Removing software-properties-common (0.96.20.2-2) ... Removing python3-software-properties (0.96.20.2-2) ... Removing lsb-release (10.2019051400) ... Removing distro-info-data (0.41+deb10u4) ... Removing xfce4-verve-plugin (2.0.0-1) ... Removing file (1:5.35-4+deb10u2) ... Removing gir1.2-pango-1.0:arm64 (1.42.4-8~deb10u1) ... Removing libpangoxft-1.0-0:arm64 (1.42.4-8~deb10u1) ... Removing xfce4-wavelan-plugin (0.6.0-2) ... Removing xterm (344-1+deb10u1) ... Removing fonts-quicksand (0.2016-2) ... dpkg: warning: while removing fonts-quicksand, directory '/usr/share/fonts/truetype/quicksand' not empty so not removed Removing fping (4.2-1) ... Removing resize-assistant (0.2) ... Removing gdisk (1.0.3-1.1) ... Removing gir1.2-atk-1.0:arm64 (2.30.0-2) ... Removing gir1.2-freedesktop:arm64 (1.58.3-2) ... Removing gir1.2-notify-0.7:arm64 (0.7.7-4) ... Removing gir1.2-gdkpixbuf-2.0:arm64 (2.38.1+dfsg-1) ... Removing python3-gi-cairo (3.30.4-1) ... Removing python3-gi (3.30.4-1) ... Removing gir1.2-packagekitglib-1.0 (1.1.12-5) ... Removing gir1.2-glib-2.0:arm64 (1.58.3-2) ... Removing gnome-icon-theme (3.12.0-3) ... update-alternatives: using /usr/share/icons/gnome/scalable/places/gnome-foot.svg to provide /usr/share/icons/gnome/scalable/places/start-here.svg (start-here.svg) in auto mode update-alternatives: warning: skip creation of /usr/share/icons/gnome/256x256/places/start-here.png because associated file /usr/share/icons/gnome/256x256/places/gnome-foot.png (of link group start-here.svg) doesn't exist Removing gnupg1 (1.4.23-1) ... Removing gnupg2 (2.2.12-1+deb10u1) ... Removing groff-base (1.22.4-3+deb10u1) ... Removing gstreamer1.0-plugins-bad:arm64 (1.14.4-1+deb10u2) ... Removing gstreamer1.0-plugins-good:arm64 (1.14.4-1+deb10u1) ... Removing gstreamer1.0-plugins-base:arm64 (1.14.4-2+deb10u1) ... Removing gstreamer1.0-plugins-ugly:arm64 (1.14.4-1+deb10u1) ... Removing gstreamer1.0-tools (1.14.4-1) ... Removing gstreamer1.0-x:arm64 (1.14.4-2+deb10u1) ... Removing gtk2-engines-xfce (3.2.0-4) ... Removing tango-icon-theme (0.8.90-7) ... Removing i2c-tools (4.1-1) ... Removing iperf3 (3.6-2) ... Removing xfburn (0.5.5-2) ... Removing libgstreamer-gl1.0-0:arm64 (1.14.4-2+deb10u1) ... Removing jq (1.5+dfsg-2+b1) ... Removing kbd (2.0.4-4) ... Removing xserver-xorg (1:7.7+19) ... Removing xserver-xorg-video-all (1:7.7+19) ... Removing xserver-xorg-video-vesa (1:2.4.0-1) ... Removing xserver-xorg-video-nouveau (1:1.0.16-1) ... Removing xserver-xorg-input-all (1:7.7+19) ... Removing xserver-xorg-input-libinput (0.28.2-2) ... Removing xserver-xorg-video-fbdev (1:0.5.0-1) ... Removing xserver-xorg-video-ati (1:19.0.1-1) ... Removing xserver-xorg-video-radeon (1:19.0.1-1) ... Removing liba52-0.7.4:arm64 (0.7.4-19) ... Removing libaa1:arm64 (1.4p5-46) ... Removing libavformat58:arm64 (7:4.1.6-1~deb10u1) ... Removing libchromaprint1:arm64 (1.4.3-3) ... Removing libappindicator3-1:arm64 (0.4.92-7) ... Removing python3-apt (1.8.4.3) ... Removing libapt-inst2.0:arm64 (1.8.2.3) ... Removing pulseaudio (12.2-4+deb10u1) ... Removing libopenal1:arm64 (1:1.19.1-1) ... Removing libsndio7.0:arm64 (1.5.0-3) ... Removing libasound2-plugins:arm64 (1.1.8-1) ... Removing libass9:arm64 (1:0.14.0-2) ... Removing pulseaudio-utils (12.2-4+deb10u1) ... Removing libpulsedsp:arm64 (12.2-4+deb10u1) ... Removing xfce4-timer-plugin (1.7.0-1) ... Removing libatomic1:arm64 (8.3.0-6) ... Removing libavahi-core7:arm64 (0.7-4+deb10u1) ... Removing libavc1394-0:arm64 (0.5.4-5) ... Removing libavresample4:arm64 (7:4.1.6-1~deb10u1) ... Removing libbind9-161:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ... Removing nmap (7.70+dfsg1-6+deb10u2) ... Removing liblinear3:arm64 (2.1.0+dfsg-4) ... Removing libblas3:arm64 (3.8.0-2) ... Removing libbluetooth3:arm64 (5.50-1.2~deb10u2) ... Removing libbluray2:arm64 (1:1.1.0-1) ... Removing libbs2b0:arm64 (3.1.0+dfsg-2.2) ... Removing x11-utils (7.7+4) ... Removing libburn4:arm64 (1.5.0-1+deb10u1) ... Removing libcaca0:arm64 (0.99.beta19-2.1) ... Removing xfce4-systemload-plugin (1.2.2-1) ... Removing xfce4-whiskermenu-plugin (2.3.1-1) ... Removing xfce4-terminal (0.8.7.4-2) ... Removing libcdio18:arm64 (2.0.0-2) ... Removing libcdparanoia0:arm64 (3.10.2+debian-13) ... Removing python3-pycurl (7.43.0.2-0.1) ... Removing libcurl3-gnutls:arm64 (7.64.0-4+deb10u2) ... Removing libdaemon0:arm64 (0.14-7) ... Removing xfce4-session (4.12.1-6) ... Removing xfce4-settings (4.12.4-1) ... Removing xfce4-mailwatch-plugin (1.2.0-3) ... Removing xfce4-pulseaudio-plugin:arm64 (0.4.1-1) ... Removing libdbusmenu-gtk3-4:arm64 (18.10.20180917~bzr490+repack1-1) ... Removing libdbusmenu-glib4:arm64 (18.10.20180917~bzr490+repack1-1) ... Removing libdc1394-22:arm64 (2.2.5-1) ... Removing libdca0:arm64 (0.0.6-1) ... Removing libde265-0:arm64 (1.0.3-1+b1) ... Removing libisccfg163:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ... Removing libdns1104:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ... Removing libdpkg-perl (1.19.7) ... Removing xserver-xorg-video-amdgpu (18.1.99+git20190207-1) ... Removing libdv4:arm64 (1.0.0-12) ... Removing libdvdnav4:arm64 (6.0.0-1) ... Removing libdvdread4:arm64 (6.0.1-1) ... Removing libdw1:arm64 (0.176-1.1) ... Removing ssh (1:7.9p1-10+deb10u2) ... Removing openssh-server (1:7.9p1-10+deb10u2) ... Removing openssh-sftp-server (1:7.9p1-10+deb10u2) ... Removing openssh-client (1:7.9p1-10+deb10u2) ... Removing ntp (1:4.2.8p12+dfsg-4) ... Removing libinput10:arm64 (1.12.6-2+deb10u1) ... Removing libinput-bin (1.12.6-2+deb10u1) ... Removing libevdev2:arm64 (1.6.0+dfsg-1) ... Removing libevent-2.1-6:arm64 (2.1.8-stable-4) ... Removing thunar-media-tags-plugin (0.3.0-2) ... Removing ristretto (0.8.3-1) ... Removing xfce4-screenshooter (1.9.3-1) ... Removing python3-cairo:arm64 (1.16.2-1+b1) ... Removing python3-dbus (1.2.8-3) ... Removing python3 (3.7.3-1) ... Removing python3.7 (3.7.3-2+deb10u3) ... Removing python3-minimal (3.7.3-1) ... Removing python3.7-minimal (3.7.3-2+deb10u3) ... Removing libpython3.7:arm64 (3.7.3-2+deb10u3) ... Removing libfaad2:arm64 (2.8.8-3) ... Removing libofa0:arm64 (0.9.3-19) ... Removing libfftw3-double3:arm64 (3.3.8-2) ... Removing libfftw3-single3:arm64 (3.3.8-2) ... Removing libfile-fnmatch-perl (0.02-2+b6) ... Removing libfluidsynth1:arm64 (1.1.11-1+deb10u1) ... Removing libflite1:arm64 (2.1-release-3) ... Removing xfonts-scalable (1:1.0.3-1.1) ... Removing xfonts-base (1:1.0.5) ... Removing libxft2:arm64 (2.3.2-2) ... Removing liblwres161:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ... Removing libisccc161:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ... Removing xfce4-appfinder (4.12.0-2) ... Removing perl (5.28.1-6+deb10u1) ... Removing libperl5.28:arm64 (5.28.1-6+deb10u1) ... Removing libgdbm-compat4:arm64 (1.18.1-4) ... Removing libgdbm6:arm64 (1.18.1-4) ... Removing xfce4-taskmanager (1.2.2-1) ... Removing libisc1100:arm64 (1:9.11.5.P4+dfsg-5.1+deb10u5) ... Removing libgeoip1:arm64 (1.6.12-1) ... Removing libgfortran5:arm64 (8.3.0-6) ... Removing libgirepository-1.0-1:arm64 (1.58.3-2) ... Removing libpulse-mainloop-glib0:arm64 (12.2-4+deb10u1) ... Removing libmm-glib0:arm64 (1.10.0-1) ... Removing libglu1-mesa:arm64 (9.0.0-2.1+b3) ... Removing libgme0:arm64 (0.6.2-1) ... Removing vim (2:8.1.0875-5) ... update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode Removing mc (3:4.8.22-1) ... Removing libgpm2:arm64 (1.20.7-5) ... Removing libnice10:arm64 (0.1.14-1) ... Removing libgupnp-igd-1.0-4:arm64 (0.2.5-3) ... Removing libgupnp-1.0-4:arm64 (1.0.5-0+deb10u1) ... Removing libgssdp-1.0-3:arm64 (1.0.5-0+deb10u1) ... Removing libgstreamer-plugins-bad1.0-0:arm64 (1.14.4-1+deb10u2) ... Removing libgtksourceview-3.0-1:arm64 (3.24.9-2) ... Removing libgtksourceview-3.0-common (3.24.9-2) ... Removing libwacom2:arm64 (0.32-1) ... Removing libi2c0:arm64 (4.1-1) ... Removing libical3:arm64 (3.0.4-3) ... Removing libzbar0:arm64 (0.22-1) ... Removing xfce4-clipman-plugin (2:1.4.3-1) ... Removing libtagc0:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ... Removing libtag1v5:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ... Removing libtag1v5-vanilla:arm64 (1.11.1+dfsg.1-0.3+deb10u1) ... Removing libiec61883-0:arm64 (1.2.0-3) ... Removing libopenexr23:arm64 (2.2.1-4.1+deb10u1) ... Removing libilmbase23:arm64 (2.2.1-2) ... Removing lightdm-gtk-greeter (2.0.6-1) ... Removing libindicator3-7:arm64 (0.5.0-4) ... Removing libiperf0:arm64 (3.6-2) ... Removing libisl19:arm64 (0.20-2) ... Removing libisofs6:arm64 (1.5.0-1) ... Removing libjack-jackd2-0:arm64 (1.9.12~dfsg-2) ... Removing libjansson4:arm64 (2.12-1) ... Removing libspandsp2:arm64 (0.0.6+dfsg-2) ... Removing libv4l-0:arm64 (1.16.3-3) ... Removing libv4lconvert0:arm64 (1.16.3-3) ... Removing libjq1:arm64 (1.5+dfsg-2+b1) ... Removing libjsoncpp1:arm64 (1.7.4-3) ... Removing libjte1 (1.21-1) ... Removing libkate1:arm64 (0.4.1-9) ... Removing libkeybinder-3.0-0:arm64 (0.3.2-1) ... Removing liblightdm-gobject-1-0:arm64 (1.26.0-4) ... Removing liblilv-0-0:arm64 (0.24.2~dfsg0-2) ... Removing liblmdb0:arm64 (0.9.22-1) ... Removing libltdl7:arm64 (2.4.6-9) ... Removing liblua5.3-0:arm64 (5.3.3-1.1) ... Removing mtd-utils (1:2.0.1-1) ... Removing liblzo2-2:arm64 (2.10-0.1) ... Removing libmagic1:arm64 (1:5.35-4+deb10u2) ... Removing libmagic-mgc (1:5.35-4+deb10u2) ... Removing libminizip1:arm64 (1.1-8+b1) ... Removing libmplex2-2.1-0 (1:2.1.0+debian-5) ... Removing libmpeg2encpp-2.1-0 (1:2.1.0+debian-5) ... Removing libmjpegutils-2.1-0 (1:2.1.0+debian-5) ... Removing libmms0:arm64 (0.6.4-3) ... Removing libmodplug1:arm64 (1:0.8.9.0-2) ... Removing libmpc3:arm64 (1.1.0-1) ... Removing libmpcdec6:arm64 (2:0.1~r495-1+b2) ... Removing libpython3-stdlib:arm64 (3.7.3-1) ... Removing libpython3.7-stdlib:arm64 (3.7.3-2+deb10u3) ... find: โ/usr/lib/python3โ: No such file or directory Removing libmpdec2:arm64 (2.4.2-2) ... Removing libmpeg2-4:arm64 (0.5.1-8) ... Removing libmpfr6:arm64 (4.0.2-1) ... Removing libopenmpt0:arm64 (0.4.3-1+deb10u1) ... Removing libmpg123-0:arm64 (1.25.10-2) ... Removing libmtdev1:arm64 (1.1.5-1+b1) ... Removing libndp0:arm64 (1.6-1+b1) ... Removing libnm0:arm64 (1.14.6-2+deb10u1) ... Removing xfce4-sensors-plugin (1.3.0-2+b1) ... Removing libnss3:arm64 (2:3.42.1-1+deb10u3) ... Removing libnspr4:arm64 (2:4.20-1) ... Removing libvorbisfile3:arm64 (1.3.6-2) ... Removing libonig5:arm64 (6.9.1-1) ... Removing libopenal-data (1:1.19.1-1) ... Removing libopencore-amrnb0:arm64 (0.1.3-2.1+b2) ... Removing libopencore-amrwb0:arm64 (0.1.3-2.1+b2) ... Removing libopts25:arm64 (1:5.18.12-4) ... Removing libpackagekit-glib2-18:arm64 (1.1.12-5) ... Removing libpcap0.8:arm64 (1.8.1-6) ... Removing pciutils (1:3.5.2-1) ... Removing libpci3:arm64 (1:3.5.2-1) ... Removing libpipeline1:arm64 (1.5.1-2) ... Removing libpolkit-agent-1-0:arm64 (0.105-25) ... Removing libpolkit-backend-1-0:arm64 (0.105-25) ... Removing libpolkit-gobject-1-0:arm64 (0.105-25) ... Removing libprotobuf-c1:arm64 (1.3.1-1+b1) ... Removing libpython3.7-minimal:arm64 (3.7.3-2+deb10u3) ... find: โ/usr/lib/python3โ: No such file or directory Removing xfce4-clipman (2:1.4.3-1) ... Removing libqrencode4:arm64 (4.0.2-1) ... Removing libraw1394-11:arm64 (2.1.2-1+b1) ... Removing libre2-5:arm64 (20190101+dfsg-2) ... Removing libsamplerate0:arm64 (0.1.9-2) ... Removing libsbc1:arm64 (1.4-1) ... Removing libsctp1:arm64 (1.0.18+dfsg-1) ... Removing sysstat (12.0.3-2) ... Removing libsratom-0-0:arm64 (0.6.0~dfsg0-1) ... Removing libsord-0-0:arm64 (0.16.0~dfsg0-1+b1) ... Removing libserd-0-0:arm64 (0.28.0~dfsg0-1) ... Removing libshout3:arm64 (2.4.1-2) ... Removing libsidplay1v5:arm64 (1.36.59-11) ... Removing m4 (1.4.18-2) ... Removing libsigsegv2:arm64 (2.12-2) ... Removing libsoundtouch1:arm64 (2.1.2+ds1-1) ... Removing libspeexdsp1:arm64 (1.2~rc1.2-1+b2) ... Removing libsrtp2-1:arm64 (2.2.0-1) ... Removing libssh-gcrypt-4:arm64 (0.8.7-1+deb10u1) ... Removing xfce4-smartbookmark-plugin (0.5.0-1) ... Removing libwnck-3-0:arm64 (3.30.0-2) ... Removing sysfsutils (2.1.0+repack-5) ... Removing libsysfs2:arm64 (2.1.0+repack-5) ... Removing libtdb1:arm64 (1.3.16-2+b1) ... Removing libteamdctl0:arm64 (1.28-1) ... Removing libuchardet0:arm64 (0.0.6-3) ... Removing libupower-glib3:arm64 (0.99.10-1) ... Removing libutempter0:arm64 (1.1.6-3) ... Removing libvisual-0.4-0:arm64 (0.4.0-15) ... Removing libvo-aacenc0:arm64 (0.1.3-1+b1) ... Removing libvo-amrwbenc0:arm64 (0.1.3-1+b1) ... Removing libvte-2.91-0:arm64 (0.54.2-2) ... Removing libvte-2.91-common (0.54.2-2) ... Removing libvulkan1:arm64 (1.1.97-2) ... Removing libwacom-common (0.32-1) ... Removing libwebpdemux2:arm64 (0.6.1-2+deb10u1) ... Removing libwebrtc-audio-processing1:arm64 (0.3-1) ... Removing libwildmidi2:arm64 (0.4.3-1) ... Removing libwnck-3-common (3.30.0-2) ... Removing libxnvctrl0:arm64 (418.74-1) ... Removing xinit (1.4.0-1) ... Removing xauth (1:1.0.10-1) ... Removing libxcb-shape0:arm64 (1.13.1-2) ... Removing libxxf86dga1:arm64 (2:1.1.4-1+b3) ... Removing xfce4-netload-plugin (1.3.1-2) ... Removing libxfce4ui-utils (4.12.1-3) ... Removing xfce4-genmon-plugin (4.0.1-2) ... Removing libxklavier16:arm64 (5.4-4) ... Removing libxmuu1:arm64 (2:1.1.2-2+b3) ... Removing libxslt1.1:arm64 (1.1.32-2.2~deb10u1) ... Removing libxss1:arm64 (1:1.2.3-1) ... Removing libxv1:arm64 (2:1.0.11-1) ... Removing mc-data (3:4.8.22-1) ... Removing mime-support (3.62) ... Removing net-tools (1.60+git20180626.aebd88e-1) ... Removing netbase (5.6) ... Removing nmap-common (7.70+dfsg1-6+deb10u2) ... Removing notification-daemon (3.20.0-4) ... Removing perl-modules-5.28 (5.28.1-6+deb10u1) ... Removing python-apt-common (1.8.4.3) ... Removing resolvconf (1.79) ... resolvconf.postrm: Reboot recommended Removing rsync (3.1.3-6) ... Removing u-boot-tools (2019.01+dfsg-7) ... Removing vim-common (2:8.1.0875-5) ... Removing vim-runtime (2:8.1.0875-5) ... Removing 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' Removing 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' Removing xbitmaps (1.1.1-2) ... Removing xdg-utils (1.1.3-1+deb10u1) ... Removing xfce4-battery-plugin (1.1.2-1) ... Removing xfce4-cpufreq-plugin (1.2.1-1) ... Removing xfce4-cpugraph-plugin (1.0.5-2) ... Removing xfce4-datetime-plugin (0.7.0-2) ... Removing xfce4-dict (0.8.2-1) ... Removing xfce4-diskperf-plugin (2.6.1-2) ... Removing xfce4-fsguard-plugin (1.1.0-2) ... Removing xfdesktop4-data (4.12.4-2) ... Removing xfonts-100dpi (1:1.0.4+nmu1) ... Removing xfonts-75dpi (1:1.0.4+nmu1) ... Removing xorg-docs-core (1:1.7.1-1.1) ... Removing xxd (2:8.1.0875-5) ... Removing xz-utils (5.2.4-1) ... Removing zip (3.0-11+b1) ... Removing thunar (1.8.4-1) ... Removing desktop-file-utils (0.23-4) ... Removing libgstreamer-plugins-base1.0-0:arm64 (1.14.4-2+deb10u1) ... Removing iso-codes (4.2-1) ... Removing xserver-xorg-core (2:1.20.4-1+deb10u3) ... Removing keyboard-configuration (1.193~deb10u1) ... Removing libavcodec58:arm64 (7:4.1.6-1~deb10u1) ... Removing libaom0:arm64 (1.0.0-3) ... Removing libasound2:arm64 (1.1.8-1) ... Removing libasound2-data (1.1.8-1) ... Removing libpulse0:arm64 (12.2-4+deb10u1) ... Removing libasyncns0:arm64 (0.8-6) ... Removing libswresample3:arm64 (7:4.1.6-1~deb10u1) ... Removing libavutil56:arm64 (7:4.1.6-1~deb10u1) ... Removing libgl1:arm64 (1.1.0-1) ... Removing libglx0:arm64 (1.1.0-1) ... Removing libglx-mesa0:arm64 (18.3.6-2+deb10u1) ... Removing libcodec2-0.8.1:arm64 (0.8.1-2) ... Removing xfce4-panel (4.12.2-1) ... Removing libgl1-mesa-dri:arm64 (18.3.6-2+deb10u1) ... Removing libdrm-amdgpu1:arm64 (2.4.97-1) ... Removing libegl1:arm64 (1.1.0-1) ... Removing libegl-mesa0:arm64 (18.3.6-2+deb10u1) ... Removing libgbm1:arm64 (18.3.6-2+deb10u1) ... Removing libdrm-radeon1:arm64 (2.4.97-1) ... Removing libdrm-etnaviv1:arm64 (2.4.97-1) ... Removing libdrm-nouveau2:arm64 (2.4.97-1) ... Removing libthunarx-3-0:arm64 (1.8.4-1) ... Removing libexif12:arm64 (0.6.21-5.1+deb10u5) ... Removing libexo-1-0:arm64 (0.12.4-1) ... Removing libsndfile1:arm64 (1.0.28-6+deb10u1) ... Removing libflac8:arm64 (1.3.2-3) ... Removing xfonts-utils (1:7.7+6) ... Removing libxfont2:arm64 (1:2.0.3-1) ... Removing libfontenc1:arm64 (1:1.1.3-1+b2) ... Removing libfstrm0:arm64 (0.4.0-1) ... Removing libgarcon-1-0 (0.6.2-1) ... Removing libgarcon-common (0.6.2-1) ... Removing libglapi-mesa:arm64 (18.3.6-2+deb10u1) ... Removing libglvnd0:arm64 (1.1.0-1) ... Removing libsoxr0:arm64 (0.1.2-3) ... Removing libgomp1:arm64 (8.3.0-6) ... Removing libgsm1:arm64 (1.0.18-2) ... Removing libgstreamer1.0-0:arm64 (1.14.4-1) ... Removing libgudev-1.0-0:arm64 (232-2) ... Removing libllvm7:arm64 (1:7.0.1-8+deb10u2) ... Removing libmp3lame0:arm64 (3.100-2+b1) ... Removing libnotify4:arm64 (0.7.7-4) ... Removing libx265-165:arm64 (2.9-4) ... Removing libnuma1:arm64 (2.0.12-1) ... Removing libvorbisenc2:arm64 (1.3.6-2) ... Removing libopenjp2-7:arm64 (2.3.0-2+deb10u2) ... Removing libopus0:arm64 (1.3-1) ... Removing liborc-0.4-0:arm64 (1:0.4.28-3.1) ... Removing libpciaccess0:arm64 (0.14-1) ... Removing libzvbi0:arm64 (0.2.35-16) ... Removing libsensors5:arm64 (1:3.5.0-3) ... Removing libsensors-config (1:3.5.0-3) ... Removing libshine3:arm64 (3.1.1-2) ... Removing xserver-common (2:1.20.4-1+deb10u3) ... Removing x11-xkb-utils (7.7+4) ... Removing libsnappy1v5:arm64 (1.1.7-1) ... Removing libspeex1:arm64 (1.2~rc1.2-1+b2) ... Removing libtheora0:arm64 (1.1.1+dfsg.1-15) ... Removing libtwolame0:arm64 (0.3.13-4) ... Removing libunwind8:arm64 (1.2.1-10~deb10u1) ... Removing libva-drm2:arm64 (2.4.0-1) ... Removing libva-x11-2:arm64 (2.4.0-1) ... Removing libva2:arm64 (2.4.0-1) ... Removing libvdpau1:arm64 (1.1.1-10) ... Removing libvorbis0a:arm64 (1.3.6-2) ... Removing libvpx5:arm64 (1.7.0-3+deb10u1) ... Removing libwavpack1:arm64 (5.1.0-6) ... Removing libwayland-server0:arm64 (1.16.0-1) ... Removing libwebpmux3:arm64 (0.6.1-2+deb10u1) ... Removing libwnck22:arm64 (2.30.7-6) ... Removing libwnck-common (2.30.7-6) ... Removing libwrap0:arm64 (7.6.q-28) ... Removing libx264-155:arm64 (2:0.155.2917+git0a84d98-2) ... Removing libxaw7:arm64 (2:1.0.13-1+b2) ... Removing libxcb-dri2-0:arm64 (1.13.1-2) ... Removing libxcb-dri3-0:arm64 (1.13.1-2) ... Removing libxcb-glx0:arm64 (1.13.1-2) ... Removing libxcb-present0:arm64 (1.13.1-2) ... Removing libxcb-sync1:arm64 (1.13.1-2) ... Removing libxcb-xfixes0:arm64 (1.13.1-2) ... Removing libxxf86vm1:arm64 (1:1.1.4-1+b2) ... Removing libxfce4panel-2.0-4 (4.12.2-1) ... Removing libxtst6:arm64 (2:1.2.3-1) ... Removing libxkbfile1:arm64 (1:1.0.9-2+b11) ... Removing libxmu6:arm64 (2:1.1.2-2+b3) ... Removing libxpm4:arm64 (1:3.5.12-1) ... Removing libxres1:arm64 (2:1.2.0-2) ... Removing libxshmfence1:arm64 (1.3-1) ... Removing libxvidcore4:arm64 (2:1.3.5-1) ... Removing libzvbi-common (0.2.35-16) ... Removing thunar-data (1.8.4-1) ... Removing xfonts-encodings (1:1.0.4-2) ... dpkg: warning: while removing xfonts-encodings, directory '/usr/share/fonts/X11/encodings/large' not empty so not removed Removing exo-utils (0.12.4-1) ... Removing libxfce4ui-1-0:arm64 (4.12.1-3) ... Removing libdrm2:arm64 (2.4.97-1) ... Removing libdrm-common (2.4.97-1) ... Removing libedit2:arm64 (3.1-20181209-1) ... Removing libexo-2-0:arm64 (0.12.4-1) ... Removing libexo-helpers (0.12.4-1) ... Removing libexo-common (0.12.4-1) ... Removing libogg0:arm64 (1.3.2-1+b1) ... Removing libxt6:arm64 (1:1.1.5-1+b3) ... Removing libxfce4ui-2-0:arm64 (4.12.1-3) ... Removing libstartup-notification0:arm64 (0.12-6) ... Removing libx11-xcb1:arm64 (2:1.6.7-1+deb10u2) ... Removing libxcb-util0:arm64 (0.3.8-3+b2) ... Removing libxfce4ui-common (4.12.1-3) ... Removing libgtk-3-0:arm64 (3.24.5-1) ... Removing libgtk2.0-0:arm64 (2.24.32-3) ... Removing adwaita-icon-theme (3.30.1-1) ... Removing libxfconf-0-2 (4.12.1-1) ... Removing xfconf (4.12.1-1) ... Removing libgtk-3-common (3.24.5-1) ... Removing gtk-update-icon-cache (3.24.5-1) ... Removing hicolor-icon-theme (0.17-2) ... Removing libatk-bridge2.0-0:arm64 (2.30.0-5) ... Removing libatk1.0-0:arm64 (2.30.0-2) ... Removing libatk1.0-data (2.30.0-2) ... Removing libatspi2.0-0:arm64 (2.30.0-7) ... Removing libcups2:arm64 (2.2.10-6+deb10u4) ... Removing libavahi-client3:arm64 (0.7-4+deb10u1) ... Removing libavahi-common3:arm64 (0.7-4+deb10u1) ... Removing libavahi-common-data:arm64 (0.7-4+deb10u1) ... Removing libcairo-gobject2:arm64 (1.16.0-4+deb10u1) ... Removing libcolord2:arm64 (1.4.3-4) ... Removing librsvg2-common:arm64 (2.44.10-2.1) ... Removing librsvg2-2:arm64 (2.44.10-2.1) ... Removing libcroco3:arm64 (0.6.12-3) ... Removing libdbus-glib-1-2:arm64 (0.110-4) ... Removing libepoxy0:arm64 (1.5.3-0.1) ... Removing libgdk-pixbuf2.0-0:arm64 (2.38.1+dfsg-1) ... Removing libgdk-pixbuf2.0-common (2.38.1+dfsg-1) ... Removing libgtk2.0-common (2.24.32-3) ... Removing shared-mime-info (1.10-1) ... Removing libtiff5:arm64 (4.1.0+git191117-2~deb10u2) ... Removing libjbig0:arm64 (2.1-3.1+b2) ... Removing libjpeg62-turbo:arm64 (1:1.5.2-2+deb10u1) ... Removing libjson-glib-1.0-0:arm64 (1.4.4-2) ... Removing libjson-glib-1.0-common (1.4.4-2) ... Removing liblcms2-2:arm64 (2.9-3) ... Removing librest-0.7-0:arm64 (0.8.1-1) ... Removing libsm6:arm64 (2:1.2.3-1) ... Removing libsoup-gnome2.4-1:arm64 (2.64.2-2) ... Removing libwayland-cursor0:arm64 (1.16.0-1) ... Removing libwayland-client0:arm64 (1.16.0-1) ... Removing libwayland-egl1:arm64 (1.16.0-1) ... Removing libwebp6:arm64 (0.6.1-2+deb10u1) ... Removing libxcomposite1:arm64 (1:0.4.4-2) ... Removing libxcursor1:arm64 (1:1.1.15-2) ... Removing libxdamage1:arm64 (1:1.1.4-3+b3) ... Removing libxfce4util7:arm64 (4.12.1-3) ... Removing libxfce4util-common (4.12.1-3) ... Removing libxfixes3:arm64 (1:5.0.3-1) ... Removing libxi6:arm64 (2:1.7.9-1) ... Removing libxinerama1:arm64 (2:1.1.4-2) ... Removing libxkbcommon0:arm64 (0.8.2-1) ... Removing libxrandr2:arm64 (2:1.5.1-1) ... Removing xkb-data (2.26-2) ... Removing libsoup2.4-1:arm64 (2.64.2-2) ... Removing glib-networking:arm64 (2.58.0-2+deb10u2) ... Removing gsettings-desktop-schemas (3.28.1-1) ... Removing dconf-gsettings-backend:arm64 (0.30.1-2) ... Removing dconf-service (0.30.1-2) ... Removing libpangocairo-1.0-0:arm64 (1.42.4-8~deb10u1) ... Removing libpangoft2-1.0-0:arm64 (1.42.4-8~deb10u1) ... Removing libpango-1.0-0:arm64 (1.42.4-8~deb10u1) ... Removing fontconfig (2.13.1-2) ... Removing glib-networking-services (2.58.0-2+deb10u2) ... Removing glib-networking-common (2.58.0-2+deb10u2) ... Removing libcairo2:arm64 (1.16.0-4+deb10u1) ... Removing libthai0:arm64 (0.1.28-2) ... Removing libdatrie1:arm64 (0.2.12-2) ... Removing libdconf1:arm64 (0.30.1-2) ... Removing libfribidi0:arm64 (1.0.5-3.1+deb10u1) ... Removing libharfbuzz0b:arm64 (2.3.1-1) ... Removing libgraphite2-3:arm64 (1.3.13-7) ... Removing libice6:arm64 (2:1.0.9-2) ... Removing libxml2:arm64 (2.9.4+dfsg1-7+deb10u2) ... Removing libicu63:arm64 (63.1-6+deb10u1) ... Removing libpixman-1-0:arm64 (0.36.0-1) ... Removing libproxy1v5:arm64 (0.4.15-5+deb10u1) ... Removing libthai-data (0.1.28-2) ... Removing libxcb-render0:arm64 (1.13.1-2) ... Removing libxcb-shm0:arm64 (1.13.1-2) ... Removing libxext6:arm64 (2:1.3.3-1+b2) ... Removing libxrender1:arm64 (1:0.9.10-1) ... Removing x11-common (1:7.7+19) ... Removing dbus-user-session (1.12.20-0+deb10u1) ... Removing libpam-systemd:arm64 (241-7~deb10u8) ... Removing dbus (1.12.20-0+deb10u1) ... Removing libfontconfig1:arm64 (2.13.1-2) ... Removing fontconfig-config (2.13.1-2) ... Removing fonts-dejavu-core (2.37-1) ... Removing libexpat1:arm64 (2.2.6-2+deb10u1) ... Removing libfreetype6:arm64 (2.9.1-3+deb10u2) ... Removing libglib2.0-0:arm64 (2.58.3-2+deb10u3) ... Removing libpng16-16:arm64 (1.6.36-6) ... Removing libx11-6:arm64 (2:1.6.7-1+deb10u2) ... Removing libx11-data (2:1.6.7-1+deb10u2) ... Removing ucf (3.0038+nmu1) ... Removing sensible-utils (0.0.12) ... Removing libxcb1:arm64 (1.13.1-2) ... Removing libxdmcp6:arm64 (1:1.1.2-3) ... Removing libbsd0:arm64 (0.9.1-2+deb10u1) ... Removing libxau6:arm64 (1:1.0.8-1+b2) ... Removing tasksel (3.53) ... Removing tasksel-data (3.53) ... Removing liblocale-gettext-perl (1.07-3+b4) ... Processing triggers for libc-bin (2.28-10) ... (Reading database ... 30641 files and directories currently installed.) Purging configuration files for xinit (1.4.0-1) ... Purging configuration files for dhcpcd5 (7.1.0-2) ... Purging configuration files for fontconfig (2.13.1-2) ... Purging configuration files for xfce4-notes (1.8.1-2) ... Purging configuration files for libasound2-plugins:arm64 (1.1.8-1) ... Purging configuration files for vim (2:8.1.0875-5) ... Purging configuration files for xfonts-100dpi (1:1.0.4+nmu1) ... dpkg: warning: while removing xfonts-100dpi, directory '/usr/share/fonts/X11/100dpi' not empty so not removed Purging configuration files for desktop-file-utils (0.23-4) ... Purging configuration files for mime-support (3.62) ... Purging configuration files for mc (3:4.8.22-1) ... Purging configuration files for ssh (1:7.9p1-10+deb10u2) ... Purging configuration files for openssh-server (1:7.9p1-10+deb10u2) ... Purging configuration files for libvte-2.91-common (0.54.2-2) ... Purging configuration files for libexo-common (0.12.4-1) ... Purging configuration files for sysfsutils (2.1.0+repack-5) ... Purging configuration files for libpulse0:arm64 (12.2-4+deb10u1) ... Purging configuration files for libglib2.0-0:arm64 (2.58.3-2+deb10u3) ... Purging configuration files for fontconfig-config (2.13.1-2) ... Purging configuration files for libgtk-3-0:arm64 (3.24.5-1) ... Purging configuration files for openssh-client (1:7.9p1-10+deb10u2) ... Purging configuration files for xserver-xorg (1:7.7+19) ... Purging configuration files for xfce4-whiskermenu-plugin (2.3.1-1) ... Purging configuration files for libgtk2.0-0:arm64 (2.24.32-3) ... Purging configuration files for libgl1-mesa-dri:arm64 (18.3.6-2+deb10u1) ... Purging configuration files for xserver-xorg-core (2:1.20.4-1+deb10u3) ... rm: cannot remove '/var/log/Xorg.*.log.old': No such file or directory Purging configuration files for x11-common (1:7.7+19) ... Purging configuration files for libsensors-config (1:3.5.0-3) ... Purging configuration files for tasksel (3.53) ... Purging configuration files for libmagic1:arm64 (1:5.35-4+deb10u2) ... Purging configuration files for bc (1.07.1-2+b1) ... Purging configuration files for x11-apps (7.7+7) ... Purging configuration files for python3 (3.7.3-1) ... Purging configuration files for network-manager (1.14.6-2+deb10u1) ... dpkg: warning: while removing network-manager, directory '/etc/NetworkManager/system-connections' not empty so not removed Purging configuration files for resolvconf (1.79) ... Purging configuration files for blueman (2.0.8-1+deb10u1) ... Purging configuration files for xfonts-utils (1:7.7+6) ... dpkg: warning: while removing xfonts-utils, directory '/usr/share/fonts/X11/util' not empty so not removed Purging configuration files for x11-xserver-utils (7.7+8) ... Purging configuration files for man-db (2.8.5-2) ... Removing catpages as well as /var/cache/man hierarchy. Purging configuration files for pulseaudio (12.2-4+deb10u1) ... Purging configuration files for libpython3.7-minimal:arm64 (3.7.3-2+deb10u3) ... Purging configuration files for software-properties-common (0.96.20.2-2) ... Purging configuration files for notification-daemon (3.20.0-4) ... Purging configuration files for libgarcon-common (0.6.2-1) ... Purging configuration files for alsa-utils (1.1.8-2) ... Purging configuration files for dbus-user-session (1.12.20-0+deb10u1) ... Purging configuration files for desktop-base (10.0.2) ... Purging configuration files for bluez (5.50-1.2~deb10u2) ... Purging configuration files for perl (5.28.1-6+deb10u1) ... Purging configuration files for xfonts-base (1:1.0.5) ... dpkg: warning: while removing xfonts-base, directory '/usr/share/fonts/X11/misc' not empty so not removed Purging configuration files for light-locker (1.8.0-3) ... Purging configuration files for vim-common (2:8.1.0875-5) ... Purging configuration files for thunar (1.8.4-1) ... Purging configuration files for adwaita-icon-theme (3.30.1-1) ... Purging configuration files for libwrap0:arm64 (7.6.q-28) ... Purging configuration files for libgdk-pixbuf2.0-0:arm64 (2.38.1+dfsg-1) ... Purging configuration files for ntp (1:4.2.8p12+dfsg-4) ... dpkg: warning: while removing ntp, directory '/etc/NetworkManager' not empty so not removed Purging configuration files for dbus (1.12.20-0+deb10u1) ... rmdir: failed to remove '/var/run/dbus': Directory not empty Purging configuration files for shared-mime-info (1.10-1) ... Purging configuration files for bsdmainutils (11.1.2+b1) ... Purging configuration files for xfce4-session (4.12.1-6) ... Purging configuration files for fonts-dejavu-core (2.37-1) ... dpkg: warning: while removing fonts-dejavu-core, directory '/usr/share/fonts/truetype/dejavu' not empty so not removed Purging configuration files for ucf (3.0038+nmu1) ... Purging configuration files for pciutils (1:3.5.2-1) ... Purging configuration files for python3.7-minimal (3.7.3-2+deb10u3) ... Purging configuration files for autoconf (2.69-11) ... Purging configuration files for xfce4-appfinder (4.12.0-2) ... Purging configuration files for avahi-daemon (0.7-4+deb10u1) ... rmdir: failed to remove '/var/run/avahi-daemon': Directory not empty Purging configuration files for groff-base (1.22.4-3+deb10u1) ... Purging configuration files for xfce4-panel (4.12.2-1) ... Purging configuration files for libvdpau1:arm64 (1.1.1-10) ... Purging configuration files for x11-utils (7.7+4) ... Purging configuration files for libopenal-data (1:1.19.1-1) ... Purging configuration files for kbd (2.0.4-4) ... Purging configuration files for netbase (5.6) ... Purging configuration files for x11-session-utils (7.7+3) ... Purging configuration files for libgtk2.0-common (2.24.32-3) ... Purging configuration files for debsums (2.2.3) ... Purging configuration files for chromium (89.0.4389.114-1~deb10u1) ... Purging configuration files for xterm (344-1+deb10u1) ... Purging configuration files for xfce4-settings (4.12.4-1) ... Purging configuration files for xfonts-75dpi (1:1.0.4+nmu1) ... dpkg: warning: while removing xfonts-75dpi, directory '/usr/share/fonts/X11/75dpi' not empty so not removed Purging configuration files for keyboard-configuration (1.193~deb10u1) ... Purging configuration files for libxfce4ui-common (4.12.1-3) ... Purging configuration files for vim-runtime (2:8.1.0875-5) ... Purging configuration files for lsb-release (10.2019051400) ... Purging configuration files for lightdm-gtk-greeter (2.0.6-1) ... Purging configuration files for thunar-data (1.8.4-1) ... Purging configuration files for policykit-1 (0.105-25) ... Purging configuration files for sysstat (12.0.3-2) ... Purging configuration files for firefox-esr (78.14.0esr-1~deb10u1) ... Purging configuration files for xfonts-scalable (1:1.0.3-1.1) ... dpkg: warning: while removing xfonts-scalable, directory '/usr/share/fonts/X11/Type1' not empty so not removed Purging configuration files for libgtk-3-common (3.24.5-1) ... Purging configuration files for xfce4-clipman (2:1.4.3-1) ... Purging configuration files for rsync (3.1.3-6) ... Purging configuration files for tango-icon-theme (0.8.90-7) ... Purging configuration files for lightdm (1.26.0-4) ... Removing user `lightdm' ... Warning: group `lightdm' has no more members. Done. Processing triggers for systemd (241-7~deb10u8) ... [ OK ] DietPi-PREP | APT purge for: dbus dhcpcd5 mountall initscripts *office* *xfce* *qt5* *xserver* *xorg* glib-networking libgtk-3-0 removed '/etc/apt/apt.conf.d/01autoremove' removed '/etc/apt/apt.conf.d/01autoremove-kernels' [ INFO ] DietPi-PREP | APT autopurge, please wait... (Reading database ... 30321 files and directories currently installed.) Removing linux-headers-5.10.69-2-amlogic-g981b0a3cef (5.10.69-2-amlogic-g981b0a3cef) ... [ OK ] DietPi-PREP | APT autopurge DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step: [4] APT installations [ INFO ] DietPi-PREP | APT dist-upgrade, please wait... [ OK ] DietPi-PREP | APT dist-upgrade [ OK ] DietPi-PREP | apt-get clean [ INFO ] DietPi-PREP | Installing core DietPi pre-req DEB packages [ INFO ] DietPi-PREP | APT install for: apt bash-completion bzip2 ca-certificates console-setup cron curl ethtool fake-hwclock fdisk gnupg htop ifupdown iputils-ping isc-dhcp-client kmod locales nano p7zip parted procps psmisc rfkill sudo systemd-sysv tzdata udev unzip usbutils wget whiptail dropbear-run initramfs-tools haveged hdparm iw wireless-tools crda wpasupplicant dosfstools firmware-realtek firmware-linux-free firmware-misc-nonfree firmware-atheros firmware-brcm80211 firmware-iwlwifi, please wait...
after exit
root@zero:/tmp/DietPi-PREP# ifup --force wlan0 Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/wlan0/20:50:e7:19:93:a9 Sending on LPF/wlan0/20:50:e7:19:93:a9 Sending on Socket/fallback DHCPREQUEST for 192.168.1.77 on wlan0 to 255.255.255.255 port 67 DHCPREQUEST for 192.168.1.77 on wlan0 to 255.255.255.255 port 67 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14 No DHCPOFFERS received. Trying recorded lease 192.168.1.77 PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data. --- 192.168.1.254 ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms No working leases in persistent database - sleeping.
root@zero:/tmp/DietPi-PREP# nmcli r wifi on bash: nmcli: command not found
No DHCPOFFERS received.
Ah, forgot wpasupplicant:
apt install ifupdown isc-dhcp-client wpasupplicant crda
echo -e 'allow-hotplug wlan0\niface wlan0 inet dhcp\nwireless-power off\nwpa-conf /etc/wpa_supplicant/wpa_supplicant.conf' > /etc/network/interfaces
cat << '_EOF_' > /etc/wpa_supplicant/wpa_supplicant.conf
# Grant all members of group "netdev" permissions to configure WiFi, e.g. via wpa_cli or wpa_gui
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
# Allow wpa_cli/wpa_gui to overwrite this config file
update_config=1
network={
ssid="<WiFi SSID>"
scan_ssid=1
key_mgmt=WPA-PSK
psk="<WiFi key>"
}
_EOF_
# Replace `<WiFi SSID>` and `<WiFi key>` with the actual ones, of course.
ifup --force wlan0
bash: nmcli: command not found
Makes sense as NetMan was uninstalled.
@MichaIng
root@zero:/home/rock# ifup --force wlan0 wpa_supplicant: /sbin/wpa_supplicant daemon failed to start run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1 ifup: failed to bring up wlan0 root@zero:/home/rock# ifconfig -a lo: flags=73mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4163 mtu 1500 inet 192.168.1.77 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fd98:7272:9188:1:f758:5e36:d341:f26 prefixlen 64 scopeid 0x0 inet6 fe80::8dba:ed27:f6b8:7d65 prefixlen 64 scopeid 0x20 ether 20:50:e7:19:93:a9 txqueuelen 1000 (Ethernet) RX packets 13728 bytes 19215928 (18.3 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6675 bytes 591071 (577.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@zero:/home/rock#
root@zero:/home/rock# cat /etc/network/interfaces allow-hotplug wlan0 iface wlan0 inet dhcp wireless-power off wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf root@zero:/home/rock#
Can you try again with this wpasupplicant config:
cat << '_EOF_' > /etc/wpa_supplicant/wpa_supplicant.conf
# Grant all members of group "netdev" permissions to configure WiFi, e.g. via wpa_cli or wpa_gui
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
# Allow wpa_cli/wpa_gui to overwrite this config file
update_config=1
network={
ssid="<WiFi SSID>"
scan_ssid=1
key_mgmt=WPA-PSK
psk="<WiFi key>"
}
_EOF_
Probably it conflicts with NetMan and how it invokes wpasupplicant, so maybe it needs to be disabled first. To not break e.g. an SSH connection, last resort would be, after above:
systemctl disable networkmanager
systemctl disable wpasupplicant # the static service which is not used by ifupdown
systemctl enable networking
reboot
So on reboot the network should then be established from ground up by ifupdown, and NetMan can then be removed without it breaking the active network connection.
@MichaIng ๐ I'm sorry to disturb you. Tomorrow I'll try it through a USB LAN.
root@zero:/home/rock# cat /etc/wpa_supplicant/wpa_supplicant.conf # Grant all members of group "netdev" permissions to configure WiFi, e.g. via wpa_cli or wpa_gui ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev # Allow wpa_cli/wpa_gui to overwrite this config file update_config=1 network={ ssid="MYHOMENETWORK" scan_ssid=1 key_mgmt=WPA-PSK psk="MYSUPERSECRETPASSWORD" } root@zero:/home/rock# ifup --force wlan0 wpa_supplicant: /sbin/wpa_supplicant daemon failed to start run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1 ifup: failed to bring up wlan0 root@zero:/home/rock#
See my edit above. I'll also do some more tests when I find time, looks like there is no chance to fully automate this without a reboot ๐ค.
@MichaIng
If your script first download the necessary (deb) files, copy them to a temporary directory and, after cleaning (step 3), install from there? and then up the network?
See my edit above
Failed to disable unit: Unit file networkmanager.service does not exist.
The packages can be installed directly, they do not configure anything on install. But NetMan deconfigures the network on uninstall, so before removing it, it must not be active anymore it seems. And it furthermore seems to break ifupdown WiFi from being configured. So steps would be:
To fully implement this into PREP, the left question is how to translate NetMan (and consequently connman) configurations into wpasupplicant and interfaces configs, so that SSID + key and DHCP/static IP are preserved the way they were with NetMan (connman) before.
@MichaIng last small question - my Radxa Zero have SOC S905Y2, is it equivalent to "28 : Generic Amlogic S905 "?
Quite a different SoC despite the similar naming:
At least the CPU is the same. Currently it won't make any difference but when we implement more SoC-specific steps to the code, I think it deserves an own ID. Mean I'd stay with "Generic device".
@MichaIng success after https://github.com/MichaIng/DietPi/issues/4831#issuecomment-942469224 ! the wlan0 has up after step 3!
Yippee!
[ OK ] DietPi-PREP | Completed, disk can now be saved to .img for later use, or, reboot system to start first run of DietPi.
@MichaIng ๐ new image (loading from sd) stuck
G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;0.0? bl2_stage_init 0x01 bl2_stage_init 0x81 hw id: 0x0001 - pwm id 0x00 bl2_stage_init 0xc0 bl2_stage_init 0x02 no sdio debug board detected L0:00000000 L1:00000703 L2:00008067 L3:04000000 S1:00000000 B2:00002000 B1:e0f83180 TE: 265268 BL2 Built : 15:21:48, Aug 28 2019. g12a g1bf2b53 - luan.yuan@droid15-sz Board ID = 2 Set cpu clk to 24M Set clk81 to 24M CPU clk: 1200 MHz Set clk81 to 166.6M DDR driver_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 15:21:45 board id: 2 Load FIP HDR from SD, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0 fw parse done Load ddrfw from SD, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0 Load ddrfw from SD, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part: 0 PIEI prepare done fastboot data load fastboot data verify verify result: 266 Cfg max: 2, cur: 1. Board id: 255. Force loop cfg LPDDR4 probe ddr clk to 792MHz Load ddrfw from SD, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0 dmc_version 0000 Check phy result INFO : ERROR : Training has failed! 1D training failed Cfg max: 2, cur: 2. Board id: 255. Force loop cfg LPDDR4 probe ddr clk to 792MHz Load ddrfw from SD, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0 dmc_version 0000 Check phy result INFO : End of CA training INFO : End of initialization INFO : Training has run successfully! Check phy result INFO : End of initialization INFO : End of read enable training INFO : End of fine write leveling INFO : End of Write leveling coarse delay INFO : Training has run successfully! Check phy result INFO : End of initialization INFO : End of read dq deskew training INFO : End of MPR read delay center optimization INFO : End of write delay center optimization INFO : End of read delay center optimization INFO : End of max read latency training INFO : Training has run successfully! 1D training succeed Load ddrfw from SD, src: 0x00048200, des: 0xfffd0000, size: 0x0000c000, part: 0 Check phy result INFO : End of initialization INFO : End of 2D read delay Voltage center optimization INFO : End of 2D read delay Voltage center optimization INFO : End of 2D write delay Voltage center optimization INFO : End of 2D write delay Voltage center optimization INFO : Training has run successfully! channel==0 RxClkDly_Margin_A0==256 ps 13 TxDqDly_Margin_A0==256 ps 13 RxClkDly_Margin_A1==0 ps 0 TxDqDly_Margin_A1==0 ps 0 TrainedVREFDQ_A0==74 TrainedVREFDQ_A1==0 VrefDac_Margin_A0==28 DeviceVref_Margin_A0==40 VrefDac_Margin_A1==0 DeviceVref_Margin_A1==0 channel==1 RxClkDly_Margin_A0==256 ps 13 TxDqDly_Margin_A0==256 ps 13 RxClkDly_Margin_A1==0 ps 0 TxDqDly_Margin_A1==0 ps 0 TrainedVREFDQ_A0==74 TrainedVREFDQ_A1==0 VrefDac_Margin_A0==29 DeviceVref_Margin_A0==40 VrefDac_Margin_A1==0 DeviceVref_Margin_A1==0 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0004 soc_vref_reg_value 0x 00000019 0000001a 00000017 00000019 00000018 00000016 0000001a 00000016 00000017 00000018 00000019 0000001c 00000019 00000019 00000019 0000001b 0000001b 00000018 00000019 00000017 0000001b 00000018 00000018 00000017 00000018 00000019 00000017 0000001a 0000001a 00000018 00000018 00000017 dram_vref_reg_value 0x 00000062 2D training succeed aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 13:53:31 auto size-- 65535DDR cs0 size: 1024MB DDR cs1 size: 0MB DMC_DDR_CTRL: 00c0002bDDR size: 1024MB cs0 DataBus test pass cs0 AddrBus test pass 100bdlr_step_size ps== 447 result report boot times 0Enable ddr reg access Load FIP HDR from SD, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0 Load BL3X from SD, src: 0x0006c200, des: 0x0175c000, size: 0x000ec000, part: 0 bl2z: ptr: 05129330, size: 00001e40 0.0;M3 CHK:0;cm4_sp_mode 0 MVN_1=0x00000000 MVN_2=0x00000000 [Image: g12a_v1.1.3390-6ac5299 2019-09-26 14:09:46 luan.yuan@droid15-sz] OPS=0x30 ring efuse init 28 0b 30 00 01 19 39 00 00 14 35 39 53 42 56 50 [0.017150 Inits done] secure task start! high task start! low task start! run into bl31 NOTICE: BL31: v1.3(release):4fc40b1 NOTICE: BL31: Built : 15:57:33, May 22 2019 NOTICE: BL31: G12A normal boot! ERROR: Error initializing runtime service opteed_fast U-Boot 2021.07-24129-g105a2deb65 (Oct 10 2021 - 15:29:12 +0800) radxa-zero Model: Radxa Zero SoC: Amlogic Meson G12A (S905Y2) Revision 28:b (30:2) DRAM: 1 GiB MMC: sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 Card did not respond to voltage select! : -110 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot.scr 3260 bytes read in 1 ms (3.1 MiB/s) ## Executing script at 08000000 317 bytes read in 1 ms (309.6 KiB/s) 12207302 bytes read in 521 ms (22.3 MiB/s) 25526784 bytes read in 1093 ms (22.3 MiB/s) 72075 bytes read in 7 ms (9.8 MiB/s) 232 bytes read in 5 ms (44.9 KiB/s) Applying kernel provided DT fixup script (meson-fixup.scr) ## Executing script at 01600000 initrdsize = 0x Moving Image from 0x8080000 to 0x8200000, end=9af0000 ## Flattened Device Tree blob at 08008000 Booting using the fdt blob at 0x8008000 Loading Ramdisk to 40000000, end 40000000 ... OK Loading Device Tree to 000000003bec3000, end 000000003bf3cfff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.69-2-amlogic-g981b0a3cef (root@mrs-ella) (aarch64-none-elf-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #g981b0a3cef SMP PREEMPT Sun Oct 10 15:41:00 CST 2021 [ 0.000000] Machine model: Radxa Zero [ 0.000000] efi: UEFI not found. [ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'secmon@5000000': base 0x0000000005000000, size 3 MiB [ 0.000000] Reserved memory: created CMA memory pool at 0x000000002bc00000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x3fda8100-0x3fda9fff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 23 pages/cpu s56920 r8192 d29096 u94208 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048 [ 0.000000] Policy zone: DMA [ 0.000000] Kernel command line: initrd=initrd.img-5.10.69-2-amlogic-g981b0a3cef root=UUID=59a99a38-c4bc-4887-bcf8-dd93e10c4f2a rootwait rw rootfstype=ext4 console=tty1 console=ttyAML0,115200 panic=10 consoleblank=0 loglevel=7 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] Memory: 737048K/1048576K available (14336K kernel code, 1760K rwdata, 5452K rodata, 3264K init, 589K bss, 49384K reserved, 262144K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized [ 0.000000] random: get_random_bytes called from start_kernel+0x364/0x528 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000200] Console: colour dummy device 80x25 [ 0.000613] printk: console [tty1] enabled [ 0.000703] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.000727] pid_max: default: 32768 minimum: 301 [ 0.000806] LSM: Security Framework initializing [ 0.000836] Yama: becoming mindful. [ 0.000927] AppArmor: AppArmor initialized [ 0.000975] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.000995] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.002621] rcu: Hierarchical SRCU implementation. [ 0.004744] EFI services will not be available. [ 0.005074] smp: Bringing up secondary CPUs ... [ 0.005578] Detected VIPT I-cache on CPU1 [ 0.005646] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.006166] Detected VIPT I-cache on CPU2 [ 0.006196] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.006679] Detected VIPT I-cache on CPU3 [ 0.006706] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.006764] smp: Brought up 1 node, 4 CPUs [ 0.006825] SMP: Total of 4 processors activated. [ 0.006836] CPU features: detected: 32-bit EL0 Support [ 0.006849] CPU features: detected: CRC32 instructions [ 0.006861] CPU features: detected: 32-bit EL1 Support [ 0.015077] CPU: All CPU(s) started at EL2 [ 0.015139] alternatives: patching kernel code [ 0.016497] devtmpfs: initialized [ 0.027234] Registered cp15_barrier emulation handler [ 0.027272] Registered setend emulation handler [ 0.027467] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.027511] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.034123] pinctrl core: initialized pinctrl subsystem [ 0.035041] DMI not present or invalid. [ 0.035563] NET: Registered protocol family 16 [ 0.037231] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.037343] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.037464] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.037552] audit: initializing netlink subsys (disabled) [ 0.037716] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1 [ 0.039853] thermal_sys: Registered thermal governor 'fair_share' [ 0.039864] thermal_sys: Registered thermal governor 'bang_bang' [ 0.039892] thermal_sys: Registered thermal governor 'step_wise' [ 0.039904] thermal_sys: Registered thermal governor 'user_space' [ 0.040477] cpuidle: using governor menu [ 0.040853] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.040967] ASID allocator initialised with 65536 entries [ 0.042309] Serial: AMBA PL011 UART driver [ 0.081748] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.081785] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.081798] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.081811] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.084031] cryptd: max_cpu_qlen set to 1000 [ 0.153263] raid6: neonx8 gen() 2138 MB/s [ 0.221342] raid6: neonx8 xor() 1596 MB/s [ 0.289366] raid6: neonx4 gen() 2202 MB/s [ 0.357418] raid6: neonx4 xor() 1569 MB/s [ 0.425470] raid6: neonx2 gen() 2085 MB/s [ 0.493526] raid6: neonx2 xor() 1435 MB/s [ 0.561602] raid6: neonx1 gen() 1789 MB/s [ 0.629660] raid6: neonx1 xor() 1219 MB/s [ 0.697732] raid6: int64x8 gen() 1437 MB/s [ 0.765786] raid6: int64x8 xor() 771 MB/s [ 0.833930] raid6: int64x4 gen() 1599 MB/s [ 0.901932] raid6: int64x4 xor() 815 MB/s [ 0.970016] raid6: int64x2 gen() 1399 MB/s [ 1.038085] raid6: int64x2 xor() 749 MB/s [ 1.106172] raid6: int64x1 gen() 1033 MB/s [ 1.174225] raid6: int64x1 xor() 517 MB/s [ 1.174236] raid6: using algorithm neonx4 gen() 2202 MB/s [ 1.174246] raid6: .... xor() 1569 MB/s, rmw enabled [ 1.174257] raid6: using neon recovery algorithm [ 1.174938] ACPI: Interpreter disabled. [ 1.175323] reg-fixed-voltage regulator-flash_1v8: Failed to register regulator: -517 [ 1.175664] reg-fixed-voltage regulator-vcc_1v8: Failed to register regulator: -517 [ 1.175755] reg-fixed-voltage regulator-vcc_3v3: Failed to register regulator: -517 [ 1.175893] reg-fixed-voltage regulator-vddao_1v8: Failed to register regulator: -517 [ 1.175973] VDDAO_3V3: supplied by DC_IN [ 1.176767] iommu: Default domain type: Translated [ 1.176977] vgaarb: loaded [ 1.177980] SCSI subsystem initialized [ 1.178445] usbcore: registered new interface driver usbfs [ 1.178525] usbcore: registered new interface driver hub [ 1.178585] usbcore: registered new device driver usb [ 1.179014] pps_core: LinuxPPS API ver. 1 registered [ 1.179039] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti[ 1.179073] PTP clock support registered [ 1.179388] EDAC MC: Ver: 3.0.0 [ 1.181334] NetLabel: Initializing [ 1.181364] NetLabel: domain hash size = 128 [ 1.181373] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 1.181442] NetLabel: unlabeled traffic allowed by default [ 1.181907] clocksource: Switched to clocksource arch_sys_counter [ 1.182235] VFS: Disk quotas dquot_6.6.0 [ 1.182297] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.182862] AppArmor: AppArmor Filesystem Enabled [ 1.182941] pnp: PnP ACPI: disabled [ 1.190108] NET: Registered protocol family 2 [ 1.190244] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 1.191008] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 1.191093] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 1.191189] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 1.191300] TCP: Hash tables configured (established 8192 bind 8192) [ 1.191462] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear) [ 1.191522] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.191559] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.191706] NET: Registered protocol family 1 [ 1.191738] PCI: CLS 0 bytes, default 64 [ 1.192907] kvm [1]: IPA Size Limit: 40 bits [ 1.193858] kvm [1]: vgic interrupt IRQ9 [ 1.194370] kvm [1]: Hyp mode initialized successfully [ 1.200064] Initialise system trusted keyrings [ 1.200139] Key type blacklist registered [ 1.200270] workingset: timestamp_bits=44 max_order=18 bucket_order=0 [ 1.205005] zbud: loaded [ 1.206701] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.207367] fuse: init (API version 7.32) [ 1.208419] integrity: Platform Keyring initialized [ 1.244160] xor: measuring software checksum speed [ 1.248362] 8regs : 2363 MB/sec [ 1.251897] 32regs : 2798 MB/sec [ 1.256071] arm64_neon : 2367 MB/sec [ 1.256082] xor: using function: 32regs (2798 MB/sec) [ 1.256097] Key type asymmetric registered [ 1.256108] Asymmetric key parser 'x509' registered [ 1.256178] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 1.256316] io scheduler mq-deadline registered [ 1.256329] io scheduler kyber registered [ 1.256467] io scheduler bfq registered [ 1.263695] EINJ: ACPI disabled. [ 1.271277] soc soc0: Amlogic Meson G12A (Unknown) Revision 28:b (30:2) Detected [ 1.273046] VDDCPU: supplied by regulator-dummy [ 1.274238] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.277242] Serial: AMBA driver [ 1.277651] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 21, base_baud = 1500000) is a meson_uart [ 2.297462] printk: console [ttyAML0] enabled [ 2.302829] ffd24000.serial: ttyAML2 at MMIO 0xffd24000 (irq = 26, base_baud = 1500000) is a meson_uart [ 2.311269] serial serial0: tty port ttyAML2 registered [ 2.485938] loop: module loaded [ 2.488634] libphy: Fixed MDIO Bus: probed [ 2.490394] tun: Universal TUN/TAP device driver, 1.6 [ 2.493389] thunder_xcv, ver 1.0 [ 2.495790] thunder_bgx, ver 1.0 [ 2.498951] nicpf, ver 1.0 [ 2.502154] e1000e: Intel(R) PRO/1000 Network Driver [ 2.506516] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 2.512433] igb: Intel(R) Gigabit Ethernet Network Driver [ 2.517720] igb: Copyright (c) 2007-2014 Intel Corporation. [ 2.523279] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 2.529449] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 2.535506] sky2: driver version 1.30 [ 2.539437] VFIO - User Level meta-driver version: 0.3 [ 2.545810] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.550565] ehci-pci: EHCI PCI platform driver [ 2.554960] ehci-platform: EHCI generic platform driver [ 2.560303] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.566214] ohci-pci: OHCI PCI platform driver [ 2.570642] ohci-platform: OHCI generic platform driver [ 2.576300] usbcore: registered new interface driver usb-storage [ 2.583260] mousedev: PS/2 mouse device common for all mice [ 2.587939] i2c /dev entries driver [ 2.597447] sdhci: Secure Digital Host Controller Interface driver [ 2.598018] sdhci: Copyright(c) Pierre Ossman [ 2.602531] Synopsys Designware Multimedia Card Interface Driver [ 2.608882] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.609427] meson-gx-mmc ffe05000.sd: Got CD GPIO [ 2.618641] ledtrig-cpu: registered to indicate activity on CPUs [ 2.625186] meson-sm: secure-monitor enabled [ 2.629087] hid: raw HID events driver (C) Jiri Kosina [ 2.633939] usbcore: registered new interface driver usbhid [ 2.639320] usbhid: USB HID core driver [ 2.644951] NET: Registered protocol family 10 [ 2.648213] Segment Routing with IPv6 [ 2.651338] NET: Registered protocol family 17 [ 2.655608] 8021q: 802.1Q VLAN Support v1.8 [ 2.659710] Key type dns_resolver registered [ 2.664342] registered taskstats version 1 [ 2.667959] Loading compiled-in X.509 certificates [ 2.674675] Loaded X.509 cert 'Build time autogenerated kernel key: 34811813b8a704b907ec76bad4d3b818baef1c24' [ 2.684446] zswap: loaded using pool zstd/z3fold [ 2.687364] Key type ._fscrypt registered [ 2.690075] mmc1: new high speed SDHC card at address aaaa [ 2.691085] Key type .fscrypt registered [ 2.697337] mmcblk1: mmc1:aaaa SC32G 29.7 GiB [ 2.700379] Key type fscrypt-provisioning registered [ 2.702226] Btrfs loaded, crc32c=crc32c-generic [ 2.709849] mmcblk1: p1 p2 [ 2.714885] Key type encrypted registered [ 2.720942] AppArmor: AppArmor sha1 policy hashing enabled [ 2.737695] reg-fixed-voltage regulator-flash_1v8: Failed to register regulator: -517 [ 2.740335] reg-fixed-voltage regulator-vcc_1v8: Failed to register regulator: -517 [ 2.747701] VCC_3V3: supplied by VDDAO_3V3 [ 2.752136] VCC_5V: supplied by DC_IN [ 2.755457] VDDAO_1V8: supplied by VDDAO_3V3 [ 2.762798] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2 [ 2.764556] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1 [ 2.773004] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator [ 2.776974] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator [ 2.784060] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM [ 2.792302] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.796332] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 2.804023] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010 [ 2.813246] xhci-hcd xhci-hcd.0.auto: irq 35, io mem 0xff500000 [ 2.819289] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 2.827268] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.834418] usb usb1: Product: xHCI Host Controller [ 2.839245] usb usb1: Manufacturer: Linux 5.10.69-2-amlogic-g981b0a3cef xhci-hcd [ 2.846578] usb usb1: SerialNumber: xhci-hcd.0.auto [ 2.851801] hub 1-0:1.0: USB hub found [ 2.855146] hub 1-0:1.0: 2 ports detected [ 2.859334] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.864531] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 2.872118] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 2.878614] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.886670] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 2.894795] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.901950] usb usb2: Product: xHCI Host Controller [ 2.906777] usb usb2: Manufacturer: Linux 5.10.69-2-amlogic-g981b0a3cef xhci-hcd [ 2.914110] usb usb2: SerialNumber: xhci-hcd.0.auto [ 2.919312] hub 2-0:1.0: USB hub found [ 2.922683] hub 2-0:1.0: 1 port detected [ 2.927869] FLASH_1V8: supplied by VCC_3V3 [ 2.928672] meson-gx-mmc ffe03000.sd: allocated mmc-pwrseq [ 2.931100] VCC_1V8: supplied by VCC_3V3 [ 2.942289] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq [ 2.974234] Waiting for root device UUID=59a99a38-c4bc-4887-bcf8-dd93e10c4f2a... [ 2.994746] mmc2: queuing unknown CIS tuple 0x80 (2 bytes) [ 2.996854] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) [ 3.002135] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) [ 3.009194] mmc2: queuing unknown CIS tuple 0x80 (7 bytes) [ 3.015464] mmc2: queuing unknown CIS tuple 0x81 (9 bytes) [ 3.074044] random: fast init done [ 3.117908] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 3.131810] mmc2: new high speed SDIO card at address 0001 [ 3.267034] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36 [ 3.269559] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 3.276633] usb 1-1: Product: USB2.0 Hub [ 3.327073] hub 1-1:1.0: USB hub found [ 3.327369] hub 1-1:1.0: 4 ports detected [ 3.617915] usb 1-1.2: new full-speed USB device number 3 using xhci-hcd [ 3.721890] usb 1-1.2: New USB device found, idVendor=0b95, idProduct=6802, bcdDevice= 0.12 [ 3.724591] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.731840] usb 1-1.2: Product: AX68002 [ 3.735632] usb 1-1.2: Manufacturer: ASIX Electronics [ 3.740634] usb 1-1.2: SerialNumber: 00000001 [ 3.807039] hub 1-1.2:1.0: USB hub found [ 3.807520] hub 1-1.2:1.0: 7 ports detected [ 4.097915] usb 1-1.2.1: new full-speed USB device number 4 using xhci-hcd [ 4.201565] usb 1-1.2.1: New USB device found, idVendor=c0f4, idProduct=02e0, bcdDevice= 1.10 [ 4.204435] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4.211847] usb 1-1.2.1: Product: usb keyboard [ 4.216243] usb 1-1.2.1: Manufacturer: USB [ 4.289199] input: USB usb keyboard as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:C0F4:02E0.0001/input/input0 [ 4.358596] hid-generic 0003:C0F4:02E0.0001: input,hidraw0: USB HID v1.10 Keyboard [USB usb keyboard] on usb-xhci-hcd.0.auto-1.2.1/input0 [ 4.368716] input: USB usb keyboard Consumer Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:C0F4:02E0.0002/input/input1 [ 4.438216] input: USB usb keyboard System Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:C0F4:02E0.0002/input/input2 [ 4.449298] hid-generic 0003:C0F4:02E0.0002: input,hidraw1: USB HID v1.10 Device [USB usb keyboard] on usb-xhci-hcd.0.auto-1.2.1/input1 [ 4.541918] usb 1-1.2.2: new full-speed USB device number 5 using xhci-hcd [ 4.645473] usb 1-1.2.2: New USB device found, idVendor=046d, idProduct=c542, bcdDevice= 3.02 [ 4.648352] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4.655760] usb 1-1.2.2: Product: Wireless Receiver [ 4.660585] usb 1-1.2.2: Manufacturer: Logitech [ 4.705629] input: Logitech Wireless Receiver Mouse as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2:1.0/0003:046D:C542.0003/input/input3 [ 4.716871] hid-generic 0003:046D:C542.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech Wireless Receiver] on usb-xhci-hcd.0.auto-1.2.2/input0 [ 33.765919] VCC_5V: disabling [ 208.549939] random: crng init done
Seems to be an entropy issue. Do you have a possibility to attach a keyboard and hit some random key?
And do you know from the initial image, whether rng-tools
, rng-tools5
and/or haveged
were installed? The PREP script installs haveged
but I know from cases where it starts too late (in your case obviously, since I don't see any systemd/init system output yet). It should then be the initramfs which does some initial entropy pool feeding, e.g. on my notebook with a proper initramfs (initramfs-tools
) it boots fine, with tiny-initramfs
(a minimal one) I need to press some keys at a certain boot stage for it to continue, which means a kernel module which is responsible for this was not loaded by the initramfs.
However, by default initramfs-tools
with "full" kernel modules is installed, so it "should" load everything related. Do you have still the full PREP output, so we can check which packages were installed before? Probably there was some special Radxa firmware/driver/dtb package or so which needs to be preserved.
These are the installed kernel packages, I guess? https://github.com/radxa/apt/tree/gh-pages/buster-testing/pool/main/l/linux-5.10.69-3-amlogic-gacf75c74f9
nothing happened
[ 33.758229] VCC_5V: disabling [ 208.510239] random: crng init done sl;ltket;qwerkt'q; tqwe;rlt kwe;rtk;el rtk;ewrlkt e;lrkt ew;rlkt ertekr;l t'kelrkt erlt; e'lrt;k e'lrtk ewr;tkewrtbkhkhkhjkhkjkjhk ejdgtekrt hwkerthlktr tertkwer ktkwert' test
These are the installed kernel packages, I guess?
I think yes. no options - brand new device
[ 208.510239] random: crng init done
That is however pretty clear. This message should appear a few seconds after boot. Either the delay was too long already and the init system is not initialised anymore, of keyboard hits do not create entropy ๐ค. Not sure, we need to compare to check what may be missing.
@MichaIng today i tried install Bullseye (instead Buster) but get another error
APT purge for: dbus dhcpcd5 mountall initscripts *office* *xfce* *qt5* โ โ *xserver* *xorg* glib-networking libgtk-3-0 โ โ - Command: apt-get -qq --allow-change-held-packages --autoremove purge dbus โ โ dhcpcd5 mountall initscripts *office* *xfce* *qt5* *xserver* *xorg* โ โ glib-networking libgtk-3-0 โ โ - Exit code: 100 โ โ - DietPi version: v7.6.2 (MichaIng/master) | HW_MODEL: 22 | HW_ARCH: 3 | โ โ DISTRO: 5 โ โ - Error log: โ โ E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused โ โ by held packages. โ โ โ โ Retry : Re-run the last command that failed โ โ DietPi-Config : Edit network, APT/NTP mirror settings etc โ โ Open subshell : Open a subshell to investigate or solve the issue โ โ Send report : Uploads bugreport containing system info to DietPi โ โ โโ Devs only โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ Change command : Adjust and rerun the command โ โ โ โ
and new, if i try to send bugreport get error
โ Send report : Uploads bugreport containing system info to DietPi โ โ โโ Devs only โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ Change command : Adjust and rerun the command โ โ โ โ โ โโ โ โ [ INFO ] DietPi-BugReport | cp /tmp/G_EXEC_ERROR_REPORT G_EXEC_ERROR_REPORT, please wait... [ OK ] DietPi-BugReport | cp /tmp/G_EXEC_ERROR_REPORT G_EXEC_ERROR_REPORT [FAILED] DietPi-BugReport | Packing upload archive - Command: 7zr a -m0=lzma2 -mx=9 -spf .7z CMD_OUT.txt G_EXEC_ERROR_REPORT /var/log /boot/config.txt /boot/cmdline.txt /boot/boot.ini /boot/uenv.txt /boot/uEnv.txt /boot/armbianEnv.txt /boot/boot.cmd /boot/dietpi.txt /boot/dietpi /var/lib/dietpi /var/tmp/dietpi /run/dietpi /etc/bash.bashrc /etc/bashrc.d /root/.bashrc /etc/profile /etc/profile.d /root/.profile /etc/rc.local /etc/X11/xorg.conf /etc/X11/xorg.conf.d /etc/asound.conf /etc/network/interfaces /etc/network/interfaces.d /etc/wpa_supplicant/wpa_supplicant.conf /etc/fstab /etc/sysctl.conf /etc/sysctl.d /etc/init.d /etc/systemd/system /lib/systemd/system /usr/local/lib/systemd/system /etc/apt/sources.list /etc/apt/sources.list.d /etc/apt/preferences /etc/apt/preferences.d /etc/apt/apt.conf.d | Use up/down buttons to scroll texti-BugReport โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ /var/log /boot/config.txt /boot/cmdline.txt /boot/boot.ini /boot/uenv.txt โ /boot/uEnv.txt /boot/armbianEnv.txt /boot/boot.cmd /boot/dietpi.txt โ /boot/dietpi /var/lib/dietpi /var/tmp/dietpi /run/dietpi /etc/bash.bashrc โ /etc/bashrc.d /root/.bashrc /etc/profile /etc/profile.d /root/.profile โ /etc/rc.local /etc/X11/xorg.conf /etc/X11/xorg.conf.d /etc/asound.conf โ /etc/network/interfaces /etc/network/interfaces.d โ /etc/wpa_supplicant/wpa_supplicant.conf /etc/fstab /etc/sysctl.conf โ /etc/sysctl.d /etc/init.d /etc/systemd/system /lib/systemd/system โ /usr/local/lib/systemd/system /etc/apt/sources.list /etc/apt/sources.list.d โ /etc/apt/preferences /etc/apt/preferences.d /etc/apt/apt.conf.d โ - Exit code: 127 โ - DietPi version: v7.6.2 (MichaIng/master) | HW_MODEL: | HW_ARCH: | โ DISTRO: โ - Error log: โ /boot/dietpi/func/dietpi-globals: line 846: 7zr: command not found โ
Can you show the full output of this command:
apt-get --allow-change-held-packages --autoremove purge dbus dhcpcd5 mountall initscripts '*office*' '*xfce*' '*qt5*' '*xserver*' '*xorg*' glib-networking libgtk-3-0
Makes sense that sending a bug report fails as this is not yet a DietPi system (the scripts were not yet installed). However, it makes sense that we disable the option for DietPi-PREP where it simply doesn't make sense at all: https://github.com/MichaIng/DietPi/commit/4bb11e14ee4c69d9f5248f3921d1f3dc7555a6ce
@MichaIng error log in wizard
APT purge for: dbus dhcpcd5 mountall initscripts *office* *xfce* *qt5* โ โ *xserver* *xorg* glib-networking libgtk-3-0 โ โ - Command: apt-get -qq --allow-change-held-packages --autoremove purge dbus โ โ dhcpcd5 mountall initscripts *office* *xfce* *qt5* *xserver* *xorg* โ โ glib-networking libgtk-3-0 โ โ - Exit code: 100 โ โ - DietPi version: v7.6.2 (MichaIng/master) | HW_MODEL: 22 | HW_ARCH: 3 | โ โ DISTRO: 5 โ โ - Error log: โ โ E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused โ โ by held packages.
if i execute custom (actually not changing) command:
[ INFO ] DietPi-PREP | Executing alternative command: apt-get -qq --allow-change-held-packages --autoremove purge dbus dhcpcd5 mountall initscripts *office* *xfce* *qt5* *xserver* *xorg* glib-networking libgtk-3-0 E: Unable to locate package mountall [FAILED] Alternative command execution | Exited with error Press any key to return to error handler menu...
Ah APT alone does not filter packages by those which are actually installed. The error handler filters the list internally. Please open a subshell to get the list of actually installed packages:
dpkg --get-selections dbus dhcpcd5 mountall initscripts '*office*' '*xfce*' '*qt5*' '*xserver*' '*xorg*' glib-networking libgtk-3-0 2> /dev/null | mawk '{print $1}'
can't open
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค DietPi-PREP โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ โ A bash subshell will now open which allows you to investigate and/or fix the โ โ issue. โ โ โ โ Please use the "exit" command when you are finished, to return to this error โ โ handler menu. โ โ โ โโ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Just hit return, then it should open.
@MichaIng
/dev/null | mawk '{print $1}''*xserver*' '*xorg*' glib-networking libgtk-3-0
dbus
dhcpcd5
gtk2-engines-xfce
libxfce4panel-2.0-4
libxfce4ui-1-0:arm64
libxfce4ui-2-0:arm64
libxfce4ui-common
libxfce4ui-utils
libxfce4util-common
libxfce4util7:arm64
task-xfce-desktop
xfce4
xfce4-appfinder
xfce4-battery-plugin
xfce4-clipman
xfce4-clipman-plugin
xfce4-cpufreq-plugin
xfce4-cpugraph-plugin
xfce4-datetime-plugin
xfce4-dict
xfce4-diskperf-plugin
xfce4-fsguard-plugin
xfce4-genmon-plugin
xfce4-goodies
xfce4-mailwatch-plugin
xfce4-netload-plugin
xfce4-notes
xfce4-notes-plugin
xfce4-panel
xfce4-places-plugin
xfce4-pulseaudio-plugin:arm64
xfce4-screenshooter
xfce4-sensors-plugin
xfce4-session
xfce4-settings
xfce4-smartbookmark-plugin
xfce4-systemload-plugin
xfce4-taskmanager
xfce4-terminal
xfce4-timer-plugin
xfce4-verve-plugin
xfce4-wavelan-plugin
xfce4-weather-plugin
xfce4-whiskermenu-plugin
xfce4-xkb-plugin
x11-xserver-utils
xserver-common
xserver-xorg
xserver-xorg-core
xserver-xorg-input-all
xserver-xorg-input-libinput
xserver-xorg-video-all
xserver-xorg-video-amdgpu
xserver-xorg-video-ati
xserver-xorg-video-fbdev
xserver-xorg-video-nouveau
xserver-xorg-video-radeon
xserver-xorg-video-vesa
xorg
xorg-docs-core
xserver-xorg
xserver-xorg-core
xserver-xorg-input-all
xserver-xorg-input-libinput
xserver-xorg-video-all
xserver-xorg-video-amdgpu
xserver-xorg-video-ati
xserver-xorg-video-fbdev
xserver-xorg-video-nouveau
xserver-xorg-video-radeon
xserver-xorg-video-vesa
glib-networking:arm64
libgtk-3-0:arm64
root@zero:/tmp/DietPi-PREP#
Puhh, this is really not a minimal image ๐. Radxa only offers a full desktop image for the Zero? Especially for this tiny board a headless server image would make much more sense IMHO. However, let's go through it step by step. All from the subshell:
apt autopurge '*xfce*'
apt autopurge '*xorg*'
apt autopurge '*xserver*'
apt autopurge 'libgtk-3-0'
apt autopurge 'dhcpcd5'
apt autopurge 'glib-networking'
apt autopurge 'dbus'
root@zero:/tmp/DietPi-PREP# apt autopurge '*xfce*' Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'xfce4-pulseaudio-plugin' for glob '*xfce*' Note, selecting 'xfce4-systemload-plugin' for glob '*xfce*' Note, selecting 'xfce4-appfinder' for glob '*xfce*' Note, selecting 'xfce4-sensors-plugin' for glob '*xfce*' Note, selecting 'gir1.2-libxfce4panel-2.0' for glob '*xfce*' Note, selecting 'xfce4-power-manager' for glob '*xfce*' Note, selecting 'xfce4-sntray-plugin' for glob '*xfce*' Note, selecting 'xfce4-datetime-plugin' for glob '*xfce*' Note, selecting 'xfce4-netload-plugin' for glob '*xfce*' Note, selecting 'xfce4-timer-plugin' for glob '*xfce*' Note, selecting 'gtk2-engines-xfce' for glob '*xfce*' Note, selecting 'libxfce4ui-common' for glob '*xfce*' Note, selecting 'xfce4-screenshooter' for glob '*xfce*' Note, selecting 'xfce4-mailwatch-plugin' for glob '*xfce*' Note, selecting 'xfce4-xkb-plugin' for glob '*xfce*' Note, selecting 'cairo-dock-xfce-integration-plugin' for glob '*xfce*' Note, selecting 'xfce4-cpugraph-plugin' for glob '*xfce*' Note, selecting 'libxfce4panel-2.0-4' for glob '*xfce*' Note, selecting 'xfce4-utils' for glob '*xfce*' Note, selecting 'xfce4-whiskermenu-plugin' for glob '*xfce*' Note, selecting 'libxfce4util4' for glob '*xfce*' Note, selecting 'libxfce4util7' for glob '*xfce*' Note, selecting 'xfce4-sntray-plugin-common' for glob '*xfce*' Note, selecting 'xfce4-dict' for glob '*xfce*' Note, selecting 'xfce4-volstatus-icon' for glob '*xfce*' Note, selecting 'xfce4-indicator-plugin' for glob '*xfce*' Note, selecting 'xfce4-power-manager-plugins' for glob '*xfce*' Note, selecting 'libxfce4ui-utils' for glob '*xfce*' Note, selecting 'xfce4-settings' for glob '*xfce*' Note, selecting 'libxfce4ui-1-0' for glob '*xfce*' Note, selecting 'xfce4-helpers' for glob '*xfce*' Note, selecting 'xfce4-goodies' for glob '*xfce*' Note, selecting 'libxfce4ui-2-0' for glob '*xfce*' Note, selecting 'libxfce4ui-2-dev' for glob '*xfce*' Note, selecting 'xfce4-panel' for glob '*xfce*' Note, selecting 'libxfce4panel-2.0-dev' for glob '*xfce*' Note, selecting 'xfce4-notifyd' for glob '*xfce*' Note, selecting 'xfce4-dev-tools' for glob '*xfce*' Note, selecting 'xfce4-cddrive-plugin' for glob '*xfce*' Note, selecting 'elementary-xfce-icon-theme' for glob '*xfce*' Note, selecting 'xfce4-smartbookmark-plugin' for glob '*xfce*' Note, selecting 'task-xfce-desktop' for glob '*xfce*' Note, selecting 'xfce-keyboard-shortcuts' for glob '*xfce*' Note, selecting 'xfce4-terminal' for glob '*xfce*' Note, selecting 'gir1.2-libxfce4ui-2.0' for glob '*xfce*' Note, selecting 'xfce4-notes' for glob '*xfce*' Note, selecting 'xfce4-mount-plugin' for glob '*xfce*' Note, selecting 'live-task-xfce' for glob '*xfce*' Note, selecting 'education-desktop-xfce' for glob '*xfce*' Note, selecting 'xfce4-wavelan-plugin' for glob '*xfce*' Note, selecting 'xfce4-eyes-plugin' for glob '*xfce*' Note, selecting 'gtk3-engines-xfce' for glob '*xfce*' Note, selecting 'xfce4-statusnotifier-plugin' for glob '*xfce*' Note, selecting 'cairo-dock-xfce-integration-plug-in' for glob '*xfce*' Note, selecting 'xfce4-battery-plugin' for glob '*xfce*' Note, selecting 'libxfce4ui-glade' for glob '*xfce*' Note, selecting 'xfce4-appmenu-plugin' for glob '*xfce*' Note, selecting 'xfce4-notes-plugin' for glob '*xfce*' Note, selecting 'xfce4-clipman' for glob '*xfce*' Note, selecting 'libxfce4util-bin' for glob '*xfce*' Note, selecting 'xfce4-genmon-plugin' for glob '*xfce*' Note, selecting 'xfce4-verve-plugin' for glob '*xfce*' Note, selecting 'libxfce4util-dev' for glob '*xfce*' Note, selecting 'xfce4-cpufreq-plugin' for glob '*xfce*' Note, selecting 'xfce4-weather-plugin' for glob '*xfce*' Note, selecting 'xfce4-mixer' for glob '*xfce*' Note, selecting 'xfce4-screenshooter-plugin' for glob '*xfce*' Note, selecting 'xfce4-session' for glob '*xfce*' Note, selecting 'libxfce4util-common' for glob '*xfce*' Note, selecting 'libxfce4ui-1-dev' for glob '*xfce*' Note, selecting 'xfce4-clipman-plugin' for glob '*xfce*' Note, selecting 'xfce4-radio-plugin' for glob '*xfce*' Note, selecting 'xfce4-places-plugin' for glob '*xfce*' Note, selecting 'gir1.2-libxfce4util-1.0' for glob '*xfce*' Note, selecting 'xfce4-diskperf-plugin' for glob '*xfce*' Note, selecting 'xfce4-fsguard-plugin' for glob '*xfce*' Note, selecting 'xfce4-mpc-plugin' for glob '*xfce*' Note, selecting 'xfce4' for glob '*xfce*' Note, selecting 'xfce4-taskmanager' for glob '*xfce*' Note, selecting 'xfce4-power-manager-data' for glob '*xfce*' Package 'cairo-dock-xfce-integration-plugin' is not installed, so not removed Package 'xfce4-cddrive-plugin' is not installed, so not removed Package 'xfce4-volstatus-icon' is not installed, so not removed Note, selecting 'libxfce4ui-common' instead of 'xfce-keyboard-shortcuts' Package 'libxfce4util4' is not installed, so not removed Package 'xfce4-radio-plugin' is not installed, so not removed Package 'xfce4-utils' is not installed, so not removed Package 'libxfce4ui-1-dev' is not installed, so not removed Package 'xfce4-mixer' is not installed, so not removed Package 'gtk3-engines-xfce' is not installed, so not removed Package 'xfce4-screenshooter-plugin' is not installed, so not removed Package 'cairo-dock-xfce-integration-plug-in' is not installed, so not removed Package 'education-desktop-xfce' is not installed, so not removed Package 'elementary-xfce-icon-theme' is not installed, so not removed Package 'gir1.2-libxfce4ui-2.0' is not installed, so not removed Package 'libxfce4ui-2-dev' is not installed, so not removed Package 'libxfce4ui-glade' is not installed, so not removed Package 'gir1.2-libxfce4util-1.0' is not installed, so not removed Package 'libxfce4util-bin' is not installed, so not removed Package 'libxfce4util-dev' is not installed, so not removed Package 'live-task-xfce' is not installed, so not removed Package 'xfce4-appmenu-plugin' is not installed, so not removed Package 'xfce4-dev-tools' is not installed, so not removed Package 'xfce4-eyes-plugin' is not installed, so not removed Package 'xfce4-indicator-plugin' is not installed, so not removed Package 'xfce4-mount-plugin' is not installed, so not removed Package 'xfce4-mpc-plugin' is not installed, so not removed Package 'xfce4-notifyd' is not installed, so not removed Package 'gir1.2-libxfce4panel-2.0' is not installed, so not removed Package 'libxfce4panel-2.0-dev' is not installed, so not removed Package 'xfce4-power-manager' is not installed, so not removed Package 'xfce4-power-manager-data' is not installed, so not removed Package 'xfce4-power-manager-plugins' is not installed, so not removed Package 'xfce4-helpers' is not installed, so not removed Package 'xfce4-sntray-plugin' is not installed, so not removed Package 'xfce4-sntray-plugin-common' is not installed, so not removed Package 'xfce4-statusnotifier-plugin' is not installed, so not removed Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libglib2.0-0 : Breaks: libgirepository-1.0-1 (< 1.62.0-4~) but 1.58.3-2 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Okay so another package which is for some reason not purged:
apt purge libgirepository-1.0-1
Then you should be able to continue.
apt autopurge '*xfce*' - error
apt autopurge '*xorg*' - success
apt autopurge '*xserver*' - success
apt autopurge 'libgtk-3-0' - success
apt autopurge 'dhcpcd5' - success
apt autopurge 'glib-networking' - success
apt autopurge 'dbus' - success
Solved with: https://github.com/MichaIng/DietPi/commit/a5639d309ca58ad9404a307a39de8928b248dd6f
You can now (after purging the package manually) exit
and from the error handler Retry
.
Ah wait, probably libglib2.0-0
needs to be purged ๐ค:
apt purge libglib2.0-0
or both.
wlan0 again down :( despite https://github.com/MichaIng/DietPi/issues/4831#issuecomment-942469224 (i remind, yesterday I installed "Buster ", today "Bullseye ")
Within PREP or after reboot?
Within PREP
Do you have the logs of the whole PREP run, respectively the autoremoval part? Probably Radxa has an own firmware package installed which needs to be kept.
When you applied the workaround with a reboot before, then at least bringing up the interface with ifupdown succeeded, so the network stack is not the issue anymore. In the Radxa repo I only found the new kernel package for the Zero.
I think I broke everything here. I will repeat from the beginning.
Found that one: https://github.com/radxa/apt/commit/23c47a9654f18f22256f6e37a745befe9fbbfe07
Maybe the broadcom-wifibt-firmware
is required for the Radxa Zero's WiFi, but it is autoremoved by PREP.
Puhh, this is really not a minimal image
This is true. the developer distributes only a large firmware with a graphical interface (xfce4)
and I want to create an image of my favorite firmware DietPi for this new device.
To hack it inside the script:
cd /tmp
curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi/dev/PREP_SYSTEM_FOR_DIETPI.sh' -o PREP.sh
sed -i "/aPACKAGES_REQUIRED_INSTALL+=('wpasupplicant')/a\aPACKAGES_REQUIRED_INSTALL+=('broadcom-wifibt-firmware')" PREP.sh
./PREP.sh
The kernel image is kept by PREP as it follows common Linux image naming conventions: https://github.com/radxa/apt/commit/ca98c4a13ebc22476daa06f6f8d71bcea3190d6c
Ah there is another new firmware package: https://github.com/radxa/apt/commit/af43276024fbc5f9c048f1cf2b9f7353a0f1fb6d Could be added the same way:
sed -i "/aPACKAGES_REQUIRED_INSTALL+=('wpasupplicant')/a\aPACKAGES_REQUIRED_INSTALL+=('rtl8723be-firmware')" PREP.sh
But before adding a bunch of firmware packages, you should check which one of those are actually installed on the original image:
dpkg -l rtl8723be-firmware broadcom-wifibt-firmware
@MichaIng wifi chip is AP6212
Hmm, that looks neither like a Realtek nor like a Broadcom chip, so maybe both above firmware packages are wrong then (are they installed on the original image?). Looks like from "AMPAK Technology Inc."
No change to get around reviewing all autoremoved packages, I think. From the repo, aside of the above two, I cannot find another one that may be related to WiFi.
i install this firmware https://github.com/radxa/radxa-zero-images-released/releases zero_debian_buster_xfce4_arm64_20211010_0810-mbr.img
I found the firmware of the wifi module
Okay there is none of those two firmware packages installed, but one is located at the drive, which looks like a Broadcom firmware:
/lib/firmware/brcm/brcmfmac43430-sdio.bin
Lol you found it while I was writing ๐. The contained brcmfmac43430-sdio.txt
file reveals that it is for the AP6212. But I have no idea which package this belongs to (couldn't find one so far), similarly I don't know where the device tree files are coming from, as they are not contained in the kernel image package. You could try to find this out:
dpkg -S /lib/firmware/brcm/brcmfmac43430-sdio.bin
dpkg -S meson-g12a-radxa-zero.dtb
And now I think I found the problem: https://packages.debian.org/bullseye/all/firmware-brcm80211/filelist
The Debian package contains the same firmware file (actually a symlink to another cyfmac43430-sdio.bin
). The file size is similar but not the same, so probably the Debian firmware package breaks the Radxa Zero WiFi firmware. So in that case, you don't need to add firmware but remove them from the PREP script:
sed -i '/firmware-brcm80211/d' PREP.sh
rock@zero:~$ dpkg -S meson-g12a-radxa-zero.dtb linux-image-5.10.69-2-amlogic-g981b0a3cef: /usr/lib/linux-image-5.10.69-2-amlogic-g981b0a3cef/amlogic/meson-g12a-radxa-zero.dtb rock@zero:~$ dpkg -S /lib/firmware/brcm/brcmfmac* dpkg-query: no path found matching pattern /lib/firmware/brcm/brcmfmac43430-sdio.bin dpkg-query: no path found matching pattern /lib/firmware/brcm/brcmfmac43430-sdio.txt dpkg-query: no path found matching pattern /lib/firmware/brcm/brcmfmac43456-sdio.bin dpkg-query: no path found matching pattern /lib/firmware/brcm/brcmfmac43456-sdio.txt rock@zero:~$ dpkg -S *cyfmac43430* dpkg-query: no path found matching pattern *cyfmac43430*
As guessed, it doesn't belong to a package (otherwise also installing firmware-brcm80211
would have failed due to file overlap. So removing that package from PREP with the command above may solve it, then this firmware is really the culprit.