Public bug reported: Apt-get locked for 20 days I report apt-get bug it says there is no apt-get how then apt-get is running?
sudo apt update && sudo apt upgrade -y Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock. It is held by process 111465 (apt-get) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to lock directory /var/lib/apt/lists/ ubuntu@openclaw:~$ ps -fp 111465 UID PID PPID C STIME TTY TIME CMD root 111465 111436 0 Jun02 ? 00:01:44 apt-get -qq -y update ubuntu@openclaw:~$ ps aux | grep apt root 111432 0.0 0.0 2392 1640 ? Ss Jun02 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily update root 111436 0.0 0.0 2392 1652 ? S Jun02 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held update root 111465 0.0 0.0 18636 10300 ? S Jun02 1:44 apt-get -qq -y update _apt 111475 0.0 0.0 23800 9660 ? S Jun02 0:00 /usr/lib/apt/methods/http _apt 111476 0.0 0.0 23800 9664 ? S Jun02 0:00 /usr/lib/apt/methods/http _apt 111477 0.0 0.0 27628 15020 ? S Jun02 0:00 /usr/lib/apt/methods/https _apt 111478 0.0 0.0 27628 14300 ? S Jun02 0:00 /usr/lib/apt/methods/https _apt 111480 0.0 0.0 15776 6068 ? S Jun02 0:00 /usr/lib/apt/methods/gpgv _apt 111535 0.0 0.0 24312 15528 ? S Jun02 0:00 /usr/lib/apt/methods/store ubuntu 313448 0.0 0.0 6684 1940 pts/1 S+ 16:32 0:00 grep --color=auto apt ubuntu@openclaw:~$ ^C ubuntu@openclaw:~$ systemctl status unattended-upgrades systemctl status apt-daily.service systemctl status apt-daily-upgrade.service ● unattended-upgrades.service - Unattended Upgrades Shutdown Loaded: loaded (/usr/lib/systemd/system/unattended-upgrades.service; enabled; preset: enabled) Active: active (running) since Thu 2026-05-21 20:18:13 UTC; 1 month 2 days ago Docs: man:unattended-upgrade(8) Main PID: 1033 (unattended-upgr) Tasks: 2 (limit: 28649) Memory: 11.0M (peak: 11.4M) CPU: 138ms CGroup: /system.slice/unattended-upgrades.service └─1033 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal May 21 20:18:13 openclaw systemd[1]: Started unattended-upgrades.service - Unattended Upgrades Shutdown. ● apt-daily.service - Daily apt download activities Loaded: loaded (/usr/lib/systemd/system/apt-daily.service; static) Active: activating (start) since Tue 2026-06-02 11:36:57 UTC; 3 weeks 0 days ago TriggeredBy: ● apt-daily.timer Docs: man:apt(8) Process: 111426 ExecStartPre=/usr/lib/apt/apt-helper wait-online (code=exited, status=0/SUCCESS) Main PID: 111432 (apt.systemd.dai) Tasks: 9 (limit: 28649) Memory: 103.5M (peak: 105.7M) CPU: 1min 45.852s CGroup: /system.slice/apt-daily.service ├─111432 /bin/sh /usr/lib/apt/apt.systemd.daily update ├─111436 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held update ├─111465 apt-get -qq -y update ├─111475 /usr/lib/apt/methods/http ├─111476 /usr/lib/apt/methods/http ├─111477 /usr/lib/apt/methods/https ├─111478 /usr/lib/apt/methods/https ├─111480 /usr/lib/apt/methods/gpgv └─111535 /usr/lib/apt/methods/store Jun 02 11:36:57 openclaw systemd[1]: Starting apt-daily.service - Daily apt download activities... ○ apt-daily-upgrade.service - Daily apt upgrade and clean activities Loaded: loaded (/usr/lib/systemd/system/apt-daily-upgrade.service; static) Active: inactive (dead) since Tue 2026-06-02 06:39:39 UTC; 3 weeks 0 days ago TriggeredBy: ● apt-daily-upgrade.timer Docs: man:apt(8) Process: 109594 ExecStartPre=/usr/lib/apt/apt-helper wait-online (code=exited, status=0/SUCCESS) Process: 109600 ExecStart=/usr/lib/apt/apt.systemd.daily install (code=exited, status=0/SUCCESS) Main PID: 109600 (code=exited, status=0/SUCCESS) CPU: 2.324s Jun 02 06:39:36 openclaw systemd[1]: Starting apt-daily-upgrade.service - Daily apt upgrade and clean activities... Jun 02 06:39:39 openclaw systemd[1]: apt-daily-upgrade.service: Deactivated successfully. Jun 02 06:39:39 openclaw systemd[1]: Finished apt-daily-upgrade.service - Daily apt upgrade and clean activities. Jun 02 06:39:39 openclaw systemd[1]: apt-daily-upgrade.service: Consumed 2.324s CPU time. ubuntu@openclaw:~$ ubuntu-bug apt-get *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .dpkg-query: no packages found matching apt-get *** Problem in apt-get The problem cannot be reported: This report is about a package that is not installed. Press any key to continue... No pending crash reports. Try --help for more information. ubuntu@openclaw:~$ ubuntu-bug apt ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: apt 2.8.3 ProcVersionSignature: User Name 6.17.0-1014.14~24.04.1-oracle 6.17.13 Uname: Linux 6.17.0-1014-oracle aarch64 ApportVersion: 2.28.1-0ubuntu3.8 Architecture: arm64 CasperMD5CheckResult: unknown CloudArchitecture: aarch64 CloudBuildName: server CloudID: oracle CloudName: oracle CloudPlatform: oracle CloudSerial: 20260505 CloudSubPlatform: metadata (http://169.254.169.254/opc/v2/) Date: Tue Jun 23 16:35:14 2026 SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: apt (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug arm64 cloud-image noble ** Description changed: Apt-get locked for 20 days + I report apt-get bug + it says there is no apt-get + how then apt-get is running? sudo apt update && sudo apt upgrade -y Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock. It is held by process 111465 (apt-get) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to lock directory /var/lib/apt/lists/ - ubuntu@openclaw:~$ ps -fp 111465 UID PID PPID C STIME TTY TIME CMD root 111465 111436 0 Jun02 ? 00:01:44 apt-get -qq -y update - ubuntu@openclaw:~$ ps aux | grep apt root 111432 0.0 0.0 2392 1640 ? Ss Jun02 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily update root 111436 0.0 0.0 2392 1652 ? S Jun02 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held update root 111465 0.0 0.0 18636 10300 ? S Jun02 1:44 apt-get -qq -y update _apt 111475 0.0 0.0 23800 9660 ? S Jun02 0:00 /usr/lib/apt/methods/http _apt 111476 0.0 0.0 23800 9664 ? S Jun02 0:00 /usr/lib/apt/methods/http _apt 111477 0.0 0.0 27628 15020 ? S Jun02 0:00 /usr/lib/apt/methods/https _apt 111478 0.0 0.0 27628 14300 ? S Jun02 0:00 /usr/lib/apt/methods/https _apt 111480 0.0 0.0 15776 6068 ? S Jun02 0:00 /usr/lib/apt/methods/gpgv _apt 111535 0.0 0.0 24312 15528 ? S Jun02 0:00 /usr/lib/apt/methods/store ubuntu 313448 0.0 0.0 6684 1940 pts/1 S+ 16:32 0:00 grep --color=auto apt ubuntu@openclaw:~$ ^C ubuntu@openclaw:~$ systemctl status unattended-upgrades systemctl status apt-daily.service systemctl status apt-daily-upgrade.service ● unattended-upgrades.service - Unattended Upgrades Shutdown - Loaded: loaded (/usr/lib/systemd/system/unattended-upgrades.service; enabled; preset: enabled) - Active: active (running) since Thu 2026-05-21 20:18:13 UTC; 1 month 2 days ago - Docs: man:unattended-upgrade(8) - Main PID: 1033 (unattended-upgr) - Tasks: 2 (limit: 28649) - Memory: 11.0M (peak: 11.4M) - CPU: 138ms - CGroup: /system.slice/unattended-upgrades.service - └─1033 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal + Loaded: loaded (/usr/lib/systemd/system/unattended-upgrades.service; enabled; preset: enabled) + Active: active (running) since Thu 2026-05-21 20:18:13 UTC; 1 month 2 days ago + Docs: man:unattended-upgrade(8) + Main PID: 1033 (unattended-upgr) + Tasks: 2 (limit: 28649) + Memory: 11.0M (peak: 11.4M) + CPU: 138ms + CGroup: /system.slice/unattended-upgrades.service + └─1033 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal May 21 20:18:13 openclaw systemd[1]: Started unattended-upgrades.service - Unattended Upgrades Shutdown. ● apt-daily.service - Daily apt download activities - Loaded: loaded (/usr/lib/systemd/system/apt-daily.service; static) - Active: activating (start) since Tue 2026-06-02 11:36:57 UTC; 3 weeks 0 days ago + Loaded: loaded (/usr/lib/systemd/system/apt-daily.service; static) + Active: activating (start) since Tue 2026-06-02 11:36:57 UTC; 3 weeks 0 days ago TriggeredBy: ● apt-daily.timer - Docs: man:apt(8) - Process: 111426 ExecStartPre=/usr/lib/apt/apt-helper wait-online (code=exited, status=0/SUCCESS) - Main PID: 111432 (apt.systemd.dai) - Tasks: 9 (limit: 28649) - Memory: 103.5M (peak: 105.7M) - CPU: 1min 45.852s - CGroup: /system.slice/apt-daily.service - ├─111432 /bin/sh /usr/lib/apt/apt.systemd.daily update - ├─111436 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held update - ├─111465 apt-get -qq -y update - ├─111475 /usr/lib/apt/methods/http - ├─111476 /usr/lib/apt/methods/http - ├─111477 /usr/lib/apt/methods/https - ├─111478 /usr/lib/apt/methods/https - ├─111480 /usr/lib/apt/methods/gpgv - └─111535 /usr/lib/apt/methods/store + Docs: man:apt(8) + Process: 111426 ExecStartPre=/usr/lib/apt/apt-helper wait-online (code=exited, status=0/SUCCESS) + Main PID: 111432 (apt.systemd.dai) + Tasks: 9 (limit: 28649) + Memory: 103.5M (peak: 105.7M) + CPU: 1min 45.852s + CGroup: /system.slice/apt-daily.service + ├─111432 /bin/sh /usr/lib/apt/apt.systemd.daily update + ├─111436 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held update + ├─111465 apt-get -qq -y update + ├─111475 /usr/lib/apt/methods/http + ├─111476 /usr/lib/apt/methods/http + ├─111477 /usr/lib/apt/methods/https + ├─111478 /usr/lib/apt/methods/https + ├─111480 /usr/lib/apt/methods/gpgv + └─111535 /usr/lib/apt/methods/store Jun 02 11:36:57 openclaw systemd[1]: Starting apt-daily.service - Daily apt download activities... ○ apt-daily-upgrade.service - Daily apt upgrade and clean activities - Loaded: loaded (/usr/lib/systemd/system/apt-daily-upgrade.service; static) - Active: inactive (dead) since Tue 2026-06-02 06:39:39 UTC; 3 weeks 0 days ago + Loaded: loaded (/usr/lib/systemd/system/apt-daily-upgrade.service; static) + Active: inactive (dead) since Tue 2026-06-02 06:39:39 UTC; 3 weeks 0 days ago TriggeredBy: ● apt-daily-upgrade.timer - Docs: man:apt(8) - Process: 109594 ExecStartPre=/usr/lib/apt/apt-helper wait-online (code=exited, status=0/SUCCESS) - Process: 109600 ExecStart=/usr/lib/apt/apt.systemd.daily install (code=exited, status=0/SUCCESS) - Main PID: 109600 (code=exited, status=0/SUCCESS) - CPU: 2.324s + Docs: man:apt(8) + Process: 109594 ExecStartPre=/usr/lib/apt/apt-helper wait-online (code=exited, status=0/SUCCESS) + Process: 109600 ExecStart=/usr/lib/apt/apt.systemd.daily install (code=exited, status=0/SUCCESS) + Main PID: 109600 (code=exited, status=0/SUCCESS) + CPU: 2.324s Jun 02 06:39:36 openclaw systemd[1]: Starting apt-daily-upgrade.service - Daily apt upgrade and clean activities... Jun 02 06:39:39 openclaw systemd[1]: apt-daily-upgrade.service: Deactivated successfully. Jun 02 06:39:39 openclaw systemd[1]: Finished apt-daily-upgrade.service - Daily apt upgrade and clean activities. Jun 02 06:39:39 openclaw systemd[1]: apt-daily-upgrade.service: Consumed 2.324s CPU time. ubuntu@openclaw:~$ ubuntu-bug apt-get *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .dpkg-query: no packages found matching apt-get - *** Problem in apt-get The problem cannot be reported: This report is about a package that is not installed. Press any key to continue... No pending crash reports. Try --help for more information. ubuntu@openclaw:~$ ubuntu-bug apt ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: apt 2.8.3 ProcVersionSignature: User Name 6.17.0-1014.14~24.04.1-oracle 6.17.13 Uname: Linux 6.17.0-1014-oracle aarch64 ApportVersion: 2.28.1-0ubuntu3.8 Architecture: arm64 CasperMD5CheckResult: unknown CloudArchitecture: aarch64 CloudBuildName: server CloudID: oracle CloudName: oracle CloudPlatform: oracle CloudSerial: 20260505 CloudSubPlatform: metadata (http://169.254.169.254/opc/v2/) Date: Tue Jun 23 16:35:14 2026 SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) ** Summary changed: - Apt-get locked for 20 days + Apt-get locked for 20 days. I dont have apt-get -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2158000 Title: Apt-get locked for 20 days. I dont have apt-get To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2158000/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
