[Bug 2084592] Re: package initramfs-tools 0.142ubuntu25.2 failed to install/upgrade due to missing /etc/udev/udev.conf

Launchpad Bug Tracker 2084592 at bugs.launchpad.net
Fri Dec 20 18:05:27 UTC 2024


This bug was fixed in the package systemd - 257-2ubuntu1

---------------
systemd (257-2ubuntu1) plucky; urgency=medium

  * Merge with Debian unstable. Remaining changes:
    - debian/tests/tests-in-lxd: run some autopkgtests in LXD too
    - debian/tests/boot-and-services:
      + skip apparmor tests on armhf
      + consume stderr in systemctl status call in test_service
      + drop test_no_failed
    - debian/systemd.postinst:
      + skip daemon-reexec and try-restarts during shutdown
      + manually call systemd-tmpfiles --create in postinst
      + Do not create /etc/tmpfiles.d/tmp.conf on upgrades
    - debian/systemd-resolved.postinst: copy existing /etc/resolv.conf to
      /run/systemd/resolve/stub-resolv.conf
    - debian/gbp.conf,debian/extra/wrap_cl.py:
      Use a customization script to add LP commit links to changelog
    - debian/control:
      + Add Recommends: networkd-dispatcher systemd-resolved to systemd package
      + Make systemd-cryptsetup Priority: important
      + Give systemd-resolved Priority: important
      + Add Recommends: systemd-hwe-hwdb to udev package
      + Add Breaks: systemd (<< ${binary:Version}) to udev package so that
        systemd is upgraded as well when upgrading udev
      + Make systemd-sysv Depends: on matching version of systemd
      + Drop Recommends: libnss-myhostname libnss-resolve from systemd-resolved
      + Build-Depends: linux-tools-generic
      + Do not build systemd-boot-efi-{amd64,arm64}-signed-template
    - switch-root: use MS_MOVE for /run when switchig from initrd
    - test: skip TEST-69-SHUTDOWN on ubuntu too (LP #2083704)
    - Delta for i386:
      + debian/systemd.install: exclude files that are not built for i386
      + debian/systemd.manpages: do not ship un-built manpages on i386
      + debian/rules,debian/control,debian/tests/control:
        Do not build with tpm libraries on i386
      + debian/rules,debian/control,debian/tests/control:
        Do not build with libqrencode on i386
      + debian/rules: Remove unneeded efi artifacts on i386 to avoid debugedit errors
    - d/t/control: tests-in-lxd Depends: dnsmasq-base
    - d/t/tests-in-lxd: drop patching workaround

systemd (257-2) unstable; urgency=medium

  [ Aurelien Jarno ]
  * udev: install dmi_memory_id and its rules on riscv64.

  [ Luca Boccassi ]
  * Backport patches to fix test failures

systemd (257-1ubuntu1) plucky; urgency=medium

  * Merge with Debian unstable. Remaining changes:
    - debian/tests/tests-in-lxd: run some autopkgtests in LXD too
    - debian/tests/boot-and-services:
      + skip apparmor tests on armhf
      + consume stderr in systemctl status call in test_service
      + drop test_no_failed
    - debian/systemd.postinst:
      + skip daemon-reexec and try-restarts during shutdown
      + manually call systemd-tmpfiles --create in postinst
      + Do not create /etc/tmpfiles.d/tmp.conf on upgrades
    - debian/systemd-resolved.postinst: copy existing /etc/resolv.conf to
      /run/systemd/resolve/stub-resolv.conf
    - debian/gbp.conf,debian/extra/wrap_cl.py:
      Use a customization script to add LP commit links to changelog
    - debian/control:
      + Add Recommends: networkd-dispatcher systemd-resolved to systemd package
      + Make systemd-cryptsetup Priority: important
      + Give systemd-resolved Priority: important
      + Add Recommends: systemd-hwe-hwdb to udev package
      + Add Breaks: systemd (<< ${binary:Version}) to udev package so that
        systemd is upgraded as well when upgrading udev
      + Make systemd-sysv Depends: on matching version of systemd
      + Drop Recommends: libnss-myhostname libnss-resolve from systemd-resolved
      + Build-Depends: linux-tools-generic
      + Do not build systemd-boot-efi-{amd64,arm64}-signed-template
    - switch-root: use MS_MOVE for /run when switchig from initrd
    - test: skip TEST-69-SHUTDOWN on ubuntu too (LP #2083704)
    - Delta for i386:
      + debian/systemd.install: exclude files that are not built for i386
      + debian/systemd.manpages: do not ship un-built manpages on i386
      + debian/rules,debian/control,debian/tests/control:
        Do not build with tpm libraries on i386
      + debian/rules,debian/control,debian/tests/control:
        Do not build with libqrencode on i386
      + debian/rules: Remove unneeded efi artifacts on i386 to avoid debugedit errors
    - d/t/control: tests-in-lxd Depends: dnsmasq-base
    - d/t/tests-in-lxd: drop patching workaround
  * New changes:
    - test: set nsec3-salt-length=8 in knot.conf

systemd (257-1) unstable; urgency=medium

  * Update to new upstream version v257. For a full list of changes:
    https://github.com/systemd/systemd/releases/tag/v257-rc1
  * Update symbols file for v257

systemd (257~rc3-1ubuntu1) plucky; urgency=medium

  * Merge with Debian unstable (LP: #2091175). Remaining changes:
    - debian/tests/tests-in-lxd: run some autopkgtests in LXD too
    - debian/tests/boot-and-services:
      + skip apparmor tests on armhf
      + consume stderr in systemctl status call in test_service
      + drop test_no_failed
    - debian/systemd.postinst:
      + skip daemon-reexec and try-restarts during shutdown
      + manually call systemd-tmpfiles --create in postinst
      + Do not create /etc/tmpfiles.d/tmp.conf on upgrades
    - debian/systemd-resolved.postinst: copy existing /etc/resolv.conf to
      /run/systemd/resolve/stub-resolv.conf
    - debian/gbp.conf,debian/extra/wrap_cl.py:
      Use a customization script to add LP commit links to changelog
    - debian/control:
      + Add Recommends: networkd-dispatcher systemd-resolved to systemd package
      + Make systemd-cryptsetup Priority: important
      + Give systemd-resolved Priority: important
      + Add Recommends: systemd-hwe-hwdb to udev package
      + Add Breaks: systemd (<< ${binary:Version}) to udev package so that
        systemd is upgraded as well when upgrading udev
      + Make systemd-sysv Depends: on matching version of systemd
      + Drop Recommends: libnss-myhostname libnss-resolve from systemd-resolved
      + Build-Depends: linux-tools-generic
      + Do not build systemd-boot-efi-{amd64,arm64}-signed-template
    - switch-root: use MS_MOVE for /run when switchig from initrd
    - test: skip TEST-69-SHUTDOWN on ubuntu too (LP #2083704)
    - Delta for i386:
      + debian/systemd.install: exclude files that are not built for i386
      + debian/systemd.manpages: do not ship un-built manpages on i386
      + debian/rules,debian/control,debian/tests/control:
        Do not build with tpm libraries on i386
      + debian/rules,debian/control,debian/tests/control:
        Do not build with libqrencode on i386
      + debian/rules: Remove unneeded efi artifacts on i386 to avoid debugedit errors
  * Dropped changes, included in Debian:
    - Filter out zdev rules in the initramfs hook (LP #2044104)
    - d/t/upstream: honor /etc/apt configured by autopkgtest
    - debian/tests/control: only install systemd-boot-efi for supported arches
    - debian/systemd.links: mask systemd-gpt-auto-generator by default
      (Ubuntu only)
  * Dropped changes, not needed
    - debian/tests/upstream: export QEMU_MEM="1024M" for all tests
  * New changes:
    - d/t/control: tests-in-lxd Depends: dnsmasq-base
    - d/t/tests-in-lxd: drop patching workaround

systemd (257~rc3-1) unstable; urgency=medium

  [ Luca Boccassi ]
  * systemd-ukify: recommend systemd-boot-efi for the stub (Closes:
    #1087808)
  * Increase minimum sections in stub PE header on arm64/armhf/riscv64 to
    500. Allows riscv64 to include all current DTBs with some room to grow
    (Closes: #1087817)
  * Bump version in tzdata dependency due to p-u upload
  * Update to new upstream version v257~rc3. For a full list of changes:
    https://github.com/systemd/systemd/releases/tag/v257-rc3
  * Drop patches, merged upstream
  * Update symbols for 257~rc3

  [ Ben Hutchings ]
  * sysctl: Add file trigger on /usr/lib/sysctl.d to restart systemd-
    sysctl. (Closes: #1085160)

systemd (257~rc2-3) unstable; urgency=low

  * Backport patch to remove faulty unit test assertion

systemd (257~rc2-2) unstable; urgency=low

  * Backport patch to fix FTBFS due to failing unit test

systemd (257~rc2-1) unstable; urgency=low

  * d/t/control: add more packages to dummy hint-testsuite-triggers. A
    regression was introduced by nvme-cli in testing because the testsuite
    doesn't depend on it anymore directly, as mkosi builds it in the
    image. Add back all the tools/libraries that are only part of the
    mkosi guest image, so that autopkgtest triggers when they get updated,
    and regressions can be flagged before they migrate to testing.
  * Update upstream source from tag 'upstream/257_rc2'
  * Drop all patches, merged upstream
  * Install new systemd-keyutil binary in the systemd-repart package
  * systemd-ukify: downgrade dependency on systemd, not mandatory. It is
    necessary for the systemd-measure binary, but its usage is optional
    behind a specific argument, so the dependency can be downgraded
    (Closes: #1087322)
  * systemd-ukify: recommend systemd-repart. Needed for the systemd-sbsign
    and systemd-keyutil binaries
  * d/rules: adjust blhc override to account for source files being moved
  * Update lintian override to ignore false positive typos

systemd (257~rc1-4) unstable; urgency=medium

  * Backport patch to fix TEST-07-PID1 integration test

systemd (257~rc1-3) unstable; urgency=low

  * Backport another patch to fix test failure on buildd

systemd (257~rc1-2) unstable; urgency=low

  * Backport patch to fix unit test failure on buildd

systemd (257~rc1-1) unstable; urgency=low

  * gbp.conf: switch upstream branch to full upstream history
  * Update to new upstream version v257~rc1. For a full list of changes:
    https://github.com/systemd/systemd/releases/tag/v257-rc1
  * Drop all patches, merged upstream
  * Install new files
  * List new libsystemd0 symbols
  * Ignore Lintian warning dh-exec-script-without-dh-exec-features
  * d/copyright: remove pattern for directory that is no longer present

systemd (256.7-3) unstable; urgency=medium

  [ Luca Boccassi ]
  * Backport patch to fix test failures with tzdata 2024b-1
  * systemd-boot: provide provisional integration with shim. Not yet
    used, will be active once the signed packages are available.
    https://wiki.debian.org/SecureBoot#Secure_Boot_setup_with_systemd-boot

  [ Kirill Rekhov ]
  * d/systemd.postrm: delete more internal state directories on purge

systemd (256.7-2) unstable; urgency=medium

  [ Nick Rosbrook ]
  * d/systemd.postinst: do not restart systemd-binfmt.service if masked
    (LP: #2077869)

  [ Luca Boccassi ]
  * systemd-boot: depend on systemd for kernel-install (Closes: #1085012)
  * Disable utmp support, not y2038 safe. utmp support in tmux has been
    disabled, so autopkgtest should no longer break
  * Backport fixes for upstream autopkgtest suite

  [ Benjamin Drung ]
  * initramfs-tools: support missing /etc/udev/udev.conf. Installing
    initramfs-tools fails in case `/etc/udev/udev.conf` is removed
    (LP: #2084592)

systemd (256.7-1) unstable; urgency=medium

  * autopkgtest: skip gdm3 on armel for smoke tests. Gnome is no longer
    built for armel. (Closes: #1082516)
  * New upstream version 256.7
  * Mark dependencies on clang and bpftool as :native (Closes: #1083064)
  * Revert "autopkgtest: skip TEST-64-UDEV-STORAGE due to qemu crash". The
    qemu crash is now detected in the upstream integration test script.

systemd (256.6-1) unstable; urgency=medium

  [ Helmut Grohne ]
  * salsa-ci: test the stage1 build profile

  [ Simon Chopin ]
  * Filter out zdev rules in the initramfs hook (LP: #2044104). s390-tools
    has its own initramfs customization logic that deals with those files.

  [ Luca Boccassi ]
  * Re-enable utmp support, tmux's autopkgtests require it. This will
    break as logind writing into utmp will wrap around, so Trixie won't be
    y2038 ready after all
  * New upstream version 256.6
  * Note systemd-cryptsetup package split in NEWS (Closes: #1079644)

 -- Nick Rosbrook <enr0n at ubuntu.com>  Thu, 12 Dec 2024 10:00:12 -0500

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

-- 
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/2084592

Title:
  package initramfs-tools 0.142ubuntu25.2 failed to install/upgrade due
  to missing /etc/udev/udev.conf

Status in systemd package in Ubuntu:
  Fix Released

Bug description:
  [sudo] senha para humberto.freitas: 
  Lendo listas de pacotes... Pronto
  Construindo árvore de dependências... Pronto
  Lendo informação de estado... Pronto        
  0 pacotes atualizados, 0 pacotes novos instalados, 1 reinstalados, 0 a serem removidos e 6 não atualizados.
  1 pacotes não totalmente instalados ou removidos.
  É preciso baixar 1.873 kB de arquivos.
  Depois desta operação, 0 B adicionais de espaço em disco serão usados.
  Obter:1 http://br.archive.ubuntu.com/ubuntu noble-updates/main amd64 udev amd64 255.4-1ubuntu8.4 [1.873 kB]
  Baixados 1.873 kB em 0s (3.909 kB/s)
  (Lendo banco de dados ... 220856 ficheiros e diretórios atualmente instalados.)
  A preparar para desempacotar .../udev_255.4-1ubuntu8.4_amd64.deb ...
  A descompactar udev (255.4-1ubuntu8.4) sobre (255.4-1ubuntu8.4) ...
  Configurando linux-image-6.8.0-47-generic (6.8.0-47.47) ...
  Configurando udev (255.4-1ubuntu8.4) ...
  A processar 'triggers' para man-db (2.12.0-4build2) ...
  A processar 'triggers' para initramfs-tools (0.142ubuntu25.2) ...
  update-initramfs: Generating /boot/initrd.img-6.8.0-45-generic
  cp: não foi possível obter estado de '/etc/udev/udev.conf': Arquivo ou diretório inexistente
  E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
  update-initramfs: failed for /boot/initrd.img-6.8.0-45-generic with 1.
  dpkg: erro ao processar o pacote initramfs-tools (--configure):
   o subprocesso instalado, do pacote initramfs-tools, o script post-installation retornou erro do status de saída 1
  A processar 'triggers' para linux-image-6.8.0-47-generic (6.8.0-47.47) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 6.8.0-47-generic
   * dkms: autoinstall for kernel 6.8.0-47-generic
     ...done.
  /etc/kernel/postinst.d/initramfs-tools:
  update-initramfs: Generating /boot/initrd.img-6.8.0-47-generic
  cp: não foi possível obter estado de '/etc/udev/udev.conf': Arquivo ou diretório inexistente
  E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
  update-initramfs: failed for /boot/initrd.img-6.8.0-47-generic with 1.
  run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  dpkg: erro ao processar o pacote linux-image-6.8.0-47-generic (--configure):
   o subprocesso instalado, do pacote linux-image-6.8.0-47-generic, o script post-installation retornou erro do status de saída 1
  Erros foram encontrados durante o processamento de:
   initramfs-tools
   linux-image-6.8.0-47-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 24.04
  Package: initramfs-tools 0.142ubuntu25.2
  ProcVersionSignature: Ubuntu 6.8.0-45.45-generic 6.8.12
  Uname: Linux 6.8.0-45-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.1
  AptOrdering:
   udev:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Tue Oct 15 16:40:34 2024
  ErrorMessage: o subprocesso instalado, do pacote initramfs-tools, o script post-installation retornou erro do status de saída 1
  InstallationDate: Installed on 2024-10-14 (1 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.22.6ubuntu6.1
   apt  2.7.14build2
  SourcePackage: initramfs-tools
  Title: package initramfs-tools 0.142ubuntu25.2 failed to install/upgrade: o subprocesso instalado, do pacote initramfs-tools, o script post-installation retornou erro do status de saída 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list