It seems like your apt sources or local package information is out of date. The libsystemd-dev package depends on libsystemd0 such that they have the same version:
$ apt-cache show libsystemd-dev Package: libsystemd-dev Architecture: amd64 Version: 249.11-0ubuntu3.6 Multi-Arch: same Priority: optional Section: libdevel Source: systemd Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> Original-Maintainer: Debian systemd Maintainers <pkg-systemd-maintain...@lists.alioth.debian.org> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1166 Depends: libsystemd0 (= 249.11-0ubuntu3.6) Filename: pool/main/s/systemd/libsystemd-dev_249.11-0ubuntu3.6_amd64.deb Size: 306372 MD5sum: 438e2a7c5a198073278bdc39a991ff81 SHA1: baddefadfb1c2aefa3c23fa875705809274f8c55 SHA256: 59f861c984ec3912a579dedf71b4c476b9fff605e869fcdd90ccc88fd91b61c8 SHA512: 15e260a9ff0b4080fb3349916c369dcc1dffc9a2301a50166eae6963aea6942d0f64da9a3b34f9fca3227d9aa508eb8e270f588a8413cfe820528813327799e0 Homepage: https://www.freedesktop.org/wiki/Software/systemd Description-en: systemd utility library - development files The libsystemd0 library provides interfaces to various systemd components. . This package contains the development files. Description-md5: 7122bf9ab5ca8703093117a2cda0fe22 Package: libsystemd-dev Architecture: amd64 Version: 249.11-0ubuntu3 Multi-Arch: same Priority: optional Section: libdevel Source: systemd Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> Original-Maintainer: Debian systemd Maintainers <pkg-systemd-maintain...@lists.alioth.debian.org> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1164 Depends: libsystemd0 (= 249.11-0ubuntu3) Filename: pool/main/s/systemd/libsystemd-dev_249.11-0ubuntu3_amd64.deb Size: 306280 MD5sum: ac890b5993685d2df2cfe57adab50893 SHA1: f8904527872e2735952261e6434b132071b3afdf SHA256: 6429f316a8af1f7f9df5ae3a79e714eeda8a45512c49bd2ea1d25a4468b71e6e SHA512: 9e2632131a591f500abfa913a0b1f6e7c3c97f9955ba4c1aeb7fdb01c4f098c2188a3feb6686eb9426c07e1a0b7e4dbdde47338622237a520ab5382fb012eb14 Homepage: https://www.freedesktop.org/wiki/Software/systemd Description-en: systemd utility library - development files The libsystemd0 library provides interfaces to various systemd components. . This package contains the development files. Description-md5: 7122bf9ab5ca8703093117a2cda0fe22 Please run `apt update` before trying to install libsystemd-dev again. ** Changed in: systemd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1998415 Title: jammy libsystemd-dev has wrong dependency version to libsystemd0 (and fails to install) Status in systemd package in Ubuntu: Incomplete Bug description: jammy libsystemd-dev has wrong dependency version to libsystemd0 (and fails to install) libsystemd-dev wants libsystemd0 = 249.11-0ubuntu3 but 249.11-0ubuntu3.6 is installed. installation currently fails: intel@intel-Raptor-Lake-Client-Platform:~$ sudo apt-get install libsystemd-dev 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: libsystemd-dev : Depends: libsystemd0 (= 249.11-0ubuntu3) but 249.11-0ubuntu3.6 is to be installed E: Unable to correct problems, you have held broken packages. FYI, intel@intel-Raptor-Lake-Client-Platform:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Customized image Release: 22.04 Codename: jammy intel@intel-Raptor-Lake-Client-Platform:~$ dpkg -l libsystemd0 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=================-=================-============-================================= ii libsystemd0:amd64 249.11-0ubuntu3.6 amd64 systemd utility library intel@intel-Raptor-Lake-Client-Platform:~$ intel@intel-Raptor-Lake-Client-Platform:~$ apt-cache madison libsystemd0 libsystemd0 | 249.11-0ubuntu3 | http://in.archive.ubuntu.com/ubuntu jammy/main amd64 Packages intel@intel-Raptor-Lake-Client-Platform:~$ sudo apt search libsystemd Sorting... Done Full Text Search... Done librust-libsystemd-dev/jammy,now 0.2.1-2build1 amd64 [installed] Pure-Rust client library to interact with systemd - Rust source code libsystemd-dev/jammy 249.11-0ubuntu3 amd64 systemd utility library - development files libsystemd0/jammy 249.11-0ubuntu3 i386 systemd utility library lua-systemd/jammy,now 0~git20160517-2 amd64 [installed] Systemd bindings for Lua python3-systemd/jammy,now 234-3ubuntu2 amd64 [installed,automatic] Python 3 bindings for systemd intel@intel-Raptor-Lake-Client-Platform:~$ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1998415/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp