익명 21:22

do-release-upgrade failed because of dependencies on php8.4-common

do-release-upgrade failed because of dependencies on php8.4-common

Linux version 6.8.0-88-generic (buildd@lcy02-amd64-004) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 (Ubuntu 6.8.0-88.89-generic 6.8.12)

about xfce desktop

  • OS Name - Ubuntu 26.04 LTS
  • OS Type - 64 bit
  • Distributor - Ubuntu
  • Xfce version - 4.20
  • GTK version - 3.24.52
  • Kernel version - 6.17.0-40-generic
  • Windowing system - X11
  • CPU - AMD A8-7600 radeonr7, 10 compute cores 4c+6gx4
  • Memory 6.2 GiB
  • GPU (radeonsi, kaveri, ACO, DRM 2.51, 6.17.0-40-generic)(1.0 GiB)

grep audio /etc/group output

  • audio:x:29:pulse:graham (my username is graham)

sudo grpck -r output

  • invalid group file entry
  • delete line 'audio:x:29:pulse:graham'? No
  • graham' is a member of the 'admin' group in /etc/group but not in /etc/gshadow
  • no matching group file entry in /etc/group
  • delete line 'audio:*::pulse,graham'? No
  • grpck: no changes

dpkg.log contents

  • 2026-07-14 19:27:21 status half-configured libqt6printsupport6:amd64 6.10.2+dfsg-7

    2026-07-14 19:27:21 status installed libqt6printsupport6:amd64 6.10.2+dfsg-7

    2026-07-14 19:27:21 trigproc libc-bin:amd64 2.43-2ubuntu2

    2026-07-14 19:27:21 status half-configured libc-bin:amd64 2.43-2ubuntu2

    2026-07-14 19:27:21 status installed libc-bin:amd64 2.43-2ubuntu2

    2026-07-14 19:35:21 startup packages configure

    2026-07-14 19:35:21 configure udev:amd64 259.5-0ubuntu3

    2026-07-14 19:35:21 status half-configured udev:amd64 259.5-0ubuntu3

    2026-07-14 19:41:42 startup packages configure

    2026-07-14 19:41:42 configure udev:amd64 259.5-0ubuntu3

    2026-07-14 19:41:42 status half-configured udev:amd64 259.5-0ubuntu3

    2026-07-14 19:44:31 startup packages configure

    2026-07-14 19:44:31 configure udev:amd64 259.5-0ubuntu3

    2026-07-14 19:44:31 status half-configured udev:amd64 259.5-0ubuntu3

    2026-07-14 19:49:32 startup packages configure

    2026-07-14 19:49:32 configure udev:amd64 259.5-0ubuntu3

    2026-07-14 19:49:32 status half-configured udev:amd64 259.5-0ubuntu3

    2026-07-14 19:52:00 startup packages configure

    2026-07-14 19:52:00 configure udev:amd64 259.5-0ubuntu3

    2026-07-14 19:52:00 status half-configured udev:amd64 259.5-0ubuntu3

    2026-07-15 13:15:06 startup archives install

    2026-07-15 13:15:48 startup archives install

    2026-07-15 13:16:20 startup archives install

uname -a gives Linux mglinux 6.17.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 19 16:42:13 UTC 2026 x86_64 GNU/Linux

I changed from LTS to normal for upgrades. This has not been smooth with a number of attempts, alternating through these commands:

  1. sudo apt do-release-upgrade
  2. sudo apt --fix-broken install
  3. sudo dpkg --configure -a

The upgrade stalls because of a dependency on php8.4-common(= 8.4.11-1ubuntu1.2) which cannot be installed.

Is there a way to proceed?

Here is the command line response for sudo apt --fix-broken install

Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
Solving dependencies...
The following packages were automatically installed and are no longer required:
  apg
  catch2
  chrome-gnome-shell
  cpdb-backend-cups
  dmsetup
  dracut-core
  eog
  gcc-14-base
  gcc-14-base:i386
  gcc-15-base:i386
  gir1.2-freedesktop-dev
  gir1.2-girepository-2.0
  gir1.2-glib-2.0-dev
  gir1.2-gtop-2.0
  gir1.2-javascriptcoregtk-6.0
  gir1.2-webkit-6.0
  girepository-tools
  gkbd-capplet
  gnome-shell-extension-auto-move-windows
  gnome-shell-extension-drive-menu
  gnome-shell-extension-light-style
  gnome-shell-extension-native-window-placement
  gnome-shell-extension-screenshot-window-sizer
  gnome-shell-extension-system-monitor
  gnome-shell-extension-user-theme
  gnome-shell-extension-windows-navigator
  gnome-shell-extension-workspace-indicator
  gnome-shell-extensions
  gnupg-l10n
  grilo-plugins-0.3-base
  icu-devtools
  kded5
  kerneloops
  kglobalacceld
  kio
  kwayland-integration
  kwayland5-data
  libabsl20220623t64
  libabsl20240722
  libapt-pkg6.0t64
  libassuan0
  libatkmm-1.6-1v5
  libatm1t64
  libavcodec60
  libavcodec60:i386
  libavfilter9
  libavformat60
  libavutil58
  libavutil58:i386
  libblkid-dev
  libboost-atomic1.83.0
  libboost-chrono1.83.0t64
  libboost-date-time1.83.0
  libboost-date-time1.88.0
  libboost-filesystem1.83.0
  libboost-iostreams1.83.0
  libboost-iostreams1.88.0
  libboost-locale1.83.0
  libboost-locale1.88.0
  libboost-program-options1.83.0
  libboost-regex1.83.0
  libboost-regex1.88.0
  libboost-serialization1.83.0
  libboost-system1.83.0
  libboost-system1.88.0
  libboost-test1.83.0
  libboost-test1.88.0
  libboost-thread1.83.0
  libcairomm-1.0-1v5
  libcamera0.2
  libcanberra-gtk3-0t64
  libcap-dev
  libcapnp-1.0.1
  libcatch2-dev
  libclang-cpp17t64
  libclang-cpp18
  libclang-cpp19
  libclang1-18
  libconfig++9v5
  libcppunit-1.15-0
  libcppunit-dev
  libcrypt-dev
  libdatrie-dev
  libdbusmenu-qt5-2
  libdisplay-info2
  libdmrconf0.10
  libdw1t64:i386
  libeigen3-dev
  libffi-dev
  libflac12t64
  libflac12t64:i386
  libfmt-dev
  libfmt9
  libfribidi-dev
  libfuse3-3
  libfwupd2
  libgdata-common
  libgdata22
  libgio-2.0-dev-bin
  libglfw3
  libglib2.0-dev-bin
  libglibmm-2.4-1t64
  libgmp-dev
  libgmpxx4ldbl
  libgnome-rr-4-2t64
  libgnomekbd-common
  libgnomekbd8
  libgnuradio-analog3.10.9t64
  libgnuradio-audio3.10.9t64
  libgnuradio-blocks3.10.9t64
  libgnuradio-channels3.10.9t64
  libgnuradio-digital3.10.9t64
  libgnuradio-fft3.10.9t64
  libgnuradio-filter3.10.9t64
  libgnuradio-fosphor3.9.0
  libgnuradio-iio3.10.9t64
  libgnuradio-network3.10.9t64
  libgnuradio-pdu3.10.9t64
  libgnuradio-pmt3.10.9t64
  libgnuradio-qtgui3.10.9t64
  libgnuradio-runtime3.10.9t64
  libgnuradio-soapy3.10.9t64
  libgnuradio-trellis3.10.9t64
  libgnuradio-uhd3.10.9t64
  libgnuradio-video-sdl3.10.9t64
  libgnuradio-vocoder3.10.9t64
  libgnuradio-zeromq3.10.9t64
  libgpgmepp6t64
  libgphoto2-l10n
  libgraphite2-dev
  libgsm1-dev
  libgspell-1-2
  libgtkmm-3.0-1t64
  libharfbuzz-cairo0
  libhfstospell11
  libhidapi-hidraw0
  libicu-dev
  libicu74
  libicu74:i386
  libindi-data
  libindiclient1
  libjs-jquery-ui
  libjs-underscore
  libjsoncpp25
  libjxl0.7
  libkf5archive-data
  libkf5archive5
  libkf5auth-data
  libkf5authcore5
  libkf5codecs-data
  libkf5codecs5
  libkf5completion-data
  libkf5completion5
  libkf5config-bin
  libkf5config-data
  libkf5configcore5
  libkf5configgui5
  libkf5configwidgets-data
  libkf5configwidgets5
  libkf5coreaddons-data
  libkf5coreaddons5
  libkf5crash5
  libkf5dbusaddons-bin
  libkf5dbusaddons-data
  libkf5dbusaddons5
  libkf5doctools5
  libkf5globalaccel-bin
  libkf5globalaccel-data
  libkf5globalaccel5
  libkf5globalaccelprivate5
  libkf5guiaddons-bin
  libkf5guiaddons-data
  libkf5guiaddons5
  libkf5i18n-data
  libkf5i18n5
  libkf5iconthemes-bin
  libkf5iconthemes-data
  libkf5iconthemes5
  libkf5itemviews-data
  libkf5itemviews5
  libkf5jobwidgets-data
  libkf5jobwidgets5
  libkf5kiocore5
  libkf5kiogui5
  libkf5kiontlm5
  libkf5kiowidgets5
  libkf5notifications-data
  libkf5notifications5
  libkf5service-bin
  libkf5service-data
  libkf5service5
  libkf5solid5
  libkf5solid5-data
  libkf5sonnet5-data
  libkf5sonnetcore5
  libkf5sonnetui5
  libkf5textwidgets-data
  libkf5textwidgets5
  libkf5wallet-bin
  libkf5wallet-data
  libkf5wallet5
  libkf5waylandclient5
  libkf5widgetsaddons-data
  libkf5widgetsaddons5
  libkf5windowsystem-data
  libkf5windowsystem5
  libkf5xmlgui-bin
  libkf5xmlgui-data
  libkf5xmlgui5
  libkf6config-bin
  libkf6dbusaddons-bin
  libkf6guiaddons-bin
  libkf6iconthemes-bin
  libkglobalacceld0
  libkwalletbackend5-5
  liblastlog2-2
  liblbfgsb0
  libllvm17t64
  libllvm18
  libllvm19
  libmanette-0.2-0
  libmbedcrypto7t64
  libmbedtls14t64
  libmbedx509-1t64
  libmikmod3
  libminiupnpc17
  libmjpegutils-2.1-0t64
  libmozjs-115-0t64
  libmpeg2encpp-2.1-0t64
  libmplex2-2.1-0t64
  libmsgraph-0-1
  libnova-0.16-0t64
  liborcus-0.18-0
  liborcus-0.20-0
  liborcus-parser-0.18-0
  liborcus-parser-0.20-0
  libpangomm-1.4-1v5
  libpaper1
  libpcre2-dev
  libpcre2-posix3
  libperl5.38t64
  libpipewire-0.3-modules-xrdp
  libpixman-1-dev
  libpkgconf3
  libplacebo338
  libpolkit-qt5-1-1
  libpoppler-cpp0t64
  libpoppler-cpp2
  libpoppler134
  libpoppler147
  libpostproc57
  libproxy1-plugin-webkit
  libpthread-stubs0-dev
  libpython3.12-dev
  libpython3.13-dev
  libqca-qt5-2
  libqca-qt5-2-plugins
  libqpdf29t64
  libqt5texttospeech5
  libqt5x11extras5
  librav1e0
  librhash0
  libroc0.3
  librtaudio6
  libruby3.2
  libsasl2-modules:i386
  libsepol-dev
  libsframe1
  libsgutils2-1.46-2
  libsigc++-2.0-0v5
  libsigsegv2
  libsoup-2.4-1
  libsoup2.4-common
  libspdlog-dev
  libspdlog1.12
  libssh-gcrypt-4
  libsvtav1enc1d1
  libsvtav1enc1d1:i386
  libswresample4
  libswresample4:i386
  libswscale7
  libsysmetrics1
  libsysprof-capture-4-dev
  libtag1v5
  libtag1v5:i386
  libtag1v5-vanilla
  libtag1v5-vanilla:i386
  libtagc0
  libthai-dev
  libtheora0
  libtheora0:i386
  libthrift-0.19.0t64
  libthrift-dev
  libu2f-udev
  libuhd4.6.0t64
  libunibreak5
  libunwind8:i386
  libusbmuxd6
  libvoikko1
  libvolk3.1t64
  libwebrtc-audio-processing1
  libwireplumber-0.4-0
  libx265-199
  libx265-199:i386
  libxatracker2
  libxcb-record0
  libxml++2.6-2v5
  libxml2
  libxml2:i386
  linux-headers-6.8.0-88
  linux-headers-6.8.0-88-generic
  linux-image-6.8.0-88-generic
  linux-modules-6.8.0-88-generic
  linux-modules-extra-6.8.0-88-generic
  linux-tools-6.8.0-88
  linux-tools-6.8.0-88-generic
  lp-solve
  native-architecture
  network-manager-applet
  network-manager-gnome
  networkd-dispatcher
  pango1.0-tools
  perl-modules-5.38
  pipewire-module-xrdp
  pybind11-dev
  python-biopython-doc
  python3-appdirs
  python3-click-plugins
  python3-contextlib2
  python3-gpg
  python3-importlib-metadata
  python3-markdown
  python3-py
  python3-pyrsistent
  python3-pytz
  python3-six
  python3-tz
  python3.12
  python3.12-dev
  python3.12-minimal
  python3.12-venv
  python3.13
  python3.13-dev
  python3.13-gdbm
  python3.13-minimal
  python3.13-tk
  python3.13-venv
  qtspeech5-speechd-plugin
  ruby3.2
  samba-dsdb-modules
  sonnet-plugins
  systemd-dev
  tracker
  tracker-extract
  tracker-miner-fs
  ubuntu-mono
  ubuntu-wallpapers-questing
Use 'sudo apt autoremove' to remove them.

Upgrading:
  php-intl  php-sqlite3

Installing dependencies:
  php8.5-intl  php8.5-sqlite3

REMOVING:
  php8.4-intl  php8.4-opcache  php8.4-readline  php8.4-sqlite3

Summary:
  Upgrading: 2, Installing: 2, Removing: 4, Not Upgrading: 1030
  562 not fully installed or removed.
  Download size: 0 B / 218 kB
  Freed space: 1,292 kB

Continue? [Y/n] Setting up udev (259.5-0ubuntu3)…
Creating group 'clock' with GID 993.
Failed to add existing group "audio" to temporary group file: Invalid argument
dpkg: error processing package udev (--configure):
 old udev package postinst maintainer script subprocess failed with exit status 1
dpkg: dependency problems prevent configuration of snapd:
 snapd depends on udev; however:
  Package udev is not configured yet.

dpkg: error processing package snapd (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 udev
 snapd
                


Top Answer/Comment:

As identified in this comment by u/Andrei Borzenkov what's blocking apt here is not php8.4-common, but a udev package configuration script that is failing due to an underlying error in your group database. The grpck command confirms that the audio entry in /etc/group is malformed.

The safest way to fix this is probably

  • run sudo grpck again without the -r (readonly) switch and confirm the suggested deletions
  • run sudo apt -f install

This should invoke the udev script again, which in turn will run systemd-sysusers which (as a side effect) will re-add the default (empty) audio group according to /usr/lib/sysusers.d/basic.conf. If you need to add specific users to the audio group you can then do so but be sure to use the proper tools in order to maintain database integrity e.g. sudo adduser graham audio or sudo usermod -aG audio graham rather than editing the /etc/group and/or /etc/gshadow files directly.

Alternatively you can try to correct the errors manually - for example changing pulse:graham to pulse,graham - if you do so I strongly suggest using vigr in place of your regular text editor.

상단 광고의 [X] 버튼을 누르면 내용이 보입니다