[Bug 2017169] Re: package systemd-resolved 252.5-2ubuntu3 failed to install/upgrade: installed systemd-resolved package post-installation script subprocess returned error exit status 1

Nick Rosbrook 2017169 at bugs.launchpad.net
Thu Apr 20 20:12:31 UTC 2023


Is your system still in this state? If so what does ls -alh
/etc/resolv.conf show? This error is weird, because this `cp` in the
systemd-resolved.postinst is guarded by checks to see if
/etc/resolv.conf is already a symlink to /run/systemd/resolve/stub-
resolv.conf...

Setting up systemd-resolved (252.5-2ubuntu3) ...
Converting /etc/resolv.conf to a symlink to /run/systemd/resolve/stub-resolv.conf...
cp: '/etc/resolv.conf' and '/run/systemd/resolve/stub-resolv.conf' are the same file
dpkg: error processing package systemd-resolved (--configure):
 installed systemd-resolved package post-installation script subprocess returned error exit status 1

** Changed in: systemd (Ubuntu)
       Status: New => Incomplete

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

Title:
  package systemd-resolved 252.5-2ubuntu3 failed to install/upgrade:
  installed systemd-resolved package post-installation script subprocess
  returned error exit status 1

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  updating to new release of ubuntu took issue with a modified
  /etc/systemd/resolved.conf

  ProblemType: Package
  DistroRelease: Ubuntu 23.04
  Package: systemd-resolved 252.5-2ubuntu3
  ProcVersionSignature: Ubuntu 5.19.0-40.41-generic 5.19.17
  Uname: Linux 5.19.0-40-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Thu Apr 20 20:18:17 2023
  ErrorMessage: installed systemd-resolved package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2023-02-12 (67 days ago)
  InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
  Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.21ubuntu1
   apt  2.6.0
  SourcePackage: systemd
  Title: package systemd-resolved 252.5-2ubuntu3 failed to install/upgrade: installed systemd-resolved package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to lunar on 2023-04-20 (0 days ago)
  modified.conffile..etc.systemd.resolved.conf: [modified]
  mtime.conffile..etc.systemd.resolved.conf: 2023-03-05T13:57:42.686749

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




More information about the foundations-bugs mailing list