I'm totally new to Linux and I have to install Git there.
But every time I try this appears:
~$ sudo apt 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.
How do I fix this and successfully install git?
Related
E: Unable to locate package postgres-11
user#ubuntu:~$ pg_ctl start -D /etc/postgres/11/main
The program 'pg_ctl' is currently not installed. You can install it by typing:
sudo apt-get install postgres-xc
user#ubuntu:~$ sudo apt-get install postgres-xc
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:
postgres-xc : Depends: postgres-xc-client but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I am trying to install openCV on Ubuntu 16.04, I follow this tutorial : https://www.youtube.com/watch?v=7jXtuAY-FKY
,when compile the source code I got this error
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
I assume because libtiff5-dev doesn't installed on my machine.I've tried to install it but got error like this :
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:
libtiff5-dev : Depends: liblzma-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
said that "Depends: liblzma-dev"
then I tried to :
$ sudo apt install liblzma-dev
but got error again :
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:
liblzma-dev : Depends: liblzma5 (= 5.1.1alpha+20120614-2ubuntu2) but 5.2.2-1.3~16.04.york0 is to be installed
I got stuck for 4 days, Anyone have solution for this problem ?
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 bought a new laptop and installed Ubuntu on it, I added the touch pad gestures ,and tweaked some other settings like changing the lockscreen wallpaper etc..
Then i wanted to install Okular but it shows an error:
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:
okular : Depends: libpoppler-qt5-1 (>= 0.62.0-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
And i don't know how to solve this.
Run this command as superuser
# apt-get install --fix-broken
It should fix your broken packages
I like the idea of having a terminal connected to my nautilus file manager.
There is a package called nautilus-terminal which does this.
if I try to install it via sudo apt-get install nautilus-terminal I get the following error message:
The following packages have unmet dependencies:
nautilus-terminal : Depends: gir1.2-vte-2.90 but it is not installable
E: Unable to correct problems, you have held broken packages.
If I try to install it via sudo apt-get install gir1.2-vte-2.90
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gir1.2-vte-2.90 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 'gir1.2-vte-2.90' has no installation candidate
Does anybody know how to solve this?
This problem is because you already have gir1.2-vte-2.91 installed on your ubuntu but since the package name contains version number, it's not recognized as a higher version of gir1.2-vte-2.90 so you just need to provide a package with the name gir1.2-vte-2.90 and connect it to gir1.2-vte-2.91. This can be easily done by following the instructions of this answer.