sudo apt install --install-recommends winehq-stable 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:  winehq-stable : Depends: wine-stable (= 5.0.3~groovy) E: Unable to correct problems, you have held broken packages.
25359
I have followed all the instructions on .  In particular, I have run the following commands: sudo dpkg --add-architecture i386  wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'   The first three of the above seemed to work fine.  However, the last command gives me the following error: 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:  winehq-stable : Depends: wine-stable (= 5.0.0~bionic) E: Unable to correct problems, you have held broken packages.  I'm running Lubuntu 18.04.3 on a USB live stick.  (However, if I remember correctly, a couple days ago I got the exact same error on a normal hard disk Lubuntu 18.04.3 installation.) I've read that a lot of people get similar errors.  Unfortunately I haven't found any solutions online that worked. Any help would be much appreciated.  Thanks! EDIT:  Thanks for the comments and suggestions everyone.  I'll try them out later today. In the mean time, here's something I don't understand.  Ubuntu 18.04 has been around for almost two years now.  In all that time, surely somebody has successfully installed wine, right?  What did they do to get it working?
39495
From time to time, Ubuntu users encounter errors from  or , of the form:  The package some-package needs to be reinstalled, but I can't find an archive for it.  I want to know what causes this error so that I can reproduce it and try to find safe ways of fixing it, even when the broken package is important and has many dependencies.  of the  might give a bit of a clue, but I don't know how packages get the status that causes the error.  How can I produce this error for testing on my (Ubuntu MATE 17.10) system?  This is prompted by  and my long-standing discomfort with closing questions about this error against , whose answer uses dpkg --force-all to remove the offending package.  suggests this solution has worked for many users, but I am not confident that using --force-all won't cause later problems, or that it's a good idea to use this method to remove important packages like APT.
94503
The error looks like this:  Reading package lists... Done Building dependency tree        Reading state information... Done Package mysql-workbench 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 'mysql-workbench' has no installation candidate   How do I install it?
117042
I'm using Ubuntu GNOME 16.10 and was trying to install WPS Office. I tried to install using software centre But it wasn't installing without giving any error logs. Then I opened it with Gdebi installer. Here is what I saw.    I have already trying enabling multiverse repositories.  Edit: I have downloaded the amd64 package from the WPS official site, but even now installing through terminal I still get the missing dependencies error.
86154
There was an update for  today, and it wasn't installable due to unresolved dependencies. How can I correct this?
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?
5332
For a specific package, can I find out why it is installed?  So, can I see or it's manually installed, or that it is installed as a dependency of another package? Or that it is installed as part of the distro?
53225
. An update has been issued. If you still cannot install, ensure you have updated fully, and then restart your computer.   I am trying to install downloaded DEB packages. Each time, I see a warning like this:    And clicking install just loads and nothing changes.  This shows for all the packages I try and install. How can I install a package?
84889
I've been using my Canon MP550 printer for some Ubuntu versions now, and installation always worked:  $ sudo add-apt-repository ppa:michael-gruz/canon-trunk   $ sudo apt-get update   $ sudo apt-get install cnijfilter-mp550series   However, with a fresh 14.04 install I get this unmet dependency problem:  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  to resolve the situation:  The following packages have unmet dependencies:   cnijfilter-mp550series: i386: Depends: libtiff4: i386 (&gt; 3. 9. 5-3~) but   it is not installable E: Unable to correct problems, you have held   broken packages.
26432
Note: The legacy Skype for Linux application (v4.*) is now discontinued and was removed from Canonical’s partner repositories, so this question and its answers are obsolete. Please refer to  of our .    I am receiving the following message while I am trying to install Skype:  nidhin@ubuntu:~$ sudo apt-get update nidhin@ubuntu:~$ sudo apt-get install skype 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:  skype : Depends: skype-bin but it is not installable E: Unable to correct problems, you have held broken packages   How can I fix this?
619
I am looking for a step by step instruction to guide me in the ways of installing, configuring and debugging many of the issues new users have when dealing with Wine in Ubuntu.  What is the recommended way of installing Wine, some of the key issues that it has and how to solve them?  If I have a specific problem with an App in Wine, how do I go about solving it? What are the recommended steps to ensure that I can fix a problem related to an app I wish to use?
101753
Has anyone had any luck with getting QGIS working on Ubuntu 12.04? I have tried the stable and unstable versions and with not luck. I also get the following:  "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: qgis : Depends: qgis-providers (= 1.8.0-1~precise1) but 1.9.90+git20120502+6229eec~precise1 is to be installed     Depends: qgis-common (= 1.8.0-1~precise1) but 1.9.90+git20120502+6229eec~precise1 is to be installed     Recommends: qgis-plugin-globe but it is not going to be installed     Recommends: qgis-plugin-grass but it is not going to be installed E: Unable to correct problems, you have held broken packages."
23999
After installing Microsoft Windows Compatibility Layer (meta-package) i receive an error   Item cannot be installed or removed until the package catalogue is repaired. Do you want  to repair it     Ok, I thought... I'll just click repair and be done with it. After doing so I receive another error.    The full text reads:  installArchives() failed: (Reading database ...  (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 212945 files and directories currently installed.) Unpacking libasound2:i386 (from .../libasound2_1.0.25-1ubuntu10_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libasound2_1.0.25-1ubuntu10_i386.deb (--unpack):  './usr/share/alsa/cards/ICE1712.conf' is different from the same file on the system dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/libasound2_1.0.25-1ubuntu10_i386.deb Error in function:  SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1) dpkg: dependency problems prevent configuration of wine1.4-i386:i386:  wine1.4-i386:i386 depends on libasound2 (&gt;= 1.0.23); however:   Package libasound2:i386 is not installed. dpkg: error processing wine1.4-i386:i386 (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of wine1.4:  wine1.4 depends on wine1.4-i386 (= 1.4-0ubuntu4); however:   Package wine1.4-i386 is not installed.   Package wine1.4-i386:i386 is not configured yet. dpkg: error processing wine1.4 (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of wine:  wine depends on wine1.4; however:   Package wine1.4 is not configured yet. dpkg: error processing wine (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of wine1.4-common:  wine1.4-common depends on wine1.4 (= 1.4-0ubuntu4); however:   Package wine1.4 is not configured yet. dpkg: error processing wine1.4-common (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of wine1.4-amd64:  wine1.4-amd64 depends on wine1.4-common (= 1.4-0ubuntu4); however:   Package wine1.4-common is not configured yet. dpkg: error processing wine1.4-amd64 (--configure):  dependency problems - leaving unconfigured   So I click OK and now I'm back to previous screen ("Item cannot be installed ...")  I click on cancel and go to the red circle on the top right on my screen and try to update from there and receive this error    After that I just get thrown these errors        So now I can't add or remove any programs on my system. Does anyone have any idea how to fix this?
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: .
54801
I tried to watch a dvd and found that VLC was not installed. When I went to the Ubuntu software center I got this message when trying to install VLC. I do not know why. Here's the ouput:  "This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.  The following packages have unmet dependencies:  vlc: Depends: vlc-nox (= 2.1.4-0ubuntu14.04.1) but 2.1.4-0ubuntu14.04.1 is to be installed      Depends: libc6 (&gt;= 2.15) but 2.19-0ubuntu6.4 is to be installed      Depends: libfreetype6 (&gt;= 2.2.1) but 2.5.2-1ubuntu2.2 is to be installed      Depends: libgcc1 (&gt;= 1:4.1.1) but 1:4.9.1-0ubuntu1 is to be installed      Depends: libqtcore4 (&gt;= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed      Depends: libqtgui4 (&gt;= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed      Depends: libstdc++6 (&gt;= 4.6) but 4.8.2-19ubuntu1 is to be installed      Depends: zlib1g (&gt;= 1:1.2.3.3) but 1:1.2.8.dfsg-1ubuntu1 is to be installed"   Thanks in advance for any help.
100553
I am unable to apt-get install any packages because E: Package '&lt;package name&gt;' has no installation candidate. Unlike the other similarly named questions, I am using debian and I have not been able to get any packages to work due to the same error. apt is still able to list repositories. I have updated, upgraded, rebooted, and repeated after my attempts at fixing sources.list, but nothing has worked.  For example,  $ sudo apt-get install nodejs Reading package lists... Done Building dependency tree        Reading state information... Done Package nodejs 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 'nodejs' has no installation candidate   Running $ find /etc/apt/ -path *.list | xargs cat produces:  #------------------------------------------------------------------------------# #                   OFFICIAL DEBIAN REPOS                     #------------------------------------------------------------------------------#  ###### Debian Main Repos deb http://ftp.us.debian.org/debian/ jessie main contrib non-free  deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free   ###### Debian Update Repos deb http://security.debian.org/ jessie/updates main contrib non-free  deb http://ftp.us.debian.org/debian/ jessie-proposed-updates main contrib non-free  deb-src http://security.debian.org/ jessie/updates main contrib non-free  deb-src http://ftp.us.debian.org/debian/ jessie-proposed-updates main contrib non-free    deb http://archive.raspberrypi.org/debian/ jessie main ui # Uncomment line below then 'apt-get update' to enable 'apt-get source' deb-src http://archive.raspberrypi.org/debian/ jessie main ui deb https://dev2day.de/pms/ jessie main deb http://dl.bintray.com/openhab/apt-repo stable main
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!