apt install does not work, for example:  $ apt install uget  Reading package lists... Done Building dependency tree        Reading state information... Done E: The package intellij-idea-ultimate needs to be reinstalled, but I can't find an archive for it.   This problem arose after I installed intellij idea using .
20080
Running Synaptic I get the following error message:  E: The package hl1440lpr needs to be reinstalled, but I can't find an archive for it. E: Internal error opening cache (1). Please report.   Upon accepting the message, Synaptic quits.
64247
What are ways to install/uninstall programs in Ubuntu. I will mention only .deb since it is the official package format and for example installing a .sh or .run program can typically be as simple as (In latest Ubuntu) ./program.sh or sh program.run.  Also note that am talking about HOW to install packages IN Ubuntu, not talking about downloading a new installer (Like some Super Cow Software Center Duke Nukem version from sourceforge or something). Only tools that already come in the repositories (In any of the 4 standard ones, main, universe, restricted or multiverse).  Take into consideration all GUI and terminal ways of doing it, with basic format of doing the installation. With this in mind I am talking for example about Software Center, synaptic, apt-get, aptitude, dpkg, etc... a way to show all tools that are available in Ubuntu to install deb packages.  NOTE - Forgot, this should be Community Wiki since it will have all ways a user can install/uninstall something. Like a friendly guide on doing that.  UPDATED question to remove the confusion some are having about sh/run files.
71855
I use Ubuntu 12.04 64-bit, I did the following: sudo gedit /etc/apt/apt.conf and added  APT::Install-Recommends "false"; APT::Install-Suggests "false";    But it did not work. When I try to install a package, it still wants to install the suggested and recommended packages. How can I solve this?
93188
Not for any specific program, just in general if I wanted to install something via APT how do I know what packages I need to "apt-get install" for that program
56121
The problem is simple - I have a .deb package and I want to install it on my Arch Linux. Is this possible? If yes, how?
116044
I was testing an example snap when I interrupted Ctrl+c when it had downloaded and was reading the packages. The output showed some python stuff. After that I installed the packages normally. Apt is working fine, checked the logs and they look good. I also ran dpkg --configure -a and saw no output. So am I good? I always have this feeling that something can go wrong and I wouldn't know about it.
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
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.
68439
So when I run Raspbian (basically a ARM Debian derivative with LXDE), I can install any normal package using aptitude. But if, for example, I wanted to download a .deb file, I would have to choose 32-bit or 64-bit and download that, and try to run it on Raspbian (it wouldn't work).   Why does installing packages from the official repositories work on ARM systems? Why is it not incompatible?  I'm also a little confused about the difference between hardware and software bits. ARM is hardware, right?
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.
102209
How do I install multiple packages?   For example, I want to install both package X and Package Y, I know that this is not possible by default but is there any alternate way of doing this or Can I atleast queue them for installation?
17509
dam@ubuntu:~$ sudo apt-get update   W: Failed ....  adam@ubuntu:~$ sudo apt-get install fetch   Reading package lists... Done   Building dependency tree          Reading state information... Done   E: Unable to locate package fetch
66247
I'm having issues with my ubuntu server version 12.04 installed on a HP550 laptop, when i try sudo apt-get install &lt;programname&gt;, e.g apache2 it will not work, saying E: Unable to locate package apache2.  I have tried to look/edit the sources. but they will not work either the gedit command is broken too, i am trying gedit /etc/apt/sources.list for those wondering, is this a case of the computer network not configured properly? it downloaded a language pack easily enough in the installation though. how do i fix this? a prompt reply would be appreciated.
77933
I am completely new to linux and hence Ubuntu. Though i have been using the Ubuntu OS on my system for a while, it is for the first time I am trying to learn the nuances and hence starting with the documentation.  I am wondering , if we use apt-get command to install packages, what does apt-get install aptitude do ?
42202
Every time I install a package:  sudo apt-get install &lt;pkg&gt;   apt-get displays a list of suggested packages. I have simply ignored these so far, but some of these suggestions are actually good (and some are not). I would like to recover all these lists into one big list (so that I can review it and decide if there is some package I want to install), but I could not see them in /var/log/apt/history.log.   That is, I'm looking for something like  list = [] for package in installed_packages:     list.append(package.name) print list
2839
I am assuming that all application installed through apt-get are open source; but for those that are available in that manner, where can I get the source code for these applications as well as update them?   I have a couple applications I use regularly that aren't being actively developed any longer and I would like to add features. Where would I go to get the rights to update these applications?  In this case specifically, I am referring to the hellanzb package
63371
I tried to install Dropbox using , or with apt-get install nautilus-dropbox.  Dropbox loads until 99% and then hangs, causing the system to go to 100% cpu usage.  If I reboot or close the terminal, I sometimes get dpkg errors which prevent me from using apt-get or Software Center to perform any package management functions.  I would like to resolve all these and just get Dropbox working. How do I do that?        Note: This question is possibly answered in two parts:            tells you how to install Dropbox.     But if you  have dpkg errors, see  before you use answer 1 to install Dropbox.