[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a stop job is running for user manager



On Thu 17 Feb 2022 at 13:44:46 (+0000), Richmond wrote:
> David Wright <deblis@lionunicorn.co.uk> writes:
> > On Thu 17 Feb 2022 at 01:00:30 (+0000), Richmond wrote:
> >> Since upgrading to Debian 11 I sometimes see "a stop job is running for
> >> user manager..." on shutdown and it waits 90 seconds. The last comment
> >> in this thread says "Installing systemd from backsports solved this issue."
> >> 
> >> https://forums.debian.net/viewtopic.php?t=150080
> >> 
> >> I guess that means a backport from testing. Is that a good idea?
> >
> > No, it's not.
> >
> > testing: 250.3-2
> >
> > BULLSEYE backports: 250.3-2~bpo11+1
> >
> > The latter is lovingly crafted to suit your installed libraries.
> > The former depends on bookworm/testing's libraries.
> 
> Thanks, I see my mistake, I thought bullseye-backports meant backports
> from bullseye, but it means *to* bullseye. However when I tried it, apt
> says it will remove 92 packages which doesn't sound right to me. Is it
> supposed to do that? I had to include libsystemd0 for dependencies.
> 
> sudo apt install libsystemd0/bullseye-backports systemd/bullseye-backports
> 
> The following packages will be upgraded:
>   libsystemd0 systemd
> 2 upgraded, 0 newly installed, 92 to remove and 0 not upgraded.
> Need to get 5,167 kB of archives.
> After this operation, 383 MB disk space will be freed.
> Do you want to continue? [Y/n] n
> Abort.

For me, the effect is very much smaller, and I don't think I'd miss
most of what it wants to remove. The difference may be because you run
a DE and I don't. (I've made no attempt to analyse the output below.)

The obvious alternative is either put up with the delay, or research
what might be causing it. There's a link near the top of the page you
referenced, with discussions that might help, though bear in mind that
shortening the timeout or hammering the three finger salute aren't solutions.

Perhaps backports isn't really a solution, either. There's no
explanation or justification given by ddebbb.

$ apt-get -s install systemd/bullseye-backports
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '250.3-2~bpo11+1' (Debian Backports:bullseye-backports [amd64]) for 'systemd'
Selected version '250.3-2~bpo11+1' (Debian Backports:bullseye-backports [amd64]) for 'libsystemd0' because of 'systemd'
The following packages were automatically installed and are no longer required:
  colord-data gparted-common libcolorhug2 libgusb2 libjim0.79 libmbim-glib4 libmbim-proxy libpipewire-0.3-0
  libpipewire-0.3-modules libqmi-glib5 libqmi-proxy libspa-0.2-modules pipewire pipewire-bin usb-modeswitch
  usb-modeswitch-data xdg-desktop-portal
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  dbus-x11 libsystemd0
Suggested packages:
  systemd-container libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-rc0 policykit-1
Recommended packages:
  systemd-timesyncd | time-daemon
The following packages will be REMOVED:
  colord dbus-user-session gparted libnss-systemd libpam-systemd modemmanager policykit-1 systemd-timesyncd
  xdg-desktop-portal-gtk
The following NEW packages will be installed:
  dbus-x11
The following packages will be upgraded:
  libsystemd0 systemd
2 upgraded, 1 newly installed, 9 to remove and 0 not upgraded.
Remv colord [1.4.5-3]
Remv xdg-desktop-portal-gtk [1.8.0-1]
Remv dbus-user-session [1.12.20-2] [audacious:amd64 dconf-service:amd64 xdg-desktop-portal:amd64 ]
Inst dbus-x11 (1.12.20-2 Debian:11.2/stable [amd64])
Remv gparted [1.2.0-1]
Remv libnss-systemd [247.3-6]
Remv modemmanager [1.14.12-0.2]
Remv policykit-1 [0.105-31+deb11u1]
Remv libpam-systemd [247.3-6]
Remv systemd-timesyncd [247.3-6] [systemd:amd64 ]
Inst systemd [247.3-6] (250.3-2~bpo11+1 Debian Backports:bullseye-backports [amd64]) []
Inst libsystemd0 [247.3-6] (250.3-2~bpo11+1 Debian Backports:bullseye-backports [amd64])
Conf libsystemd0 (250.3-2~bpo11+1 Debian Backports:bullseye-backports [amd64])
Conf dbus-x11 (1.12.20-2 Debian:11.2/stable [amd64])
Conf systemd (250.3-2~bpo11+1 Debian Backports:bullseye-backports [amd64])
$ 

Cheers,
David.


Reply to: