I don't have any storage left in /dev/sda5 as it shows:  /dev/sda5       9.1G  8.8G     0 100% /   So, I tried apt-get clean and apt-get autoclean to no avail. Then, when I tried apt-get autoremove, I got this error:  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: libcurl3 : Depends: libssl1.0.0 (&gt;= 1.0.2~beta3) but 1.0.1t-1+deb8u6 is installed libnet-ssleay-perl : Depends: libssl1.0.0 (&gt;= 1.0.2~beta3) but 1.0.1t-1+deb8u6 is installed libpython2.7-stdlib : Depends: libssl1.0.0 (&gt;= 1.0.2~beta3) but 1.0.1t-1+deb8u6 is installed libpython3.5-minimal : Depends: libssl1.0.0 (&gt;= 1.0.2~beta3) but 1.0.1t-1+deb8u6 is installed libruby2.3 : Depends: libssl1.0.0 (&gt;= 1.0.2~beta3) but 1.0.1t-1+deb8u6 is  installed openssh-client : Depends: libssl1.0.0 (&gt;= 1.0.2) but 1.0.1t-1+deb8u6 is installed openssh-server : Depends: libssl1.0.0 (&gt;= 1.0.2) but 1.0.1t-1+deb8u6 is installed openssl : Depends: libssl1.0.0 (&gt;= 1.0.2g) but 1.0.1t-1+deb8u6 is installed python3-cryptography : Depends: libssl1.0.0 (&gt;= 1.0.2~beta3) but 1.0.1t-1+deb8u6 is installed E: Unmet dependencies. Try using -f.   So, I did apt-get -f install, but I got errors like this:  The following additional packages will be installed: libssl1.0.0 The following packages will be upgraded: libssl1.0.0 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1,121 kB of archives. After this operation, 427 kB of additional disk space will be used. E: You don't have enough free space in /var/cache/apt/archives/.   The problem has been so severe that; though I tried to remove any packages or programs to free up some store, it always says:  E: You don't have enough free space in /var/cache/apt/archives/   Is there any way out of this ? df -h gave me this:      Filesystem      Size  Used Avail Use% Mounted on udev            893M     0  893M   0% /dev tmpfs           183M  6.1M  177M   4% /run /dev/sda5       9.1G  8.8G     0 100% / tmpfs           913M  224K  913M   1% /dev/shm tmpfs           5.0M  4.0K  5.0M   1% /run/lock tmpfs           913M     0  913M   0% /sys/fs/cgroup /dev/sda6       138G   23G  108G  18% /home /dev/sda1        96M   56M   41M  58% /boot/efi tmpfs           183M   52K  183M   1% /run/user/1000 /dev/sdb1       1.9G  861M  1.1G  46% /media/roshan/UBUNTU 16_0   ls /boot returned this:  enter code heabi-4.4.0-47-generic         memtest86+.elf abi-4.4.0-75-generic         memtest86+_multiboot.bin config-4.4.0-47-generic      System.map-4.4.0-47-generic config-4.4.0-75-generic      System.map-4.4.0-75-generic efi                          vmlinuz-4.4.0-47-generic grub                         vmlinuz-4.4.0-47-generic.efi.signed initrd.img-4.4.0-47-generic  vmlinuz-4.4.0-75-generic initrd.img-4.4.0-75-generic  vmlinuz-4.4.0-75-generic.efi.signed memtest86+.binre   ls /etc/apt/sources.list.d gave me this:  dropbox.list dropbox.list.save google-chrome.list google-chrome.list.save jd-team-ubuntu-jdownloader-xenial.list jd-team-ubuntu-jdownloader-xenial.list.save noobslab-ubuntu-apps-xenial.list noobslab-ubuntu-apps-xenial.list.save opera-stable.list opera-stable.list.save slack.list slack.list.save tomaszm-ubuntu-dynamics-xenial.list tomaszm-ubuntu-dynamics-xenial.list.save xenial-partner.list xenial-partner.list.save   cat /etc/apt/sources.list gave me this:  deb http://archive.ubuntu.com/ubuntu xenial main universe restricted multiverse
61374
When I run the command to install the package solr-jetty, I am told   You don't have enough free space in /var/cache/apt/archives/   Here's the result of the df -H command:    I have installed Ubuntu with VirtualBox on my Mac.  How can I fix this problem?
61989
I do not want packages to be installed under /. (sudo apt-get install ...).   The reason why I need to do this is that:  My '/' is mounted with my SSD(16GB) and my hard disk(500GB) is mounted at '/home'.   I have already installed my Ubuntu 12.04 on that SSD. There is not much free space under '/' now.
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:~#
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).
1160
Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc
71463
I did a sudo apt-get remove ruby* and then I saw that some grub packages were being removed too so I went to installed back those packages which log showed to have removed  I set grub to work on my /sda (in general, not any number) when was installing back.  Should all be ok or should I fear for my system and plan installing/reconfiguring more of grub.  And, why did this happpen?
22941
I try to do do-release-upgrade but then I get:       Not enough free disk space      The upgrade has aborted. The upgrade needs a total of 25.7 M free   space on disk '/boot'. Please free at least an additional 25.7 M of   disk space on '/boot'. Empty your trash and remove temporary packages   of former installations using 'sudo apt-get clean'.   Output of df:                      237251272 214797108  10402504  96% / udev                    488120         4    488116   1% /dev tmpfs                   198676       668    198008   1% /run none                      5120         0      5120   0% /run/lock none                    496684         0    496684   0% /run/shm /dev/sda1               233191    225867         0 100% /boot   How come there is no space left on boot? Here's the output of ls -as /boot:  total 221839     4 .     4 ..   645 abi-2.6.32-34-generic-pae   698 abi-2.6.35-30-generic-pae   727 abi-2.6.38-12-generic-pae   727 abi-3.0.0-12-generic-pae   727 abi-3.0.0-13-generic-pae   727 abi-3.0.0-14-generic-pae   727 abi-3.0.0-15-generic-pae   727 abi-3.0.0-16-generic-pae   727 abi-3.0.0-17-generic-pae   727 abi-3.0.0-19-generic-pae   761 abi-3.0.0-20-generic-pae   115 config-2.6.32-34-generic-pae   128 config-2.6.35-30-generic-pae   136 config-2.6.38-12-generic-pae   140 config-3.0.0-12-generic-pae   140 config-3.0.0-13-generic-pae   140 config-3.0.0-14-generic-pae   140 config-3.0.0-15-generic-pae   140 config-3.0.0-16-generic-pae   140 config-3.0.0-17-generic-pae   140 config-3.0.0-19-generic-pae   140 config-3.0.0-20-generic-pae     5 grub 10773 initrd.img-2.6.32-34-generic-pae 13619 initrd.img-2.6.35-30-generic-pae 15365 initrd.img-2.6.38-12-generic-pae 16481 initrd.img-3.0.0-12-generic-pae 16487 initrd.img-3.0.0-13-generic-pae 16501 initrd.img-3.0.0-14-generic-pae 16476 initrd.img-3.0.0-15-generic-pae 16481 initrd.img-3.0.0-16-generic-pae 16478 initrd.img-3.0.0-17-generic-pae    12 lost+found   174 memtest86+.bin   176 memtest86+_multiboot.bin  1700 System.map-2.6.32-34-generic-pae  1841 System.map-2.6.35-30-generic-pae  2115 System.map-2.6.38-12-generic-pae  2141 System.map-3.0.0-12-generic-pae  2141 System.map-3.0.0-13-generic-pae  2143 System.map-3.0.0-14-generic-pae  2146 System.map-3.0.0-15-generic-pae  2147 System.map-3.0.0-16-generic-pae  2147 System.map-3.0.0-17-generic-pae  2148 System.map-3.0.0-19-generic-pae  2149 System.map-3.0.0-20-generic-pae     2 vmcoreinfo-2.6.32-34-generic-pae     2 vmcoreinfo-2.6.35-30-generic-pae     2 vmcoreinfo-2.6.38-12-generic-pae     2 vmcoreinfo-3.0.0-12-generic-pae     2 vmcoreinfo-3.0.0-13-generic-pae     2 vmcoreinfo-3.0.0-14-generic-pae     2 vmcoreinfo-3.0.0-15-generic-pae     2 vmcoreinfo-3.0.0-16-generic-pae     2 vmcoreinfo-3.0.0-17-generic-pae     2 vmcoreinfo-3.0.0-19-generic-pae     2 vmcoreinfo-3.0.0-20-generic-pae  4092 vmlinuz-2.6.32-34-generic-pae  4347 vmlinuz-2.6.35-30-generic-pae  4567 vmlinuz-2.6.38-12-generic-pae  4675 vmlinuz-3.0.0-12-generic-pae  4676 vmlinuz-3.0.0-13-generic-pae  4681 vmlinuz-3.0.0-14-generic-pae  4698 vmlinuz-3.0.0-15-generic-pae  4700 vmlinuz-3.0.0-16-generic-pae  4700 vmlinuz-3.0.0-17-generic-pae  4703 vmlinuz-3.0.0-19-generic-pae  4705 vmlinuz-3.0.0-20-generic-pae   Output of uname -a:   Linux kitsch 3.0.0-17-generic-pae #30-Ubuntu SMP Thu Mar 8 17:53:35 UTC 2012 i686 i686 i386 GNU/Linux
22656
I have tried searching for this but there seems to be no command that can output a list of packages (ideally in Ubuntu) that I have installed, not including any dependencies.
7824
Im trying to use twoBitToFa, which is a small program released by the University of California Santa Cruz, that uncompresses large genome files and I get this error:  error while loading shared libraries: libssl.so.10: cannot open shared object file: No     such file or directory   I tried searching for what package provides it. I switched from Fedora which had yum provides but when looking for the Ubuntu equivalent, I came across apt-file search but when I tried that I got a command not found error.  How can I get this libssl file, and more generally, how can I search for what package provides a file so I can do this by myself in the future?
110035
I normally download all .deb packages and just copy the packages from /var/cache/apt/archives directory to the rest of the computers, saving me to have to download all the updates and programs again. But since Ubuntu 11.04, the directory keeps deleting the oldest file or some kind of delete method that literally resets the amount of packages there. So then I need to download them again on the rest of the PCs. The files stay there for a couple of days, but then "magically" it's not there anymore after some days.   So what do I need to do to tell Ubuntu NOT to eliminate any files from /var/cache/apt/archives, not even the previous versions of the same package? I do not want it to delete anything from there.  Just to add, I install packages using aptitude or synaptic.
32133
I'm running in circles currently, trying to fix some mysql problem.  I couldn't use apt-get for a while now, because it always stuck at the line Setting up mysql-server-5.6 (5.6.27-0ubuntu0.15.04.1) ... and didn't let me do anything. So I tried to reinstall mysql, purging it. While I was able to remove mysql-server and mysql-client eventually, I'm still unable to purge mysql-common. Obviously, I managed to corrupt something, but how can I get my system back and running at this point?  ...:~# apt-get purge mysql-common Reading package lists... Done Building dependency tree        Reading state information... Done The following packages will be REMOVED:   mysql-common* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 423600 files and directories currently installed.) Removing mysql-common (5.6.27-0ubuntu0.15.04.1) ... Purging configuration files for mysql-common (5.6.27-0ubuntu0.15.04.1) ... update-alternatives: error: /var/lib/dpkg/alternatives/my.cnf corrupt: invalid status dpkg: error processing package mysql-common (--purge):  subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing:  mysql-common E: Sub-process /usr/bin/dpkg returned an error code (1)   -  ...# sudo dpkg -P --force-all mysql-common (Reading database ... 424733 files and directories currently installed.) Removing mysql-common (5.6.27-0ubuntu0.15.04.1) ... Purging configuration files for mysql-common (5.6.27-0ubuntu0.15.04.1) ... update-alternatives: error: no alternatives for my.cnf dpkg: error processing package mysql-common (--purge):  subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing:  mysql-common   -  ...:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 15.04 Release:    15.04 Codename:   vivid   My goal is to just get it back and running again (mysql).
81496
Right now I have 2 computers:   Has connection to the internet and has installed package A. Doesn't have connection to the WEB. On this PC I need to install package A.   I decided to download all needed packages using first PC and transfer them to the second PC via USB. I have searched how to get all needed packages for some deb installation and .  But when I run:  apt-get --print-uris --yes install A | grep ^\' | cut -d\' -f2 &gt; downloads.list   on first PC I got empty file because this package is already installed there (and I don't want to uninstall it).  Also package A is very complicated and depends on package B which depends on package C and package C is not installed on the second PC.  So how can I download all needed packages? Or is there any other way of installing it?
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.
81734
When I want to compile something from source in Ubuntu/Debian, I usually get build-dependencies by running "sudo apt-get build-dep PACKAGE_NAME" in the terminal.   They are (usually) useless once the compilation job is done.  So, how do I remove all build-dependencies for a particular package?
77158
Say I install package A, which depends on package B. Then I remove A.  Now apt-get autoremove wants to remove B, but I want to keep it. How do I "pin down" B so that the system acts as if I installed B myself?  I come from Gentoo, where the solution would be to add B to my world file. What's the Debian/Ubuntu equivalent?
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?
39614
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded:   apt apt-transport-https apt-utils dpkg libapt-inst2.0 libapt-pkg5.0 ntpdate   oracle-java8-installer oracle-java8-set-default thermald 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/4,389 kB of archives. After this operation, 8,192 B of additional disk space will be used. Do you want to continue? [Y/n] Y Preconfiguring packages ... dpkg: unrecoverable fatal error, aborting:  files list file for package 'linux-generic' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2)   I already tried the usual stuff like:   sudo dpkg --configure -a   sudo apt-get -f install  sudo apt-get clean  sudo apt-get update &amp;&amp; sudo apt-get upgrade   Any help, thanks!  cat -net /var/lib/dpkg/info/linux-generic.list      1  ^LbM-BM-^FRq^MU^Evalueq^NK^HubU^Mcertificationq^ONU^Hoverviewq^PNU$      2  updated_atq^QNU^Vavailable_translationsq^RNU^Dyearq^SMM-CM-^]^GU^Fimagesq^TNU^Bidq^UNU^Ipaused_atq^VNU^Eindex