Code: Select all
sudo apt update
... Reading state information... Done
All packages are up-to-date.
Code: Select all
sudo apt install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:9.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
viewtopic.php?f=47&t=349144
and
viewtopic.php?t=353624
and it seems that there is a bug
https://bugs.launchpad.net/ubuntu/+sour ... ug/1926918
I then found this
https://stackoverflow.com/questions/560 ... -install-g
but I am very hesitant about instructions like the ones suggested at the end of that post. I could blindly follow the instruction but I am trying to be cautious. I do not understand and don’t want to break my system.
Some info.
Code: Select all
$ inxi -Fxxxrz
System: Kernel: 5.4.0-84-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 wm: muffin 5.0.1
dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal
Machine: Type: Desktop System: HP-Pavilion product: FL230AA-ABU a6525.uk v: N/A serial: <filter> Chassis: Hewlett-Packard
type: 3 serial: <filter>
Mobo: N/A model: NARRA3 v: 3.02 serial: <filter> BIOS: Phoenix v: 5.13 date: 05/02/2008
CPU: Topology: Dual Core model: AMD Athlon 64 X2 4600+ bits: 64 type: MCP arch: K8 rev.F+ rev: 2 L2 cache: 1024 KiB
flags: lm nx pae sse sse2 sse3 svm bogomips: 9643
Speed: 1000 MHz min/max: 1000/2400 MHz Core speeds (MHz): 1: 1800 2: 1800
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] RV620 LE [Radeon HD 3450] vendor: Micro-Star MSI driver: radeon
v: kernel bus ID: 02:00.0 chip ID: 1002:95c5
Display: x11 server: X.Org 1.20.11 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: AMD RV620 (DRM 2.50.0 / 5.4.0-84-generic LLVM 12.0.0) v: 3.3 Mesa 21.0.3 compat-v: 3.0
direct render: Yes
Audio: Device-1: NVIDIA MCP61 High Definition Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus ID: 00:05.0 chip ID: 10de:03f0
Sound Server: ALSA v: k5.4.0-84-generic
Network: Device-1: NVIDIA MCP61 Ethernet vendor: Hewlett-Packard type: network bridge driver: forcedeth v: kernel port: ec00
bus ID: 00:07.0 chip ID: 10de:03ef
IF: enp0s7 state: down mac: <filter>
Device-2: Ralink RT5572 Wireless Adapter type: USB driver: rt2800usb bus ID: 1-2:3 chip ID: 148f:5572
serial: <filter>
IF: wlx48a9d29f38bc state: up mac: <filter>
Drives: Local Storage: total: 1.33 TiB used: 41.31 GiB (3.0%)
ID-1: /dev/sda vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB speed: 3.0 Gb/s serial: <filter> rev: 023
temp: 33 C scheme: MBR
ID-2: /dev/sdb vendor: Kingston model: SA400S37480G size: 447.13 GiB speed: 3.0 Gb/s serial: <filter> rev: 1103
temp: 24 C scheme: MBR
ID-3: /dev/sdc vendor: A-Data model: SU630 size: 447.13 GiB speed: 3.0 Gb/s serial: <filter> rev: 017a temp: 24 C
scheme: MBR
Partition: ID-1: / size: 50.44 GiB used: 8.72 GiB (17.3%) fs: ext4 dev: /dev/sda6
ID-2: /boot size: 2.75 GiB used: 314.4 MiB (11.2%) fs: ext4 dev: /dev/sda5
ID-3: /home size: 5.57 GiB used: 22.9 MiB (0.4%) fs: ext4 dev: /dev/sdb5
ID-4: /var size: 23.34 GiB used: 2.58 GiB (11.1%) fs: ext4 dev: /dev/sda7
Sensors: System Temperatures: cpu: 35.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb https://mirror.erickochen.nl/linuxmint/packages uma main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Info: Processes: 223 Uptime: 5h 48m Memory: 2.92 GiB used: 1.32 GiB (45.3%) Init: systemd v: 245 runlevel: 5 Compilers:
gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38