Description of problem: During upgrading to systemd-249.11-2.fc35 [1]: dnf[1058]: Running scriptlet: systemd-resolved-249.11-2.fc35.x86_64 52/52 dnf[1058]: ln: failed to create symbolic link '/etc/resolv.conf': File exists dnf[1058]: warning: %posttrans(systemd-resolved-249.11-2.fc35.x86_64) scriptlet failed, exit status 1 dnf[1058]: Error in POSTTRANS scriptlet in rpm package systemd-resolved On my system: $ ll /etc/resolv.conf lrwxrwxrwx. 1 root root 39 8. dub 10.08 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf [1] https://bodhi.fedoraproject.org/updates/FEDORA-2022-1bf06aa328 Version-Release number of selected component (if applicable): systemd-resolved-249.11-2.fc35
Created attachment 1872404 [details] `dnf history info last` output
Created attachment 1872405 [details] system journal from the offline upgrade boot
On install *and* upgrade %posttrans argument is 1 (see https://pagure.io/packaging-committee/issue/1051 ), thus this check https://src.fedoraproject.org/rpms/systemd/blob/f35/f/systemd.spec#_943 (from https://src.fedoraproject.org/rpms/systemd/c/0c79c0aff99057a318015da791220cf8bbb76a5d?branch=f35 ) is useless.
The ln error message is cosmetic, no? If so then please push systemd-249.11-2.fc35 to stable to allow F35 netinstalls (with the update repository enabled) work again.
That was stupid of me. I think I knew about the useless %posttrans argument, that's why the check wasn't there in the initial version. But when moving it between branches I forgot and wanted to "fix" things.
FEDORA-2022-01079468a3 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-01079468a3
FEDORA-2022-01079468a3 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-01079468a3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-01079468a3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-01079468a3 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.