I tried to execute a .deb file and got the above error.  I just used sudo dpkg -i teamviewer_15.5.3_amd64.deb in my Downloads directory where the .deb file was located. I have dpkg version 1.19.7 (amd64) in my machine.  Here's what I'm getting:  (Reading database ... 230272 files and directories currently installed.) Preparing to unpack teamviewer_15.5.3_amd64.deb ... Unpacking teamviewer (15.5.3) over (15.5.3) ... dpkg: dependency problems prevent configuration of teamviewer:  teamviewer depends on libqt5qml5 (&gt;= 5.5) | qt56-teamviewer; however:   Package libqt5qml5 is not installed.   Package qt56-teamviewer is not installed.  teamviewer depends on libqt5quick5 (&gt;= 5.5) | qt56-teamviewer; however:   Package libqt5quick5 is not installed.   Package qt56-teamviewer is not installed.  teamviewer depends on libqt5webkit5 (&gt;= 5.5) | qt56-teamviewer; however:   Package libqt5webkit5 is not installed.   Package qt56-teamviewer is not installed.  teamviewer depends on libqt5x11extras5 (&gt;= 5.5) | qt56-teamviewer; however:   Package libqt5x11extras5 is not installed.   Package qt56-teamviewer is not installed.  teamviewer depends on qml-module-qtquick2 (&gt;= 5.5) | qt56-teamviewer; however:   Package qml-module-qtquick2 is not installed.   Package qt56-teamviewer is not installed.  teamviewer depends on qml-module-qtquick-controls (&gt;= 5.5) | qt56-teamviewer; however:   Package qml-module-qtquick-controls is not installed.   Package qt56-teamviewer is not installed.  teamviewer depends on qml-module-qtquick-dialogs (&gt;= 5.5) | qt56-teamviewer; however:   Package qml-module-qtquick-dialogs is not installed.   Package qt56-teamviewer is not installed.  teamviewer depends on qml-module-qtquick-window2 (&gt;= 5.5) | qt56-teamviewer; however:   Package qml-module-qtquick-window2 is not installed.   Package qt56-teamviewer is not installed.  teamviewer depends on qml-module-qtquick-layouts (&gt;= 5.5) | qt56-teamviewer; however:   Package qml-module-qtquick-layouts is not installed.   Package qt56-teamviewer is not installed.  dpkg: error processing package teamviewer (--install):  dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for desktop-file-utils (0.24-1ubuntu2) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Errors were encountered while processing:  teamviewer
378
Say, I have foo-1.2.3.deb which depends on perl and python, however, running command:  dpkg -i ./foo-1.2.3.deb   won't install these dependencies. So I must apt-get install perl python by hand.  How to make dpkg -i install these dependencies for me automatically?
42051
I was trying to update my packages today:  $ 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:  linux-headers-3.16.0-44-generic : Depends: linux-headers-3.16.0-44 but it is not installed E: Unmet dependencies. Try using -f.   So, I went ahead and tried apt-get -f install:  $ 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:   linux-headers-3.16.0-44 The following NEW packages will be installed:   linux-headers-3.16.0-44 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 3 not fully installed or removed. Need to get 0 B/9,101 kB of archives. After this operation, 64.5 MB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 688666 files and directories currently installed.) Preparing to unpack .../linux-headers-3.16.0-44_3.16.0-44.59_all.deb ... Unpacking linux-headers-3.16.0-44 (3.16.0-44.59) ... dpkg: error processing archive /var/cache/apt/archives/linux-headers-3.16.0-44_3.16.0-44.59_all.deb (--unpack):  unable to create `/usr/src/linux-headers-3.16.0-44/scripts/genksyms/Makefile.dpkg-new' (while processing `./usr/src/linux-headers-3.16.0-44/scripts/genksyms/Makefile'): No space left on device dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/linux-headers-3.16.0-44_3.16.0-44.59_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   It's complaining saying No space left on device. df -Th tells me that there's sufficient space:  $ df -h Filesystem      Size  Used Avail Use% Mounted on /dev/sda6       3.3G  2.5G  571M  82% / udev            2.0G     0  2.0G   0% /dev tmpfs           395M   11M  384M   3% /run tmpfs           2.0G   28M  1.9G   2% /dev/shm tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup tmpfs           100M   72K  100M   1% /run/user tmpfs           5.0M  8.0K  5.0M   1% /run/lock /dev/sda7       9.3G  7.6G  1.3G  87% /usr /dev/sda8       188G  176G  3.0G  99% /home /dev/sda1       945M  394M  487M  45% /boot /dev/sda9       256G  9.6G  233G   4% /var   However, df -i tells me /usr has used up all the inodes.  These are the dirs and their inode usage:  /usr/bin = 2846 /usr/etc = 1 /usr/games = 8 /usr/include = 3204 /usr/lib = 42317 /usr/local = 105 /usr/lost+found = 1 /usr/sbin = 306 /usr/share = 228141 /usr/src = 348704   So, if I can clear out /usr/src (which contains the current and old kernels), I can probably resolve the issue. But, I keep running into the first error:  $ sudo apt-get purge linux-image-3.8.0-35-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-headers-3.16.0-44-generic : Depends: linux-headers-3.16.0-44 but it is not going to be installed  linux-image-extra-3.8.0-35-generic : Depends: linux-image-3.8.0-35-generic but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   Any suggestions on how I can remove my old kernels? Thanks!
85466
A few weeks ago I installed a 32 bit .deb file through the 'force architecture' command (on my 64bit notebook), however the procedure was unsuccessful and I used the apt-get purgecommand to uninstall the app. It seems there are some leftovers of the app I uninstalled which has now broken system update. Synaptic recommended a sudo apt-get install -fwhich I did in the terminal with this initial response:  Reading package lists... Done Building dependency tree        Reading state information... Done The following package was automatically installed and is no longer required:   libntfs10 Use 'apt-get autoremove' to remove them. The following packages will be REMOVED:   crossplatformui 0 upgraded, 0 newly installed, 1 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]?   I chose 'Y' then got this response:  (Reading database ... 187616 files and directories currently installed.) Removing crossplatformui ... ztemtvcdromd: no process found dpkg: error processing crossplatformui (--remove):  subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing:  crossplatformui E: Sub-process /usr/bin/dpkg returned an error code (1)   It seems the app I installed crossplatformuiis still on my system and has caused update manager to stop running with a partial upgrade warning. What do I do now?
1521
I was running an upgrade with the apt-get command, and it was taking an exceptionally long time because half way through my ISP hit me in the face with their fair usage policy.   After sitting outside &amp; watching the rain for awhile my electronics regained consciousness, so I went back to complete the upgrade and my terminal scolds me with   "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem."   The last bit of legible info was all this:  Installing (ri/RDoc) documention for (stuff and such) ERROR:  Could not find a valid gem 'watobo-0.9.8.724.gem' (&gt;= 0) in any repository rm: cannot remove `watobo-0.9.8.724.gem': No such file or directory  Setting up metasploit (4.3.0-bt1) ... Upgrading Pre-Existing Installation... /opt/metasploit/postgresql/scripts/ctl.sh : postgresql  (pid 1191) already running prosvc is running metasploit is running [*] [*] Attempting to update the Metasploit Framework... [*]   So on it goes for miles, talking about gem caches, rubies, &amp; stuff I wish I had. All up until:  A    lib/gemcache/ruby/1.9.1/gems/state_machine-1.1.2/gemfiles/active_record-2.1.2.gemfile.lock   ...and there it has sat, all night.    If I stop it, will I still get the dpkg error (on the off chance that I won't), or if so what do I need to to resume using apt-get commands and its Super Cow Powers?
24231
dpkg --configure -a  Setting up linux-image-3.13.0-35-generic (3.13.0-35.62) ... Running depmod. update-initramfs: deferring update (hook will be called later) The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-35-generic vmlinuz(/boot/vmlinuz-3.13.0-35-generic ) points to /boot/vmlinuz-3.13.0-35-generic  (/boot/vmlinuz-3.13.0-35-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 491. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic update-initramfs: Generating /boot/initrd.img-3.13.0-35-generic  gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-3.13.0-35-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 1025. dpkg: error processing package linux-image-3.13.0-35-generic (--configure):  subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-35-generic:  linux-image-extra-3.13.0-35-generic depends on linux-image-3.13.0-35-generic; however:   Package linux-image-3.13.0-35-generic is not configured yet.  dpkg: error processing package linux-image-extra-3.13.0-35-generic (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-generic:  linux-image-generic depends on linux-image-3.13.0-35-generic; however:   Package linux-image-3.13.0-35-generic is not configured yet.  linux-image-generic depends on linux-image-extra-3.13.0-35-generic; however:   Package linux-image-extra-3.13.0-35-generic is not configured yet.  dpkg: error processing package linux-image-generic (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  linux-image-3.13.0-35-generic  linux-image-extra-3.13.0-35-generic  linux-image-generic
86761
Yeah, I did this, it was stupid.  I did not know it will pull its dependencies with it, I just wanted to install python 2 and 3 from scratch (because of this problem: ).  Now, I still can use my terminal, checked these answers:      However after running sudo apt-get install ubuntu-desktop I get these errors:  Setting up python-ldb (2:1.1.24-1ubuntu3) ... /var/lib/dpkg/info/python-ldb.postinst: 6: /var/lib/dpkg/info/python-ldb.postinst: pycompile: not found dpkg: error processing package python-ldb (--configure):  subprocess installed post-installation script returned error exit status 127 No apport report written because MaxReports is reached already                                                               Setting up python-tdb (1.3.8-2) ... /var/lib/dpkg/info/python-tdb.postinst: 6: /var/lib/dpkg/info/python-tdb.postinst: pycompile: not found dpkg: error processing package python-tdb (--configure):  subprocess installed post-installation script returned error exit status 127 No apport report written because MaxReports is reached already                                                               dpkg: dependency problems prevent configuration of python-samba:  python-samba depends on python-crypto; however:   Package python-crypto is not configured yet.  python-samba depends on python-ldb (&gt;= 1.1.2~); however:   Package python-ldb is not configured yet.  python-samba depends on python-tdb; however:   Package python-tdb is not configured yet.  dpkg: error processing package python-samba (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already                                                               Processing triggers for libc-bin (2.23-0ubuntu7) ...  Errors were encountered while processing:  mercurial-common  python-crypto  python-dnspython  python-ldb  python-tdb  python-samba E: Sub-process /usr/bin/dpkg returned an error code (1)   What is the way to restore these dependencies (16.04 LTS)?
22607
Accidentally executed this command and now many of my programs are not working.  sudo apt-get --purge remove libstdc++6   sudo apt now not working and some other stuff.  How do I revert this?  Distributor ID: Ubuntu Description:    Ubuntu 16.04.4 LTS Release:        16.04 Codename:       xenial   edit  I followed melebius by installing via dpkg -i ,libstdc++6 and it seems successful   root@server:~# sudo dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb Selecting previously unselected package libstdc++6:amd64. (Reading database ... 71540 files and directories currently installed.) Preparing to unpack libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb ... Unpacking libstdc++6:amd64 (5.4.0-6ubuntu1~16.04.10) ... Setting up libstdc++6:amd64 (5.4.0-6ubuntu1~16.04.10) ... Processing triggers for libc-bin (2.23-0ubuntu10) ...   But when i tried to install something i get this error  root@server:~# sudo apt-get screen apt-get: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory root@server:~#
72464
According to this  I should be able to install the .deb version of the Unity Editor for Ubuntu. I have the recommended system requirements. But when I try to install the .deb file using the sudo dpkg -i mydebfile.deb I get the following errors:  Selecting previously unselected package unity-editor. (Reading database ... 175283 files and directories currently installed.) Preparing to unpack unity-editor-5.3.4f1 20160503_amd64.deb ... Unpacking unity-editor (5.3.4f1) ... dpkg: dependency problems prevent configuration of unity-editor:  unity-editor depends on lib32gcc1 (&gt;= 1:4.1.1); however:   Package lib32gcc1 is not installed.  unity-editor depends on lib32stdc++6 (&gt;= 4.6); however:   Package lib32stdc++6 is not installed.  unity-editor depends on libc6-i386 (&gt;= 2.15); however:   Package libc6-i386 is not installed.  unity-editor depends on libpq5; however:   Package libpq5 is not installed.  unity-editor depends on npm; however:   Package npm is not installed.  dpkg: error processing package unity-editor (--install):  dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.13.3-6ubuntu3) ... Processing triggers for desktop-file-utils (0.22-1ubuntu5) ... Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.59ubuntu1) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Errors were encountered while processing:  unity-editor   Has anybody successfully installed the Unity3d on Ubuntu 16.04 yet? Please help if you can.  EDIT: I've been asked if the question  has solved my problem. The answer is: No, it hasn't. The answers in that question might help one learn how to fix broken dependencies using sudo apt-get -f install but that didn't solve my problem. I had to install each of the missing packages one by one (see comments below). So, I think people coming here for the same problem won't be able to know that they have to install the packages by hand if the question is marked as a duplicate.
3500
So I can run on one machine:  dpkg --get-selections '*' &gt; selection.txt   On another machine:  dpkg --set-selections &lt; selection.txt   ... followed by either of the following:  aptitude install apt-get -u dselect-upgrade   ... to install the packages that.  However, it appears that some information gets lost in the process, such as whether a package (say xyz) got installed automatically as dependency of another package (abc). You can see that whenever you do something like apt-get --purge remove abc. On the original machine you would be notified that package xyz was installed as dependency of abc and that you may use apt-get autoremove to get rid of it.  Now I am aware of deborphan and debfoster, but they're cumbersome to use given the (simple) task at hand.  It seems saving and restoring the selections as shown above is not sufficient to restore the subtle dependencies of installed packages.  Is there a way to back up the complete set of metadata for package management and restore it then in its entirety?
4089
Originally I was going to ask a question about how to get  working in , but as I was writing the question, I was trying to solve the problem myself. I thought others may benefit from my findings, so I decided to post them here. If you notice that any of my steps are wrong, please let me know. And I was still unable to get it to work, so if you scroll down to the end, you can see where I'm stuck and still need help.  The current issue is: How can I install libgd?    I'm trying to make  work with . The only information I could find about how to do this is from :        [...] to use LaTeX, you have to install it separately - it is not  bundled with Anki   [...] on OSX use MacTex   Dvipng must also be installed.   On OSX, if you use MacPorts or similar to install LaTeX, make sure latex and dvipng are linked in /usr/bin.      The standard installation of  takes up 3GB, far more than I believe is necessary, since I am not going to use its GUI application. I just need the LaTeX library, if I understand it correctly, which should be way less than 3GB. Therefore, I'm installing the  version instead, which only takes up about 100MB.  I'm not sure if I already have  installed or not, so I'm restarting Anki to see if it works or not. I got the following error:     Error executing dvipng. [...] Output written on tmp.dvi [...]   So I probably need to install dvipng... The Install readme has the following information:     Installing dvipng should be simple: merely ./configure',make', and   `make install'.      Prerequisites:         The GD Graphics Draw library, libgd   The path-searching library kpathsea   libpng and libz      Again, I'm not sure which, if any, of these prerequisites I already have installed, so I'm just going ahead with the installation in hopes of error messages guiding me to the right path.  After executing ./config, it gives the error:     configure: error: cannot find/use libpng   ... which I think is weird since the readme states:    To be able to compress and write PNG files to disk, dvipng (or  really libgd) uses libpng which in turn uses libz. These should be  available on any modern system, if not, download them and install  them.    I went to the , and tried finding a "current binary" that works with my OS (10.6/i386), but it seems that none of the latest 3 versions have a binary that is available to download. So I went to the "old binaries" section, which took me to , which has libpng v1.4.5. I installed the "Individual Installer package" for libpng.  Now that it's installed, I tried installing Dvipng again, and it now gives the following error:     cannot find/use libgd   This drawing library can be downloaded at    When I go to , I see it says that the page moved and that it is currently down. There is only a link to the source files and no binary distribution. I'm not sure where I should go from here... should I download the source and compile it somehow? Once it's complied what do I do with it? Do I run some file it generates? Would I move files it generates to specific folders? How would Dvipng know how to access it? I'm unfamiliar with how to do something like this, so any help would be appreciated.     Here's a summary (so far) of the dependency hierarchy which must be installed in order to get LaTeX to work with Anki:   : Installed (got the BasicTeX version to save a lot of disk space). : Not installed (can't install without libgd).  : Installed (got the Individual Installer package). libgd: Not installed (not sure how to install this). ???      Other questions:   Is there a better, reliable method to know if any of these dependencies are installed rather than running an installer which depends on them and hoping for a meaningful error message?
81731
In order to research what caused the installation of a given package, I'd like to get a list of packages which depend on that package. I couldn't find anything obvious in man dpkg.
311
For  I need to install libpng12-0 package on the Ubuntu 19.10 system.  I know that it is available .  So I have decided to download this package manually and install it by hand.  On previous Ubuntu versions (such as 18.04 LTS) this trick ends with success, but here on 19.10 it fails in very strange way:   wget http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb sudo apt-get install ./libpng12-0_1.2.54-1ubuntu1.1_amd64.deb  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/116 kB of archives. After this operation, 285 kB of additional disk space will be used. Get:1 /home/user/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb libpng12-0 amd64 1.2.54-1ubuntu1.1 [116 kB] Selecting previously unselected package libpng12-0:amd64. (Reading database ... 212864 files and directories currently installed.) Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ... Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...  dpkg: error processing archive /home/user/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):  unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory No apport report written because the error message indicates an issue on the local system                                                                                          Errors were encountered while processing:  /home/user/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   What is wrong here? How can I get libpng12-0 installed on Ubuntu 19.10 system?    Note: the same happens on 19.04, but it is near EOL.
81990
I've been trying to get , but it's only available through Quantal, and I'm running Raring. Is there a way to force-install a PPA from a previous release? I tried manually downloading all the packages and running sudo dpkg -i but I get lots of errors about dependencies, some of which don't look like they can be resolved. Am I stuck with having to compile vim myself?
74593
I'm using ubuntu 18.04 and if I download QGIS 2.18 and I try to run it, I get this:  libpng warning: Application jmp_buf size changed Segmentation fault (core dumped)   If I try with QGIS 3.2, the error is:   libpng warning: Application was compiled with png.h from libpng-1.6.34 libpng warning: Application  is  running with png.c from libpng-1.2.56 libpng error: Incompatible libpng version in application and library   So it's clear that the problem is with libpng.   I purged libpng-dev and reinstall again but nothing changed.   I tried to purge libpng16-16 but I get:  sudo apt purge libpng16-16 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:  libgdk-pixbuf2.0-0 : Depends: libpng16-16 (&gt;= 1.6.2-1) but it is not going to be installed                       Recommends: libgdk-pixbuf2.0-bin  libgtk-3-0 : Depends: libcairo-gobject2 (&gt;= 1.10.0) but it is not going to be installed               Depends: libcairo2 (&gt;= 1.14.0) but it is not going to be installed               Depends: libfontconfig1 (&gt;= 2.12) but it is not going to be installed               Depends: libpango-1.0-0 (&gt;= 1.40.5) but it is not going to be installed               Depends: libpangocairo-1.0-0 (&gt;= 1.40.5) but it is not going to be installed               Depends: libpangoft2-1.0-0 (&gt;= 1.40.5) but it is not going to be installed               Depends: adwaita-icon-theme               Recommends: libgtk-3-bin E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   and then:  ~$ sudo apt install libgdk-pixbuf2.0-bin libgtk-3-bin Reading package lists... Done Building dependency tree        Reading state information... Done libgdk-pixbuf2.0-bin is already the newest version (2.36.11-2). libgtk-3-bin is already the newest version (3.22.30-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ~$ sudo apt install libgtk-3-0 libgdk-pixbuf2.0-0 Reading package lists... Done Building dependency tree        Reading state information... Done libgdk-pixbuf2.0-0 is already the newest version (2.36.11-2). libgtk-3-0 is already the newest version (3.22.30-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   At this point I'm afraid of breaking something if I continue trying things, so I come here for advice before.  I deleted and reinstalled ubuntu. I installed first thing qgis and it was working. Afterwards I compiled gdal, from source to have it from python as stand alone. It might be this, but I had done this previously without any problems.
107342
For example, I can't install package qcad because of error: "can't find qdict.h". How can I find the package which provides the file qdict.h so I can install the package qcad?
35817
I tried to install a package and it did, and it appears to work just fine. However when I installed it I got several warnings about packages being missing.  dpkg: warning files list file for package '...' missing, assuming package has no files currently installed.   Since it is just a warning and it appears to work anyway, I assumed that it doesn't matter, but I would like someone to confirm that.   The packages that are missing are ones that I uninstalled on purpose because they were non-essential and took up a lot of room.  EDIT: Package is tzdata. Using dpkg -i on a .deb file to install. And the above is essentially the entire warning. Just instead of ... it lists packages. python2.7-minimal, libsqlite3-0, libaprutill-dbd-sqlite3, python-minimal`  EDIT: "What exactly did you do?" I ran the command   dpkg -i tzdata_2017b-2_all.deb   to install the package tzdata.  "What did you want to achieve?" I wanted the package to install.  "What happened instead? Did you encounter any warning or error messages?" The package installed and worked fine. However, the above warning appeared for the above packages.  I cannot copy and paste since this is occurring on a separate server. But I will rewrite it here:  dpkg: warning files list file for package python2.7-minimal missing, assuming package has no files currently installed. dpkg: warning files list file for package libsqlite3-0 missing, assuming package has no files currently installed. dpkg: warning files list file for package libaprutill-dbd-sqlite3, assuming package has no files currently installed. dpkg: warning files list file for package python-minimal, assuming package has no files currently installed.   I am not looking for a fix. I am just curious if dpkg giving me a warning in this type of situation actually matters. Again the program works anyway and nothing else on my system needed those packages.
31152
I want to install Open JDK or Oracle JDK to my machine but I got an error during installation. The error is:  Selecting previously unselected package oracle-java8-installer. dpkg: warning: files list file for package 'unity-scope-gourmet' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-guayadeque' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gmusicbrowser' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-manpages' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-firefoxbookmarks' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gdrive' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-home' missing; assuming package has no files currently installed E: Sub-process /usr/bin/dpkg returned an error code (2)   I searched on Google and try to something for install/reinstall this packages. Finally i try to remove Unity. I faced this error for my every tries. I am using Xmonad. How can I fix this issue?