GTK 3.0 development libraries are required for Linux development - flutter-dependencies

I am setting flutter in my parrot os. when i run the command "flutter doctor". It shows
GTK 3.0 development libraries are required for Linux development They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
But when I try to install it , it shows
sudo apt install libgtk-3-dev
Reading package lists... Done
Building dependency tree... Done
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:
libatk-bridge2.0-dev : Depends: libatk-bridge2.0-0 (= 2.38.0-1) but 2.38.0-4~bpo11+1 is to be installed
Depends: libatspi2.0-dev but it is not going to be installed
libatk1.0-dev : Depends: libatk1.0-0 (= 2.36.0-2) but 2.38.0-1~bpo11+1 is to be installed
Depends: gir1.2-atk-1.0 (= 2.36.0-2) but 2.38.0-1~bpo11+1 is to be installed
libepoxy-dev : Depends: libepoxy0 (= 1.5.5-1) but 1.5.8-1~bpo11+1 is to be installed
E: Unable to correct problems, you have held broken packages.
I also tried to download each dependency separately but the problem still persist.
sudo apt install libepoxy0=1.5.8-1~bpo11+1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libepoxy0 is already the newest version (1.5.8-1~bpo11+1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
sudo apt install gir1.2-atk-1.0=2.38.0-1~bpo11+1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gir1.2-atk-1.0 is already the newest version (2.38.0-1~bpo11+1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
sudo apt install libatk1.0-0=2.38.0-1~bpo11+1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libatk1.0-0 is already the newest version (2.38.0-1~bpo11+1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
sudo apt install libatk-bridge2.0-0=2.38.0-4~bpo11+1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libatk-bridge2.0-0 is already the newest version (2.38.0-4~bpo11+1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
please help me

Related

spa/meson.build:29:4: ERROR: Dependency "bluez" not found, tried pkgconfig and cmake while installing PIPEWIRE in Ubuntu 16.04

I am trying to install Pipewire in my Ubuntu 16.04 x86 amd64 machine using instructions found here : https://pipewire.org/#getting
./autogen.sh --prefix=$PREFIX
On running the above command, I get this error
spa/meson.build:29:4: ERROR: Dependency "bluez" not found, tried pkgconfig and cmake
I have installed bluez already. This is the output for running
**sudo apt-get install bluez**
Reading package lists... Done
Building dependency tree
Reading state information... Done
bluez is already the newest version (5.37-0ubuntu5.3).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
The files that are required to do development on top of a package are often separate (since this is really only needed by developers, and would take up too much size for no reason otherwise).
In your case, the package you're looking for is libbluetooth-dev. So you can do sudo apt install libbluetooth-dev

How to install mod_mono on Debian 10

I want to run ASP.NET MVC application in Debian 10 with Apache.
I have installed latest mono from mono Debian 10 repository using apt.
Trying to install mod_modo using
apt install libapache2-mod-mono
throws error
> 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: libapache2-mod-mono :
> Depends: mono-apache-server (< 4.6) but 4.7.1-0xamarin2+debian10b1 is
> to be installed or
> mono-apache-server4 (< 4.6) but 4.7.1-0xamarin2+debian10b1 is to be installed or
> mono-apache-server2 (< 4.6) but it is not installable
> E: Unable to correct problems, you have held broken
> packages.
How to install mod_mono on Debian 10 ?
/etc/apache2/mods-available contans mod_mono.
Maybe it is sufficient to enable it in apache to get it work ?
/etc/sources.list contains:
deb http://ftp.debian.org/debian buster main contrib non-free
deb http://ftp.debian.org/debian buster-updates main contrib non-free
deb http://security.debian.org buster/updates main contrib non-free
/etc/apt/sources.list.d contains two files:
mono-official-stable-list:
deb https://download.mono-project.com/repo/debian stable-buster main
and pgdg.list:
deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main
#deb-src http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main
Update
I tried commands from GAD3R answer.
apt install libapache2-mod-mono
still fails. Error message is a bit different:
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Hit:4 http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
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:
libapache2-mod-mono : Depends: mono-apache-server (< 4.4) but 4.7.1-0xamarin2+debian10b1 is to be installed or
mono-apache-server4 (< 4.4) but 4.7.1-0xamarin2+debian10b1 is to be installed
E: Unable to correct problems, you have held broken packages.
Install libapache2-mod-mono from the official debian repository.
sudo rm /etc/apt/sources.list.d/mono-official-stable.list
Then run :
sudo apt update
sudo apt purge mono.
sudo apt autoremove
sudo apt install libapache2-mod-mono
please file a bug report to mono dev team on github.

zeroc-ice34 has been comiled and installed but it can not be detected when install a debian package

I'm using Ubuntu16.04 and trying install a package named "nrt" through "apt-get install".
The output after running "sudo apt-get install nr" is as follows:
The following packages have unmet dependencies:
nrt : Depends: libboost1.48-all-dev but it is not installable
Depends: zeroc-ice34 but it is not installable
Depends: libzeroc-ice34-dev but it is not installable
E: Unable to correct problems, you have held broken packages.
I have managed to compile and install ice3.4.0. And I have added the corresponding paths to "PATH". However, it still complained that zeroc-ice34 is not installable.
The default boost version on my computer is 1.54 but "nrt" needs boost-1.48.
How can I deal with this problem? Is there some way to switch default boost version?

Apache 2.4.7 mod-mono won't install ubuntu 14.04

Recently reinstalled my computer with Ubuntu 14.04.
This pc is to be used to develop ASP.NET mono applications.
So I installed the latest 3.12.0 version of Mono.
Also installed Apache2 (2.4.7 is the latest).
Last thing is to install Mod_Mono. This is where it fails.
sudo apt-get install libapache2-mod-mono
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:
libapache2-mod-mono : Depends: apache2.2-common but it is not installable
E: Unable to correct problems, you have held broken packages.
So I tried to install apache2.2-common but that does not exist, there is only a apache2.2-bin. I installed that and it still did not solve my problem.
sudo apt-get install apache2.2-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache2.2-common 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
However the following packages replace it:
apache2-bin:i386 apache2:i386 apache2-data apache2-bin apache2
E: Package 'apache2.2-common' has no installation candidate
Any suggestions to what I can do so I can host my Mono application through apache2?
Solved this issue by installing Apache 2.2.22.
Had a bit of trouble doing that, but finally installed it running this command.
sudo apt-get install apache2=2.2.22-1ubuntu1.7 apache2.2-common=2.2.22-1ubuntu1.7 apache2.2-bin=2.2.22-1ubuntu1.7 apache2-mpm-worker=2.2.22-1ubuntu1.7
Note: you need to add the precise repository to your software sources, else you won't have the package available to install.

when installing mono getting various errors?

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 resolve the situation:
I have installed mono.But later when trying to install xsp4 accidentally gave for the removal of some files. After that am not able to install anything. What ever i try to install it is saying this depends on that that depends on this. Please help.
The following packages have unmet dependencies:
mono-devel : Depends: libmono-system-runtime4.0-cil (>= 2.10.1) but it is not going to be installed
Depends: libmono-system-servicemodel4.0a-cil (>= 3.2.3) but it is not going to be installed
Depends: libmono-system-web-services4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-web2.0-cil (>= 2.10.3) but it is not going to be installed
Depends: libmono2.0-cil (>= 3.6.0) but it is not going to be installed
Depends: libmono-cil-dev (= 3.10.0-0xamarin2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried the following had happened
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 resolve the situation:
The following packages have unmet dependencies:
libgtk2.0-cil : Depends: libcairo2 (>= 1.12.0) but 1.10.2-6.1ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.
root#saasbook:~/monodevelop# apt-get install libcairo2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcairo2 is already the newest version.
The following packages were automatically installed and are no longer required:
libmono-web4.0-cil libglade2-0 libmono-opensystem-c4.0-cil mono-dmcs
libwebkitgtk-1.0-common libwebkitgtk-1.0-0 libjavascriptcoregtk-1.0-0
mono-gmcs
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 364 not upgraded.
root#saasbook:~/monodevelop# ^C
root#saasbook:~/monodevelop#
eventhough I have libcairo2 it is saying not found.. what can i do?