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:  gdm3: Depends: libaudit1 (&gt;= 1:2.2.1) but 1:2.8.2-1ubuntu1 is installed       Depends: libgdm1 (= 3.28.3-0ubuntu18.04.4) but 3.28.3-0ubuntu18.04.4 is installed       Depends: libwrap0 (&gt;= 7.6-4~) but 7.6.q-27 is installed       Depends: gir1.2-gdm-1.0 (= 3.28.3-0ubuntu18.04.4) but 3.28.3-0ubuntu18.04.3 is installed       Depends: bash (&gt;= 4.3) but 4.4.18-2ubuntu1.2 is installed       Depends: x-terminal-emulator but it is a virtual package       Depends: x11-common (&gt;= 1:7.6+11) but 1:7.7+19ubuntu7.1 is installed gir1.2-mutter-2: Depends: libmutter-2-0 (= 3.28.4-0ubuntu18.04.1) but 3.28.3-2~ubuntu18.04.2 is installed gnome-shell: Depends: libgjs0-libmozjs-52-0 but it is a virtual package              Depends: gir1.2-mutter-2 (&gt;= 3.28.4-0ubuntu18.04.1) but 3.28.4-0ubuntu18.04.1 is installed              Depends: gnome-shell-common (= 3.28.4-0ubuntu18.04.1) but 3.28.3-0ubuntu0.18.04.4 is installed              Depends: mutter (&gt;= 3.28.4-0ubuntu18.04.1) but 3.28.3-2~ubuntu18.04.2 is installed libgl1: Depends: libc6 (&gt;= 2.14) but 2.27-3ubuntu1 is installed         Depends: libglvnd0 (= 1.0.0-2ubuntu2.3) but 1.0.0-2ubuntu2.2 is installed         Depends: libglx0 (= 1.0.0-2ubuntu2.3) but 1.0.0-2ubuntu2.2 is installed policykit-1: Depends: libc6 (&gt;= 2.7) but 2.27-3ubuntu1 is installed              Depends: libglib2.0-0 (&gt;= 2.37.3) but 2.56.4-0ubuntu0.18.04.4 is installed              Depends: libpolkit-agent-1-0 (= 0.105-20ubuntu0.18.04.5) but 0.105-20ubuntu0.18.04.4 is installed              Depends: libpolkit-backend-1-0 (= 0.105-20ubuntu0.18.04.5) but 0.105-20ubuntu0.18.04.4 is installed              Depends: libpolkit-gobject-1-0 (= 0.105-20ubuntu0.18.04.5) but 0.105-20ubuntu0.18.04.4 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.
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.
41600
When updating I got the following message:  W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done   I'm on Ubuntu 16.04 and currently using Chrome 60.0.3112.90. Any suggestions? I'm also trying to install libimobiledevice but apparently the system is not reading the repository where I just added the PPA as I can't install it. Thanks in advance for any help.
73986
How can I fix this? I can't update anything at all.   I've tried to switch to my best server in the options.  When I do sudo apt-get update, this is what I get:     W: Failed to fetch     Unable to find   expected entry 'universe/binary-1386/Packages' in Release file (Wrong   sources.list entry or malformed file) E: Some index files failed to   download. They have been ignored, or old ones used instead.*   When I do sudo apt-get upgrade, I get this:     Reading package lists... Done      Building dependency tree             Reading state information... Done      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   the contents of my source.list:     deb  quantal universe restricted main   ....update: when I update, it looks for 'universe/binary-1386/Packages'  however, if I go to: ubuntu.mirror.rafal.ca/ubuntu/dists/quantal/Release with Google Chrome, I see that the file is actually named "universe/binary-i386/Packages" (it's with an i, not a 1) . how can I fix this and make it expect the proper package?
32008
I have tried several askubuntu threads but yet to no avail none have all met qualifications.   I installed allvideodownloader, and found a better version an earlier version; I downloaded from software-center, so there should not have been a related programs version problem and I got this error:  The following packages have unmet dependencies:  allvideodownloader : Depends: allvideodownloader-bin (= 2.6.0-0ubuntu1)  apache2.2-bin : Depends: libaprutil1-ldap but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   I have tried the usual suspects, in synaptic, software-center and aptitude.   apt-get autoremove --purge allvideodownloader Package allvideodownloader is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded   apt-get remove --auto-remove allvideodownloader-bin Package allvideodownloader is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded   apt-get remove --auto-remove allvideodownloader-bin E Unable to locate package allvideoinstaller-bin   sudo apt-get install allvideoinstaller-bin E Unable to locate package allvideoinstaller-bin   This is what I believe to be so; allvideodownloader changed the versions on several packages at install and didn't change them back at uninstall. These packages are somehow not reverse compatible using usual means.  I am having a headache I am growing used to from staring at this problem and that wont help matters. I've tried manner of install , purge and repair of broken packages   Please advise me on a repair.  thx,  DL
49736
I know it has been asked many times before but none of those solutions helped me.  Every time I am running sudo apt upgrade I get this error.  dpkg: error processing package systemd (--configure):  installed systemd package post-installation script subprocess returned error exit status 127 Errors were encountered while processing:  systemd E: Sub-process /usr/bin/dpkg returned an error code (1)   And sudo dpkg --configure -a returns     Setting up udev (237-3ubuntu10.28) ... /var/lib/dpkg/info/udev.postinst: 108: /var/lib/dpkg/info/udev.postinst: addgroup: not found dpkg: error processing package udev (--configure):  installed udev package post-installation script subprocess returned error exit status 127 Setting up systemd (237-3ubuntu10.28) ... /var/lib/dpkg/info/systemd.postinst: 123: /var/lib/dpkg/info/systemd.postinst: addgroup: not found dpkg: error processing package systemd (--configure):  installed systemd package post-installation script subprocess returned error exit status 127 dpkg: dependency problems prevent configuration of libnss-systemd:amd64:  libnss-systemd:amd64 depends on systemd (= 237-3ubuntu10.28); however:   Package systemd is not configured yet.  dpkg: error processing package libnss-systemd:amd64 (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libpam-systemd:amd64:  libpam-systemd:amd64 depends on systemd (= 237-3ubuntu10.28); however:   Package systemd is not configured yet.  dpkg: error processing package libpam-systemd:amd64 (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  udev  systemd  libnss-systemd:amd64  libpam-systemd:amd64   I don't think it's safe to remove systemd package all together. Any help is appreciated and I am on Ubuntu 18.04.
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.
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?
75754
I got an error message explaining my /boot is full. trying to clean up old image files always seems to fail because of disk full errors or dependency errors. Could someone explain where I’m going wrong.   $ sudo apt-get autoremove 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.  linux-image-extra-3.13.0-44-generic : Depends: linux-image-3.13.0-44-generic but it is not installed  linux-image-extra-3.13.0-45-generic : Depends: linux-image-3.13.0-45-generic but it is not installed  linux-image-generic : Depends: linux-image-3.13.0-45-generic but it is not installed E: Unmet dependencies. Try using -f.  $ ls /boot abi-3.13.0-32-generic         initrd.img-3.13.0-43-generic abi-3.13.0-36-generic         lost+found abi-3.13.0-37-generic         memtest86+.bin abi-3.13.0-39-generic         memtest86+.elf abi-3.13.0-40-generic         memtest86+_multiboot.bin abi-3.13.0-43-generic         System.map-3.13.0-32-generic config-3.13.0-32-generic      System.map-3.13.0-36-generic config-3.13.0-36-generic      System.map-3.13.0-37-generic config-3.13.0-37-generic      System.map-3.13.0-39-generic config-3.13.0-39-generic      System.map-3.13.0-40-generic config-3.13.0-40-generic      System.map-3.13.0-43-generic config-3.13.0-43-generic      vmlinuz-3.13.0-32-generic grub                          vmlinuz-3.13.0-36-generic initrd.img-3.13.0-32-generic  vmlinuz-3.13.0-37-generic initrd.img-3.13.0-36-generic  vmlinuz-3.13.0-39-generic initrd.img-3.13.0-37-generic  vmlinuz-3.13.0-40-generic initrd.img-3.13.0-39-generic  vmlinuz-3.13.0-43-generic initrd.img-3.13.0-40-generic   I used   kernelver=$(uname -r | sed -r 's/-[a-z]+//') dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve $kernelver   to get   linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic linux-headers-3.13.0-36 linux-headers-3.13.0-36-generic linux-headers-3.13.0-37 linux-headers-3.13.0-37-generic linux-headers-3.13.0-39 linux-headers-3.13.0-39-generic linux-headers-3.13.0-40 linux-headers-3.13.0-40-generic linux-headers-3.13.0-44 linux-headers-3.13.0-44-generic linux-headers-3.13.0-45 linux-headers-3.13.0-45-generic linux-image-3.13.0-32-generic linux-image-3.13.0-36-generic linux-image-3.13.0-37-generic linux-image-3.13.0-39-generic linux-image-3.13.0-40-generic   Then picking the first image to remove   $ sudo apt-get purge linux-image-3.13.0-32-generic 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.  linux-image-extra-3.13.0-32-generic : Depends: linux-image-3.13.0-32-generic but it is not going to be installed  linux-image-extra-3.13.0-44-generic : Depends: linux-image-3.13.0-44-generic but it is not going to be installed  linux-image-extra-3.13.0-45-generic : Depends: linux-image-3.13.0-45-generic but it is not going to be installed  linux-image-generic : Depends: linux-image-3.13.0-45-generic but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
81823
Following the QGIS installation guide I have tried both UbuntuGIS and QGIS stable, but both fail with the error message:  The following packages have unmet dependencies:  python-qgis : Depends: python-qgis-common (= 2.6.1.1+trusty1) but it is not going to be installed             Depends: libqgispython2.6.1 but it is not going to be installed            Depends: libqgis-analysis2.6.1 but it is not going to be installed            Depends: libqgis-core2.6.1 but it is not going to be installed            Depends: libqgis-gui2.6.1 but it is not going to be installed            Depends: libqgis-networkanalysis2.6.1 but it is not going to be installed   qgis : Depends: libgdal1h (>= 1.8.0) but it is not going to be installed      Depends: libqgis-analysis2.6.1 but it is not going to be installed     Depends: libqgis-core2.6.1 but it is not going to be installed     Depends: libqgis-gui2.6.1 but it is not going to be installed     Depends: libqgis-networkanalysis2.6.1 but it is not going to be installed     Depends: qgis-providers (= 2.6.1.1+trusty1) but it is not going to be installed     Recommends: qgis-plugin-grass but it is not going to be installed     Recommends: qgis-plugin-globe but it is not going to be installed   E: Unable to correct problems, you have held broken packages.    I had QGISv.2.4 running on my machine with Ubuntu 12.04. After upgrading to Ubuntu 14.04 I was getting error message that pyqgis could not be loaded.  So I uninstalled QGIS using the Ubuntu Software Center and also run  sudo apt-get purge qgis   After that I tried to install the latest version of QGIS Debian Stable and UbuntuGIS unstable but getting the error messages described above.  The weird thing is that neither Ubuntu Software Center nor apt-get list have QGIS listed as installed, but if I run a search for qgis on my file system qgis and all its dependencies are still there. That's why I getting told to have broken packages.
30618
Is there a way to get ubuntu gnome 3.14 on ubuntu 14.04 ??  Thank you in advance
124244
I am getting the following error in the top menu bar:     An error occurred.Please run the Package Manger form the right-click menu or apt-get in a terminal to see what is wrong.The error message was:'Error:BrokenCount>0'.This usually means that your installed packages have unmet dependencies.
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?
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.
8561
I tried installing gnome 3 , but it broke Unity and I had to reinstall Natty from scratch.  Does anyone know if there is a way to install Gnome 3 without breaking Unity?
36410
apt-get install linux-headers-`uname -r` Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-4.9.0-kali3-amd64 E: Couldn't find any package by glob 'linux-headers-4.9.0-kali3-amd64' E: Couldn't find any package by regex 'linux-headers-4.9.0-kali3-amd64'
31275
I cannot install any package. It seems the command apt-get update must be run but it throws some errors:  $ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]      Hit:2 http://ve.archive.ubuntu.com/ubuntu xenial InRelease                      Hit:3 http://ve.archive.ubuntu.com/ubuntu xenial-updates InRelease              Hit:4 http://ve.archive.ubuntu.com/ubuntu xenial-backports InRelease            Fetched 102 kB in 23s (4337 B/s)                                                *** Error in `appstreamcli': double free or corruption (fasttop): 0x000000000210f4b0 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fac8d8317e5] [...] Aborted (core dumped) Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success   'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;   then appstreamcli refresh &gt; /dev/null; fi' E: Sub-process returned an error code