$ sudo apt-get install nodejs-legacy
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package node-legacy
please suggest the solution for this..
You could try:
sudo apt-cache search <part of package name your searching for>
or search for it on : https://www.debian.org/distrib/packages
Related
I was installing atom on Ubuntu 18.04.1 using the command:-
sudo apt-get install atom
I stopped the installation process and now whenever I run the command:-
sudo apt update
The following is the output:-
Hit:1 http://ppa.launchpad.net/webupd8team/atom/ubuntu bionic InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Whenever I try to install Atom again, I get the following output:-
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:
atom : Depends: gvfs-bin but it is not installable
E: Unable to correct problems, you have held broken packages.
Now, whenever I try to install a package from the terminal using
sudo apt-get install <package-name>
I get some output showing: This package has no installation candidate.
For example, if I install rpm, the output is:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package rpm 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 'rpm' has no installation candidate
All this has been happening since the day I terminated the atom installation.
Can anyone help me with this?
I want to install clang 3.6 on Ubuntu 12.04. How can I do that?
I am trying this but It couldn't find package:
$ sudo apt-get install clang-3.6
[sudo] password for xristina:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package clang-3.6
E: Couldn't find any package by regex 'clang-3.6'
I think you need to rebuild them.
Good luck
I'm trying to install git for several hours but whatever I do I get this error:
sudo apt-get install git
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:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
I've read answers here and I've tried the following without success:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -f
I've tried solution from here:
https://superuser.com/questions/899311/apt-get-error-when-installing-git
I removed everything in /var/lib/apt/lists/* and ran sudo apt-get update
I also tried to install liberror-perl and then the folllowing error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package liberror-perl 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 'liberror-perl' has no installation candidate
How could fix this issue with packages? Thanks.
Updated: Now I tried to install another package and I got the same error:
Package 'devscripts' has no installation candidate
Have you tried following the directions in this link?
https://tecadmin.net/install-git-on-ubuntu/
$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt-get update
$ sudo apt-get install git
I am trying to install openssh-server on my Ubuntu-14.04.1. At a point it is throwing error like this.
>sudo apt-get update
>sudo apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
...
The following NEW packages will be installed:
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-sftp-server_6.6p1-2ubuntu2.8_amd64.deb **Size mismatch**
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
if try with the --fix-missing , also not working
>sudo apt-get install openssh-server --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
...
Unable to correct missing packages.
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-sftp-server_6.6p1-2ubuntu2.8_amd64.deb **Size mismatch**
E: Aborting install.
Please , can any one suggest me to get rid of this problem?
Seems that you're using an invalid mirror. Just googling a bit you will easily find how to change your current mirror to a different one. Here's an answer from another Stack Exchange community:
https://askubuntu.com/questions/682532/ubuntu-repository-change
I am trying to install "libsndfile-dev". I do the following:
sudo apt-get install libsndfile-dev
As the result I get the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libsndfile-dev is a virtual package provided by:
libsndfile1-dev 1.0.17-4ubuntu0.8.10.2
You should explicitly select one to install.
E: Package libsndfile-dev has no installation candidate
So, my attempt to install failed. Can anybody tell me what should I select explicitly and how can I do it?
Thank you in advance.
Looks like you should apt-get install libsndfile1-dev (note the 1).