Apt-get, packages and apt-mark runnig continuously

Hello
when I run the command top in a shell, I observe that atp-get, packages and apt-mark run in turn using 100% cpu. ( It’s not the same pid each time; so it’s not a crash). And moreover, the automatic update has been disabled in cockpit.

How to find the service who launch this
Olivier

Information

  • FreedomBox version: Vous utilisez Raspbian GNU/Linux 11 (bullseye) et la version 21.4.4 de FreedomBox. Votre FreedomBox est à jour.* Hardware: raspi3
  • How did you install FreedomBox?: dont remember

Automatic upgrades in freedombox are done using ‘unattended-upgrades’. This is control from the FreedomBox interface in System → Updates. The automatic updates option in Cockpit is likely related to packagekit (not installed in FreedomBox). Disabling automatic updates is not recommended unless you plan to handle security updates manually.

Also check the reason why apt is taking 100% CPU. Could indicate a different problem. Perhaps run upgrade manually from FreedomBox interface to check.

My FreedomBox is grinding through the Buster to Bullseye release upgrade today. I’m seeing high CPU usage as well, but I think it’s just related to the update. I do not have a fast CPU. It will take some time.

@sunil, I was pleased to see the notification that this upgrade for my Buster stable install was in progress. I’ve never upgraded a Debian release, and I’m glad this has been automated. My thanks to the FreedomBox team for this - I’ll leave the details to you.

1 Like

Update: CPU back to normal and the update completed with reboot last night.

Flawless, @jvalleroy.

$ cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian
HOME_URL=“https://www.debian.org/
SUPPORT_URL=“Debian -- User Support
BUG_REPORT_URL=“https://bugs.debian.org/

1 Like