Public bug reported:

on newly installed ubuntu systems in particular or any that has already
updated systemd to 255.4-1ubuntu8.12

it is impossible to install libnss-resolve

e.g.

```
apt install libnss-resolve
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:
 libnss-resolve : Depends: systemd-resolved (= 255.4-1ubuntu8.11) but 
255.4-1ubuntu8.12 is to be installed
E: Unable to correct problems, you have held broken packages.
```

it appears this package was not updated during last updates of systemd
packages

this package is attempted to be installed particularly if you use
puppet/openvox and manage systemd with the puppet-systemd module
(https://github.com/voxpupuli/puppet-systemd) - this issue prevents the
use of the puppet module on these systems, and while yet unconfirmed
prevents systemd from being further updated to current versions if this
package was already installed.

i would expect that this package needs to be built for the current
version of systemd accordingly.

I can easily repeat this issue on multiple clean installs of Ubuntu
24.04

Reproduction Steps

Install Ubuntu 24.04.3 from any relevant install method
apt update/upgrade base system to most current updates
apt install libnss-resolve

System information:

```
# lsb_release -rd
No LSB modules are available.
Description:    Ubuntu 24.04.3 LTS
Release:        24.04
```

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libnss-resolve (not installed)
ProcVersionSignature: Ubuntu 6.8.0-90.91-generic 6.8.12
Uname: Linux 6.8.0-90-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: openstack
CloudName: openstack
CloudPlatform: openstack
CloudSerial: 20260108
CloudSubPlatform: metadata (http://169.254.169.254)
Date: Sat Feb 14 10:06:51 2026
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/zsh
 TERM=xterm-256color
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cloud-image noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141812

Title:
  libnss-resolve package was not updated with recent systemd updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2141812/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to