I can't update the patches below . I get an error. How to solve this?  Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f Transaction failed: The package system is broken  The following packages have unmet dependencies:  libqt5quick5: Depends: libqt5qml5 (&gt;= 5.12.4) but it is not installed               Depends: qtbase-abi-5-12-8 but it is a virtual package               Depends: qtdeclarative-abi-5-12-8 but it is a virtual package libqt5webchannel5: Depends: libqt5core5a (&gt;= 5.12.8+dfsg~) but 5.12.8+dfsg-0ubuntu1 is installed                    Depends: libqt5qml5 (&gt;= 5.12.4) but it is not installed                    Depends: qtbase-abi-5-12-8 but it is a virtual package libqt5webkit5: Depends: libicu66 (&gt;= 66.1-1~) but 66.1-2ubuntu2 is installed                Depends: libjpeg8 (&gt;= 8c) but 8c-2ubuntu8 is installed                Depends: libqt5qml5 (&gt;= 5.12.4) but it is not installed                Depends: libstdc++6 (&gt;= 9) but 10-20200411-0ubuntu1 is installed                Depends: qtbase-abi-5-12-8 but it is a virtual package                Depends: qtdeclarative-abi-5-12-8 but it is a virtual package                Depends: zlib1g (&gt;= 1:1.2.0) but 1:1.2.11.dfsg-2ubuntu1 is installed
507
There are now errors when updating and I cannot install most software due to a corrupted  /etc/apt/sources.list   file. Is there a copy I can download to replace it?  The file would be for Ubuntu 12.04 (Final Beta) in the United States.
102164
I can't say what steps brought me into this:  → sudo apt-get upgrade  Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y dpkg: error processing libtiff4 (--configure):  libtiff4:i386 3.9.5-1ubuntu1.1 cannot be configured because libtiff4:k386 is in a different version (3.9.5-1ubuntu1) Errors were encountered while processing:  libtiff4 E: Sub-process /usr/bin/dpkg returned an error code (1)   The following commands all end up in the same error:  sudo apt-get install -f sudo dpkg --configure -a sudo apt-get --fix-broken install sudo apt-get --fix-missing install sudo apt-get clean sudo apt-get autoclean sudo apt-get autoremove   How to solve these kind of problems? And what did I do wrong?  UPDATE I managed to get apt working again by downgrading to previous version (3.9.5-1ubuntu1). However, next upgrade led to the same problem. But there is more info now:  (Reading database ...  dpkg: warning: files list file for package `libtiff4:k386' missing, assuming package has no files currently installed. (Reading database ... 281166 files and directories currently installed.) Preparing to replace libtiff4 3.9.5-1ubuntu1 (using .../libtiff4_3.9.5-1ubuntu1.1_i386.deb) ... Unpacking replacement libtiff4 ... dpkg: error processing libtiff4 (--configure):  libtiff4:i386 3.9.5-1ubuntu1.1 cannot be configured because libtiff4:k386 is in a different version (3.9.5-1ubuntu1) No apport report written because MaxReports is reached already                                                               Errors were encountered while processing:  libtiff4   So the real problem seems to be the missing libtiff4:k386 package. And k386 seems like a stupid typo somewhere.  I tracked down the file that introduces the typo:  **/var/lib/dpkg/status**  Package: libtiff4 Status: install ok half-configured Multi-Arch: same Priority: optional Section: libs Installed-Size: 528 Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt; Architecture: k386 Source: tiff Version: 3.9.5-1ubuntu1 Config-Version: 3.9.5-1ubuntu1 Depends: libc6 (&gt;= 2.11), libjpeg62 (&gt;= 6b1), zlib1g (&gt;= 1:1.1.4) Pre-Depends: multiarch-support Description: Tag Image File Format (TIFF) library  libtiff is a library providing support for the Tag Image File Format  (TIFF), a widely used format for storing image data.  This package  includes the shared library. Homepage: http://libtiff.maptools.org Original-Maintainer: Jay Berkenbilt &lt;qjb@debian.org&gt;   Fixing the typo solves the problem.
29497
After I installed Ubuntu , I cannot update any software with the error message "failed to download package files". After having googled, I have tried:   sudo apt-get update sudo apt-get upgrade changed to another sources   But I still got the same error message. And there is no problem with internet connection as i can connect to internet using Firefox in Ubuntu.  Any ideas?
52854
Similar questions have been asked already but none of them have solved my problem:  I need to install a package on a standalone Linux box, specifically kdbg. Now I tired the command   sudo apt-get install --download-only kdbg   on a box connected to the internet, but it only downloads the package and dependencies that I don't have installed. Some of those dependencies (that command downloaded 117 total packages) have sub dependencies, and those sub dependencies have even more dependencies and I'm going down a rabbit hole trying to fish those packages out of the repo.  Now I tried using a couple of other commands that supposedly will download all dependencies, even the ones I have installed. I've tried    apt-get download PACKAGE &amp;&amp; apt-cache depends -i PACKAGE | awk '/Depends:/ {print $2}' | xargs  apt-get download    and    apt-get download $(apt-rdepends &lt;package&gt;|grep -v "^ ").   Command one only downloads the direct dependencies, like the ones you'd find on packages.ubuntu.com if you were to search kdbg, and command two gives me the error message:  Can't select candidate version for package &lt;package&gt; as it has no candidate   for several different packages.  So, to restate my question, is there a way for me to download kdbg, all of its dependencies, all of those dependencies' dependencies, so on and so forth? Or perhaps I am using one of the above commands incorrectly?  Thanks in advance.
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?
91520
I am trying to install QGIS3 on my Ubuntu 16.04 Xenial.  Following the instructions on the  I added the following lines to my sources.list:  deb https://qgis.org/ubuntugis xenial main deb-src https://qgis.org/ubuntugis xenial main   I run  sudo apt-get update   and try to execute the installation:  sudo apt-get install qgis python-qgis qgis-plugin-grass   For each of the packages I get the answer that there are several missing packages:  python-qgis : Depends: python-qgis-common (= 1:3.0.0+24xenial-ubuntugis) but it is not going to be installed            Depends: libqgispython3.0.0 but it is not going to be installed            Depends: libqgis-analysis3.0.0 but it is not going to be installed            Depends: libqgis-core3.0.0 but it is not going to be installed            Depends: libqgis-gui3.0.0 but it is not going to be installed            Depends: libqgis-server3.0.0 but it is not going to be installed  qgis : Depends: gdal-abi-2-2-2 but it is not installable     Depends: libgdal20 (&gt;= 1.8.0) but it is not installable     Depends: libqgis-analysis3.0.0 but it is not going to be installed     Depends: libqgis-app3.0.0 but it is not going to be installed     Depends: libqgis-core3.0.0 but it is not going to be installed     Depends: libqgis-gui3.0.0 but it is not going to be installed     Depends: qgis-providers (= 1:3.0.0+24xenial-ubuntugis) but it is not going to be installed  qgis-plugin-grass : Depends: qgis-provider-grass (= 1:3.0.0+24xenial-ubuntugis) but it is not going to be installed                  Depends: libgdal20 (&gt;= 1.8.0) but it is not installable                  Depends: libqgis-app3.0.0 but it is not going to be installed                  Depends: libqgis-core3.0.0 but it is not going to be installed                  Depends: libqgis-gui3.0.0 but it is not going to be installed                  Depends: libqgisgrass7-3.0.0 but it is not going to be installed                  Depends: grass740 but it is not installable   Most interesting is that some packages are not installable: gdal-abi-2-2-2, libgdal20, grass740  Any idea how to solve this?
19729
I'm running ubuntu 14.04. I cannot use software center to install anything, even a local deb package so I have to rely on Terminal.  Recently I was trying to install mysql-server which generated error which I could pin-point was the required version of libstdc++6 . My system had 4.8.x while mysql 5.6 required >=4.9. Trying the usual upgrading process and unsuccessful, I consulted my sys admin, who tried installing the 4.9 package manually(using a local .deb package), which failed as well citing unmet dependencies.   At present, what I have is a system with error saying no new software can be installed.  The sudo apt-get install -f gives following output:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... failed. The following packages have unmet dependencies:  libstdc++6 : Depends: gcc-4.9-base (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed  libstdc++6:i386 : Depends: gcc-4.9-base:i386 (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   I checked for held packages using  dpkg -l | grep ^h dpkg -l | grep hold   Result: nothing.  Also tried to find the broken package, if any but the file  /var/log/dist-upgrade/apt.log doesn't exist.  So, what should/can I do now.
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!
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?
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?
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?
90947
what is the usage of apt-get -f install . when I run sudo apt-get update I got some errors at the end It says try apt-get -f install. What is this command?  the last part of my error is :   . . .   going to be installed   E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
64418
I've seen several times people with unmet dependencies, which apt-get doesn't tells straightforward what's the problem, like this one:  The following packages have unmet dependencies:  libgl1-mesa-dri:i386 : Depends: libdrm-intel1:i386 (&gt;= 2.4.38) but it is not going to be installed                         Depends: libdrm-nouveau2:i386 (&gt;= 2.4.38) but it is not going to be installed                         Depends: libdrm-radeon1:i386 (&gt;= 2.4.31) but it is not going to be installed                         Depends: libdrm2:i386 (&gt;= 2.4.38) but it is not going to be installed                         Depends: libglapi-mesa:i386 but it is not going to be installed  libgl1-mesa-glx:i386 : Depends: libdrm2:i386 (&gt;= 2.3.1) but it is not going to be installed                         Depends: libglapi-mesa:i386 (= 9.2.1-1ubuntu3) but it is not going to be installed                         Depends: libx11-6:i386 (&gt;= 2:1.4.99.1) but it is not going to be installed                         Depends: libxcb-dri2-0:i386 (&gt;= 1.8) but it is not going to be installed                         Depends: libxcb-glx0:i386 (&gt;= 1.8) but it is not going to be installed                         Depends: libxcb1:i386 but it is not going to be installed                         Depends: libxdamage1:i386 (&gt;= 1:1.1) but it is not going to be installed                         Depends: libxext6:i386 but it is not going to be installed                         Depends: libxfixes3:i386 but it is not going to be installed                         Depends: libxxf86vm1:i386 but it is not going to be installed   I know that walking through all dependencies apt-get install libgl1-mesa-dri:i386 libdrm-intel1:i386 until I hit something is available, but in this case it will be a painful job due the amount of packages. Is there an easier way to do this?
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.
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.
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.