I am trying to install Audacity on Ubuntu 18.04 but get errors about dependency
rafal@asus:~$ sudo apt install audacity
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:
audacity : Depends: libavcodec58 (>= 10:4.2.1) but it is not going to be installed
Depends: libavformat58 (>= 10:4.2.1) but it is not going to be installed
Depends: libavutil56 (>= 10:4.2.1) but it is not going to be installed
Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
Depends: libportsmf0 but it is not installable
Depends: libsoundtouch1 (>= 2.0.0) but it is not going to be installed
Depends: libsuil-0-0 (>= 1:0.10.6) but it is not going to be installed
Depends: libtwolame0 (>= 1:0.4.0) but 0.3.13-3 is to be installed
Depends: libwxgtk3.0-gtk3-0v5 (>= 3.0.4+dfsg-10~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
how can I solve it? I was not able to find any good answer in internet
audacity
come from? It wasn't intended for 18.04 as thelibc6
being asked for is 19.04 release or higher (https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=libc6) so your sources have been polluted with non-bionic components, or you grabbed the wrongaudacity
(https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=audacity) I would suggestapt-cache policy audacity libc6
and adding answer to your question. – guiverc Jan 19 '20 at 22:03