I am using Ubuntu 14.04 64bit OS and I cannot install 32 bit libraries for Android studio. It shows my packages are broken.  I don't know how to install following code.  It shows dependency issue.  sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 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:  lib32bz2-1.0 : PreDepends: libc6-i386 (>= 2.9-18) but it is not going to be installed  lib32ncurses5 : Depends: lib32tinfo5 (= 5.9+20140118-1ubuntu1) but it is not going to be installed                  Depends: libc6-i386 (>= 2.4) but it is not going to be installed  lib32stdc++6 : Depends: lib32gcc1 (>= 1:4.1.1) but it is not going to be installed                 Depends: libc6-i386 (>= 2.17) but it is not going to be installed  lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed  Anyone can help me please.
121536
I am having dependency problems, whenever I do an apt-get install, I get this error message:    I already tried:   apt-get clean, update, upgrade, install -f dpkg --configure -a   What should I do now?
1311
For example:  $ sudo apt-get install curl 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: bsh : Depends: libjline-java but it is not going to be installed groovy : Depends: libjline-java but it is not going to be installed rhino : Depends: libjline-java but it is not going to be installed E: Unmet dependencies.   Try 'apt-get -f install' with no packages (or specify a solution).   I get the same or similar errors when I attempt to install clojure1.3, leiningen, and several other packages.   When I try the suggestion made in the error message, this is what happens:  $ sudo apt-get -f install  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   diffstat linux-headers-3.2.0-26-generic linux-headers-3.2.0-26 dh-apparmor dkms html2text libmail-sendmail-perl libsys-hostname-long-perl Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   libjline-java Suggested packages:   libjline-java-doc The following NEW packages will be installed:   libjline-java 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 23 not fully installed or removed. Need to get 0 B/72.0 kB of archives. After this operation, 129 kB of additional disk space will be used. Do you want to continue [Y/n]? Y (Reading database ... 226243 files and directories currently installed.) Unpacking libjline-java (from .../libjline-java_1.0-1_all.deb) ... dpkg: error processing /var/cache/apt/archives/libjline-java_1.0-1_all.deb (--unpack):  trying to overwrite '/usr/share/java/jline.jar', which is also in package scala 2.9.2-400 Errors were encountered while processing:  /var/cache/apt/archives/libjline-java_1.0-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)  $ sudo apt-get upgrade 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:  bsh : Depends: libjline-java but it is not installed  groovy : Depends: libjline-java but it is not installed  rhino : Depends: libjline-java but it is not installed E: Unmet dependencies. Try using -f.
30725
What is the role of dependencies while installing any software?I was installing vlc player and it were closed by giving me error something like check dependency .  What is to solution of this and how i'll get these dependencies??  Thanks in Advance.
77751
I began the ubuntu upgrade before leaving for work and returned to something broken.  After some efforts to get more information to fix this problem I've done the following:  &gt;sudo apt-get dist-upgrade 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:  ia32-libs : Depends: ia32-libs-multiarch but it is not installable  libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.6) but 2.19-10ubuntu2.3 is installed  libpcre3-dev : Depends: libpcre3 (= 1:8.31-2ubuntu2) but 1:8.35-3ubuntu1 is installed  skype : Depends: skype-bin but it is not installable E: Unmet dependencies. Try using -f.   So try -f...  &gt;sudo apt-get -f install Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following extra packages will be installed:   libc6-dbg libpcre3-dev libpcrecpp0 The following packages will be REMOVED:  ia32-libs skype The following packages will be upgraded:   libc6-dbg libpcre3-dev libpcrecpp0 3 upgraded, 0 newly installed, 2 to remove and 1649 not upgraded. 160 not fully installed or removed. Need to get 0 B/3,799 kB of archives. After this operation, 242 kB of additional disk space will be used. Do you want to continue? [Y/n] y E: Sub-process /usr/bin/dpkg returned an error code (2)   Check dpkg...  &gt;sudo dpkg dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'   Can someone advise please?
17076
(This question was not resolved. Due to time constraints Computer was restored to factory settings.)  I was attempting to upgrade from 14.04 to 16.04, but apt threw this error:  The required dependency 'apt (&gt;= 1.0.1ubuntu2.13)' is not installed.   What does this mean, and how can I fix it?  When I type in the command apt-cache policy apt  Shageenth@shageenth-Inspiron-3451:~$ apt-cache policy apt apt: Installed: 1.0.1ubuntu2.11 Candidate: 1.0.1ubuntu2.11 Version table: *** 1.0.1ubuntu2.11 0 100 /var/lib/dpkg/status 1.0.1ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64  Packages   The error happens when I run the command:   sudo do-release-upgrade -d   and it produces the following:  Checking for a new Ubuntu release Get:1 Upgrade tool signature [198 B] Get:2 Upgrade tool [1,265 kB] Fetched 1,265 kB in 0s (0 B/s) authenticate 'xenial.tar.gz' against 'xenial.tar.gz.gpg' extracting 'xenial.tar.gz'  Reading cache  Checking package manager Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done  Required depends is not installed  The required dependency 'apt (&gt;= 1.0.1ubuntu2.13)' is not installed.
4537
I installed Ubuntu 16 desktop a few weeks ago. Added Chrome and all fine. However now when I try sudo apt-get install ffmpeg, I get this error message:  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:  google-chrome-stable : Depends: libappindicator1 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   What's the problem and what should I do?
26308
I have a deb package for installation.  Shall I install by dpkg -i my.deb, or by apt?  Will both handle the software dependency problem well?  If by apt, how can I install from the deb by apt?
36344
I ran the following code and got this package needs these packages, now it also says these packages are suggested, and theses are recommended. How do I get those up to install as well.  myusuf3@purple:/etc$ sudo apt-get install virtualbox-4.0  Reading package lists... Done Building dependency tree        Reading state information... Done The following extra packages will be installed:   acroread ia32-libs lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32v4l-0 lib32z1 libaudio2   libc6-i386 libcurl3 libflac8 libhal1 liblcms1 libmng1 libogg0 libpulse0 libqt4-dbus libqt4-network libqt4-opengl   libqt4-xml libqtcore4 libqtgui4 libsdl-ttf2.0-0 libsdl1.2debian libsdl1.2debian-alsa libsndfile1 libv4l-0   libvorbis0a libvorbisenc2 libx11-xcb1 nspluginwrapper Suggested packages:   libldap2 libgnome-speech7 lib32asound2-plugins nas liblcms-utils pulseaudio qt4-qtconfig Recommended packages:   pdf-viewer The following NEW packages will be installed:   acroread ia32-libs lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32v4l-0 lib32z1 libaudio2   libc6-i386 libcurl3 libflac8 libhal1 liblcms1 libmng1 libogg0 libpulse0 libqt4-dbus libqt4-network libqt4-opengl   libqt4-xml libqtcore4 libqtgui4 libsdl-ttf2.0-0 libsdl1.2debian libsdl1.2debian-alsa libsndfile1 libv4l-0   libvorbis0a libvorbisenc2 libx11-xcb1 nspluginwrapper virtualbox-4.0 0 upgraded, 34 newly installed, 0 to remove and 26 not upgraded. Need to get 168MB of archives. After this operation, 460MB of additional disk space will be used.   Please and thank you
3379
I don't usually post on such forums, but I finally gave up on figuring out what's going on here and I need some help.  I need to install Adobe Reader. I am running Ubuntu 12.04 Precise x64 on Intel Core 2 Duo:   $ uname -a Linux Edison 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux   I get the following error by attempting to "sudo apt-get install acroread":   The following packages have unmet dependencies:  acroread : Depends: ia32-libs (>= 20080808) but it is not going to be installed             Depends: nspluginwrapper but it is not going to be installed E: Unable to correct problems, you have held broken packages.   If I try to install "sudo apt-get install ia32-libs", I get:   The following packages have unmet dependencies:  ia32-libs : Depends: ia32-libs-multiarch E: Unable to correct problems, you have held broken packages.   Finally, if I try to install "sudo apt-get install ia32-libs-multiarch", I get:   ia32-libs-multiarch:i386 : Depends: bluez-alsa:i386 but it is not going to be installed                             Depends: libgettextpo0:i386 but it is not going to be installed                             Depends: gstreamer0.10-plugins-base:i386 but it is not going to be installed                             Depends: gstreamer0.10-plugins-good:i386 but it is not going to be installed                             Depends: gtk2-engines:i386 but it is not going to be installed . . .   Does anyone have any idea what's going on?
46301
I am trying to install ia32-libs on Ubuntu 12.04 LTS (x86).  I enabled all the repository sources but I'm receiving the error message below:  ~$ sudo apt-get install ia32-libs   Reading package lists... Done   Building dependency tree          Reading state information... Done   Package ia32-libs 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    E: Package 'ia32-libs' has no installation candidate   output of sudo apt-cache policy ia32-libs    ia32-libs:     Installed: (none)     Candidate: (none)     Version table:     output of cat /etc/apt/sources.list  (removed similar hyperlinks)    deb http://archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe   deb-src archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe #Added by software-properties   deb security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse   deb-src security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse #Added by software-properties   deb archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse   deb-src archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse #Added by software-properties
4720
Please tell me the full process of installing Android Studio and its necessary dependencies.
101105
I have following problem. After upgrade to 13.04 I had problem with  mentioned here.  I followed almost all advices described there, finally removed QGIS (had 1.8 Lisboa) and added the Ubuntugis repository again:  $ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable $ sudo apt-get update $ sudo apt-get install qgis   But still have problem with broken dependencies:  Následující balíky mají nesplněné závislosti:  qgis : Závisí na: qgis-common (= 1.7.4+1.7.5~20120320-1.1) ale 1.8.0-1~quantal3 se bude instalovat         Doporučuje: qgis-plugin-grass ale nebude se instalovat         Doporučuje: python-qgis ale nebude se instalovat E: Nelze opravit problémy, některé balíky držíte v porouchaném stavu.   in English:  The following packages have broken dependencies:       qgis: Depends on: qgis-common (= 1.7.4 +1.7.5 ~ 20120320-1.1) but 1.8.0-1 ~ quantal3 will be installed              Recommended: qgis-plugin-grass but will not install              Recommended: python-qgis but will not install      E: Unable to correct problems, some packages you have in damaged state.   However I cannot fix it. I do not need Grass, but qgis-common seems to be important.  Any idea what I could do?  thanks
101888
I'm trying to install scipy and numpy on Ubuntu 16.04 but I keep getting the following error. Can anyone tell me how to install the dependencies?  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:  python-numpy : Depends: python:any (&gt;= 2.7.5-5~)  E: Unable to correct problems, you have held broken packages.
23887
First of all, I think this question is not duplicated, because I have tried all other solutions I found here, but nothing solved my problem.  I use Ubuntu 14.04 64 bit.  I have tried until now: sudo apt-get install skype -> It didn't work. The error was:   The following packages have unmet dependencies: skype : Depends: skype-bin E: Unable to correct problems, you have held broken packages.   I have tried sudo dpkg add-architecture &amp;&amp; sudo dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386.deb but it didn't work either. The error was:  dpkg: dependency problems prevent configuration of skype: skype depends on libqt4-dbus (&gt;= 4:4.5.3); however: Package libqt4-dbus is not installed. skype depends on libqt4-network (&gt;= 4:4.8.0); however: Package libqt4-network:i386 is not installed. skype depends on libqt4-xml (&gt;= 4:4.5.3); however: Package libqt4-xml:i386 is not installed. skype depends on libqtcore4 (&gt;= 4:4.7.0~beta1); however: Package libqtcore4:i386 is not installed. skype depends on libqtgui4 (&gt;= 4:4.8.0); however: Package libqtgui4:i386 is not installed. skype depends on libqtwebkit4 (&gt;= 2.2~2011week36); however: skype depends on libstdc++6 (&gt;= 4.2.1); however: Package libstdc++6:i386 is not installed. skype depends on libx11-6; however: Package libx11-6:i386 is not installed. skype depends on libxext6; however: Package libxext6:i386 is not installed. skype depends on libxss1; however: Package libxss1:i386 is not installed. skype depends on libxv1; however: Package libxv1:i386 is not installed. skype depends on dpkg: error processing package skype (--install): dependency problems - leaving unconfigured Processing triggers for hicolor-icon-theme (0.13-1) ... Processing triggers for gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.54ubuntu1) ... Errors were encountered while processing: skype   I have tried to use after sudo apt-get -f install but it didn't solve the issue.  I have tried to install by using Gdebi. The error was:  Cannot install 'libqtwebkit4:i386'   I have tried to install using Ubuntu Software Center. The error was:  Cannot install 'libqtwebkit4:i386'   I have tried changing the server in "Software and Updates". I have tried to use "Main Server" and "Servers for United States". But it couldn't solve my problem.  Anyone has any idea how to solve that?  SOLVED  Well, I formatted my pc and I installed Skype first of all. Probably another installation that I had done before the Skype installation was the problem, i guess.  Thanks people!
52275
There are many  about Unable to locate package.  For example : if user try to install package by using apt-get then the following error shown. (Here package is used only as example for displaying error message):  sudo apt-get install package Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package package   What does this error mean? How do I solve it?    provided General solution to understand and how to solve such type of error (which is helpful for new users that may unaware of repository-apt install mechanism)  Note : For resolving unmet-dependencies, visit: .
85469
I was trying to install all python packages using sudo apt install python3*, but it gave me this error: newtron@newtron:~$ sudo apt install python3* Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package python3*
9272
Every time I try to install "WINE" VIA the Software Center on Ubuntu 12.10, I get this error:  The following packages have unmet dependencies:  wine1.4: PreDepends: dpkg (&gt;= 1.15.7.2~) but 1.16.7ubuntu6 is to be installed          Depends: libc6 (&gt;= 2.14) but 2.15-0ubuntu20 is to be installed          Depends: wine1.4-amd64 (= 1.4.1-0ubuntu1) but 1.4.1-0ubuntu1 is to be installed          Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not going to be installed   When I try installing it VIA the terminal, this is what 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:  wine1.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not installable            Recommends: gnome-exe-thumbnailer but it is not going to be installed or                        kde-runtime but it is not going to be installed            Recommends: ttf-droid            Recommends: ttf-mscorefonts-installer but it is not going to be installed            Recommends: ttf-umefont but it is not going to be installed            Recommends: ttf-unfonts-core but it is not going to be installed            Recommends: winbind but it is not going to be installed            Recommends: winetricks but it is not going to be installed E: Unable to correct problems, you have held broken packages.   how do I fix this?