Whenever I execute apt update
or any other apt
command, the process appears to be running in the background, but no output is displayed in the terminal. After some time, the system runs out of memory, resulting in an "out of memory" error. This behavior occurs consistently, regardless of whether I am installing or removing packages.
Steps Taken So Far:
- Checked system resource usage: Monitored CPU, memory, and disk utilization using "top" and confirmed that no other processes were consuming excessive resources.
- Reviewed system logs: Examined the system logs using "dmesg" and "journalctl" but found no relevant error messages or warnings related to the
apt
issue.
- Verified available disk space: Confirmed that sufficient disk space is available on the system using
df -h
.
- Attempted alternative package managers: Tried using "aptitude" and "apt-get" instead of "apt," but encountered the same issue of blank output and high resource utilization.
- Reinstalled package management tools: Reinstalled the
apt
via dpkg
However, the issue persisted even after the reinstallation.
- Removed all repos and tried using the default
sources.list
Additional Information:
Operating System: Ubuntu 20.04 LTS
System Architecture: x86_64
Kernel: 5.4.0-139-generic