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)
Related
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
i am using ubuntu 14.04 .i am trying to install wine but getting following dependencies error .
I tried sudo apt-get install wine
I got this error-
The following packages have unmet dependencies:
wine : Depends: wine1.6 but it is not installable or
wine1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
then tried - sudo apt-get install wine1.7 and get this -
The following packages have unmet dependencies:
wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.44-0ubuntu1) but it is not going to be installed
Depends: wine1.7-i386 (= 1:1.7.44-0ubuntu1)
Recommends: fonts-horai-umefont but it is not installable
E: Unable to correct problems, you have held broken packages.
I tried then sudo apt-get install wine1.7-i386 but got this -
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:
wine1.7-i386:i386 : Depends: libmpg123-0:i386 (>= 1.13.7) but it is not installable
Depends: libopenal1:i386 (>= 1:1.13) but it is not installable
Depends: libopencl-1.1-1:i386 but it is not installable
Depends: ocl-icd-libopencl1:i386 (>= 1.0) but it is not installable or
libopencl1:i386
Recommends: libcapi20-3:i386 but it is not installable
Recommends: libgif4:i386 but it is not going to be installed
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libpcap0.8:i386 but it is not going to be installed
Recommends: libsane:i386 but it is not going to be installed
Recommends: libv4l-0:i386 but it is not going to be installed
Recommends: p11-kit-modules:i386 but it is not going to be installed
Recommends: unixodbc:i386
Recommends: wine-gecko2.34:i386 but it is not going to be installed
Recommends: wine-mono4.5.4:i386
E: Unable to correct problems, you have held broken packages.
I also tried -
sudo apt-get install -f
and got this
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
then tried sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
and then tried sudo apt-get update
and tried again but no luck .
and output for - dpkg --print-architectureis amd64
and for dpkg --print-foreign-architectures is i386
please help !!!
Thanks in advance !!
I'm trying to upgrade my kernel version from 2.6.32 to 3.2.0.0. When I try:
sudo apt-get install linux-image-3.16.0-4-amd64
I get the following error message:
linux-image-3.16.0-4-amd64 : Depends: linux-base (>= 3~) but 2.6.32-48squeeze6 is to be installed
Recommends: firmware-linux-free (>= 3~) but it is not going to be installed
Recommends: irqbalance but it is not going to be installed
Breaks: initramfs-tools (< 0.110~) but 0.98.8 is to be installed
I read that the problem has to do with having two kernel versions at once, so I tried the squeeze backports option. After adding the line:
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
to my /etc/apt/sources.list, and running the following command:
sudo apt-get install -t squeeze-backports linux-image-3.16.0-4-amd64
I get the same error message as above. Can someone explain to me what the problem is, and how I would proceed to install the new kernel?
By the way, when I type in sudo apt-get install -f, I have the following message:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libfuzzy-dev : Depends: libfuzzy2 (= 2.12-1) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
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.