That partially worked!

After changing the unit file and running `sudo systemctl start power-
profiles-daemon`, I am kicked out of RDP and cannot Remote Login.
However, if I SSH in and run `sudo systemctl restart gdm3`, I am able to
Remote Login, and the daemon is active.

The same behavior after a reboot, I must run SSH in and run `sudo
systemctl restart gdm3` to be able to Remote Login.

$ sudo systemctl status power-profiles-daemon
● power-profiles-daemon.service - Power Profiles daemon
     Loaded: loaded (/usr/lib/systemd/system/power-profiles-daemon.service; ena>
     Active: active (running) since Tue 2026-08-18 20:29:23 EDT; 24s ago
   Main PID: 10675 (power-profiles-)
      Tasks: 4 (limit: 34207)
     Memory: 1.7M (peak: 2.3M)
        CPU: 27ms
     CGroup: /system.slice/power-profiles-daemon.service
             └─10675 /usr/libexec/power-profiles-daemon

$ dpkg -s power-profiles-daemon | grep Version
Version: 0.21-1ubuntu2


----

To get this to work I ran:

```
sudo apt install power-profiles-daemon=0.21-1ubuntu2 # -> which hanged
sudo pkill -9 -f power-profiles-daemon

sudo nano /lib/systemd/system/power-profiles-daemon.service
# -After=multi-user.target display-manager.target
# +Wants=multi-user.target
# +After=display-manager.target graphical.target

sudo systemctl daemon-reload

sudo systemctl start power-profiles-daemon
# Go kicked out of RDP/Remote Login
```

SSH:
```
sudo systemctl restart gdm3
```

Back in RDP/Remote Login:

```
sudo dpkg --configure -a
# Which finished the install cleanly.
```

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

Title:
  SRU causes apt install power-profiles-daemon to hang on Ubuntu 24.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/power-profiles-daemon/+bug/2164213/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to