Public bug reported:

ubuntu 24.04
ps -ef | grep apt
root       29181   28857  0 03:02 ?        00:00:00 apt -y install make g++ 
openssl libtool libssl-dev pkg-config zlib1g-dev
root       29382   29181  0 03:02 ?        00:00:00 apt -y install make g++ 
openssl libtool libssl-dev pkg-config zlib1g-dev
root       29391   29382  0 03:02 ?        00:00:00 sh -c -- test -x 
/usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke -m u || 
true
root       29483   29392  0 03:02 ?        00:00:00 systemctl restart 
apt-news.service cloud-monitor-agent.service esm-cache.service 
irqbalance-ng.service packagekit.service polkit.service proxima.service 
rsyslog.service ssh.service systemd-journald.service systemd-networkd.service 
systemd-resolved.service systemd-udevd.service tuned.service udisks2.service 
upower.service
_apt       29648   29495  0 03:02 ?        00:00:00 /usr/lib/apt/methods/https


systemctl status esm-cache.service
● esm-cache.service - Update the local ESM caches
     Loaded: loaded (/usr/lib/systemd/system/esm-cache.service; static)
     Active: activating (start) since Tue 2025-04-22 03:02:11 CST; 16h ago
   Main PID: 29495 (python3)
      Tasks: 2 (limit: 37821)
     Memory: 17.3M (peak: 18.9M)
        CPU: 4.450s
     CGroup: /system.slice/esm-cache.service
             ├─29495 /usr/bin/python3 /usr/lib/ubuntu-advantage/esm_cache.py
             └─29648 /usr/lib/apt/methods/https

Apr 22 03:02:11 iv-ydu5wcv3ls7fzxcplrij systemd[1]: Starting esm-cache.service 
- Update the local ESM caches...
Apr 22 03:02:23 iv-ydu5wcv3ls7fzxcplrij python3[29495]: 
["2025-04-22T03:02:23.353", "WARNING", "ubuntupro.apt", "fail", 907, "Failed to 
fetch ESM Apt Cache item: https:>
Apr 22 03:02:23 iv-ydu5wcv3ls7fzxcplrij python3[29495]: 
["2025-04-22T03:02:23.353", "WARNING", "ubuntupro.apt", "fail", 907, "Failed to 
fetch ESM Apt Cache item: https:>


The apt install process is stuck because the esm-cache service is stuck at 
startup

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  When restarting esm-cache, the process is stuck

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


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

Reply via email to