unable to install wine in ubuntu14.04 and getting dependencies error - ubuntu-14.04

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 !!

Related

Error in the installation of the Qemu in Debain 10

I am trying to write the ARM assembly programs compiling them using the GNU toolchain and execute and test them in Qemu. My host os is Windows 7 and I perform these operations in the virtual machine Debian 10.
For installing Qemu used the command steps followed
apt-get update && apt-get upgrade.
apt-get install qemu
root#debian:~# apt-get install qemu
Reading package lists... Done
Building dependency tree
Reading state information... Done
qemu is already the newest version (1:3.1+dfsg-8+deb10u5).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
apt-get install qemu-system-arm qemu
root#debian:~# apt-get install qemu-system-arm qemu
Reading package lists... Done
Building dependency tree
Reading state information... Done
qemu is already the newest version (1:3.1+dfsg-8+deb10u5).
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:
qemu-system-arm : Depends: libaio1 (>= 0.3.93) but it is not installable
Depends: libcapstone3 (>= 3.0.0) but it is not installable
Depends: libfdt1 but it is not installable
Depends: libspice-server1 (>= 0.13.1) but it is not installable
Depends: libvdeplug2 but it is not installable
Depends: libvirglrenderer0 (>= 0.7.0) but it is not installable
Recommends: qemu-system-gui (= 1:3.1+dfsg-8+deb10u5) but it is not going to be installed
Recommends: qemu-utils but it is not going to be installed
Recommends: ipxe-qemu (>= 1.0.0+git-20131111.c3d1e78-1~) but it is not installable
Recommends: qemu-efi-aarch64 but it is not installable
Recommends: qemu-efi-arm but it is not installable
E: Unable to correct problems, you have held broken packages.
try to enter:
"apt install -f"
It should help you

unable to uninstall python3.5 on ubuntu

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?

Installing Older version of Mono Raspbian

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)

Unable to install Curb on Linux 14.04 using apt-get install libcurl4-openssl-dev

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.

can't install QT4 on linux Mint

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.

Resources