Hello. It looks like the problem is still there. Is this an issue of core being too much for my device as I found out from @Aravisian from another topic ? And talking about that topic "Laptop locks itself again and again after being locked once" it looks like it got fixed.
The output of the above commands:
jeslin@jeslin-Satellite-L510:~$ sudo apt install gcc
[sudo] password for jeslin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version (4:9.3.0-1ubuntu2).
The following packages were automatically installed and are no longer required:
libcurl4 linux-headers-5.11.0-25-generic linux-hwe-5.11-headers-5.11.0-25
linux-image-5.11.0-25-generic linux-modules-5.11.0-25-generic
linux-modules-extra-5.11.0-25-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jeslin@jeslin-Satellite-L510:~$ sudo apt install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.8ubuntu1.1).
The following packages were automatically installed and are no longer required:
libcurl4 linux-headers-5.11.0-25-generic linux-hwe-5.11-headers-5.11.0-25
linux-image-5.11.0-25-generic linux-modules-5.11.0-25-generic
linux-modules-extra-5.11.0-25-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.



