I'm trying to install Monodevelop from http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives.
I'm using a virtual Box VM via Vagrant with an Ubuntu Precise 64 Guest OS
I have done this steps :
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
At this point, all seems OK.
But when I want to install the first package "mono-devel" by typing
sudo apt-get install mono-devel
I have the following error message
vagrant#precise64:~$ sudo apt-get install mono-devel
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:
mono-devel : Depends: libgdiplus (>= 2.6.7) but it is not going to be installed
Depends: libmono-system-design4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-drawing4.0-cil (>= 3.0.6) but it is not going to be installed
Depends: libmono-system-messaging4.0-cil (>= 2.10.1) but it is not going to be installed
Depends: libmono-system-runtime4.0-cil (>= 2.10.1) but it is not going to be installed
Depends: libmono-system-servicemodel-activation4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-servicemodel-web4.0-cil (>= 3.2.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-serviceprocess4.0-cil (>= 3.0.6) but it is not going to be installed
Depends: libmono-system-web-extensions4.0-cil (>= 2.10.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-web-webpages-razor2.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-web-webpages2.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-web4.0-cil (>= 2.10.3) but it is not going to be installed
Depends: libmono-system-windows-forms4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-cil-dev (= 4.4.1.0-0xamarin1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
vagrant#precise64:~$ lsb_release
No LSB modules are available.
vagrant#precise64:~$ cat /etc/issue
Ubuntu 12.04.5 LTS \n \l
I have also tried doing a "sudo apt-get upgrade" without any success.
I thought that apt could also download and install all package dependencies. Why the libraries files mentioned in the error message can't be loaded ?
How to solve the problem ? Is there a mistake somewhere ?
As SushiHangover advises me in the answer below, I have also tried to install libgdiplus but there is also an error message :
vagrant#precise64:~$ sudo apt-get install libgdiplus
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:
libgdiplus : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is to be installed
Depends: libtiff5 (> 4.0.0-1~) but it is not installable
E: Unable to correct problems, you have held broken packages.
After manually installed libtiff5 package :
vagrant#precise64:/vagrant$ sudo apt-get install libgdiplus
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgdiplus : Depends: libcairo2 (>= 1.4) but it is not going to be installed
Depends: libexif12 but it is not going to be installed
Depends: libfontconfig1 (>= 2.9.0) but it is not going to be installed
Depends: libgif4 (>= 4.1.4) but it is not going to be installed
Depends: libjpeg8 (>= 8c) but it is not going to be installed
Depends: libxrender1 but it is not going to be installed
libtiff5 : Depends: libjbig0 (>= 2.0) but it is not installable
Depends: libjpeg8 (>= 8c) but it is not going to be installed
Depends: liblzma5 (>= 5.1.1alpha+20120614) but 5.1.1alpha+20110809-3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Try running this:
sudo apt-get install libgdiplus
If it results in:
~~~
libgdiplus : Depends: libjpeg62-turbo (>= 1.3.1) but it is not installable
~~~
Then you need to get the older libjpeg62 package:
wget http://ftp.br.debian.org/debian/pool/main/libj/libjpeg6b/libjpeg62_6b2-2_amd64.deb
sudo dpkg --install --recursive --auto-deconfigure libjpeg62_6b2-2_amd64.deb
Now you can:
sudo apt-get install mono-devel
sudo apt-get install monodevelop
New mono versions need libtiff5 package version >=4.0, and Ubuntu 12.x hasn't this package.
But this package version depends on other new packages or existing packages with newer versions...
There is a working solution (on amd64 platform):
wget http://mirrors.kernel.org/ubuntu/pool/main/f/fonts-freefont/fonts-freefont-ttf_20120503-4_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/f/fonts-freefont/ttf-freefont_20120503-4_all.deb
wget http://security.ubuntu.com/ubuntu/pool/main/f/fontconfig/fontconfig-config_2.11.0-0ubuntu4.2_all.deb
wget http://security.ubuntu.com/ubuntu/pool/main/f/fontconfig/libfontconfig1_2.11.0-0ubuntu4.2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/j/jbigkit/libjbig0_2.1-3.1_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/x/xz-utils/liblzma5_5.1.1alpha+20120614-2ubuntu2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/t/tiff/libtiff5_4.0.6-1_amd64.deb
sudo dpkg --install --recursive --auto-deconfigure fonts-freefont-ttf_20120503-4_all.deb
sudo dpkg --install --recursive --auto-deconfigure ttf-freefont_20120503-4_all.deb
sudo dpkg --install --recursive --auto-deconfigure fontconfig-config_2.11.0-0ubuntu4.2_all.deb
sudo dpkg --install --recursive --auto-deconfigure libfontconfig1_2.11.0-0ubuntu4.2_amd64.deb
sudo dpkg --install --recursive --auto-deconfigure libjbig0_2.1-3.1_amd64.deb
sudo dpkg --install --recursive --auto-deconfigure liblzma5_5.1.1alpha+20120614-2ubuntu2_amd64.deb
sudo dpkg --install --recursive --auto-deconfigure libtiff5_4.0.6-1_amd64.deb
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-devel
Related
When I run
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get -u dist-upgrade
sudo dpkg --configure -a
sudo apt --fix-broken install
sudo apt-get install libspeechd-dev:i386 libpulse-dev:i386
I get the following error
The following packages have unmet dependencies:
libpulse-dev:i386 : Depends: libpulse-mainloop-glib0:i386 (= 1:13.99.1-1ubuntu3.13) but it is not going to be installed
Depends: libglib2.0-dev:i386 but it is not going to be installed
libspeechd-dev:i386 : Depends: libspeechd2:i386 (= 0.9.1-4) but it is not going to be installed
Depends: libglib2.0-dev:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I've tried every solution I found online but nothing worked.
When I tried to remove python3.5 on ubuntu, it always reports error
sudo apt-get remove python3.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python3-commandnotfound : Depends: python3-gdbm but it is not going to be installed
python3-pip : Depends: python-pip-whl (= 1.5.4-1ubuntu4) but it is not going to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
python3-software-properties : Depends: unattended-upgrades but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
In this case, I tried to reinstall the dependence, but finally, it always reports like
python3-commandnotfound : Depends: python3-gdbm but it is not going to be installed
python3-pip : Depends: python-pip-whl (= 1.5.4-1ubuntu4) but it is not going to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
I also tried apt-get remove/reinstall/autoremove/update/upgrade, but it deosn't work. I can see the same error finally. The dependence file is not going to be installed.
It looks I'm in a dead loop. How can I remove everything manually?
I tried Install Older Version of Mono
but it does not help
here is what I run
sudo apt-get purge mono-devel
echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.2.4.4 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install -f mono-devel=4.2.4.4-0wheezy1
But when I run the last command I get:
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:
mono-devel : Depends: libmono-cecil-private-cil (< 4.2.4.5) but 5.0.0.100-0xamarin4+raspbian8b1 is to be installed
Depends: mono-mcs (= 4.2.4.4-0wheezy1) but 5.0.0.100-0xamarin4+raspbian8b1 is to be installed
Depends: mono-gac (= 4.2.4.4-0wheezy1) but 5.0.0.100-0xamarin4+raspbian8b1 is to be installed
Depends: mono-xbuild (= 4.2.4.4-0wheezy1) but 5.0.0.100-0xamarin4+raspbian8b1 is to be installed
Depends: libmono-cil-dev (= 4.2.4.4-0wheezy1) but 5.0.0.100-0xamarin4+raspbian8b1 is to be installed
Depends: libmono-2.0-dev (< 4.2.4.4-0wheezy1.1~) but 5.0.0.100-0xamarin4+raspbian8b1 is to be installed
Recommends: mono-csharp-shell but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I think it has something to do with then I run sudo apt-update I get the following as the last two lines:
W: GPG error: http://debian.yeasoft.net wheezy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40FC0CD26BF18B15
W: Conflicting distribution: http://download.mono-project.com wheezy/snapshots/4.2.4.4 InRelease (expected wheezy/snapshots but got wheezy)
I am trying to install Curb using command apt-get install libcurl4-openssl-dev
on Linux 14.04
Detail below
apt-get install libcurl4-openssl-dev
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:
libcurl4-openssl-dev : Depends: libidn11-dev but it is not
installable
Depends: libkrb5-dev but it is not going to be installed
Depends: libldap2-dev but it is not installable
Depends: librtmp-dev but it is not installable
Depends: libssl-dev but it is not going to be installed
Depends: zlib1g-dev but it is not installable
E: Unable to correct problems, you have held broken packages.
I am trying to compile vpnshrew with CMAKE on linux mint.
However QT4 is missing and I have already tried everything with no success. The starting line it's this dependency error:
$ sudo apt-get install libqt4-core
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:
libqt4-core : Depends: libqt4-dbus (= 4:4.8.3+dfsg-0ubuntu3) but it is not going to be installed
Depends: libqt4-network (= 4:4.8.3+dfsg-0ubuntu3) but it is not going to be installed
Depends: libqt4-script (= 4:4.8.3+dfsg-0ubuntu3) but it is not going to be installed
Depends: libqt4-test (= 4:4.8.3+dfsg-0ubuntu3) but 4:4.8.3+dfsg-0ubuntu3.1 is to be installed
Depends: libqt4-xml (= 4:4.8.3+dfsg-0ubuntu3) but 4:4.8.3+dfsg-0ubuntu3.1 is to be installed
Depends: libqtcore4 (= 4:4.8.3+dfsg-0ubuntu3) but 4:4.8.3+dfsg-0ubuntu3.1 is to be installed
E: Unable to correct problems, you have held broken packages.
I have already tried lots of solutions. Namely
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update
Thanks in advance for any help.
Try sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui.