[Pkg-alsa-devel] Bug#1004233: warning: unable to delete old directory '/usr/lib/systemd/system/sound.target.wants'

Nicolas Le Cam niko.lecam at gmail.com
Sun Jan 23 09:54:07 GMT 2022


Package: alsa-utils
Version: 1.2.6-1
Severity: normal
X-Debbugs-Cc: niko.lecam at gmail.com

Dear Maintainer,

alsa-utils show a warning during upgrade from 1.2.5.1-1 to 1.2.6-1:

Unpacking alsa-utils (1.2.6-1) over (1.2.5.1-1) ...
dpkg: warning: unable to delete old directory '/usr/lib/systemd/system/sound.target.wants': Directory not empty

But it seems files in this directory are already from alsa-utils :

$ ls -la /usr/lib/systemd/system/sound.target.wants
total 40
drwxr-xr-x  2 root root  4096 Jan 23 10:24 .
drwxr-xr-x 27 root root 36864 Jan 23 10:25 ..
lrwxrwxrwx  1 root root    23 Jan 12 10:42 alsa-restore.service -> ../alsa-restore.service
lrwxrwxrwx  1 root root    21 Jan 12 10:42 alsa-state.service -> ../alsa-state.service

$ dpkg -S /lib/systemd/system/sound.target.wants/{alsa-restore.service,alsa-state.service}
alsa-utils: /lib/systemd/system/sound.target.wants/alsa-restore.service
alsa-utils: /lib/systemd/system/sound.target.wants/alsa-state.service

As a workaround I did rm this dir and reinsall alsa-utils. sound.target.wants state after reinstall hasn't change

Regards,
Nicolas

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages alsa-utils depends on:
ii  kmod              29-1
ii  libasound2        1.2.6.1-1
ii  libatopology2     1.2.6.1-1
ii  libc6             2.33-2
ii  libfftw3-single3  3.3.8-2
ii  libncursesw6      6.3-2
ii  libsamplerate0    0.2.2-1
ii  libtinfo6         6.3-2
ii  lsb-base          11.1.0

alsa-utils recommends no packages.

Versions of packages alsa-utils suggests:
pn  dialog  <none>

-- no debconf information


More information about the Pkg-alsa-devel mailing list