just installed LAMP server and need to use vim editor to edit php.ini  The command sudo apt-get install vim gives me the following error:  Package 'vim' is not available but is refered to by another package. This means the package is missing or is obsolete, or is only avaiable from another source. E: Package 'vim' has no installation candidate   Please advise
51689
I am running Ubuntu 11.10, as Xubuntu, in an AMD 64 pc, configured as dual boot with Windows 7.  I tried installing vim with this:  sudo apt-get install vim   I got this error message:  The following packages have unmet dependencies:  vim : Depends: vim-common (= 2:7.3.154+hg~74503f6ee649-2ubuntu2) but 2:7.3.154+hg~74503f6ee649-2ubuntu3 is to be installed E: Unable to correct problems, you have held broken packages.   I only have a very faint idea of what the problem is, and none whatsoever on how to correct this. Hope you guys can help.
53656
I am using ubuntu 14.04. I want to install lampp but don't know how to install it. Can I get some help for installing lampp on my Ubuntu.
57812
I'm on Ubuntu 12.04 and want to know how to update Vim via the command line. What is the command to update this?
9210
When I type vi into a terminal it shows the following display:    Note that it says vim not vi, I'm sure I haven't downloaded vim yet and that this is actually vi not vim: for example the arrow keys print ABCD instead of moving.
121816
I am trying to install KVM on Ubuntu 16.04, but I am getting stuck at very beginning. I am unable to find the packages. Can someone help me? I did sudo apt-get update  sudo apt-get install qemu-kvm libvirt-bin  Reading package lists... Done Building dependency tree        Reading state information... Done Package libvirt-bin is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Unable to locate package qemu-kvm E: Package 'libvirt-bin' has no installation candidate
34035
I've got some troubles when I try to install Vim on Linux while I don't have a root account. The error information is shown below:    How can I solve this? Can I install it in another directory other than /usr/local/bin/vim?
94249
I get the following error after installing nmap:  dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory E: Sub-process /usr/bin/dpkg returned an error code (2)
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'
16683
I want to install a package (specifically xlop). I'm using TeXLive on Ubuntu, and I don't really know my way around LaTeX.  Can apt-get install or something similar be used?
19339
There have been a few questions regarding installing this package in the past, but they now seem to be out of date. I'm using MiKTeX 2.9 and TexMaker. When I try \usepackage{mathtools} in TexMaker it will try to install the package for me but will fail. I took the advice given in this thread:   As suggested I tried installing the mh package using the MiKTeX Package Manager, unfortunately I get the "unknown archive size" error, which I have read means that the package no longer exists. Another thread (lost the link) said you can use the MiKTeX Package Manager to directly install mathtools, however I do not see mathtools listed anywhere in the MiKTeX Package Manager...   So I ask, is the package under a different name? Are there any other ways to install this package?
85067
I know that when it comes to the Red Hat distribution, I can use the following commands to download a copy of the package and then separately install it. yumdownloader package_name yum install package_name  Is there an exact equivalent in Ubuntu that does both the operations separately, or does the following command do both? apt-get install package_name
120434
At some moment   apt-get install   autocomplete was broken  It was very useful to me to see packages name with Tab press  How to repair this autocomplete?
20326
I'm unable to get Atom text editor from the Software Center. When I try I get this error:  Package does not exist. Check the spelling of the package name, and that the appropriate repository is enabled.
15236
when i run these: sudo apt-get install bitcoin  OR sudo apt-get install bitcoin-qt  i get &quot;E: Unable to locate package&quot; what do i do?
114446
It is not unusual for an Ubuntu (or other distro with apt package management) user to encounter the error: user@box ~ $ sudo apt install x [sudo] password for user:  Reading package lists... Done Building dependency tree        Reading state information... Done Package x is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'x' has no installation candidate  There have been several questions asked concerning this on various StackExchange sites,for example  on AskUbuntu, but these are generally about how to obtain the specific package despite the error. I have found no package that is not found simply (though not always easily) by determining if it is still distributed, and under which repository if so, and ensuring that repository is in apt.sources, or the worst comes to the worst downloading a .deb or source to compile. So my question is more general, and although I am guessing it has a rather simple and therefore non-exciting answer I cannot think how to find it by conventional search engine methods, so I turn to AskUbuntu: Is there a command or option I can use to determine what package / which packages reference the missing package?
115880
I made a big mistake: I removed yum. So now when I for example run the following it gives me an error:  $ yum clean all yum command not found.   I can download the package succesfully:  wget mirror.centos.org/centos/6/os/i386/Packages/yum-3.2.29-40.el6.centos.noarch.rpm --2014-01-15 15:42:59--  http://mirror.centos.org/centos/6/os/i386/Packages/yum-3.2.29-40.el6.centos.noarch.rpm Resolving mirror.centos.org... 192.133.139.3 Connecting to mirror.centos.org|192.133.139.3|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1019540 (996K) [application/x-rpm] Saving to: “yum-3.2.29-40.el6.centos.noarch.rpm.1”  100%[====================================================================================================================&gt;] 1,019,540    649K/s   in 1.5s  2014-01-15 15:43:01 (649 KB/s) - “yum-3.2.29-40.el6.centos.noarch.rpm.1” saved [1019540/1019540]   Trying to install the downloaded package gives the following error:  # rpm -ivh yum-3.2.29-40.el6.centos.noarch.rpm Preparing...                ########################################### [100%]     file /usr/lib/python2.6/site-packages/yum/__init__.py from install of yum-3.2.29-40.el6.centos.noarch conflicts with file from package yum-3.2.29-30.el6.centos.noarch [...] file /usr/share/yum-cli/yummain.pyo from install of yum-3.2.29-40.el6.centos.noarch conflicts with file from package yum-3.2.29-30.el6.centos.noarch   There is no directory "yum" in /usr/bin.  When I use the command "rpm -qa | grep yum".  yum-metadata-parser-1.1.2-16.el6.x86_64 yum-plugin-fastestmirror-1.1.30-14.el6.noarch yum-3.2.29-30.el6.centos.noarch   The distro is CentOS 6.3. How can I reinstall yum?
58149
I am trying to install  and followed the installation instructions provided at its Github page.  Installation got over but now I am getting an error as command not found: nvm when I try using nvm install 0.8  Can someone please help me find out why I am gettting an error that nvm is not found when I have already installed it.