Open bwcoetzer opened 1 year ago
From the indication given I understand that systemd=252.5 should be installed. Attempts at installing 252.5 has failed with the following information:
# Version 252.3 is available in the repository
root@orangepi3-lts:~# apt-cache showpkg systemd Package: systemd Versions: 251.3-1~bpo11+1 (/var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye-backports_main_binary-arm64_Packages) Description Language: File: /var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye_main_binary-arm64_Packages MD5: 19399579cbc0c47a303288bf15eadcd4 Description Language: File: /var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye_main_binary-armhf_Packages MD5: 19399579cbc0c47a303288bf15eadcd4 Description Language: File: /var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye-backports_main_binary-arm64_Packages MD5: 19399579cbc0c47a303288bf15eadcd4 Description Language: File: /var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye-backports_main_binary-armhf_Packages MD5: 19399579cbc0c47a303288bf15eadcd4
247.3-7 (/var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye_main_binary-arm64_Packages) (/var/lib/dpkg/status) Description Language: File: /var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye_main_binary-arm64_Packages MD5: 19399579cbc0c47a303288bf15eadcd4 Description Language: File: /var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye_main_binary-armhf_Packages MD5: 19399579cbc0c47a303288bf15eadcd4 Description Language: File: /var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye-backports_main_binary-arm64_Packages MD5: 19399579cbc0c47a303288bf15eadcd4 Description Language: File: /var/lib/apt/lists/mirrors.tuna.tsinghua.edu.cn_debian_dists_bullseye-backports_main_binary-armhf_Packages MD5: 19399579cbc0c47a303288bf15eadcd4
**# systemd is not flagged as upgradeable**
root@orangepi3-lts:~# apt list --upgradable|grep systemd
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libpam-systemd/oldstable 247.3-7+deb11u2 arm64 [upgradable from: 247.3-7]
libsystemd0/oldstable 247.3-7+deb11u2 arm64 [upgradable from: 247.3-7]
systemd-sysv/oldstable 247.3-7+deb11u2 arm64 [upgradable from: 247.3-7]
systemd/oldstable 247.3-7+deb11u2 arm64 [upgradable from: 247.3-7]
root@orangepi3-lts:~#
root@orangepi3-lts:~# apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
avahi-autoipd base-files bind9-dnsutils bind9-host bind9-libs command-not-found curl dbus dbus-user-session debian-archive-keyring distro-info-data dnsutils dpkg dpkg-dev git git-man grep ifenslave isc-dhcp-client
libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcurl3-gnutls libcurl4 libdbus-1-3 libdpkg-perl libexpat1 libgnutls30 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libksba8 libncurses6 libncursesw6
libnss-myhostname libntfs-3g883 libpam-systemd libpcre2-8-0 libssl-dev libssl1.1 libsystemd0 libtasn1-6 libtinfo6 libudev1 libxapian30 libxml2 linux-libc-dev locales nano ncurses-base ncurses-bin ncurses-term ntfs-3g
openssl sudo systemd systemd-sysv tzdata udev zlib1g
63 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
**# systemd is not upgraded to 252.5**
root@orangepi3-lts:~# apt-cache policy systemd
systemd:
Installed: 247.3-7+deb11u2
Candidate: 247.3-7+deb11u2
Version table:
252.5-2~bpo11+1 100
100 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye-backports/main arm64 Packages
*** 247.3-7+deb11u2 500
500 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye/main arm64 Packages
100 /var/lib/dpkg/status
root@orangepi3-lts:~#
root@orangepi3-lts:/etc/apt# apt -s -t 252.5 install systemd
Reading package lists... Done
E: The value '252.5' is invalid for APT::Default-Release as such a release is not available in the sources
root@orangepi3-lts:/etc/apt#
I use OrangePi3 LTS for HomeAssistant and have installed it successfully on two boards to date, the last one about two months ago. When I tried to install another one now it failed on the installation of systemd-resolved. After installation of Debian11 apt update and upgrade were run and completed without faults. Performing 'apt install systemd-resolved' however fails. Information below shows
Assistance appreciated
================ systemd-resolved installation failing root@orangepi3-lts:~# apt install systemd-resolved -y Reading package lists... Done Building dependency tree... Done Reading state information... Done 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: systemd-resolved : Depends: systemd (= 252.5-2~bpo11+1) E: Unable to correct problems, you have held broken packages.<<======= PROBLEM root@orangepi3-lts:~#
================== systemd installation
root@orangepi3-lts:~# dpgk -i systemd Command 'dpgk' not found, did you mean: command 'dpkg' from deb dpkg Try: apt install
root@orangepi3-lts:~# dpgh -s systemd
dpgh: command not found
root@orangepi3-lts:~# dpkg -s systemd
Package: systemd
Status: install ok installed
Priority: important
Section: admin
Installed-Size: 15661
Maintainer: Debian systemd Maintainers pkg-systemd-maintainers@lists.alioth.debian.org
Architecture: arm64
Multi-Arch: foreign
Version: 247.3-7+deb11u2
Depends: libacl1 (>= 2.2.23), libapparmor1 (>= 2.13), libaudit1 (>= 1:2.2.1), libcap2 (>= 1:2.24-9~), libcrypt1 (>= 1:4.4.0), libcryptsetup12 (>= 2:2.3), libgnutls30 (>= 3.7.0), libgpg-error0 (>= 1.14), libip4tc2 (>= 1.8.3), libkmod2 (>= 5~), liblz4-1 (>= 0.0~r130), libmount1 (>= 2.30), libpam0g (>= 0.99.7.1), libseccomp2 (>= 2.4.1), libsystemd0 (= 247.3-7+deb11u2), util-linux (>= 2.27.1), mount (>= 2.26), adduser
Pre-Depends: libblkid1 (>= 2.24), libc6 (>= 2.30), libgcrypt20 (>= 1.8.0), liblz4-1 (>= 0.0~r122), liblzma5 (>= 5.1.1alpha+20120614), libselinux1 (>= 3.1~), libzstd1 (>= 1.4.0)
Recommends: dbus, systemd-timesyncd | time-daemon
Suggests: systemd-container, policykit-1
Breaks: python-dbusmock (<< 0.18), python3-dbusmock (<< 0.18), resolvconf (<< 1.83~), systemd-shim (<< 10-4~), udev (<< 247~)
Conflicts: consolekit, libpam-ck-connector
Conffiles:
/etc/systemd/journald.conf 4ec2bd40c816736799a8876f8acca94b
/etc/systemd/logind.conf ed2ccf7a51a5436f16e5ad88e5ace8b0
/etc/systemd/networkd.conf 522ed99a8c0d0e728713d8079d5524bd
/etc/systemd/pstore.conf fb081468c018a53786a975ce467c4989
/etc/systemd/resolved.conf 740d189c67f1e27fe37429ba92e71ac3
/etc/systemd/sleep.conf e912ff7c0833daa5a45d3918b3d6585f
/etc/systemd/system.conf 2e400b6d050412413636107a2ce86f15
/etc/systemd/user.conf 2fb7b9a89a8b8a1ff0ec7316384fd303
Description: system and service manager
systemd is a system and service manager for Linux. It provides aggressive
parallelization capabilities, uses socket and D-Bus activation for starting
services, offers on-demand starting of daemons, keeps track of processes using
Linux control groups, maintains mount and automount points and implements an
elaborate transactional dependency-based service control logic.
.
systemd is compatible with SysV and LSB init scripts and can work as a
drop-in replacement for sysvinit.
.
Installing the systemd package will not switch your init system unless you
boot with init=/lib/systemd/systemd or install systemd-sysv in addition.
Homepage: https://www.freedesktop.org/wiki/Software/systemd
root@orangepi3-lts:~#
========== systemd-resolved is in apt-cache
root@orangepi3-lts:~# apt-cache show systemd-resolved Package: systemd-resolved Source: systemd Version: 252.5-2~bpo11+1 Installed-Size: 784 Maintainer: Debian systemd Maintainers pkg-systemd-maintainers@lists.alioth.debian.org Architecture: arm64 Replaces: resolvconf, systemd (<< 251.3-2~) Provides: resolvconf Depends: libc6 (>= 2.17), libssl1.1 (>= 1.1.1), libsystemd-shared (= 252.5-2~bpo11+1), systemd (= 252.5-2~bpo11+1), default-dbus-system-bus | dbus-system-bus Recommends: libnss-myhostname, libnss-resolve Suggests: polkitd | policykit-1 Conflicts: resolvconf Breaks: systemd (<< 251.3-2~) Description: systemd DNS resolver Description-md5: 846dc3eb3129c6a17b29965b209c161e Multi-Arch: foreign Homepage: https://www.freedesktop.org/wiki/Software/systemd Section: admin Priority: optional Filename: pool/main/s/systemd/systemd-resolved_252.5-2~bpo11+1_arm64.deb Size: 276988 SHA256: 994043320e8d0a42589a178c8590cca1126d6e18af53a7181000fd9371ba1e4c
root@orangepi3-lts:~#
============= systemd in apt-cache
_Package: systemd Version: 247.3-7+deb11u2 Installed-Size: 15661 Maintainer: Debian systemd Maintainers pkg-systemd-maintainers@lists.alioth.debian.org Architecture: arm64 Depends: libacl1 (>= 2.2.23), libapparmor1 (>= 2.13), libaudit1 (>= 1:2.2.1), libcap2 (>= 1:2.24-9~), libcrypt1 (>= 1:4.4.0), libcryptsetup12 (>= 2:2.3), libgnutls30 (>= 3.7.0), libgpg-error0 (>= 1.14), libip4tc2 (>= 1.8.3), libkmod2 (>= 5~), liblz4-1 (>= 0.0~r130), libmount1 (>= 2.30), libpam0g (>= 0.99.7.1), libseccomp2 (>= 2.4.1), libsystemd0 (= 247.3-7+deb11u2), util-linux (>= 2.27.1), mount (>= 2.26), adduser Pre-Depends: libblkid1 (>= 2.24), libc6 (>= 2.30), libgcrypt20 (>= 1.8.0), liblz4-1 (>= 0.0~r122), liblzma5 (>= 5.1.1alpha+20120614), libselinux1 (>= 3.1~), libzstd1 (>= 1.4.0) Recommends: dbus, systemd-timesyncd | time-daemon Suggests: systemd-container, policykit-1 Conflicts: consolekit, libpam-ck-connector Breaks: python-dbusmock (<< 0.18), python3-dbusmock (<< 0.18), resolvconf (<< 1.83~), systemd-shim (<< 10-4~), udev (<< 247~) Description: system and service manager Description-md5: 19399579cbc0c47a303288bf15eadcd4 Multi-Arch: foreign Homepage: https://www.freedesktop.org/wiki/Software/systemd Tag: admin::boot, implemented-in::c, interface::daemon, role::program, works-with::software:running Section: admin Priority: important Filename: pool/main/s/systemd/systemd_247.3-7+deb11u2_arm64.deb Size: 4153420 MD5sum: 673058a072253d91fcdfd691ccee9093 SHA256: 0742eb74bd40d5df919292ef70f7273da38b04b4762f2f52925315e5088665f4
root@orangepi3-lts:~#_