Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd upgrade failure #8871

Closed
1 of 2 tasks
elsaco opened this issue Sep 23, 2022 · 4 comments
Closed
1 of 2 tasks

systemd upgrade failure #8871

elsaco opened this issue Sep 23, 2022 · 4 comments

Comments

@elsaco
Copy link

elsaco commented Sep 23, 2022

Version

10.0.22621.521

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.62.1-microsoft-standard-WSL2

Distro Version

Ubuntu 22.04.1

Other Software

No response

Repro Steps

run apt update and check if new version of systemd is available
run apt upgrade systemd

Expected Behavior

successful package upgrade

Actual Behavior

Output on Ubuntu:

Unpacking systemd (249.11-0ubuntu3.6) over (249.11-0ubuntu3.4) ...
dpkg: error processing archive /tmp/apt-dpkg-install-eZFUq7/3-systemd_249.11-0ubuntu3.6_amd64.deb (--unpack):
 unable to make backup link of './usr/lib/tmpfiles.d/tmp.conf' before installing new version: Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
dpkg: considering deconfiguration of systemd, which would be broken by installation of udev ...
dpkg: yes, will deconfigure systemd (broken by udev)

Output on Debian:

Unpacking systemd (247.3-7+deb11u1) over (247.3-7) ...
dpkg: error processing archive /var/cache/apt/archives/systemd_247.3-7+deb11u1_amd64.deb (--unpack):
 unable to make backup link of './usr/lib/tmpfiles.d/tmp.conf' before installing new version: Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/systemd_247.3-7+deb11u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Diagnostic Logs

No response

@elsaco
Copy link
Author

elsaco commented Sep 23, 2022

Quick workaround is to start w/out systemd, upgrade, then re-enable systemd = true in /etc/wsl.conf. Tested on Ubuntu.

@Biswa96
Copy link

Biswa96 commented Sep 23, 2022

Duplicate of #8847

@benhillis
Copy link
Member

/dupe #8847

Should be resolved with 0.68.2

@ghost
Copy link

ghost commented Sep 28, 2022

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants