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.
Related
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 installed the latest version (V5.10) of MonoDevelop on Ubuntu V14.04.3. After installation I tried to install monodevelop-database, but the installation fails
sudo apt-get install monodevelop-database
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:
monodevelop-database : Depends: libmono-npgsql4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-data2.0-cil (>= 3.12.0) but it is not going to be installed
Depends: monodevelop (< 5.7.0.660.) but 5.10.0.871-0xamarin2 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried already install -f and update/upgrade commands, but that does not solve the issue. Does anyone know a solution?
Thanks in advance,
Jordy
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