I am using Ubuntu 20.04 LTS and I have been trying to get up and run the C programs in codeblocks IDE and it keeps getting me this following error.
Checking for existence: /media/darkpheonix/dptech/dptech/Projects/C/techtheory/bin/Debug/techtheory
Set variable: LD_LIBRARY_PATH=.:
Executing: xterm -T techtheory -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=:. /media/darkpheonix/dptech/dptech/Projects/C/techtheory/bin/Debug/techtheory (in /media/darkpheonix/dptech/dptech/Projects/C/techtheory/.)
Process terminated with status -1 (0 minute(s), 0 second(s))
I tried sudo apt-get update
and sudo apt-get upgrade
Then tried installing the build essential packages from the main server. sudo apt-get install build-essentials
.
This keep getting me following error.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'build-essential' has no installation candidate
I tried different sources but doesn't seem to solve this issue. Please help